1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_wxANIHandler swig_types[8]
2475 #define SWIGTYPE_p_wxAcceleratorTable swig_types[9]
2476 #define SWIGTYPE_p_wxActivateEvent swig_types[10]
2477 #define SWIGTYPE_p_wxAlphaPixelData swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[12]
2479 #define SWIGTYPE_p_wxArrayDouble swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBoxSizer swig_types[16]
2483 #define SWIGTYPE_p_wxBrush swig_types[17]
2484 #define SWIGTYPE_p_wxBrushList swig_types[18]
2485 #define SWIGTYPE_p_wxBufferedDC swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxChar swig_types[22]
2489 #define SWIGTYPE_p_wxChildFocusEvent swig_types[23]
2490 #define SWIGTYPE_p_wxClientDC swig_types[24]
2491 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[25]
2492 #define SWIGTYPE_p_wxCloseEvent swig_types[26]
2493 #define SWIGTYPE_p_wxColor swig_types[27]
2494 #define SWIGTYPE_p_wxColour swig_types[28]
2495 #define SWIGTYPE_p_wxColourDatabase swig_types[29]
2496 #define SWIGTYPE_p_wxCommandEvent swig_types[30]
2497 #define SWIGTYPE_p_wxContextMenuEvent swig_types[31]
2498 #define SWIGTYPE_p_wxControl swig_types[32]
2499 #define SWIGTYPE_p_wxControlWithItems swig_types[33]
2500 #define SWIGTYPE_p_wxCursor swig_types[34]
2501 #define SWIGTYPE_p_wxDC swig_types[35]
2502 #define SWIGTYPE_p_wxDash swig_types[36]
2503 #define SWIGTYPE_p_wxDateEvent swig_types[37]
2504 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[38]
2505 #define SWIGTYPE_p_wxDropFilesEvent swig_types[39]
2506 #define SWIGTYPE_p_wxDuplexMode swig_types[40]
2507 #define SWIGTYPE_p_wxEffects swig_types[41]
2508 #define SWIGTYPE_p_wxEncodingConverter swig_types[42]
2509 #define SWIGTYPE_p_wxEraseEvent swig_types[43]
2510 #define SWIGTYPE_p_wxEvent swig_types[44]
2511 #define SWIGTYPE_p_wxEvtHandler swig_types[45]
2512 #define SWIGTYPE_p_wxFSFile swig_types[46]
2513 #define SWIGTYPE_p_wxFileSystem swig_types[47]
2514 #define SWIGTYPE_p_wxFlexGridSizer swig_types[48]
2515 #define SWIGTYPE_p_wxFocusEvent swig_types[49]
2516 #define SWIGTYPE_p_wxFont swig_types[50]
2517 #define SWIGTYPE_p_wxFontList swig_types[51]
2518 #define SWIGTYPE_p_wxFontMapper swig_types[52]
2519 #define SWIGTYPE_p_wxGBSizerItem swig_types[53]
2520 #define SWIGTYPE_p_wxGCDC swig_types[54]
2521 #define SWIGTYPE_p_wxGDIObjListBase swig_types[55]
2522 #define SWIGTYPE_p_wxGDIObject swig_types[56]
2523 #define SWIGTYPE_p_wxGIFHandler swig_types[57]
2524 #define SWIGTYPE_p_wxGraphicsContext swig_types[58]
2525 #define SWIGTYPE_p_wxGraphicsPath swig_types[59]
2526 #define SWIGTYPE_p_wxGridBagSizer swig_types[60]
2527 #define SWIGTYPE_p_wxGridSizer swig_types[61]
2528 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[62]
2529 #define SWIGTYPE_p_wxICOHandler swig_types[63]
2530 #define SWIGTYPE_p_wxIcon swig_types[64]
2531 #define SWIGTYPE_p_wxIconBundle swig_types[65]
2532 #define SWIGTYPE_p_wxIconLocation swig_types[66]
2533 #define SWIGTYPE_p_wxIconizeEvent swig_types[67]
2534 #define SWIGTYPE_p_wxIdleEvent swig_types[68]
2535 #define SWIGTYPE_p_wxImage swig_types[69]
2536 #define SWIGTYPE_p_wxImageHandler swig_types[70]
2537 #define SWIGTYPE_p_wxImageList swig_types[71]
2538 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[72]
2539 #define SWIGTYPE_p_wxInitDialogEvent swig_types[73]
2540 #define SWIGTYPE_p_wxJPEGHandler swig_types[74]
2541 #define SWIGTYPE_p_wxKeyEvent swig_types[75]
2542 #define SWIGTYPE_p_wxLanguageInfo swig_types[76]
2543 #define SWIGTYPE_p_wxLayoutConstraints swig_types[77]
2544 #define SWIGTYPE_p_wxLocale swig_types[78]
2545 #define SWIGTYPE_p_wxMask swig_types[79]
2546 #define SWIGTYPE_p_wxMaximizeEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMemoryDC swig_types[81]
2548 #define SWIGTYPE_p_wxMenu swig_types[82]
2549 #define SWIGTYPE_p_wxMenuBar swig_types[83]
2550 #define SWIGTYPE_p_wxMenuEvent swig_types[84]
2551 #define SWIGTYPE_p_wxMenuItem swig_types[85]
2552 #define SWIGTYPE_p_wxMetaFile swig_types[86]
2553 #define SWIGTYPE_p_wxMetaFileDC swig_types[87]
2554 #define SWIGTYPE_p_wxMirrorDC swig_types[88]
2555 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[89]
2556 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[90]
2557 #define SWIGTYPE_p_wxMouseEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMoveEvent swig_types[92]
2559 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[93]
2560 #define SWIGTYPE_p_wxNativeFontInfo swig_types[94]
2561 #define SWIGTYPE_p_wxNativePixelData swig_types[95]
2562 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[96]
2563 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[97]
2564 #define SWIGTYPE_p_wxNcPaintEvent swig_types[98]
2565 #define SWIGTYPE_p_wxNotifyEvent swig_types[99]
2566 #define SWIGTYPE_p_wxObject swig_types[100]
2567 #define SWIGTYPE_p_wxPCXHandler swig_types[101]
2568 #define SWIGTYPE_p_wxPNGHandler swig_types[102]
2569 #define SWIGTYPE_p_wxPNMHandler swig_types[103]
2570 #define SWIGTYPE_p_wxPaintDC swig_types[104]
2571 #define SWIGTYPE_p_wxPaintEvent swig_types[105]
2572 #define SWIGTYPE_p_wxPalette swig_types[106]
2573 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[107]
2574 #define SWIGTYPE_p_wxPaperSize swig_types[108]
2575 #define SWIGTYPE_p_wxPen swig_types[109]
2576 #define SWIGTYPE_p_wxPenList swig_types[110]
2577 #define SWIGTYPE_p_wxPixelDataBase swig_types[111]
2578 #define SWIGTYPE_p_wxPoint swig_types[112]
2579 #define SWIGTYPE_p_wxPoint2D swig_types[113]
2580 #define SWIGTYPE_p_wxPostScriptDC swig_types[114]
2581 #define SWIGTYPE_p_wxPrintData swig_types[115]
2582 #define SWIGTYPE_p_wxPrinterDC swig_types[116]
2583 #define SWIGTYPE_p_wxPseudoDC swig_types[117]
2584 #define SWIGTYPE_p_wxPyApp swig_types[118]
2585 #define SWIGTYPE_p_wxPyCommandEvent swig_types[119]
2586 #define SWIGTYPE_p_wxPyEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[121]
2588 #define SWIGTYPE_p_wxPyImageHandler swig_types[122]
2589 #define SWIGTYPE_p_wxPyLocale swig_types[123]
2590 #define SWIGTYPE_p_wxPySizer swig_types[124]
2591 #define SWIGTYPE_p_wxPyValidator swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxRegionIterator swig_types[129]
2596 #define SWIGTYPE_p_wxRendererNative swig_types[130]
2597 #define SWIGTYPE_p_wxRendererVersion swig_types[131]
2598 #define SWIGTYPE_p_wxScreenDC swig_types[132]
2599 #define SWIGTYPE_p_wxScrollEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrollWinEvent swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSize swig_types[137]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSizer swig_types[139]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140]
2607 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[141]
2608 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[142]
2609 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[143]
2610 #define SWIGTYPE_p_wxStockGDI swig_types[144]
2611 #define SWIGTYPE_p_wxString swig_types[145]
2612 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[146]
2613 #define SWIGTYPE_p_wxTIFFHandler swig_types[147]
2614 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[148]
2615 #define SWIGTYPE_p_wxValidator swig_types[149]
2616 #define SWIGTYPE_p_wxWindow swig_types[150]
2617 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[151]
2618 #define SWIGTYPE_p_wxWindowDC swig_types[152]
2619 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[153]
2620 #define SWIGTYPE_p_wxXPMHandler swig_types[154]
2621 static swig_type_info
*swig_types
[156];
2622 static swig_module_info swig_module
= {swig_types
, 155, 0, 0, 0, 0};
2623 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2624 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2626 /* -------- TYPES TABLE (END) -------- */
2628 #if (PY_VERSION_HEX <= 0x02000000)
2629 # if !defined(SWIG_PYTHON_CLASSIC)
2630 # error "This python version requires to use swig with the '-classic' option"
2633 #if (PY_VERSION_HEX <= 0x02020000)
2634 # error "This python version requires to use swig with the '-nomodern' option"
2636 #if (PY_VERSION_HEX <= 0x02020000)
2637 # error "This python version requires to use swig with the '-nomodernargs' option"
2640 # error "This python version requires to use swig with the '-nofastunpack' option"
2643 /*-----------------------------------------------
2644 @(target):= _gdi_.so
2645 ------------------------------------------------*/
2646 #define SWIG_init init_gdi_
2648 #define SWIG_name "_gdi_"
2650 #define SWIGVERSION 0x010329
2653 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2654 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2657 #include <stdexcept>
2661 class PyObject_ptr
{
2666 PyObject_ptr() :_obj(0)
2670 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2675 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2677 if (initial_ref
) Py_XINCREF(_obj
);
2680 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2682 Py_XINCREF(item
._obj
);
2693 operator PyObject
*() const
2698 PyObject
*operator->() const
2707 struct PyObject_var
: PyObject_ptr
{
2708 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2710 PyObject_var
& operator = (PyObject
* obj
)
2720 #include "wx/wxPython/wxPython.h"
2721 #include "wx/wxPython/pyclasses.h"
2724 static const wxString
wxPyEmptyString(wxEmptyString
);
2726 #define SWIG_From_long PyInt_FromLong
2729 SWIGINTERNINLINE PyObject
*
2730 SWIG_From_int (int value
)
2732 return SWIG_From_long (value
);
2738 # define LLONG_MIN LONG_LONG_MIN
2741 # define LLONG_MAX LONG_LONG_MAX
2744 # define ULLONG_MAX ULONG_LONG_MAX
2749 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2751 if (PyNumber_Check(obj
)) {
2752 if (val
) *val
= PyInt_AsLong(obj
);
2755 return SWIG_TypeError
;
2760 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2763 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2764 return SWIG_TypeError
;
2767 *val
= (unsigned long)v
;
2773 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2776 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2777 if (SWIG_IsOK(res
)) {
2778 if ((v
> UCHAR_MAX
)) {
2779 return SWIG_OverflowError
;
2781 if (val
) *val
= static_cast< unsigned char >(v
);
2788 SWIGINTERNINLINE PyObject
*
2789 SWIG_From_unsigned_SS_long (unsigned long value
)
2791 return (value
> LONG_MAX
) ?
2792 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2796 SWIGINTERNINLINE PyObject
*
2797 SWIG_From_unsigned_SS_char (unsigned char value
)
2799 return SWIG_From_unsigned_SS_long (value
);
2802 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2803 wxColour temp
, *obj
= &temp
;
2804 if ( other
== Py_None
) return false;
2805 if ( ! wxColour_helper(other
, &obj
) ) {
2809 return self
->operator==(*obj
);
2811 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2812 wxColour temp
, *obj
= &temp
;
2813 if ( other
== Py_None
) return true;
2814 if ( ! wxColour_helper(other
, &obj
)) {
2818 return self
->operator!=(*obj
);
2822 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2824 if (obj
== Py_True
) {
2825 if (val
) *val
= true;
2827 } else if (obj
== Py_False
) {
2828 if (val
) *val
= false;
2832 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2833 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2838 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2839 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2843 int alpha
= wxALPHA_OPAQUE
;
2846 green
= self
->Green();
2847 blue
= self
->Blue();
2848 alpha
= self
->Alpha();
2850 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2851 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2852 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2854 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2857 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2858 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2862 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2865 int res
= SWIG_AsVal_long (obj
, &v
);
2866 if (SWIG_IsOK(res
)) {
2867 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2868 return SWIG_OverflowError
;
2870 if (val
) *val
= static_cast< int >(v
);
2876 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2878 int count
= self
->GetDashes(&dashes
);
2879 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2880 PyObject
* retval
= PyList_New(0);
2881 for (int x
=0; x
<count
; x
++) {
2882 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2883 PyList_Append(retval
, pyint
);
2886 wxPyEndBlockThreads(blocked
);
2889 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2890 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2891 int size
= PyList_Size(pyDashes
);
2892 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2894 // black magic warning! The array of wxDashes needs to exist as
2895 // long as the pen does because wxPen does not copy the array. So
2896 // stick a copy in a Python string object and attach it to _self,
2897 // and then call SetDashes with a pointer to that array. Then
2898 // when the Python pen object is destroyed the array will be
2900 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2901 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2903 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2905 Py_DECREF(strDashes
);
2906 wxPyEndBlockThreads(blocked
);
2908 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2909 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2911 #include <wx/rawbmp.h>
2914 #include <wx/image.h>
2916 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2917 char** cArray
= NULL
;
2920 if (!PyList_Check(listOfStrings
)) {
2921 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2924 count
= PyList_Size(listOfStrings
);
2925 cArray
= new char*[count
];
2927 for(int x
=0; x
<count
; x
++) {
2928 // TODO: Need some validation and error checking here
2929 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2935 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2936 char** cArray
= NULL
;
2939 cArray
= ConvertListOfStrings(listOfStrings
);
2942 bmp
= new wxBitmap(cArray
);
2946 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2949 PyString_AsStringAndSize(bits
, &buf
, &length
);
2950 return new wxBitmap(buf
, width
, height
, depth
);
2952 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2953 wxSize
size(self
->GetWidth(), self
->GetHeight());
2956 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2957 wxMask
*mask
= new wxMask(*self
, colour
);
2958 self
->SetMask(mask
);
2960 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2961 self
->SetWidth(size
.x
);
2962 self
->SetHeight(size
.y
);
2964 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2965 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2967 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2968 // appears to me that the other platforms are already doing it, so I'll just
2969 // automatically do it for wxMSW here.
2971 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2972 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2974 #define wxPy_premultiply(p, a) (p)
2975 #define wxPy_unpremultiply(p, a) (p)
2979 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
2980 buffer data
, int DATASIZE
,
2981 buffer alpha
, int ALPHASIZE
)
2983 if (DATASIZE
!= width
*height
*3) {
2984 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2988 if (ALPHASIZE
!= width
*height
) {
2989 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2993 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
2994 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
2996 // raise an exception...
2997 wxPyErr_SetString(PyExc_RuntimeError
,
2998 "Failed to gain raw access to bitmap data.");
3003 wxAlphaPixelData::Iterator
p(pixData
);
3004 for (int y
=0; y
<height
; y
++) {
3005 wxAlphaPixelData::Iterator rowStart
= p
;
3006 for (int x
=0; x
<width
; x
++) {
3007 byte a
= *(alpha
++);
3008 p
.Red() = wxPy_premultiply(*(data
++), a
);
3009 p
.Green() = wxPy_premultiply(*(data
++), a
);
3010 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3015 p
.OffsetY(pixData
, 1);
3020 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3022 if (DATASIZE
!= width
*height
*3) {
3023 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3027 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3028 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3030 // raise an exception...
3031 wxPyErr_SetString(PyExc_RuntimeError
,
3032 "Failed to gain raw access to bitmap data.");
3036 wxNativePixelData::Iterator
p(pixData
);
3037 for (int y
=0; y
<height
; y
++) {
3038 wxNativePixelData::Iterator rowStart
= p
;
3039 for (int x
=0; x
<width
; x
++) {
3040 p
.Red() = *(data
++);
3041 p
.Green() = *(data
++);
3042 p
.Blue() = *(data
++);
3046 p
.OffsetY(pixData
, 1);
3052 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3054 if (DATASIZE
!= width
*height
*4) {
3055 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3059 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3060 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3062 // raise an exception...
3063 wxPyErr_SetString(PyExc_RuntimeError
,
3064 "Failed to gain raw access to bitmap data.");
3069 wxAlphaPixelData::Iterator
p(pixData
);
3070 for (int y
=0; y
<height
; y
++) {
3071 wxAlphaPixelData::Iterator rowStart
= p
;
3072 for (int x
=0; x
<width
; x
++) {
3074 p
.Red() = wxPy_premultiply(*(data
++), a
);
3075 p
.Green() = wxPy_premultiply(*(data
++), a
);
3076 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3077 p
.Alpha() = a
; data
++;
3081 p
.OffsetY(pixData
, 1);
3087 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3089 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3090 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3091 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3093 self
->Green() = green
;
3094 self
->Blue() = blue
;
3096 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3097 PyObject
* rv
= PyTuple_New(3);
3098 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3099 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3100 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3104 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3106 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3107 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3108 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3109 self
->Red() = wxPy_premultiply(red
, alpha
);
3110 self
->Green() = wxPy_premultiply(green
, alpha
);
3111 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3112 self
->Alpha() = alpha
;
3114 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3115 PyObject
* rv
= PyTuple_New(4);
3116 int red
= self
->Red();
3117 int green
= self
->Green();
3118 int blue
= self
->Blue();
3119 int alpha
= self
->Alpha();
3121 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3122 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3123 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3124 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3127 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3129 return new wxMask(bitmap
, *wxBLACK
);
3131 return new wxMask(bitmap
, colour
);
3134 #include <wx/iconbndl.h>
3136 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3137 wxIcon
* icon
= new wxIcon();
3138 icon
->CopyFromBitmap(bmp
);
3141 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3142 char** cArray
= NULL
;
3145 cArray
= ConvertListOfStrings(listOfStrings
);
3148 icon
= new wxIcon(cArray
);
3152 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3156 return new wxIconLocation(*filename
);
3159 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3166 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3173 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3175 wxImage
img(cursorName
, type
);
3176 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3177 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3178 return new wxCursor(img
);
3180 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3185 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3188 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3189 return self
->operator bool();
3192 #include <wx/fontutil.h>
3193 #include <wx/fontmap.h>
3194 #include <wx/fontenum.h>
3196 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3197 return self
->ToString();
3200 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3201 static wxNativeEncodingInfo info
;
3202 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3209 SWIGINTERNINLINE PyObject
*
3210 SWIG_From_size_t (size_t value
)
3212 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3216 SWIGINTERNINLINE
int
3217 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3220 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3221 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3225 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3226 wxFontEncoding alt_enc
;
3227 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3228 return PyInt_FromLong(alt_enc
);
3234 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3235 wxNativeFontInfo nfi
;
3236 nfi
.FromString(info
);
3237 return new wxFont(nfi
);
3239 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3240 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3242 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3243 return wxFontBase::New(pixelSize
, family
,
3244 style
, weight
, underlined
,
3247 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3248 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3250 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3251 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3253 class wxPyFontEnumerator
: public wxFontEnumerator
{
3255 wxPyFontEnumerator() {}
3256 ~wxPyFontEnumerator() {}
3258 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3259 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3264 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3265 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3268 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3270 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3271 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3272 ret
= wxArrayString2PyList_helper(arr
);
3273 wxPyEndBlockThreads(blocked
);
3276 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3278 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3279 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3280 ret
= wxArrayString2PyList_helper(arr
);
3281 wxPyEndBlockThreads(blocked
);
3287 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3290 loc
= new wxLocale();
3292 loc
= new wxLocale(language
, flags
);
3293 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3294 // for the floating point conversions and such to work right.
3295 #if PY_VERSION_HEX < 0x02040000
3296 setlocale(LC_NUMERIC
, "C");
3300 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3301 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3302 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3303 // for the floating point conversions and such to work right.
3304 #if PY_VERSION_HEX < 0x02040000
3305 setlocale(LC_NUMERIC
, "C");
3309 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3310 bool rc
= self
->Init(language
, flags
);
3311 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3312 // for the floating point conversions and such to work right.
3313 #if PY_VERSION_HEX < 0x02040000
3314 setlocale(LC_NUMERIC
, "C");
3319 class wxPyLocale
: public wxLocale
3324 wxPyLocale(const wxChar
*szName
, // name (for messages)
3325 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3326 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3327 bool bLoadDefault
= true, // preload wxstd.mo?
3328 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3330 wxPyLocale(int language
, // wxLanguage id or custom language
3331 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3335 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3336 const wxChar
*szDomain
= NULL
) const;
3337 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3338 const wxChar
*szOrigString2
, size_t n
,
3339 const wxChar
*szDomain
= NULL
) const;
3341 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3342 const wxChar
*szDomain
= NULL
) const;
3343 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3344 const wxChar
*szOrigString2
, size_t n
,
3345 const wxChar
*szDomain
= NULL
) const;
3349 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3352 wxPyLocale::wxPyLocale() : wxLocale()
3356 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3357 const wxChar
*szShort
, // dir prefix (for msg files)
3358 const wxChar
*szLocale
, // locale (for setlocale)
3359 bool bLoadDefault
, // preload wxstd.mo?
3360 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3361 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3365 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3366 int flags
) : wxLocale(language
, flags
)
3370 wxPyLocale::~wxPyLocale()
3374 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3375 const wxChar
*szDomain
) const
3377 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3378 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3381 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3382 const wxChar
*szOrigString2
, size_t n
,
3383 const wxChar
*szDomain
) const
3385 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3386 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3389 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3390 const wxChar
*szDomain
) const
3393 static wxString str
;
3394 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.
3395 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3396 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3397 PyObject
* param1
= wx2PyString(szOrigString
);
3398 PyObject
* param2
= wx2PyString(szDomain
);
3399 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3403 str
= Py2wxString(ret
);
3407 wxPyEndBlockThreads(blocked
);
3408 return (found
? (wxChar
*)str
.c_str() : NULL
);
3411 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3412 const wxChar
*szOrigString2
, size_t n
,
3413 const wxChar
*szDomain
) const
3416 static wxString str
;
3417 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3418 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3419 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3420 PyObject
* param1
= wx2PyString(szOrigString
);
3421 PyObject
* param2
= wx2PyString(szOrigString2
);
3422 PyObject
* param4
= wx2PyString(szDomain
);
3423 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3428 str
= Py2wxString(ret
);
3432 wxPyEndBlockThreads(blocked
);
3433 return (found
? (wxChar
*)str
.c_str() : NULL
);
3436 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3439 loc
= new wxPyLocale();
3441 loc
= new wxPyLocale(language
, flags
);
3442 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3443 // for the floating point conversions and such to work right.
3444 #if PY_VERSION_HEX < 0x02040000
3445 setlocale(LC_NUMERIC
, "C");
3450 #include "wx/wxPython/pydrawxxx.h"
3452 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3454 self
->GetPixel(x
, y
, &col
);
3457 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3459 self
->GetPixel(pt
, &col
);
3464 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3466 if (PyNumber_Check(obj
)) {
3467 if (val
) *val
= PyFloat_AsDouble(obj
);
3470 return SWIG_TypeError
;
3473 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3475 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3478 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3480 self
->GetClippingBox(rect
);
3483 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3485 self
->GetPartialTextExtents(text
, widths
);
3489 #define SWIG_From_double PyFloat_FromDouble
3491 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3492 self
->SetLogicalOrigin(point
.x
, point
.y
);
3494 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3495 self
->SetDeviceOrigin(point
.x
, point
.y
);
3497 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3498 self
->CalcBoundingBox(point
.x
, point
.y
);
3500 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3501 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3503 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3504 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3506 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3507 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3509 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3510 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3512 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3513 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3515 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3516 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3519 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3527 #include <wx/dcbuffer.h>
3530 #include <wx/dcps.h>
3533 class wxMetaFile
: public wxObject
{
3535 wxMetaFile(const wxString
&)
3536 { wxPyRaiseNotImplemented(); }
3539 class wxMetaFileDC
: public wxClientDC
{
3541 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3542 { wxPyRaiseNotImplemented(); }
3547 class wxPrinterDC
: public wxClientDC
{
3549 wxPrinterDC(const wxPrintData
&)
3550 { wxPyRaiseNotImplemented(); }
3555 #include <wx/graphics.h>
3558 #if !wxUSE_GRAPHICS_CONTEXT
3559 // C++ stub classes for platforms that don't have wxGraphicsContext yet.
3561 class wxGraphicsPath
3565 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3566 PyErr_SetString(PyExc_NotImplementedError
,
3567 "wxGraphicsPath is not available on this platform.");
3568 wxPyEndBlockThreads(blocked
);
3570 virtual ~wxGraphicsPath() {}
3572 void MoveToPoint( wxDouble
, wxDouble
) {}
3573 void AddLineToPoint( wxDouble
, wxDouble
) {}
3574 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3575 void CloseSubpath() {}
3576 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3577 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3579 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3580 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3581 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3582 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3584 wxPoint2DDouble
GetCurrentPoint() { return wxPoint2DDouble(0,0); }
3585 void MoveToPoint( const wxPoint2DDouble
& ) {}
3586 void AddLineToPoint( const wxPoint2DDouble
&) {}
3587 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3588 void AddArc( const wxPoint2DDouble
&, wxDouble
, wxDouble
, wxDouble
, bool) {}
3592 class wxGraphicsContext
3595 wxGraphicsContext() {
3596 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3597 PyErr_SetString(PyExc_NotImplementedError
,
3598 "wxGraphicsContext is not available on this platform.");
3599 wxPyEndBlockThreads(blocked
);
3601 virtual ~wxGraphicsContext() {}
3603 static wxGraphicsContext
* Create( const wxWindowDC
&) {
3604 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3605 PyErr_SetString(PyExc_NotImplementedError
,
3606 "wxGraphicsPath is not available on this platform.");
3607 wxPyEndBlockThreads(blocked
);
3611 wxGraphicsPath
* CreatePath() { return NULL
; }
3614 void Clip( const wxRegion
& ) {}
3615 void Translate( wxDouble
, wxDouble
) {}
3616 void Scale( wxDouble
, wxDouble
) {}
3617 void Rotate( wxDouble
) {}
3618 void SetPen( const wxPen
& ) {}
3619 void SetBrush( const wxBrush
& ) {}
3620 void SetLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3621 const wxColour
&, const wxColour
&) {}
3622 void SetRadialGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3623 const wxColour
&, const wxColour
&) {}
3624 void SetFont( const wxFont
& ) {}
3625 void SetTextColor( const wxColour
& ) {}
3626 void StrokePath( const wxGraphicsPath
* ) {}
3627 void FillPath( const wxGraphicsPath
*, int ) {}
3628 void DrawPath( const wxGraphicsPath
*, int ) {}
3629 void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3630 void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3631 void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3632 wxDouble
*, wxDouble
* ) const {}
3633 void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3634 void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3635 void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3636 void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3637 void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3638 void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3639 void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3640 void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3641 void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3642 void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3646 class wxGCDC
: public wxWindowDC
3649 wxGCDC(const wxWindowDC
&) {
3650 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3651 PyErr_SetString(PyExc_NotImplementedError
,
3652 "wxGCDC is not available on this platform.");
3653 wxPyEndBlockThreads(blocked
);
3657 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3658 PyErr_SetString(PyExc_NotImplementedError
,
3659 "wxGCDC is not available on this platform.");
3660 wxPyEndBlockThreads(blocked
);
3663 virtual ~wxGCDC() {}
3665 wxGraphicsContext
* GetGraphicContext() { return NULL
; }
3672 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3673 self
->AddColour(name
, wxColour(red
, green
, blue
));
3676 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3677 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3678 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3679 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3682 #include <wx/effects.h>
3685 #include "wx/renderer.h"
3688 SWIGINTERNINLINE PyObject
*
3689 SWIG_From_bool (bool value
)
3691 return PyBool_FromLong(value
? 1 : 0);
3695 #include "wx/wxPython/pseudodc.h"
3697 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3699 self
->GetIdBounds(id
, rect
);
3705 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3706 PyObject
*resultobj
= 0;
3707 wxGDIObject
*result
= 0 ;
3709 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3711 if (!wxPyCheckForApp()) SWIG_fail
;
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 result
= (wxGDIObject
*)new wxGDIObject();
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3724 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3725 PyObject
*resultobj
= 0;
3726 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3729 PyObject
*swig_obj
[1] ;
3731 if (!args
) SWIG_fail
;
3733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3734 if (!SWIG_IsOK(res1
)) {
3735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3737 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3745 resultobj
= SWIG_Py_Void();
3752 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3753 PyObject
*resultobj
= 0;
3754 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3758 PyObject
*swig_obj
[1] ;
3760 if (!args
) SWIG_fail
;
3762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3763 if (!SWIG_IsOK(res1
)) {
3764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3766 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3769 result
= (bool)(arg1
)->IsNull();
3770 wxPyEndAllowThreads(__tstate
);
3771 if (PyErr_Occurred()) SWIG_fail
;
3774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3782 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3784 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3785 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3786 return SWIG_Py_Void();
3789 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3790 return SWIG_Python_InitShadowInstance(args
);
3793 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
*resultobj
= 0;
3795 byte arg1
= (byte
) 0 ;
3796 byte arg2
= (byte
) 0 ;
3797 byte arg3
= (byte
) 0 ;
3798 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3799 wxColour
*result
= 0 ;
3800 unsigned char val1
;
3802 unsigned char val2
;
3804 unsigned char val3
;
3806 unsigned char val4
;
3808 PyObject
* obj0
= 0 ;
3809 PyObject
* obj1
= 0 ;
3810 PyObject
* obj2
= 0 ;
3811 PyObject
* obj3
= 0 ;
3812 char * kwnames
[] = {
3813 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3818 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3819 if (!SWIG_IsOK(ecode1
)) {
3820 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3822 arg1
= static_cast< byte
>(val1
);
3825 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3826 if (!SWIG_IsOK(ecode2
)) {
3827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3829 arg2
= static_cast< byte
>(val2
);
3832 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3833 if (!SWIG_IsOK(ecode3
)) {
3834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3836 arg3
= static_cast< byte
>(val3
);
3839 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3840 if (!SWIG_IsOK(ecode4
)) {
3841 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3843 arg4
= static_cast< byte
>(val4
);
3846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3847 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3848 wxPyEndAllowThreads(__tstate
);
3849 if (PyErr_Occurred()) SWIG_fail
;
3851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3858 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
*resultobj
= 0;
3860 wxString
*arg1
= 0 ;
3861 wxColour
*result
= 0 ;
3862 bool temp1
= false ;
3863 PyObject
* obj0
= 0 ;
3864 char * kwnames
[] = {
3865 (char *) "colorName", NULL
3868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3870 arg1
= wxString_in_helper(obj0
);
3871 if (arg1
== NULL
) SWIG_fail
;
3875 if (!wxPyCheckForApp()) SWIG_fail
;
3876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3877 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3878 wxPyEndAllowThreads(__tstate
);
3879 if (PyErr_Occurred()) SWIG_fail
;
3881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3896 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3897 PyObject
*resultobj
= 0;
3898 unsigned long arg1
;
3899 wxColour
*result
= 0 ;
3900 unsigned long val1
;
3902 PyObject
* obj0
= 0 ;
3903 char * kwnames
[] = {
3904 (char *) "colRGB", NULL
3907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3908 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3909 if (!SWIG_IsOK(ecode1
)) {
3910 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3912 arg1
= static_cast< unsigned long >(val1
);
3914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3915 result
= (wxColour
*)new wxColour(arg1
);
3916 wxPyEndAllowThreads(__tstate
);
3917 if (PyErr_Occurred()) SWIG_fail
;
3919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3926 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3927 PyObject
*resultobj
= 0;
3928 wxColour
*arg1
= (wxColour
*) 0 ;
3931 PyObject
*swig_obj
[1] ;
3933 if (!args
) SWIG_fail
;
3935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3936 if (!SWIG_IsOK(res1
)) {
3937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3939 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3944 wxPyEndAllowThreads(__tstate
);
3945 if (PyErr_Occurred()) SWIG_fail
;
3947 resultobj
= SWIG_Py_Void();
3954 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3955 PyObject
*resultobj
= 0;
3956 wxColour
*arg1
= (wxColour
*) 0 ;
3960 PyObject
*swig_obj
[1] ;
3962 if (!args
) SWIG_fail
;
3964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3965 if (!SWIG_IsOK(res1
)) {
3966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3968 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3971 result
= (byte
)(arg1
)->Red();
3972 wxPyEndAllowThreads(__tstate
);
3973 if (PyErr_Occurred()) SWIG_fail
;
3975 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3982 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3983 PyObject
*resultobj
= 0;
3984 wxColour
*arg1
= (wxColour
*) 0 ;
3988 PyObject
*swig_obj
[1] ;
3990 if (!args
) SWIG_fail
;
3992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3993 if (!SWIG_IsOK(res1
)) {
3994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3996 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3999 result
= (byte
)(arg1
)->Green();
4000 wxPyEndAllowThreads(__tstate
);
4001 if (PyErr_Occurred()) SWIG_fail
;
4003 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4010 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4011 PyObject
*resultobj
= 0;
4012 wxColour
*arg1
= (wxColour
*) 0 ;
4016 PyObject
*swig_obj
[1] ;
4018 if (!args
) SWIG_fail
;
4020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4021 if (!SWIG_IsOK(res1
)) {
4022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4024 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 result
= (byte
)(arg1
)->Blue();
4028 wxPyEndAllowThreads(__tstate
);
4029 if (PyErr_Occurred()) SWIG_fail
;
4031 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4038 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4039 PyObject
*resultobj
= 0;
4040 wxColour
*arg1
= (wxColour
*) 0 ;
4044 PyObject
*swig_obj
[1] ;
4046 if (!args
) SWIG_fail
;
4048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4049 if (!SWIG_IsOK(res1
)) {
4050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4052 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 result
= (byte
)(arg1
)->Alpha();
4056 wxPyEndAllowThreads(__tstate
);
4057 if (PyErr_Occurred()) SWIG_fail
;
4059 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4066 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4067 PyObject
*resultobj
= 0;
4068 wxColour
*arg1
= (wxColour
*) 0 ;
4072 PyObject
*swig_obj
[1] ;
4074 if (!args
) SWIG_fail
;
4076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4077 if (!SWIG_IsOK(res1
)) {
4078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
4080 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 result
= (bool)(arg1
)->Ok();
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) SWIG_fail
;
4088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4096 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
*resultobj
= 0;
4098 wxColour
*arg1
= (wxColour
*) 0 ;
4102 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4105 unsigned char val2
;
4107 unsigned char val3
;
4109 unsigned char val4
;
4111 unsigned char val5
;
4113 PyObject
* obj0
= 0 ;
4114 PyObject
* obj1
= 0 ;
4115 PyObject
* obj2
= 0 ;
4116 PyObject
* obj3
= 0 ;
4117 PyObject
* obj4
= 0 ;
4118 char * kwnames
[] = {
4119 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4124 if (!SWIG_IsOK(res1
)) {
4125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4127 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4128 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4129 if (!SWIG_IsOK(ecode2
)) {
4130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4132 arg2
= static_cast< byte
>(val2
);
4133 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4134 if (!SWIG_IsOK(ecode3
)) {
4135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4137 arg3
= static_cast< byte
>(val3
);
4138 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4139 if (!SWIG_IsOK(ecode4
)) {
4140 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4142 arg4
= static_cast< byte
>(val4
);
4144 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4145 if (!SWIG_IsOK(ecode5
)) {
4146 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4148 arg5
= static_cast< byte
>(val5
);
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) SWIG_fail
;
4156 resultobj
= SWIG_Py_Void();
4163 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4164 PyObject
*resultobj
= 0;
4165 wxColour
*arg1
= (wxColour
*) 0 ;
4166 unsigned long arg2
;
4169 unsigned long val2
;
4171 PyObject
* obj0
= 0 ;
4172 PyObject
* obj1
= 0 ;
4173 char * kwnames
[] = {
4174 (char *) "self",(char *) "colRGB", NULL
4177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4179 if (!SWIG_IsOK(res1
)) {
4180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4182 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4183 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4184 if (!SWIG_IsOK(ecode2
)) {
4185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4187 arg2
= static_cast< unsigned long >(val2
);
4189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4191 wxPyEndAllowThreads(__tstate
);
4192 if (PyErr_Occurred()) SWIG_fail
;
4194 resultobj
= SWIG_Py_Void();
4201 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
*resultobj
= 0;
4203 wxColour
*arg1
= (wxColour
*) 0 ;
4204 wxString
*arg2
= 0 ;
4207 bool temp2
= false ;
4208 PyObject
* obj0
= 0 ;
4209 PyObject
* obj1
= 0 ;
4210 char * kwnames
[] = {
4211 (char *) "self",(char *) "colourName", NULL
4214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4216 if (!SWIG_IsOK(res1
)) {
4217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4219 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4221 arg2
= wxString_in_helper(obj1
);
4222 if (arg2
== NULL
) SWIG_fail
;
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 (arg1
)->Set((wxString
const &)*arg2
);
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= SWIG_Py_Void();
4246 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
*resultobj
= 0;
4248 wxColour
*arg1
= (wxColour
*) 0 ;
4249 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4255 PyObject
* obj0
= 0 ;
4256 PyObject
* obj1
= 0 ;
4257 char * kwnames
[] = {
4258 (char *) "self",(char *) "flags", NULL
4261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4263 if (!SWIG_IsOK(res1
)) {
4264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4266 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4268 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4269 if (!SWIG_IsOK(ecode2
)) {
4270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4272 arg2
= static_cast< long >(val2
);
4275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4276 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4282 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4284 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4293 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4294 PyObject
*resultobj
= 0;
4295 wxColour
*arg1
= (wxColour
*) 0 ;
4299 PyObject
*swig_obj
[1] ;
4301 if (!args
) SWIG_fail
;
4303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4304 if (!SWIG_IsOK(res1
)) {
4305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4307 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4310 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4311 wxPyEndAllowThreads(__tstate
);
4312 if (PyErr_Occurred()) SWIG_fail
;
4314 resultobj
= SWIG_From_long(static_cast< long >(result
));
4321 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4322 PyObject
*resultobj
= 0;
4323 wxColour
*arg1
= (wxColour
*) 0 ;
4324 PyObject
*arg2
= (PyObject
*) 0 ;
4328 PyObject
* obj0
= 0 ;
4329 PyObject
* obj1
= 0 ;
4330 char * kwnames
[] = {
4331 (char *) "self",(char *) "other", NULL
4334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4336 if (!SWIG_IsOK(res1
)) {
4337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4339 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4342 result
= (bool)wxColour___eq__(arg1
,arg2
);
4343 if (PyErr_Occurred()) SWIG_fail
;
4346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4354 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4355 PyObject
*resultobj
= 0;
4356 wxColour
*arg1
= (wxColour
*) 0 ;
4357 PyObject
*arg2
= (PyObject
*) 0 ;
4361 PyObject
* obj0
= 0 ;
4362 PyObject
* obj1
= 0 ;
4363 char * kwnames
[] = {
4364 (char *) "self",(char *) "other", NULL
4367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4369 if (!SWIG_IsOK(res1
)) {
4370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4372 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4375 result
= (bool)wxColour___ne__(arg1
,arg2
);
4376 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4387 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4388 PyObject
*resultobj
= 0;
4389 wxColour
*arg1
= (wxColour
*) 0 ;
4390 bool arg2
= (bool) false ;
4391 PyObject
*result
= 0 ;
4396 PyObject
* obj0
= 0 ;
4397 PyObject
* obj1
= 0 ;
4398 char * kwnames
[] = {
4399 (char *) "self",(char *) "includeAlpha", NULL
4402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4404 if (!SWIG_IsOK(res1
)) {
4405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4407 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4409 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4410 if (!SWIG_IsOK(ecode2
)) {
4411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4413 arg2
= static_cast< bool >(val2
);
4416 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4417 if (PyErr_Occurred()) SWIG_fail
;
4426 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4427 PyObject
*resultobj
= 0;
4428 wxColour
*arg1
= (wxColour
*) 0 ;
4429 unsigned long result
;
4432 PyObject
*swig_obj
[1] ;
4434 if (!args
) SWIG_fail
;
4436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4437 if (!SWIG_IsOK(res1
)) {
4438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4440 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4442 result
= (unsigned long)wxColour_GetRGB(arg1
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4445 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4452 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4454 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4455 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4456 return SWIG_Py_Void();
4459 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4460 return SWIG_Python_InitShadowInstance(args
);
4463 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
*resultobj
= 0;
4466 unsigned char *arg2
= (unsigned char *) 0 ;
4467 unsigned char *arg3
= (unsigned char *) 0 ;
4468 unsigned char *arg4
= (unsigned char *) 0 ;
4469 wxPalette
*result
= 0 ;
4478 PyObject
* obj0
= 0 ;
4479 PyObject
* obj1
= 0 ;
4480 PyObject
* obj2
= 0 ;
4481 PyObject
* obj3
= 0 ;
4482 char * kwnames
[] = {
4483 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4487 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4488 if (!SWIG_IsOK(ecode1
)) {
4489 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4491 arg1
= static_cast< int >(val1
);
4492 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4493 if (!SWIG_IsOK(res2
)) {
4494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4496 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4497 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4498 if (!SWIG_IsOK(res3
)) {
4499 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4501 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4502 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4503 if (!SWIG_IsOK(res4
)) {
4504 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4506 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4508 if (!wxPyCheckForApp()) SWIG_fail
;
4509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4510 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4511 wxPyEndAllowThreads(__tstate
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4521 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4522 PyObject
*resultobj
= 0;
4523 wxPalette
*arg1
= (wxPalette
*) 0 ;
4526 PyObject
*swig_obj
[1] ;
4528 if (!args
) SWIG_fail
;
4530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4531 if (!SWIG_IsOK(res1
)) {
4532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4534 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4539 wxPyEndAllowThreads(__tstate
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4542 resultobj
= SWIG_Py_Void();
4549 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4550 PyObject
*resultobj
= 0;
4551 wxPalette
*arg1
= (wxPalette
*) 0 ;
4558 unsigned char val2
;
4560 unsigned char val3
;
4562 unsigned char val4
;
4564 PyObject
* obj0
= 0 ;
4565 PyObject
* obj1
= 0 ;
4566 PyObject
* obj2
= 0 ;
4567 PyObject
* obj3
= 0 ;
4568 char * kwnames
[] = {
4569 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4574 if (!SWIG_IsOK(res1
)) {
4575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4577 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4578 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4579 if (!SWIG_IsOK(ecode2
)) {
4580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4582 arg2
= static_cast< byte
>(val2
);
4583 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4584 if (!SWIG_IsOK(ecode3
)) {
4585 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4587 arg3
= static_cast< byte
>(val3
);
4588 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4589 if (!SWIG_IsOK(ecode4
)) {
4590 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4592 arg4
= static_cast< byte
>(val4
);
4594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4595 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4596 wxPyEndAllowThreads(__tstate
);
4597 if (PyErr_Occurred()) SWIG_fail
;
4599 resultobj
= SWIG_From_int(static_cast< int >(result
));
4606 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4607 PyObject
*resultobj
= 0;
4608 wxPalette
*arg1
= (wxPalette
*) 0 ;
4610 byte
*arg3
= (byte
*) 0 ;
4611 byte
*arg4
= (byte
*) 0 ;
4612 byte
*arg5
= (byte
*) 0 ;
4619 int res3
= SWIG_TMPOBJ
;
4621 int res4
= SWIG_TMPOBJ
;
4623 int res5
= SWIG_TMPOBJ
;
4624 PyObject
* obj0
= 0 ;
4625 PyObject
* obj1
= 0 ;
4626 char * kwnames
[] = {
4627 (char *) "self",(char *) "pixel", NULL
4633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4635 if (!SWIG_IsOK(res1
)) {
4636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4638 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4640 if (!SWIG_IsOK(ecode2
)) {
4641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4643 arg2
= static_cast< int >(val2
);
4645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4646 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4653 if (SWIG_IsTmpObj(res3
)) {
4654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4656 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4657 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4659 if (SWIG_IsTmpObj(res4
)) {
4660 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4662 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4663 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4665 if (SWIG_IsTmpObj(res5
)) {
4666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4668 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4669 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4677 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4678 PyObject
*resultobj
= 0;
4679 wxPalette
*arg1
= (wxPalette
*) 0 ;
4683 PyObject
*swig_obj
[1] ;
4685 if (!args
) SWIG_fail
;
4687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4688 if (!SWIG_IsOK(res1
)) {
4689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4691 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4694 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4695 wxPyEndAllowThreads(__tstate
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4698 resultobj
= SWIG_From_int(static_cast< int >(result
));
4705 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4706 PyObject
*resultobj
= 0;
4707 wxPalette
*arg1
= (wxPalette
*) 0 ;
4711 PyObject
*swig_obj
[1] ;
4713 if (!args
) SWIG_fail
;
4715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4716 if (!SWIG_IsOK(res1
)) {
4717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4719 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 result
= (bool)(arg1
)->Ok();
4723 wxPyEndAllowThreads(__tstate
);
4724 if (PyErr_Occurred()) SWIG_fail
;
4727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4735 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4737 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4738 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4739 return SWIG_Py_Void();
4742 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4743 return SWIG_Python_InitShadowInstance(args
);
4746 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4747 PyObject
*resultobj
= 0;
4748 wxColour
*arg1
= 0 ;
4749 int arg2
= (int) 1 ;
4750 int arg3
= (int) wxSOLID
;
4757 PyObject
* obj0
= 0 ;
4758 PyObject
* obj1
= 0 ;
4759 PyObject
* obj2
= 0 ;
4760 char * kwnames
[] = {
4761 (char *) "colour",(char *) "width",(char *) "style", NULL
4764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4767 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4771 if (!SWIG_IsOK(ecode2
)) {
4772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4774 arg2
= static_cast< int >(val2
);
4777 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4778 if (!SWIG_IsOK(ecode3
)) {
4779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4781 arg3
= static_cast< int >(val3
);
4784 if (!wxPyCheckForApp()) SWIG_fail
;
4785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4786 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4787 wxPyEndAllowThreads(__tstate
);
4788 if (PyErr_Occurred()) SWIG_fail
;
4790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4797 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4798 PyObject
*resultobj
= 0;
4799 wxPen
*arg1
= (wxPen
*) 0 ;
4802 PyObject
*swig_obj
[1] ;
4804 if (!args
) SWIG_fail
;
4806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4807 if (!SWIG_IsOK(res1
)) {
4808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4810 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4815 wxPyEndAllowThreads(__tstate
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4818 resultobj
= SWIG_Py_Void();
4825 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4826 PyObject
*resultobj
= 0;
4827 wxPen
*arg1
= (wxPen
*) 0 ;
4831 PyObject
*swig_obj
[1] ;
4833 if (!args
) SWIG_fail
;
4835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4836 if (!SWIG_IsOK(res1
)) {
4837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4839 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4842 result
= (int)(arg1
)->GetCap();
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) SWIG_fail
;
4846 resultobj
= SWIG_From_int(static_cast< int >(result
));
4853 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4854 PyObject
*resultobj
= 0;
4855 wxPen
*arg1
= (wxPen
*) 0 ;
4859 PyObject
*swig_obj
[1] ;
4861 if (!args
) SWIG_fail
;
4863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4864 if (!SWIG_IsOK(res1
)) {
4865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4867 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4870 result
= (arg1
)->GetColour();
4871 wxPyEndAllowThreads(__tstate
);
4872 if (PyErr_Occurred()) SWIG_fail
;
4874 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4881 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4882 PyObject
*resultobj
= 0;
4883 wxPen
*arg1
= (wxPen
*) 0 ;
4887 PyObject
*swig_obj
[1] ;
4889 if (!args
) SWIG_fail
;
4891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4892 if (!SWIG_IsOK(res1
)) {
4893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4895 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4898 result
= (int)(arg1
)->GetJoin();
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4902 resultobj
= SWIG_From_int(static_cast< int >(result
));
4909 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4910 PyObject
*resultobj
= 0;
4911 wxPen
*arg1
= (wxPen
*) 0 ;
4915 PyObject
*swig_obj
[1] ;
4917 if (!args
) SWIG_fail
;
4919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4920 if (!SWIG_IsOK(res1
)) {
4921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4923 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4926 result
= (int)(arg1
)->GetStyle();
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4930 resultobj
= SWIG_From_int(static_cast< int >(result
));
4937 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4938 PyObject
*resultobj
= 0;
4939 wxPen
*arg1
= (wxPen
*) 0 ;
4943 PyObject
*swig_obj
[1] ;
4945 if (!args
) SWIG_fail
;
4947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4948 if (!SWIG_IsOK(res1
)) {
4949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4951 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 result
= (int)(arg1
)->GetWidth();
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4958 resultobj
= SWIG_From_int(static_cast< int >(result
));
4965 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4966 PyObject
*resultobj
= 0;
4967 wxPen
*arg1
= (wxPen
*) 0 ;
4971 PyObject
*swig_obj
[1] ;
4973 if (!args
) SWIG_fail
;
4975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4976 if (!SWIG_IsOK(res1
)) {
4977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4979 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 result
= (bool)(arg1
)->Ok();
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4995 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
*resultobj
= 0;
4997 wxPen
*arg1
= (wxPen
*) 0 ;
5003 PyObject
* obj0
= 0 ;
5004 PyObject
* obj1
= 0 ;
5005 char * kwnames
[] = {
5006 (char *) "self",(char *) "cap_style", NULL
5009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5011 if (!SWIG_IsOK(res1
)) {
5012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5014 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5016 if (!SWIG_IsOK(ecode2
)) {
5017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5019 arg2
= static_cast< int >(val2
);
5021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5022 (arg1
)->SetCap(arg2
);
5023 wxPyEndAllowThreads(__tstate
);
5024 if (PyErr_Occurred()) SWIG_fail
;
5026 resultobj
= SWIG_Py_Void();
5033 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5034 PyObject
*resultobj
= 0;
5035 wxPen
*arg1
= (wxPen
*) 0 ;
5036 wxColour
*arg2
= 0 ;
5040 PyObject
* obj0
= 0 ;
5041 PyObject
* obj1
= 0 ;
5042 char * kwnames
[] = {
5043 (char *) "self",(char *) "colour", NULL
5046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5048 if (!SWIG_IsOK(res1
)) {
5049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5051 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5054 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5058 (arg1
)->SetColour(*arg2
);
5059 wxPyEndAllowThreads(__tstate
);
5060 if (PyErr_Occurred()) SWIG_fail
;
5062 resultobj
= SWIG_Py_Void();
5069 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5070 PyObject
*resultobj
= 0;
5071 wxPen
*arg1
= (wxPen
*) 0 ;
5077 PyObject
* obj0
= 0 ;
5078 PyObject
* obj1
= 0 ;
5079 char * kwnames
[] = {
5080 (char *) "self",(char *) "join_style", NULL
5083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5085 if (!SWIG_IsOK(res1
)) {
5086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5088 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5090 if (!SWIG_IsOK(ecode2
)) {
5091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5093 arg2
= static_cast< int >(val2
);
5095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5096 (arg1
)->SetJoin(arg2
);
5097 wxPyEndAllowThreads(__tstate
);
5098 if (PyErr_Occurred()) SWIG_fail
;
5100 resultobj
= SWIG_Py_Void();
5107 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5108 PyObject
*resultobj
= 0;
5109 wxPen
*arg1
= (wxPen
*) 0 ;
5115 PyObject
* obj0
= 0 ;
5116 PyObject
* obj1
= 0 ;
5117 char * kwnames
[] = {
5118 (char *) "self",(char *) "style", NULL
5121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5123 if (!SWIG_IsOK(res1
)) {
5124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5126 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5128 if (!SWIG_IsOK(ecode2
)) {
5129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5131 arg2
= static_cast< int >(val2
);
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5134 (arg1
)->SetStyle(arg2
);
5135 wxPyEndAllowThreads(__tstate
);
5136 if (PyErr_Occurred()) SWIG_fail
;
5138 resultobj
= SWIG_Py_Void();
5145 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
*resultobj
= 0;
5147 wxPen
*arg1
= (wxPen
*) 0 ;
5153 PyObject
* obj0
= 0 ;
5154 PyObject
* obj1
= 0 ;
5155 char * kwnames
[] = {
5156 (char *) "self",(char *) "width", NULL
5159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5161 if (!SWIG_IsOK(res1
)) {
5162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5164 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5166 if (!SWIG_IsOK(ecode2
)) {
5167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5169 arg2
= static_cast< int >(val2
);
5171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5172 (arg1
)->SetWidth(arg2
);
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5176 resultobj
= SWIG_Py_Void();
5183 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5184 PyObject
*resultobj
= 0;
5185 wxPen
*arg1
= (wxPen
*) 0 ;
5187 wxDash
*arg3
= (wxDash
*) 0 ;
5190 PyObject
* obj0
= 0 ;
5191 PyObject
* obj1
= 0 ;
5192 char * kwnames
[] = {
5193 (char *) "self",(char *) "dashes", NULL
5196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5198 if (!SWIG_IsOK(res1
)) {
5199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5201 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5203 arg2
= PyList_Size(obj1
);
5204 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5205 if (arg3
== NULL
) SWIG_fail
;
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 (arg1
)->SetDashes(arg2
,arg3
);
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5213 resultobj
= SWIG_Py_Void();
5215 if (arg3
) delete [] arg3
;
5220 if (arg3
) delete [] arg3
;
5226 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5227 PyObject
*resultobj
= 0;
5228 wxPen
*arg1
= (wxPen
*) 0 ;
5229 PyObject
*result
= 0 ;
5232 PyObject
*swig_obj
[1] ;
5234 if (!args
) SWIG_fail
;
5236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5237 if (!SWIG_IsOK(res1
)) {
5238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5240 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5243 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5244 wxPyEndAllowThreads(__tstate
);
5245 if (PyErr_Occurred()) SWIG_fail
;
5254 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
*resultobj
= 0;
5256 wxPen
*arg1
= (wxPen
*) 0 ;
5257 PyObject
*arg2
= (PyObject
*) 0 ;
5258 PyObject
*arg3
= (PyObject
*) 0 ;
5261 PyObject
* obj0
= 0 ;
5262 PyObject
* obj1
= 0 ;
5263 PyObject
* obj2
= 0 ;
5264 char * kwnames
[] = {
5265 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5270 if (!SWIG_IsOK(res1
)) {
5271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5273 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5278 wxPen__SetDashes(arg1
,arg2
,arg3
);
5279 wxPyEndAllowThreads(__tstate
);
5280 if (PyErr_Occurred()) SWIG_fail
;
5282 resultobj
= SWIG_Py_Void();
5289 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5290 PyObject
*resultobj
= 0;
5291 wxPen
*arg1
= (wxPen
*) 0 ;
5295 PyObject
*swig_obj
[1] ;
5297 if (!args
) SWIG_fail
;
5299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5300 if (!SWIG_IsOK(res1
)) {
5301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5303 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5306 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5307 wxPyEndAllowThreads(__tstate
);
5308 if (PyErr_Occurred()) SWIG_fail
;
5310 resultobj
= SWIG_From_int(static_cast< int >(result
));
5317 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5318 PyObject
*resultobj
= 0;
5319 wxPen
*arg1
= (wxPen
*) 0 ;
5320 wxPen
*arg2
= (wxPen
*) 0 ;
5326 PyObject
* obj0
= 0 ;
5327 PyObject
* obj1
= 0 ;
5328 char * kwnames
[] = {
5329 (char *) "self",(char *) "other", NULL
5332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5334 if (!SWIG_IsOK(res1
)) {
5335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5337 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5338 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5339 if (!SWIG_IsOK(res2
)) {
5340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5342 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5345 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5346 wxPyEndAllowThreads(__tstate
);
5347 if (PyErr_Occurred()) SWIG_fail
;
5350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5358 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5359 PyObject
*resultobj
= 0;
5360 wxPen
*arg1
= (wxPen
*) 0 ;
5361 wxPen
*arg2
= (wxPen
*) 0 ;
5367 PyObject
* obj0
= 0 ;
5368 PyObject
* obj1
= 0 ;
5369 char * kwnames
[] = {
5370 (char *) "self",(char *) "other", NULL
5373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5375 if (!SWIG_IsOK(res1
)) {
5376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5378 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5379 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5380 if (!SWIG_IsOK(res2
)) {
5381 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5383 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5386 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5387 wxPyEndAllowThreads(__tstate
);
5388 if (PyErr_Occurred()) SWIG_fail
;
5391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5399 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5401 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5402 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5403 return SWIG_Py_Void();
5406 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5407 return SWIG_Python_InitShadowInstance(args
);
5410 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
*resultobj
= 0;
5412 wxColour
*arg1
= 0 ;
5413 int arg2
= (int) wxSOLID
;
5414 wxBrush
*result
= 0 ;
5418 PyObject
* obj0
= 0 ;
5419 PyObject
* obj1
= 0 ;
5420 char * kwnames
[] = {
5421 (char *) "colour",(char *) "style", NULL
5424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5427 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5431 if (!SWIG_IsOK(ecode2
)) {
5432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5434 arg2
= static_cast< int >(val2
);
5437 if (!wxPyCheckForApp()) SWIG_fail
;
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5450 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
*resultobj
= 0;
5452 wxBitmap
*arg1
= 0 ;
5453 wxBrush
*result
= 0 ;
5456 PyObject
* obj0
= 0 ;
5457 char * kwnames
[] = {
5458 (char *) "stippleBitmap", NULL
5461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5462 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5463 if (!SWIG_IsOK(res1
)) {
5464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5469 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5471 if (!wxPyCheckForApp()) SWIG_fail
;
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5474 wxPyEndAllowThreads(__tstate
);
5475 if (PyErr_Occurred()) SWIG_fail
;
5477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5484 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5485 PyObject
*resultobj
= 0;
5486 wxBrush
*arg1
= (wxBrush
*) 0 ;
5489 PyObject
*swig_obj
[1] ;
5491 if (!args
) SWIG_fail
;
5493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5494 if (!SWIG_IsOK(res1
)) {
5495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5497 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5502 wxPyEndAllowThreads(__tstate
);
5503 if (PyErr_Occurred()) SWIG_fail
;
5505 resultobj
= SWIG_Py_Void();
5512 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5513 PyObject
*resultobj
= 0;
5514 wxBrush
*arg1
= (wxBrush
*) 0 ;
5515 wxColour
*arg2
= 0 ;
5519 PyObject
* obj0
= 0 ;
5520 PyObject
* obj1
= 0 ;
5521 char * kwnames
[] = {
5522 (char *) "self",(char *) "col", NULL
5525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5527 if (!SWIG_IsOK(res1
)) {
5528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5530 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5533 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5537 (arg1
)->SetColour((wxColour
const &)*arg2
);
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5541 resultobj
= SWIG_Py_Void();
5548 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
*resultobj
= 0;
5550 wxBrush
*arg1
= (wxBrush
*) 0 ;
5556 PyObject
* obj0
= 0 ;
5557 PyObject
* obj1
= 0 ;
5558 char * kwnames
[] = {
5559 (char *) "self",(char *) "style", NULL
5562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5564 if (!SWIG_IsOK(res1
)) {
5565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5567 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5569 if (!SWIG_IsOK(ecode2
)) {
5570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5572 arg2
= static_cast< int >(val2
);
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 (arg1
)->SetStyle(arg2
);
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5579 resultobj
= SWIG_Py_Void();
5586 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
*resultobj
= 0;
5588 wxBrush
*arg1
= (wxBrush
*) 0 ;
5589 wxBitmap
*arg2
= 0 ;
5594 PyObject
* obj0
= 0 ;
5595 PyObject
* obj1
= 0 ;
5596 char * kwnames
[] = {
5597 (char *) "self",(char *) "stipple", NULL
5600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5602 if (!SWIG_IsOK(res1
)) {
5603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5605 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5606 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5607 if (!SWIG_IsOK(res2
)) {
5608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5613 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5617 wxPyEndAllowThreads(__tstate
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5620 resultobj
= SWIG_Py_Void();
5627 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5628 PyObject
*resultobj
= 0;
5629 wxBrush
*arg1
= (wxBrush
*) 0 ;
5633 PyObject
*swig_obj
[1] ;
5635 if (!args
) SWIG_fail
;
5637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5638 if (!SWIG_IsOK(res1
)) {
5639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5641 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5644 result
= ((wxBrush
const *)arg1
)->GetColour();
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5648 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5655 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5656 PyObject
*resultobj
= 0;
5657 wxBrush
*arg1
= (wxBrush
*) 0 ;
5661 PyObject
*swig_obj
[1] ;
5663 if (!args
) SWIG_fail
;
5665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5666 if (!SWIG_IsOK(res1
)) {
5667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5669 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5676 resultobj
= SWIG_From_int(static_cast< int >(result
));
5683 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5684 PyObject
*resultobj
= 0;
5685 wxBrush
*arg1
= (wxBrush
*) 0 ;
5686 wxBitmap
*result
= 0 ;
5689 PyObject
*swig_obj
[1] ;
5691 if (!args
) SWIG_fail
;
5693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5694 if (!SWIG_IsOK(res1
)) {
5695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5697 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5711 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5712 PyObject
*resultobj
= 0;
5713 wxBrush
*arg1
= (wxBrush
*) 0 ;
5717 PyObject
*swig_obj
[1] ;
5719 if (!args
) SWIG_fail
;
5721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5722 if (!SWIG_IsOK(res1
)) {
5723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5725 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5741 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5742 PyObject
*resultobj
= 0;
5743 wxBrush
*arg1
= (wxBrush
*) 0 ;
5747 PyObject
*swig_obj
[1] ;
5749 if (!args
) SWIG_fail
;
5751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5752 if (!SWIG_IsOK(res1
)) {
5753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5755 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 result
= (bool)(arg1
)->Ok();
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5771 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5773 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5774 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5775 return SWIG_Py_Void();
5778 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5779 return SWIG_Python_InitShadowInstance(args
);
5782 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5783 PyObject
*resultobj
= 0;
5784 wxString
*arg1
= 0 ;
5785 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5786 wxBitmap
*result
= 0 ;
5787 bool temp1
= false ;
5790 PyObject
* obj0
= 0 ;
5791 PyObject
* obj1
= 0 ;
5792 char * kwnames
[] = {
5793 (char *) "name",(char *) "type", NULL
5796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5798 arg1
= wxString_in_helper(obj0
);
5799 if (arg1
== NULL
) SWIG_fail
;
5803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5804 if (!SWIG_IsOK(ecode2
)) {
5805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5807 arg2
= static_cast< wxBitmapType
>(val2
);
5810 if (!wxPyCheckForApp()) SWIG_fail
;
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5812 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5831 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5832 PyObject
*resultobj
= 0;
5833 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5836 PyObject
*swig_obj
[1] ;
5838 if (!args
) SWIG_fail
;
5840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5841 if (!SWIG_IsOK(res1
)) {
5842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5844 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5848 if (PyErr_Occurred()) SWIG_fail
;
5850 resultobj
= SWIG_Py_Void();
5857 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
*resultobj
= 0;
5861 int arg3
= (int) -1 ;
5862 wxBitmap
*result
= 0 ;
5869 PyObject
* obj0
= 0 ;
5870 PyObject
* obj1
= 0 ;
5871 PyObject
* obj2
= 0 ;
5872 char * kwnames
[] = {
5873 (char *) "width",(char *) "height",(char *) "depth", NULL
5876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5877 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5878 if (!SWIG_IsOK(ecode1
)) {
5879 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5881 arg1
= static_cast< int >(val1
);
5882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5883 if (!SWIG_IsOK(ecode2
)) {
5884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5886 arg2
= static_cast< int >(val2
);
5888 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5889 if (!SWIG_IsOK(ecode3
)) {
5890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5892 arg3
= static_cast< int >(val3
);
5895 if (!wxPyCheckForApp()) SWIG_fail
;
5896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5898 wxPyEndAllowThreads(__tstate
);
5899 if (PyErr_Occurred()) SWIG_fail
;
5901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5908 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
*resultobj
= 0;
5911 wxBitmap
*result
= 0 ;
5914 PyObject
* obj0
= 0 ;
5915 char * kwnames
[] = {
5916 (char *) "icon", NULL
5919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5920 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5921 if (!SWIG_IsOK(res1
)) {
5922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5925 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5927 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5929 if (!wxPyCheckForApp()) SWIG_fail
;
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5931 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5932 wxPyEndAllowThreads(__tstate
);
5933 if (PyErr_Occurred()) SWIG_fail
;
5935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5942 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5943 PyObject
*resultobj
= 0;
5945 int arg2
= (int) -1 ;
5946 wxBitmap
*result
= 0 ;
5951 PyObject
* obj0
= 0 ;
5952 PyObject
* obj1
= 0 ;
5953 char * kwnames
[] = {
5954 (char *) "image",(char *) "depth", NULL
5957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5958 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5959 if (!SWIG_IsOK(res1
)) {
5960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5963 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5965 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5968 if (!SWIG_IsOK(ecode2
)) {
5969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5971 arg2
= static_cast< int >(val2
);
5974 if (!wxPyCheckForApp()) SWIG_fail
;
5975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5976 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5987 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5988 PyObject
*resultobj
= 0;
5989 PyObject
*arg1
= (PyObject
*) 0 ;
5990 wxBitmap
*result
= 0 ;
5991 PyObject
* obj0
= 0 ;
5992 char * kwnames
[] = {
5993 (char *) "listOfStrings", NULL
5996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5999 if (!wxPyCheckForApp()) SWIG_fail
;
6000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6001 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6002 wxPyEndAllowThreads(__tstate
);
6003 if (PyErr_Occurred()) SWIG_fail
;
6005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6012 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
*resultobj
= 0;
6014 PyObject
*arg1
= (PyObject
*) 0 ;
6017 int arg4
= (int) 1 ;
6018 wxBitmap
*result
= 0 ;
6025 PyObject
* obj0
= 0 ;
6026 PyObject
* obj1
= 0 ;
6027 PyObject
* obj2
= 0 ;
6028 PyObject
* obj3
= 0 ;
6029 char * kwnames
[] = {
6030 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6036 if (!SWIG_IsOK(ecode2
)) {
6037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6039 arg2
= static_cast< int >(val2
);
6040 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6041 if (!SWIG_IsOK(ecode3
)) {
6042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6044 arg3
= static_cast< int >(val3
);
6046 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6047 if (!SWIG_IsOK(ecode4
)) {
6048 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6050 arg4
= static_cast< int >(val4
);
6053 if (!wxPyCheckForApp()) SWIG_fail
;
6054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6066 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6067 PyObject
*resultobj
= 0;
6068 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6072 PyObject
*swig_obj
[1] ;
6074 if (!args
) SWIG_fail
;
6076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6077 if (!SWIG_IsOK(res1
)) {
6078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
6080 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6082 result
= (bool)(arg1
)->Ok();
6083 if (PyErr_Occurred()) SWIG_fail
;
6086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6094 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6095 PyObject
*resultobj
= 0;
6096 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6100 PyObject
*swig_obj
[1] ;
6102 if (!args
) SWIG_fail
;
6104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6105 if (!SWIG_IsOK(res1
)) {
6106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6108 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6110 result
= (int)(arg1
)->GetWidth();
6111 if (PyErr_Occurred()) SWIG_fail
;
6113 resultobj
= SWIG_From_int(static_cast< int >(result
));
6120 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6121 PyObject
*resultobj
= 0;
6122 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6126 PyObject
*swig_obj
[1] ;
6128 if (!args
) SWIG_fail
;
6130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6131 if (!SWIG_IsOK(res1
)) {
6132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6134 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6136 result
= (int)(arg1
)->GetHeight();
6137 if (PyErr_Occurred()) SWIG_fail
;
6139 resultobj
= SWIG_From_int(static_cast< int >(result
));
6146 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6147 PyObject
*resultobj
= 0;
6148 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6152 PyObject
*swig_obj
[1] ;
6154 if (!args
) SWIG_fail
;
6156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6157 if (!SWIG_IsOK(res1
)) {
6158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6160 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6162 result
= (int)(arg1
)->GetDepth();
6163 if (PyErr_Occurred()) SWIG_fail
;
6165 resultobj
= SWIG_From_int(static_cast< int >(result
));
6172 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6173 PyObject
*resultobj
= 0;
6174 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6178 PyObject
*swig_obj
[1] ;
6180 if (!args
) SWIG_fail
;
6182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6183 if (!SWIG_IsOK(res1
)) {
6184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6186 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6188 result
= wxBitmap_GetSize(arg1
);
6189 if (PyErr_Occurred()) SWIG_fail
;
6191 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6198 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6199 PyObject
*resultobj
= 0;
6200 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6201 SwigValueWrapper
<wxImage
> result
;
6204 PyObject
*swig_obj
[1] ;
6206 if (!args
) SWIG_fail
;
6208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6209 if (!SWIG_IsOK(res1
)) {
6210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6212 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6214 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6215 if (PyErr_Occurred()) SWIG_fail
;
6217 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6224 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6225 PyObject
*resultobj
= 0;
6226 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6227 wxMask
*result
= 0 ;
6230 PyObject
*swig_obj
[1] ;
6232 if (!args
) SWIG_fail
;
6234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6235 if (!SWIG_IsOK(res1
)) {
6236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6238 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6240 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6241 if (PyErr_Occurred()) SWIG_fail
;
6243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6250 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6251 PyObject
*resultobj
= 0;
6252 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6253 wxMask
*arg2
= (wxMask
*) 0 ;
6257 PyObject
* obj0
= 0 ;
6258 PyObject
* obj1
= 0 ;
6259 char * kwnames
[] = {
6260 (char *) "self",(char *) "mask", NULL
6263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6265 if (!SWIG_IsOK(res1
)) {
6266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6268 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6269 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6270 if (!SWIG_IsOK(res2
)) {
6271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6274 (arg1
)->SetMask(arg2
);
6275 if (PyErr_Occurred()) SWIG_fail
;
6277 resultobj
= SWIG_Py_Void();
6284 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6285 PyObject
*resultobj
= 0;
6286 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6287 wxColour
*arg2
= 0 ;
6291 PyObject
* obj0
= 0 ;
6292 PyObject
* obj1
= 0 ;
6293 char * kwnames
[] = {
6294 (char *) "self",(char *) "colour", NULL
6297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6299 if (!SWIG_IsOK(res1
)) {
6300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6302 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6305 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6308 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6309 if (PyErr_Occurred()) SWIG_fail
;
6311 resultobj
= SWIG_Py_Void();
6318 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6319 PyObject
*resultobj
= 0;
6320 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6322 SwigValueWrapper
<wxBitmap
> result
;
6326 PyObject
* obj0
= 0 ;
6327 PyObject
* obj1
= 0 ;
6328 char * kwnames
[] = {
6329 (char *) "self",(char *) "rect", NULL
6332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6334 if (!SWIG_IsOK(res1
)) {
6335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6337 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6340 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6343 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6353 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6354 PyObject
*resultobj
= 0;
6355 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6356 wxString
*arg2
= 0 ;
6358 wxPalette
*arg4
= (wxPalette
*) NULL
;
6362 bool temp2
= false ;
6367 PyObject
* obj0
= 0 ;
6368 PyObject
* obj1
= 0 ;
6369 PyObject
* obj2
= 0 ;
6370 PyObject
* obj3
= 0 ;
6371 char * kwnames
[] = {
6372 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6377 if (!SWIG_IsOK(res1
)) {
6378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6380 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6382 arg2
= wxString_in_helper(obj1
);
6383 if (arg2
== NULL
) SWIG_fail
;
6386 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6387 if (!SWIG_IsOK(ecode3
)) {
6388 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6390 arg3
= static_cast< wxBitmapType
>(val3
);
6392 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6393 if (!SWIG_IsOK(res4
)) {
6394 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6396 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6399 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6400 if (PyErr_Occurred()) SWIG_fail
;
6403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6419 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6420 PyObject
*resultobj
= 0;
6421 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6422 wxString
*arg2
= 0 ;
6427 bool temp2
= false ;
6430 PyObject
* obj0
= 0 ;
6431 PyObject
* obj1
= 0 ;
6432 PyObject
* obj2
= 0 ;
6433 char * kwnames
[] = {
6434 (char *) "self",(char *) "name",(char *) "type", NULL
6437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6439 if (!SWIG_IsOK(res1
)) {
6440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6442 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6444 arg2
= wxString_in_helper(obj1
);
6445 if (arg2
== NULL
) SWIG_fail
;
6448 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6449 if (!SWIG_IsOK(ecode3
)) {
6450 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6452 arg3
= static_cast< wxBitmapType
>(val3
);
6454 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6474 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6475 PyObject
*resultobj
= 0;
6476 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6477 wxPalette
*result
= 0 ;
6480 PyObject
*swig_obj
[1] ;
6482 if (!args
) SWIG_fail
;
6484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6485 if (!SWIG_IsOK(res1
)) {
6486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6488 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6490 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6491 if (PyErr_Occurred()) SWIG_fail
;
6493 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6500 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6501 PyObject
*resultobj
= 0;
6502 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6509 PyObject
* obj0
= 0 ;
6510 PyObject
* obj1
= 0 ;
6511 char * kwnames
[] = {
6512 (char *) "self",(char *) "icon", NULL
6515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6517 if (!SWIG_IsOK(res1
)) {
6518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6520 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6521 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6522 if (!SWIG_IsOK(res2
)) {
6523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6528 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6530 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6531 if (PyErr_Occurred()) SWIG_fail
;
6534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6542 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6543 PyObject
*resultobj
= 0;
6544 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6550 PyObject
* obj0
= 0 ;
6551 PyObject
* obj1
= 0 ;
6552 char * kwnames
[] = {
6553 (char *) "self",(char *) "height", NULL
6556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6558 if (!SWIG_IsOK(res1
)) {
6559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6561 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6563 if (!SWIG_IsOK(ecode2
)) {
6564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6566 arg2
= static_cast< int >(val2
);
6568 (arg1
)->SetHeight(arg2
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6571 resultobj
= SWIG_Py_Void();
6578 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6579 PyObject
*resultobj
= 0;
6580 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6586 PyObject
* obj0
= 0 ;
6587 PyObject
* obj1
= 0 ;
6588 char * kwnames
[] = {
6589 (char *) "self",(char *) "width", NULL
6592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6594 if (!SWIG_IsOK(res1
)) {
6595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6597 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6599 if (!SWIG_IsOK(ecode2
)) {
6600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6602 arg2
= static_cast< int >(val2
);
6604 (arg1
)->SetWidth(arg2
);
6605 if (PyErr_Occurred()) SWIG_fail
;
6607 resultobj
= SWIG_Py_Void();
6614 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6615 PyObject
*resultobj
= 0;
6616 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6622 PyObject
* obj0
= 0 ;
6623 PyObject
* obj1
= 0 ;
6624 char * kwnames
[] = {
6625 (char *) "self",(char *) "depth", NULL
6628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6630 if (!SWIG_IsOK(res1
)) {
6631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6633 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6634 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6635 if (!SWIG_IsOK(ecode2
)) {
6636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6638 arg2
= static_cast< int >(val2
);
6640 (arg1
)->SetDepth(arg2
);
6641 if (PyErr_Occurred()) SWIG_fail
;
6643 resultobj
= SWIG_Py_Void();
6650 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
*resultobj
= 0;
6652 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6657 PyObject
* obj0
= 0 ;
6658 PyObject
* obj1
= 0 ;
6659 char * kwnames
[] = {
6660 (char *) "self",(char *) "size", NULL
6663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6665 if (!SWIG_IsOK(res1
)) {
6666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6668 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6671 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6674 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6675 if (PyErr_Occurred()) SWIG_fail
;
6677 resultobj
= SWIG_Py_Void();
6684 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6685 PyObject
*resultobj
= 0;
6686 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6687 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6693 PyObject
* obj0
= 0 ;
6694 PyObject
* obj1
= 0 ;
6695 char * kwnames
[] = {
6696 (char *) "self",(char *) "other", NULL
6699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6701 if (!SWIG_IsOK(res1
)) {
6702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6704 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6705 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6706 if (!SWIG_IsOK(res2
)) {
6707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6709 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6711 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6723 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6724 PyObject
*resultobj
= 0;
6725 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6726 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6732 PyObject
* obj0
= 0 ;
6733 PyObject
* obj1
= 0 ;
6734 char * kwnames
[] = {
6735 (char *) "self",(char *) "other", NULL
6738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6740 if (!SWIG_IsOK(res1
)) {
6741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6743 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6744 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6745 if (!SWIG_IsOK(res2
)) {
6746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6748 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6750 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6762 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6764 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6765 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6766 return SWIG_Py_Void();
6769 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6770 return SWIG_Python_InitShadowInstance(args
);
6773 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
*resultobj
= 0;
6781 wxBitmap
*result
= 0 ;
6788 PyObject
* obj0
= 0 ;
6789 PyObject
* obj1
= 0 ;
6790 PyObject
* obj2
= 0 ;
6791 PyObject
* obj3
= 0 ;
6792 char * kwnames
[] = {
6793 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
6796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6797 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6798 if (!SWIG_IsOK(ecode1
)) {
6799 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
6801 arg1
= static_cast< int >(val1
);
6802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6803 if (!SWIG_IsOK(ecode2
)) {
6804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
6806 arg2
= static_cast< int >(val2
);
6808 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6812 if (obj3
!= Py_None
) {
6813 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
6818 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
6819 if (PyErr_Occurred()) SWIG_fail
;
6821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6828 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
*resultobj
= 0;
6834 wxBitmap
*result
= 0 ;
6840 PyObject
* obj0
= 0 ;
6841 PyObject
* obj1
= 0 ;
6842 PyObject
* obj2
= 0 ;
6843 char * kwnames
[] = {
6844 (char *) "width",(char *) "height",(char *) "data", NULL
6847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6848 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6849 if (!SWIG_IsOK(ecode1
)) {
6850 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
6852 arg1
= static_cast< int >(val1
);
6853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6854 if (!SWIG_IsOK(ecode2
)) {
6855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
6857 arg2
= static_cast< int >(val2
);
6859 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6863 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6873 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6874 PyObject
*resultobj
= 0;
6879 wxBitmap
*result
= 0 ;
6885 PyObject
* obj0
= 0 ;
6886 PyObject
* obj1
= 0 ;
6887 PyObject
* obj2
= 0 ;
6888 char * kwnames
[] = {
6889 (char *) "width",(char *) "height",(char *) "data", NULL
6892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6893 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6894 if (!SWIG_IsOK(ecode1
)) {
6895 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
6897 arg1
= static_cast< int >(val1
);
6898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6899 if (!SWIG_IsOK(ecode2
)) {
6900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
6902 arg2
= static_cast< int >(val2
);
6904 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6908 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6918 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6919 PyObject
*resultobj
= 0;
6920 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6924 PyObject
*swig_obj
[1] ;
6926 if (!args
) SWIG_fail
;
6928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6929 if (!SWIG_IsOK(res1
)) {
6930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6932 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6934 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
6935 if (PyErr_Occurred()) SWIG_fail
;
6937 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6944 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6945 PyObject
*resultobj
= 0;
6946 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6950 PyObject
*swig_obj
[1] ;
6952 if (!args
) SWIG_fail
;
6954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6955 if (!SWIG_IsOK(res1
)) {
6956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6958 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6960 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
6961 if (PyErr_Occurred()) SWIG_fail
;
6963 resultobj
= SWIG_From_int(static_cast< int >(result
));
6970 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6971 PyObject
*resultobj
= 0;
6972 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6976 PyObject
*swig_obj
[1] ;
6978 if (!args
) SWIG_fail
;
6980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6981 if (!SWIG_IsOK(res1
)) {
6982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6984 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6986 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
6987 if (PyErr_Occurred()) SWIG_fail
;
6989 resultobj
= SWIG_From_int(static_cast< int >(result
));
6996 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6997 PyObject
*resultobj
= 0;
6998 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7002 PyObject
*swig_obj
[1] ;
7004 if (!args
) SWIG_fail
;
7006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7007 if (!SWIG_IsOK(res1
)) {
7008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7010 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7012 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7013 if (PyErr_Occurred()) SWIG_fail
;
7015 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7022 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7023 PyObject
*resultobj
= 0;
7024 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7028 PyObject
*swig_obj
[1] ;
7030 if (!args
) SWIG_fail
;
7032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7033 if (!SWIG_IsOK(res1
)) {
7034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7036 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7038 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7039 if (PyErr_Occurred()) SWIG_fail
;
7041 resultobj
= SWIG_From_int(static_cast< int >(result
));
7048 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7050 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7051 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7052 return SWIG_Py_Void();
7055 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7056 PyObject
*resultobj
= 0;
7057 wxBitmap
*arg1
= 0 ;
7058 wxNativePixelData
*result
= 0 ;
7062 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7064 if (!SWIG_IsOK(res1
)) {
7065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7068 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7070 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7072 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7075 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7082 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7083 PyObject
*resultobj
= 0;
7084 wxBitmap
*arg1
= 0 ;
7086 wxNativePixelData
*result
= 0 ;
7091 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7093 if (!SWIG_IsOK(res1
)) {
7094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7099 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7102 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7105 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7106 if (PyErr_Occurred()) SWIG_fail
;
7108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7115 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7116 PyObject
*resultobj
= 0;
7117 wxBitmap
*arg1
= 0 ;
7120 wxNativePixelData
*result
= 0 ;
7126 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7128 if (!SWIG_IsOK(res1
)) {
7129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7134 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7137 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7141 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7144 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7145 if (PyErr_Occurred()) SWIG_fail
;
7147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7154 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7158 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7161 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7164 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7167 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7171 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7176 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7177 PyObject
*resultobj
= 0;
7178 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7181 PyObject
*swig_obj
[1] ;
7183 if (!args
) SWIG_fail
;
7185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7186 if (!SWIG_IsOK(res1
)) {
7187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7189 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7193 if (PyErr_Occurred()) SWIG_fail
;
7195 resultobj
= SWIG_Py_Void();
7202 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7203 PyObject
*resultobj
= 0;
7204 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7205 wxNativePixelData_Accessor result
;
7208 PyObject
*swig_obj
[1] ;
7210 if (!args
) SWIG_fail
;
7212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7213 if (!SWIG_IsOK(res1
)) {
7214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7216 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7218 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7219 if (PyErr_Occurred()) SWIG_fail
;
7221 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7228 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7229 PyObject
*resultobj
= 0;
7230 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7233 PyObject
*swig_obj
[1] ;
7235 if (!args
) SWIG_fail
;
7237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7238 if (!SWIG_IsOK(res1
)) {
7239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7241 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7246 resultobj
= SWIG_Py_Void();
7253 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7254 PyObject
*resultobj
= 0;
7255 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7259 PyObject
*swig_obj
[1] ;
7261 if (!args
) SWIG_fail
;
7263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7264 if (!SWIG_IsOK(res1
)) {
7265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7267 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7269 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7270 if (PyErr_Occurred()) SWIG_fail
;
7273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7281 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7283 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7284 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7285 return SWIG_Py_Void();
7288 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7289 return SWIG_Python_InitShadowInstance(args
);
7292 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7293 PyObject
*resultobj
= 0;
7294 wxNativePixelData
*arg1
= 0 ;
7295 wxNativePixelData_Accessor
*result
= 0 ;
7299 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7301 if (!SWIG_IsOK(res1
)) {
7302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7307 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7309 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7310 if (PyErr_Occurred()) SWIG_fail
;
7312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7319 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7320 PyObject
*resultobj
= 0;
7321 wxBitmap
*arg1
= 0 ;
7322 wxNativePixelData
*arg2
= 0 ;
7323 wxNativePixelData_Accessor
*result
= 0 ;
7329 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7331 if (!SWIG_IsOK(res1
)) {
7332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7335 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7337 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7338 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7339 if (!SWIG_IsOK(res2
)) {
7340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7345 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7347 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7357 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7358 PyObject
*resultobj
= 0;
7359 wxNativePixelData_Accessor
*result
= 0 ;
7361 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7363 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7364 if (PyErr_Occurred()) SWIG_fail
;
7366 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7373 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7377 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7380 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7383 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7386 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7390 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7395 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7396 PyObject
*resultobj
= 0;
7397 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7400 PyObject
*swig_obj
[1] ;
7402 if (!args
) SWIG_fail
;
7404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7405 if (!SWIG_IsOK(res1
)) {
7406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7408 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7414 resultobj
= SWIG_Py_Void();
7421 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7422 PyObject
*resultobj
= 0;
7423 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7424 wxNativePixelData
*arg2
= 0 ;
7429 PyObject
* obj0
= 0 ;
7430 PyObject
* obj1
= 0 ;
7431 char * kwnames
[] = {
7432 (char *) "self",(char *) "data", NULL
7435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7437 if (!SWIG_IsOK(res1
)) {
7438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7440 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7441 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7442 if (!SWIG_IsOK(res2
)) {
7443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7448 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7450 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7453 resultobj
= SWIG_Py_Void();
7460 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7461 PyObject
*resultobj
= 0;
7462 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7466 PyObject
*swig_obj
[1] ;
7468 if (!args
) SWIG_fail
;
7470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7471 if (!SWIG_IsOK(res1
)) {
7472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7474 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7476 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7477 if (PyErr_Occurred()) SWIG_fail
;
7480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7488 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7489 PyObject
*resultobj
= 0;
7490 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7493 PyObject
*swig_obj
[1] ;
7495 if (!args
) SWIG_fail
;
7497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7498 if (!SWIG_IsOK(res1
)) {
7499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7501 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7503 wxNativePixelData_Accessor_nextPixel(arg1
);
7504 if (PyErr_Occurred()) SWIG_fail
;
7506 resultobj
= SWIG_Py_Void();
7513 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7514 PyObject
*resultobj
= 0;
7515 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7516 wxNativePixelData
*arg2
= 0 ;
7527 PyObject
* obj0
= 0 ;
7528 PyObject
* obj1
= 0 ;
7529 PyObject
* obj2
= 0 ;
7530 PyObject
* obj3
= 0 ;
7531 char * kwnames
[] = {
7532 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7537 if (!SWIG_IsOK(res1
)) {
7538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7540 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7541 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7542 if (!SWIG_IsOK(res2
)) {
7543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7548 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7549 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7550 if (!SWIG_IsOK(ecode3
)) {
7551 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7553 arg3
= static_cast< int >(val3
);
7554 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7555 if (!SWIG_IsOK(ecode4
)) {
7556 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7558 arg4
= static_cast< int >(val4
);
7560 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7561 if (PyErr_Occurred()) SWIG_fail
;
7563 resultobj
= SWIG_Py_Void();
7570 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7571 PyObject
*resultobj
= 0;
7572 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7573 wxNativePixelData
*arg2
= 0 ;
7581 PyObject
* obj0
= 0 ;
7582 PyObject
* obj1
= 0 ;
7583 PyObject
* obj2
= 0 ;
7584 char * kwnames
[] = {
7585 (char *) "self",(char *) "data",(char *) "x", NULL
7588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7590 if (!SWIG_IsOK(res1
)) {
7591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7593 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7594 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7595 if (!SWIG_IsOK(res2
)) {
7596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7599 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7601 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7602 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7603 if (!SWIG_IsOK(ecode3
)) {
7604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7606 arg3
= static_cast< int >(val3
);
7608 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7611 resultobj
= SWIG_Py_Void();
7618 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7619 PyObject
*resultobj
= 0;
7620 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7621 wxNativePixelData
*arg2
= 0 ;
7629 PyObject
* obj0
= 0 ;
7630 PyObject
* obj1
= 0 ;
7631 PyObject
* obj2
= 0 ;
7632 char * kwnames
[] = {
7633 (char *) "self",(char *) "data",(char *) "y", NULL
7636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7638 if (!SWIG_IsOK(res1
)) {
7639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7641 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7642 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7643 if (!SWIG_IsOK(res2
)) {
7644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7647 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7649 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7650 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7651 if (!SWIG_IsOK(ecode3
)) {
7652 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7654 arg3
= static_cast< int >(val3
);
7656 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7657 if (PyErr_Occurred()) SWIG_fail
;
7659 resultobj
= SWIG_Py_Void();
7666 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7667 PyObject
*resultobj
= 0;
7668 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7669 wxNativePixelData
*arg2
= 0 ;
7680 PyObject
* obj0
= 0 ;
7681 PyObject
* obj1
= 0 ;
7682 PyObject
* obj2
= 0 ;
7683 PyObject
* obj3
= 0 ;
7684 char * kwnames
[] = {
7685 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7690 if (!SWIG_IsOK(res1
)) {
7691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7693 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7694 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7695 if (!SWIG_IsOK(res2
)) {
7696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7701 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7702 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7703 if (!SWIG_IsOK(ecode3
)) {
7704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7706 arg3
= static_cast< int >(val3
);
7707 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7708 if (!SWIG_IsOK(ecode4
)) {
7709 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7711 arg4
= static_cast< int >(val4
);
7713 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7716 resultobj
= SWIG_Py_Void();
7723 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
*resultobj
= 0;
7725 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7731 unsigned char val2
;
7733 unsigned char val3
;
7735 unsigned char val4
;
7737 PyObject
* obj0
= 0 ;
7738 PyObject
* obj1
= 0 ;
7739 PyObject
* obj2
= 0 ;
7740 PyObject
* obj3
= 0 ;
7741 char * kwnames
[] = {
7742 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7747 if (!SWIG_IsOK(res1
)) {
7748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7750 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7751 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7752 if (!SWIG_IsOK(ecode2
)) {
7753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7755 arg2
= static_cast< byte
>(val2
);
7756 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7757 if (!SWIG_IsOK(ecode3
)) {
7758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7760 arg3
= static_cast< byte
>(val3
);
7761 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7762 if (!SWIG_IsOK(ecode4
)) {
7763 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7765 arg4
= static_cast< byte
>(val4
);
7767 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7770 resultobj
= SWIG_Py_Void();
7777 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7778 PyObject
*resultobj
= 0;
7779 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7780 PyObject
*result
= 0 ;
7783 PyObject
*swig_obj
[1] ;
7785 if (!args
) SWIG_fail
;
7787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7788 if (!SWIG_IsOK(res1
)) {
7789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7791 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7793 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7803 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7805 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7806 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
7807 return SWIG_Py_Void();
7810 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7811 return SWIG_Python_InitShadowInstance(args
);
7814 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7815 PyObject
*resultobj
= 0;
7816 wxBitmap
*arg1
= 0 ;
7817 wxAlphaPixelData
*result
= 0 ;
7821 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7823 if (!SWIG_IsOK(res1
)) {
7824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7829 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7831 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7841 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7842 PyObject
*resultobj
= 0;
7843 wxBitmap
*arg1
= 0 ;
7845 wxAlphaPixelData
*result
= 0 ;
7850 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7852 if (!SWIG_IsOK(res1
)) {
7853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7858 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7861 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7864 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
7865 if (PyErr_Occurred()) SWIG_fail
;
7867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7874 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7875 PyObject
*resultobj
= 0;
7876 wxBitmap
*arg1
= 0 ;
7879 wxAlphaPixelData
*result
= 0 ;
7885 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7887 if (!SWIG_IsOK(res1
)) {
7888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7893 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7896 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7900 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7903 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7913 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
7917 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
7920 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
7923 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
7926 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
7930 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
7935 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7936 PyObject
*resultobj
= 0;
7937 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7940 PyObject
*swig_obj
[1] ;
7942 if (!args
) SWIG_fail
;
7944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
7945 if (!SWIG_IsOK(res1
)) {
7946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7948 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7952 if (PyErr_Occurred()) SWIG_fail
;
7954 resultobj
= SWIG_Py_Void();
7961 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7962 PyObject
*resultobj
= 0;
7963 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7964 wxAlphaPixelData_Accessor result
;
7967 PyObject
*swig_obj
[1] ;
7969 if (!args
) SWIG_fail
;
7971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7972 if (!SWIG_IsOK(res1
)) {
7973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
7975 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7977 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
7978 if (PyErr_Occurred()) SWIG_fail
;
7980 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7987 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7988 PyObject
*resultobj
= 0;
7989 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7992 PyObject
*swig_obj
[1] ;
7994 if (!args
) SWIG_fail
;
7996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7997 if (!SWIG_IsOK(res1
)) {
7998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8000 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8005 resultobj
= SWIG_Py_Void();
8012 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8013 PyObject
*resultobj
= 0;
8014 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8018 PyObject
*swig_obj
[1] ;
8020 if (!args
) SWIG_fail
;
8022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8023 if (!SWIG_IsOK(res1
)) {
8024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8026 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8028 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8040 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8042 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8043 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8044 return SWIG_Py_Void();
8047 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8048 return SWIG_Python_InitShadowInstance(args
);
8051 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8052 PyObject
*resultobj
= 0;
8053 wxAlphaPixelData
*arg1
= 0 ;
8054 wxAlphaPixelData_Accessor
*result
= 0 ;
8058 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8060 if (!SWIG_IsOK(res1
)) {
8061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8064 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8066 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8068 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8078 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8079 PyObject
*resultobj
= 0;
8080 wxBitmap
*arg1
= 0 ;
8081 wxAlphaPixelData
*arg2
= 0 ;
8082 wxAlphaPixelData_Accessor
*result
= 0 ;
8088 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8090 if (!SWIG_IsOK(res1
)) {
8091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8094 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8096 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8097 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8098 if (!SWIG_IsOK(res2
)) {
8099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8102 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8104 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8106 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8107 if (PyErr_Occurred()) SWIG_fail
;
8109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8116 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8117 PyObject
*resultobj
= 0;
8118 wxAlphaPixelData_Accessor
*result
= 0 ;
8120 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8122 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8123 if (PyErr_Occurred()) SWIG_fail
;
8125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8132 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8136 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8139 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8142 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8145 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8149 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8154 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8155 PyObject
*resultobj
= 0;
8156 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8159 PyObject
*swig_obj
[1] ;
8161 if (!args
) SWIG_fail
;
8163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8164 if (!SWIG_IsOK(res1
)) {
8165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8167 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8171 if (PyErr_Occurred()) SWIG_fail
;
8173 resultobj
= SWIG_Py_Void();
8180 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8181 PyObject
*resultobj
= 0;
8182 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8183 wxAlphaPixelData
*arg2
= 0 ;
8188 PyObject
* obj0
= 0 ;
8189 PyObject
* obj1
= 0 ;
8190 char * kwnames
[] = {
8191 (char *) "self",(char *) "data", NULL
8194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8196 if (!SWIG_IsOK(res1
)) {
8197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8199 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8200 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8201 if (!SWIG_IsOK(res2
)) {
8202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8207 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8209 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 resultobj
= SWIG_Py_Void();
8219 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8220 PyObject
*resultobj
= 0;
8221 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8225 PyObject
*swig_obj
[1] ;
8227 if (!args
) SWIG_fail
;
8229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8230 if (!SWIG_IsOK(res1
)) {
8231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8233 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8235 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8236 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8247 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8248 PyObject
*resultobj
= 0;
8249 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8252 PyObject
*swig_obj
[1] ;
8254 if (!args
) SWIG_fail
;
8256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8257 if (!SWIG_IsOK(res1
)) {
8258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8260 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8262 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8265 resultobj
= SWIG_Py_Void();
8272 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8273 PyObject
*resultobj
= 0;
8274 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8275 wxAlphaPixelData
*arg2
= 0 ;
8286 PyObject
* obj0
= 0 ;
8287 PyObject
* obj1
= 0 ;
8288 PyObject
* obj2
= 0 ;
8289 PyObject
* obj3
= 0 ;
8290 char * kwnames
[] = {
8291 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8296 if (!SWIG_IsOK(res1
)) {
8297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8299 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8300 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8301 if (!SWIG_IsOK(res2
)) {
8302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8307 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8308 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8309 if (!SWIG_IsOK(ecode3
)) {
8310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8312 arg3
= static_cast< int >(val3
);
8313 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8314 if (!SWIG_IsOK(ecode4
)) {
8315 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8317 arg4
= static_cast< int >(val4
);
8319 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8320 if (PyErr_Occurred()) SWIG_fail
;
8322 resultobj
= SWIG_Py_Void();
8329 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8330 PyObject
*resultobj
= 0;
8331 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8332 wxAlphaPixelData
*arg2
= 0 ;
8340 PyObject
* obj0
= 0 ;
8341 PyObject
* obj1
= 0 ;
8342 PyObject
* obj2
= 0 ;
8343 char * kwnames
[] = {
8344 (char *) "self",(char *) "data",(char *) "x", NULL
8347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8349 if (!SWIG_IsOK(res1
)) {
8350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8352 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8353 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8354 if (!SWIG_IsOK(res2
)) {
8355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8360 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8361 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8362 if (!SWIG_IsOK(ecode3
)) {
8363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8365 arg3
= static_cast< int >(val3
);
8367 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8370 resultobj
= SWIG_Py_Void();
8377 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8378 PyObject
*resultobj
= 0;
8379 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8380 wxAlphaPixelData
*arg2
= 0 ;
8388 PyObject
* obj0
= 0 ;
8389 PyObject
* obj1
= 0 ;
8390 PyObject
* obj2
= 0 ;
8391 char * kwnames
[] = {
8392 (char *) "self",(char *) "data",(char *) "y", NULL
8395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8397 if (!SWIG_IsOK(res1
)) {
8398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8400 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8401 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8402 if (!SWIG_IsOK(res2
)) {
8403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8408 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8409 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8410 if (!SWIG_IsOK(ecode3
)) {
8411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8413 arg3
= static_cast< int >(val3
);
8415 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8416 if (PyErr_Occurred()) SWIG_fail
;
8418 resultobj
= SWIG_Py_Void();
8425 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8426 PyObject
*resultobj
= 0;
8427 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8428 wxAlphaPixelData
*arg2
= 0 ;
8439 PyObject
* obj0
= 0 ;
8440 PyObject
* obj1
= 0 ;
8441 PyObject
* obj2
= 0 ;
8442 PyObject
* obj3
= 0 ;
8443 char * kwnames
[] = {
8444 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8449 if (!SWIG_IsOK(res1
)) {
8450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8452 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8453 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8454 if (!SWIG_IsOK(res2
)) {
8455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8460 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8462 if (!SWIG_IsOK(ecode3
)) {
8463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8465 arg3
= static_cast< int >(val3
);
8466 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8467 if (!SWIG_IsOK(ecode4
)) {
8468 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8470 arg4
= static_cast< int >(val4
);
8472 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8475 resultobj
= SWIG_Py_Void();
8482 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8483 PyObject
*resultobj
= 0;
8484 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8491 unsigned char val2
;
8493 unsigned char val3
;
8495 unsigned char val4
;
8497 unsigned char val5
;
8499 PyObject
* obj0
= 0 ;
8500 PyObject
* obj1
= 0 ;
8501 PyObject
* obj2
= 0 ;
8502 PyObject
* obj3
= 0 ;
8503 PyObject
* obj4
= 0 ;
8504 char * kwnames
[] = {
8505 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8513 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8514 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8515 if (!SWIG_IsOK(ecode2
)) {
8516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8518 arg2
= static_cast< byte
>(val2
);
8519 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8520 if (!SWIG_IsOK(ecode3
)) {
8521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8523 arg3
= static_cast< byte
>(val3
);
8524 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8525 if (!SWIG_IsOK(ecode4
)) {
8526 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8528 arg4
= static_cast< byte
>(val4
);
8529 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8530 if (!SWIG_IsOK(ecode5
)) {
8531 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8533 arg5
= static_cast< byte
>(val5
);
8535 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8538 resultobj
= SWIG_Py_Void();
8545 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8546 PyObject
*resultobj
= 0;
8547 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8548 PyObject
*result
= 0 ;
8551 PyObject
*swig_obj
[1] ;
8553 if (!args
) SWIG_fail
;
8555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8556 if (!SWIG_IsOK(res1
)) {
8557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8559 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8561 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8571 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8573 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8574 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8575 return SWIG_Py_Void();
8578 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8579 return SWIG_Python_InitShadowInstance(args
);
8582 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8583 PyObject
*resultobj
= 0;
8584 wxBitmap
*arg1
= 0 ;
8585 wxColour
const &arg2_defvalue
= wxNullColour
;
8586 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8587 wxMask
*result
= 0 ;
8591 PyObject
* obj0
= 0 ;
8592 PyObject
* obj1
= 0 ;
8593 char * kwnames
[] = {
8594 (char *) "bitmap",(char *) "colour", NULL
8597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8598 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8599 if (!SWIG_IsOK(res1
)) {
8600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8603 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8605 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8609 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8613 if (!wxPyCheckForApp()) SWIG_fail
;
8614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8615 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8616 wxPyEndAllowThreads(__tstate
);
8617 if (PyErr_Occurred()) SWIG_fail
;
8619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8626 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8627 PyObject
*resultobj
= 0;
8628 wxMask
*arg1
= (wxMask
*) 0 ;
8631 PyObject
*swig_obj
[1] ;
8633 if (!args
) SWIG_fail
;
8635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8636 if (!SWIG_IsOK(res1
)) {
8637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8639 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8643 if (PyErr_Occurred()) SWIG_fail
;
8645 resultobj
= SWIG_Py_Void();
8652 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8654 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8655 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8656 return SWIG_Py_Void();
8659 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8660 return SWIG_Python_InitShadowInstance(args
);
8663 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8664 PyObject
*resultobj
= 0;
8665 wxString
*arg1
= 0 ;
8667 int arg3
= (int) -1 ;
8668 int arg4
= (int) -1 ;
8669 wxIcon
*result
= 0 ;
8670 bool temp1
= false ;
8677 PyObject
* obj0
= 0 ;
8678 PyObject
* obj1
= 0 ;
8679 PyObject
* obj2
= 0 ;
8680 PyObject
* obj3
= 0 ;
8681 char * kwnames
[] = {
8682 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8687 arg1
= wxString_in_helper(obj0
);
8688 if (arg1
== NULL
) SWIG_fail
;
8691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8692 if (!SWIG_IsOK(ecode2
)) {
8693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8695 arg2
= static_cast< wxBitmapType
>(val2
);
8697 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8698 if (!SWIG_IsOK(ecode3
)) {
8699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8701 arg3
= static_cast< int >(val3
);
8704 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8705 if (!SWIG_IsOK(ecode4
)) {
8706 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8708 arg4
= static_cast< int >(val4
);
8711 if (!wxPyCheckForApp()) SWIG_fail
;
8712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8713 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8714 wxPyEndAllowThreads(__tstate
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8732 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8733 PyObject
*resultobj
= 0;
8734 wxIcon
*arg1
= (wxIcon
*) 0 ;
8737 PyObject
*swig_obj
[1] ;
8739 if (!args
) SWIG_fail
;
8741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8742 if (!SWIG_IsOK(res1
)) {
8743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8745 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 wxPyEndAllowThreads(__tstate
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8753 resultobj
= SWIG_Py_Void();
8760 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8761 PyObject
*resultobj
= 0;
8762 wxIcon
*result
= 0 ;
8764 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8766 if (!wxPyCheckForApp()) SWIG_fail
;
8767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8768 result
= (wxIcon
*)new wxIcon();
8769 wxPyEndAllowThreads(__tstate
);
8770 if (PyErr_Occurred()) SWIG_fail
;
8772 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8779 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8780 PyObject
*resultobj
= 0;
8781 wxIconLocation
*arg1
= 0 ;
8782 wxIcon
*result
= 0 ;
8785 PyObject
* obj0
= 0 ;
8786 char * kwnames
[] = {
8787 (char *) "loc", NULL
8790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
8791 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
8792 if (!SWIG_IsOK(res1
)) {
8793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8796 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8798 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
8800 if (!wxPyCheckForApp()) SWIG_fail
;
8801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8802 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
8803 wxPyEndAllowThreads(__tstate
);
8804 if (PyErr_Occurred()) SWIG_fail
;
8806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8813 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8814 PyObject
*resultobj
= 0;
8815 wxBitmap
*arg1
= 0 ;
8816 wxIcon
*result
= 0 ;
8819 PyObject
* obj0
= 0 ;
8820 char * kwnames
[] = {
8821 (char *) "bmp", NULL
8824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8825 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8826 if (!SWIG_IsOK(res1
)) {
8827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8832 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8834 if (!wxPyCheckForApp()) SWIG_fail
;
8835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8836 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
8837 wxPyEndAllowThreads(__tstate
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8847 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8848 PyObject
*resultobj
= 0;
8849 PyObject
*arg1
= (PyObject
*) 0 ;
8850 wxIcon
*result
= 0 ;
8851 PyObject
* obj0
= 0 ;
8852 char * kwnames
[] = {
8853 (char *) "listOfStrings", NULL
8856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
8859 if (!wxPyCheckForApp()) SWIG_fail
;
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 result
= (wxIcon
*)new_wxIcon(arg1
);
8862 wxPyEndAllowThreads(__tstate
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8872 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8873 PyObject
*resultobj
= 0;
8874 wxIcon
*arg1
= (wxIcon
*) 0 ;
8875 wxString
*arg2
= 0 ;
8880 bool temp2
= false ;
8883 PyObject
* obj0
= 0 ;
8884 PyObject
* obj1
= 0 ;
8885 PyObject
* obj2
= 0 ;
8886 char * kwnames
[] = {
8887 (char *) "self",(char *) "name",(char *) "type", NULL
8890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8892 if (!SWIG_IsOK(res1
)) {
8893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
8895 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8897 arg2
= wxString_in_helper(obj1
);
8898 if (arg2
== NULL
) SWIG_fail
;
8901 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8902 if (!SWIG_IsOK(ecode3
)) {
8903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
8905 arg3
= static_cast< wxBitmapType
>(val3
);
8907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8908 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
8909 wxPyEndAllowThreads(__tstate
);
8910 if (PyErr_Occurred()) SWIG_fail
;
8913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8929 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8930 PyObject
*resultobj
= 0;
8931 wxIcon
*arg1
= (wxIcon
*) 0 ;
8935 PyObject
*swig_obj
[1] ;
8937 if (!args
) SWIG_fail
;
8939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8940 if (!SWIG_IsOK(res1
)) {
8941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
8943 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 result
= (bool)(arg1
)->Ok();
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8959 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8960 PyObject
*resultobj
= 0;
8961 wxIcon
*arg1
= (wxIcon
*) 0 ;
8965 PyObject
*swig_obj
[1] ;
8967 if (!args
) SWIG_fail
;
8969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8970 if (!SWIG_IsOK(res1
)) {
8971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8973 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8976 result
= (int)(arg1
)->GetWidth();
8977 wxPyEndAllowThreads(__tstate
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8980 resultobj
= SWIG_From_int(static_cast< int >(result
));
8987 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8988 PyObject
*resultobj
= 0;
8989 wxIcon
*arg1
= (wxIcon
*) 0 ;
8993 PyObject
*swig_obj
[1] ;
8995 if (!args
) SWIG_fail
;
8997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8998 if (!SWIG_IsOK(res1
)) {
8999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9001 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9004 result
= (int)(arg1
)->GetHeight();
9005 wxPyEndAllowThreads(__tstate
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9008 resultobj
= SWIG_From_int(static_cast< int >(result
));
9015 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9016 PyObject
*resultobj
= 0;
9017 wxIcon
*arg1
= (wxIcon
*) 0 ;
9021 PyObject
*swig_obj
[1] ;
9023 if (!args
) SWIG_fail
;
9025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9026 if (!SWIG_IsOK(res1
)) {
9027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9029 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 result
= (int)(arg1
)->GetDepth();
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9036 resultobj
= SWIG_From_int(static_cast< int >(result
));
9043 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
= 0;
9045 wxIcon
*arg1
= (wxIcon
*) 0 ;
9051 PyObject
* obj0
= 0 ;
9052 PyObject
* obj1
= 0 ;
9053 char * kwnames
[] = {
9054 (char *) "self",(char *) "w", NULL
9057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9059 if (!SWIG_IsOK(res1
)) {
9060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9062 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9064 if (!SWIG_IsOK(ecode2
)) {
9065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9067 arg2
= static_cast< int >(val2
);
9069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9070 (arg1
)->SetWidth(arg2
);
9071 wxPyEndAllowThreads(__tstate
);
9072 if (PyErr_Occurred()) SWIG_fail
;
9074 resultobj
= SWIG_Py_Void();
9081 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
*resultobj
= 0;
9083 wxIcon
*arg1
= (wxIcon
*) 0 ;
9089 PyObject
* obj0
= 0 ;
9090 PyObject
* obj1
= 0 ;
9091 char * kwnames
[] = {
9092 (char *) "self",(char *) "h", NULL
9095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9097 if (!SWIG_IsOK(res1
)) {
9098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9100 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9102 if (!SWIG_IsOK(ecode2
)) {
9103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9105 arg2
= static_cast< int >(val2
);
9107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9108 (arg1
)->SetHeight(arg2
);
9109 wxPyEndAllowThreads(__tstate
);
9110 if (PyErr_Occurred()) SWIG_fail
;
9112 resultobj
= SWIG_Py_Void();
9119 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
*resultobj
= 0;
9121 wxIcon
*arg1
= (wxIcon
*) 0 ;
9127 PyObject
* obj0
= 0 ;
9128 PyObject
* obj1
= 0 ;
9129 char * kwnames
[] = {
9130 (char *) "self",(char *) "d", NULL
9133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9135 if (!SWIG_IsOK(res1
)) {
9136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9138 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9140 if (!SWIG_IsOK(ecode2
)) {
9141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9143 arg2
= static_cast< int >(val2
);
9145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 (arg1
)->SetDepth(arg2
);
9147 wxPyEndAllowThreads(__tstate
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9150 resultobj
= SWIG_Py_Void();
9157 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
*resultobj
= 0;
9159 wxIcon
*arg1
= (wxIcon
*) 0 ;
9160 wxBitmap
*arg2
= 0 ;
9165 PyObject
* obj0
= 0 ;
9166 PyObject
* obj1
= 0 ;
9167 char * kwnames
[] = {
9168 (char *) "self",(char *) "bmp", NULL
9171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9173 if (!SWIG_IsOK(res1
)) {
9174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9176 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9177 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9178 if (!SWIG_IsOK(res2
)) {
9179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9184 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9187 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9188 wxPyEndAllowThreads(__tstate
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9191 resultobj
= SWIG_Py_Void();
9198 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9200 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9201 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9202 return SWIG_Py_Void();
9205 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9206 return SWIG_Python_InitShadowInstance(args
);
9209 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
= 0;
9211 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9212 int arg2
= (int) 0 ;
9213 wxIconLocation
*result
= 0 ;
9214 bool temp1
= false ;
9217 PyObject
* obj0
= 0 ;
9218 PyObject
* obj1
= 0 ;
9219 char * kwnames
[] = {
9220 (char *) "filename",(char *) "num", NULL
9223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9226 arg1
= wxString_in_helper(obj0
);
9227 if (arg1
== NULL
) SWIG_fail
;
9232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9233 if (!SWIG_IsOK(ecode2
)) {
9234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9236 arg2
= static_cast< int >(val2
);
9239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9240 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9241 wxPyEndAllowThreads(__tstate
);
9242 if (PyErr_Occurred()) SWIG_fail
;
9244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9259 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9260 PyObject
*resultobj
= 0;
9261 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9264 PyObject
*swig_obj
[1] ;
9266 if (!args
) SWIG_fail
;
9268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9269 if (!SWIG_IsOK(res1
)) {
9270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9272 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) SWIG_fail
;
9280 resultobj
= SWIG_Py_Void();
9287 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9288 PyObject
*resultobj
= 0;
9289 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9293 PyObject
*swig_obj
[1] ;
9295 if (!args
) SWIG_fail
;
9297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9298 if (!SWIG_IsOK(res1
)) {
9299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9301 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9305 wxPyEndAllowThreads(__tstate
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9317 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9318 PyObject
*resultobj
= 0;
9319 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9320 wxString
*arg2
= 0 ;
9323 bool temp2
= false ;
9324 PyObject
* obj0
= 0 ;
9325 PyObject
* obj1
= 0 ;
9326 char * kwnames
[] = {
9327 (char *) "self",(char *) "filename", NULL
9330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9332 if (!SWIG_IsOK(res1
)) {
9333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9335 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9337 arg2
= wxString_in_helper(obj1
);
9338 if (arg2
== NULL
) SWIG_fail
;
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 (arg1
)->SetFileName((wxString
const &)*arg2
);
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9347 resultobj
= SWIG_Py_Void();
9362 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9363 PyObject
*resultobj
= 0;
9364 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9365 wxString
*result
= 0 ;
9368 PyObject
*swig_obj
[1] ;
9370 if (!args
) SWIG_fail
;
9372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9373 if (!SWIG_IsOK(res1
)) {
9374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9376 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9380 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9381 result
= (wxString
*) &_result_ref
;
9383 wxPyEndAllowThreads(__tstate
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9388 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9390 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9399 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9400 PyObject
*resultobj
= 0;
9401 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9407 PyObject
* obj0
= 0 ;
9408 PyObject
* obj1
= 0 ;
9409 char * kwnames
[] = {
9410 (char *) "self",(char *) "num", NULL
9413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9415 if (!SWIG_IsOK(res1
)) {
9416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9418 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9420 if (!SWIG_IsOK(ecode2
)) {
9421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9423 arg2
= static_cast< int >(val2
);
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 wxIconLocation_SetIndex(arg1
,arg2
);
9427 wxPyEndAllowThreads(__tstate
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9430 resultobj
= SWIG_Py_Void();
9437 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9438 PyObject
*resultobj
= 0;
9439 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9443 PyObject
*swig_obj
[1] ;
9445 if (!args
) SWIG_fail
;
9447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9448 if (!SWIG_IsOK(res1
)) {
9449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9451 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 result
= (int)wxIconLocation_GetIndex(arg1
);
9455 wxPyEndAllowThreads(__tstate
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9458 resultobj
= SWIG_From_int(static_cast< int >(result
));
9465 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9467 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9468 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9469 return SWIG_Py_Void();
9472 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9473 return SWIG_Python_InitShadowInstance(args
);
9476 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9477 PyObject
*resultobj
= 0;
9478 wxIconBundle
*result
= 0 ;
9480 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9483 result
= (wxIconBundle
*)new wxIconBundle();
9484 wxPyEndAllowThreads(__tstate
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9494 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9495 PyObject
*resultobj
= 0;
9496 wxString
*arg1
= 0 ;
9498 wxIconBundle
*result
= 0 ;
9499 bool temp1
= false ;
9502 PyObject
* obj0
= 0 ;
9503 PyObject
* obj1
= 0 ;
9504 char * kwnames
[] = {
9505 (char *) "file",(char *) "type", NULL
9508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9510 arg1
= wxString_in_helper(obj0
);
9511 if (arg1
== NULL
) SWIG_fail
;
9514 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9515 if (!SWIG_IsOK(ecode2
)) {
9516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9518 arg2
= static_cast< long >(val2
);
9520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9521 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9522 wxPyEndAllowThreads(__tstate
);
9523 if (PyErr_Occurred()) SWIG_fail
;
9525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9540 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
*resultobj
= 0;
9543 wxIconBundle
*result
= 0 ;
9546 PyObject
* obj0
= 0 ;
9547 char * kwnames
[] = {
9548 (char *) "icon", NULL
9551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9552 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9553 if (!SWIG_IsOK(res1
)) {
9554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9559 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9562 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9563 wxPyEndAllowThreads(__tstate
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9573 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9574 PyObject
*resultobj
= 0;
9575 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9578 PyObject
*swig_obj
[1] ;
9580 if (!args
) SWIG_fail
;
9582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9583 if (!SWIG_IsOK(res1
)) {
9584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9586 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 wxPyEndAllowThreads(__tstate
);
9592 if (PyErr_Occurred()) SWIG_fail
;
9594 resultobj
= SWIG_Py_Void();
9601 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9602 PyObject
*resultobj
= 0;
9603 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9609 PyObject
* obj0
= 0 ;
9610 PyObject
* obj1
= 0 ;
9611 char * kwnames
[] = {
9612 (char *) "self",(char *) "icon", NULL
9615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9617 if (!SWIG_IsOK(res1
)) {
9618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9620 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9621 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9622 if (!SWIG_IsOK(res2
)) {
9623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9628 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9631 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9632 wxPyEndAllowThreads(__tstate
);
9633 if (PyErr_Occurred()) SWIG_fail
;
9635 resultobj
= SWIG_Py_Void();
9642 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9643 PyObject
*resultobj
= 0;
9644 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9645 wxString
*arg2
= 0 ;
9649 bool temp2
= false ;
9652 PyObject
* obj0
= 0 ;
9653 PyObject
* obj1
= 0 ;
9654 PyObject
* obj2
= 0 ;
9655 char * kwnames
[] = {
9656 (char *) "self",(char *) "file",(char *) "type", NULL
9659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9661 if (!SWIG_IsOK(res1
)) {
9662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9664 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9666 arg2
= wxString_in_helper(obj1
);
9667 if (arg2
== NULL
) SWIG_fail
;
9670 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9671 if (!SWIG_IsOK(ecode3
)) {
9672 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9674 arg3
= static_cast< long >(val3
);
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9681 resultobj
= SWIG_Py_Void();
9696 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9697 PyObject
*resultobj
= 0;
9698 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9700 wxIcon
*result
= 0 ;
9704 PyObject
* obj0
= 0 ;
9705 PyObject
* obj1
= 0 ;
9706 char * kwnames
[] = {
9707 (char *) "self",(char *) "size", NULL
9710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9712 if (!SWIG_IsOK(res1
)) {
9713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9715 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9718 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9723 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9724 result
= (wxIcon
*) &_result_ref
;
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9730 wxIcon
* resultptr
= new wxIcon(*result
);
9731 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9739 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9741 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9742 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9743 return SWIG_Py_Void();
9746 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9747 return SWIG_Python_InitShadowInstance(args
);
9750 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
*resultobj
= 0;
9752 wxString
*arg1
= 0 ;
9754 int arg3
= (int) 0 ;
9755 int arg4
= (int) 0 ;
9756 wxCursor
*result
= 0 ;
9757 bool temp1
= false ;
9764 PyObject
* obj0
= 0 ;
9765 PyObject
* obj1
= 0 ;
9766 PyObject
* obj2
= 0 ;
9767 PyObject
* obj3
= 0 ;
9768 char * kwnames
[] = {
9769 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9774 arg1
= wxString_in_helper(obj0
);
9775 if (arg1
== NULL
) SWIG_fail
;
9778 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9779 if (!SWIG_IsOK(ecode2
)) {
9780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9782 arg2
= static_cast< long >(val2
);
9784 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9785 if (!SWIG_IsOK(ecode3
)) {
9786 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9788 arg3
= static_cast< int >(val3
);
9791 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9792 if (!SWIG_IsOK(ecode4
)) {
9793 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
9795 arg4
= static_cast< int >(val4
);
9798 if (!wxPyCheckForApp()) SWIG_fail
;
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
9819 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9820 PyObject
*resultobj
= 0;
9821 wxCursor
*arg1
= (wxCursor
*) 0 ;
9824 PyObject
*swig_obj
[1] ;
9826 if (!args
) SWIG_fail
;
9828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
9829 if (!SWIG_IsOK(res1
)) {
9830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9832 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9837 wxPyEndAllowThreads(__tstate
);
9838 if (PyErr_Occurred()) SWIG_fail
;
9840 resultobj
= SWIG_Py_Void();
9847 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9848 PyObject
*resultobj
= 0;
9850 wxCursor
*result
= 0 ;
9853 PyObject
* obj0
= 0 ;
9854 char * kwnames
[] = {
9858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
9859 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9860 if (!SWIG_IsOK(ecode1
)) {
9861 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
9863 arg1
= static_cast< int >(val1
);
9865 if (!wxPyCheckForApp()) SWIG_fail
;
9866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9867 result
= (wxCursor
*)new wxCursor(arg1
);
9868 wxPyEndAllowThreads(__tstate
);
9869 if (PyErr_Occurred()) SWIG_fail
;
9871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9878 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9879 PyObject
*resultobj
= 0;
9881 wxCursor
*result
= 0 ;
9884 PyObject
* obj0
= 0 ;
9885 char * kwnames
[] = {
9886 (char *) "image", NULL
9889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
9890 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
9891 if (!SWIG_IsOK(res1
)) {
9892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9895 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9897 arg1
= reinterpret_cast< wxImage
* >(argp1
);
9899 if (!wxPyCheckForApp()) SWIG_fail
;
9900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9901 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
9902 wxPyEndAllowThreads(__tstate
);
9903 if (PyErr_Occurred()) SWIG_fail
;
9905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9912 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9913 PyObject
*resultobj
= 0;
9914 wxCursor
*arg1
= (wxCursor
*) 0 ;
9918 PyObject
*swig_obj
[1] ;
9920 if (!args
) SWIG_fail
;
9922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9923 if (!SWIG_IsOK(res1
)) {
9924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
9926 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9929 result
= (bool)(arg1
)->Ok();
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9942 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9944 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9945 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
9946 return SWIG_Py_Void();
9949 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9950 return SWIG_Python_InitShadowInstance(args
);
9953 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
= 0;
9955 int arg1
= (int) 0 ;
9956 int arg2
= (int) 0 ;
9957 int arg3
= (int) 0 ;
9958 int arg4
= (int) 0 ;
9959 wxRegion
*result
= 0 ;
9968 PyObject
* obj0
= 0 ;
9969 PyObject
* obj1
= 0 ;
9970 PyObject
* obj2
= 0 ;
9971 PyObject
* obj3
= 0 ;
9972 char * kwnames
[] = {
9973 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9978 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9979 if (!SWIG_IsOK(ecode1
)) {
9980 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
9982 arg1
= static_cast< int >(val1
);
9985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9986 if (!SWIG_IsOK(ecode2
)) {
9987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
9989 arg2
= static_cast< int >(val2
);
9992 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9993 if (!SWIG_IsOK(ecode3
)) {
9994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
9996 arg3
= static_cast< int >(val3
);
9999 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10000 if (!SWIG_IsOK(ecode4
)) {
10001 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10003 arg4
= static_cast< int >(val4
);
10006 if (!wxPyCheckForApp()) SWIG_fail
;
10007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10008 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10009 wxPyEndAllowThreads(__tstate
);
10010 if (PyErr_Occurred()) SWIG_fail
;
10012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10019 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
*resultobj
= 0;
10021 wxBitmap
*arg1
= 0 ;
10022 wxRegion
*result
= 0 ;
10025 PyObject
* obj0
= 0 ;
10026 char * kwnames
[] = {
10027 (char *) "bmp", NULL
10030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10031 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10032 if (!SWIG_IsOK(res1
)) {
10033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10036 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10038 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10040 if (!wxPyCheckForApp()) SWIG_fail
;
10041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10042 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10053 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10054 PyObject
*resultobj
= 0;
10055 wxBitmap
*arg1
= 0 ;
10056 wxColour
*arg2
= 0 ;
10057 int arg3
= (int) 0 ;
10058 wxRegion
*result
= 0 ;
10064 PyObject
* obj0
= 0 ;
10065 PyObject
* obj1
= 0 ;
10066 PyObject
* obj2
= 0 ;
10067 char * kwnames
[] = {
10068 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10072 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10073 if (!SWIG_IsOK(res1
)) {
10074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10077 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10079 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10082 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10085 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10086 if (!SWIG_IsOK(ecode3
)) {
10087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10089 arg3
= static_cast< int >(val3
);
10092 if (!wxPyCheckForApp()) SWIG_fail
;
10093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10094 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10095 wxPyEndAllowThreads(__tstate
);
10096 if (PyErr_Occurred()) SWIG_fail
;
10098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10105 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10106 PyObject
*resultobj
= 0;
10108 wxPoint
*arg2
= (wxPoint
*) 0 ;
10109 int arg3
= (int) wxWINDING_RULE
;
10110 wxRegion
*result
= 0 ;
10113 PyObject
* obj0
= 0 ;
10114 PyObject
* obj1
= 0 ;
10115 char * kwnames
[] = {
10116 (char *) "points",(char *) "fillStyle", NULL
10119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10121 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10122 if (arg2
== NULL
) SWIG_fail
;
10125 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10126 if (!SWIG_IsOK(ecode3
)) {
10127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10129 arg3
= static_cast< int >(val3
);
10132 if (!wxPyCheckForApp()) SWIG_fail
;
10133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10134 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10135 wxPyEndAllowThreads(__tstate
);
10136 if (PyErr_Occurred()) SWIG_fail
;
10138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10140 if (arg2
) delete [] arg2
;
10145 if (arg2
) delete [] arg2
;
10151 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10152 PyObject
*resultobj
= 0;
10153 wxRegion
*arg1
= (wxRegion
*) 0 ;
10156 PyObject
*swig_obj
[1] ;
10158 if (!args
) SWIG_fail
;
10159 swig_obj
[0] = args
;
10160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10161 if (!SWIG_IsOK(res1
)) {
10162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10164 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10172 resultobj
= SWIG_Py_Void();
10179 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10180 PyObject
*resultobj
= 0;
10181 wxRegion
*arg1
= (wxRegion
*) 0 ;
10184 PyObject
*swig_obj
[1] ;
10186 if (!args
) SWIG_fail
;
10187 swig_obj
[0] = args
;
10188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10189 if (!SWIG_IsOK(res1
)) {
10190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10192 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10196 wxPyEndAllowThreads(__tstate
);
10197 if (PyErr_Occurred()) SWIG_fail
;
10199 resultobj
= SWIG_Py_Void();
10206 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10207 PyObject
*resultobj
= 0;
10208 wxRegion
*arg1
= (wxRegion
*) 0 ;
10218 PyObject
* obj0
= 0 ;
10219 PyObject
* obj1
= 0 ;
10220 PyObject
* obj2
= 0 ;
10221 char * kwnames
[] = {
10222 (char *) "self",(char *) "x",(char *) "y", NULL
10225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10227 if (!SWIG_IsOK(res1
)) {
10228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10230 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10232 if (!SWIG_IsOK(ecode2
)) {
10233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10235 arg2
= static_cast< int >(val2
);
10236 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10237 if (!SWIG_IsOK(ecode3
)) {
10238 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10240 arg3
= static_cast< int >(val3
);
10242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10243 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10244 wxPyEndAllowThreads(__tstate
);
10245 if (PyErr_Occurred()) SWIG_fail
;
10248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10256 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10257 PyObject
*resultobj
= 0;
10258 wxRegion
*arg1
= (wxRegion
*) 0 ;
10261 wxRegionContain result
;
10268 PyObject
* obj0
= 0 ;
10269 PyObject
* obj1
= 0 ;
10270 PyObject
* obj2
= 0 ;
10271 char * kwnames
[] = {
10272 (char *) "self",(char *) "x",(char *) "y", NULL
10275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10277 if (!SWIG_IsOK(res1
)) {
10278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10280 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10282 if (!SWIG_IsOK(ecode2
)) {
10283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10285 arg2
= static_cast< int >(val2
);
10286 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10287 if (!SWIG_IsOK(ecode3
)) {
10288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10290 arg3
= static_cast< int >(val3
);
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10297 resultobj
= SWIG_From_int(static_cast< int >(result
));
10304 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
*resultobj
= 0;
10306 wxRegion
*arg1
= (wxRegion
*) 0 ;
10307 wxPoint
*arg2
= 0 ;
10308 wxRegionContain result
;
10312 PyObject
* obj0
= 0 ;
10313 PyObject
* obj1
= 0 ;
10314 char * kwnames
[] = {
10315 (char *) "self",(char *) "pt", NULL
10318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10320 if (!SWIG_IsOK(res1
)) {
10321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10323 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10326 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10331 wxPyEndAllowThreads(__tstate
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10334 resultobj
= SWIG_From_int(static_cast< int >(result
));
10341 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10342 PyObject
*resultobj
= 0;
10343 wxRegion
*arg1
= (wxRegion
*) 0 ;
10345 wxRegionContain result
;
10349 PyObject
* obj0
= 0 ;
10350 PyObject
* obj1
= 0 ;
10351 char * kwnames
[] = {
10352 (char *) "self",(char *) "rect", NULL
10355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10357 if (!SWIG_IsOK(res1
)) {
10358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10360 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10363 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10367 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10368 wxPyEndAllowThreads(__tstate
);
10369 if (PyErr_Occurred()) SWIG_fail
;
10371 resultobj
= SWIG_From_int(static_cast< int >(result
));
10378 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10379 PyObject
*resultobj
= 0;
10380 wxRegion
*arg1
= (wxRegion
*) 0 ;
10385 wxRegionContain result
;
10396 PyObject
* obj0
= 0 ;
10397 PyObject
* obj1
= 0 ;
10398 PyObject
* obj2
= 0 ;
10399 PyObject
* obj3
= 0 ;
10400 PyObject
* obj4
= 0 ;
10401 char * kwnames
[] = {
10402 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10407 if (!SWIG_IsOK(res1
)) {
10408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10410 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10412 if (!SWIG_IsOK(ecode2
)) {
10413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10415 arg2
= static_cast< int >(val2
);
10416 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10417 if (!SWIG_IsOK(ecode3
)) {
10418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10420 arg3
= static_cast< int >(val3
);
10421 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10422 if (!SWIG_IsOK(ecode4
)) {
10423 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10425 arg4
= static_cast< int >(val4
);
10426 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10427 if (!SWIG_IsOK(ecode5
)) {
10428 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10430 arg5
= static_cast< int >(val5
);
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10433 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10434 wxPyEndAllowThreads(__tstate
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10437 resultobj
= SWIG_From_int(static_cast< int >(result
));
10444 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10445 PyObject
*resultobj
= 0;
10446 wxRegion
*arg1
= (wxRegion
*) 0 ;
10450 PyObject
*swig_obj
[1] ;
10452 if (!args
) SWIG_fail
;
10453 swig_obj
[0] = args
;
10454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10455 if (!SWIG_IsOK(res1
)) {
10456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10458 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 result
= (arg1
)->GetBox();
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10465 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10472 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
*resultobj
= 0;
10474 wxRegion
*arg1
= (wxRegion
*) 0 ;
10490 PyObject
* obj0
= 0 ;
10491 PyObject
* obj1
= 0 ;
10492 PyObject
* obj2
= 0 ;
10493 PyObject
* obj3
= 0 ;
10494 PyObject
* obj4
= 0 ;
10495 char * kwnames
[] = {
10496 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10501 if (!SWIG_IsOK(res1
)) {
10502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10504 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10506 if (!SWIG_IsOK(ecode2
)) {
10507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10509 arg2
= static_cast< int >(val2
);
10510 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10511 if (!SWIG_IsOK(ecode3
)) {
10512 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10514 arg3
= static_cast< int >(val3
);
10515 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10516 if (!SWIG_IsOK(ecode4
)) {
10517 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10519 arg4
= static_cast< int >(val4
);
10520 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10521 if (!SWIG_IsOK(ecode5
)) {
10522 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10524 arg5
= static_cast< int >(val5
);
10526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10527 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10528 wxPyEndAllowThreads(__tstate
);
10529 if (PyErr_Occurred()) SWIG_fail
;
10532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10540 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10541 PyObject
*resultobj
= 0;
10542 wxRegion
*arg1
= (wxRegion
*) 0 ;
10548 PyObject
* obj0
= 0 ;
10549 PyObject
* obj1
= 0 ;
10550 char * kwnames
[] = {
10551 (char *) "self",(char *) "rect", NULL
10554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10556 if (!SWIG_IsOK(res1
)) {
10557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10559 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10562 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10566 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10579 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10580 PyObject
*resultobj
= 0;
10581 wxRegion
*arg1
= (wxRegion
*) 0 ;
10582 wxRegion
*arg2
= 0 ;
10588 PyObject
* obj0
= 0 ;
10589 PyObject
* obj1
= 0 ;
10590 char * kwnames
[] = {
10591 (char *) "self",(char *) "region", NULL
10594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10596 if (!SWIG_IsOK(res1
)) {
10597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10599 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10600 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10601 if (!SWIG_IsOK(res2
)) {
10602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10607 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10611 wxPyEndAllowThreads(__tstate
);
10612 if (PyErr_Occurred()) SWIG_fail
;
10615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10623 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10624 PyObject
*resultobj
= 0;
10625 wxRegion
*arg1
= (wxRegion
*) 0 ;
10629 PyObject
*swig_obj
[1] ;
10631 if (!args
) SWIG_fail
;
10632 swig_obj
[0] = args
;
10633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10634 if (!SWIG_IsOK(res1
)) {
10635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10637 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10640 result
= (bool)(arg1
)->IsEmpty();
10641 wxPyEndAllowThreads(__tstate
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10653 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
= 0;
10655 wxRegion
*arg1
= (wxRegion
*) 0 ;
10656 wxRegion
*arg2
= 0 ;
10662 PyObject
* obj0
= 0 ;
10663 PyObject
* obj1
= 0 ;
10664 char * kwnames
[] = {
10665 (char *) "self",(char *) "region", NULL
10668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10670 if (!SWIG_IsOK(res1
)) {
10671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
10673 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10674 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10675 if (!SWIG_IsOK(res2
)) {
10676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10681 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
10685 wxPyEndAllowThreads(__tstate
);
10686 if (PyErr_Occurred()) SWIG_fail
;
10689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10697 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10698 PyObject
*resultobj
= 0;
10699 wxRegion
*arg1
= (wxRegion
*) 0 ;
10715 PyObject
* obj0
= 0 ;
10716 PyObject
* obj1
= 0 ;
10717 PyObject
* obj2
= 0 ;
10718 PyObject
* obj3
= 0 ;
10719 PyObject
* obj4
= 0 ;
10720 char * kwnames
[] = {
10721 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10726 if (!SWIG_IsOK(res1
)) {
10727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
10729 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10731 if (!SWIG_IsOK(ecode2
)) {
10732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
10734 arg2
= static_cast< int >(val2
);
10735 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10736 if (!SWIG_IsOK(ecode3
)) {
10737 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
10739 arg3
= static_cast< int >(val3
);
10740 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10741 if (!SWIG_IsOK(ecode4
)) {
10742 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
10744 arg4
= static_cast< int >(val4
);
10745 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10746 if (!SWIG_IsOK(ecode5
)) {
10747 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
10749 arg5
= static_cast< int >(val5
);
10751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10752 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
10753 wxPyEndAllowThreads(__tstate
);
10754 if (PyErr_Occurred()) SWIG_fail
;
10757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10765 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
*resultobj
= 0;
10767 wxRegion
*arg1
= (wxRegion
*) 0 ;
10773 PyObject
* obj0
= 0 ;
10774 PyObject
* obj1
= 0 ;
10775 char * kwnames
[] = {
10776 (char *) "self",(char *) "rect", NULL
10779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10781 if (!SWIG_IsOK(res1
)) {
10782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10784 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10787 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10791 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
10792 wxPyEndAllowThreads(__tstate
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10804 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
= 0;
10806 wxRegion
*arg1
= (wxRegion
*) 0 ;
10807 wxRegion
*arg2
= 0 ;
10813 PyObject
* obj0
= 0 ;
10814 PyObject
* obj1
= 0 ;
10815 char * kwnames
[] = {
10816 (char *) "self",(char *) "region", NULL
10819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10821 if (!SWIG_IsOK(res1
)) {
10822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10824 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10825 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10826 if (!SWIG_IsOK(res2
)) {
10827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10832 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
10836 wxPyEndAllowThreads(__tstate
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10848 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10849 PyObject
*resultobj
= 0;
10850 wxRegion
*arg1
= (wxRegion
*) 0 ;
10866 PyObject
* obj0
= 0 ;
10867 PyObject
* obj1
= 0 ;
10868 PyObject
* obj2
= 0 ;
10869 PyObject
* obj3
= 0 ;
10870 PyObject
* obj4
= 0 ;
10871 char * kwnames
[] = {
10872 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10877 if (!SWIG_IsOK(res1
)) {
10878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
10880 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10882 if (!SWIG_IsOK(ecode2
)) {
10883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
10885 arg2
= static_cast< int >(val2
);
10886 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10887 if (!SWIG_IsOK(ecode3
)) {
10888 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
10890 arg3
= static_cast< int >(val3
);
10891 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10892 if (!SWIG_IsOK(ecode4
)) {
10893 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
10895 arg4
= static_cast< int >(val4
);
10896 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10897 if (!SWIG_IsOK(ecode5
)) {
10898 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
10900 arg5
= static_cast< int >(val5
);
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
10904 wxPyEndAllowThreads(__tstate
);
10905 if (PyErr_Occurred()) SWIG_fail
;
10908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10916 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10917 PyObject
*resultobj
= 0;
10918 wxRegion
*arg1
= (wxRegion
*) 0 ;
10924 PyObject
* obj0
= 0 ;
10925 PyObject
* obj1
= 0 ;
10926 char * kwnames
[] = {
10927 (char *) "self",(char *) "rect", NULL
10930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10932 if (!SWIG_IsOK(res1
)) {
10933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10935 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10938 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10942 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
10943 wxPyEndAllowThreads(__tstate
);
10944 if (PyErr_Occurred()) SWIG_fail
;
10947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10955 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10956 PyObject
*resultobj
= 0;
10957 wxRegion
*arg1
= (wxRegion
*) 0 ;
10958 wxRegion
*arg2
= 0 ;
10964 PyObject
* obj0
= 0 ;
10965 PyObject
* obj1
= 0 ;
10966 char * kwnames
[] = {
10967 (char *) "self",(char *) "region", NULL
10970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10972 if (!SWIG_IsOK(res1
)) {
10973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10975 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10976 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10977 if (!SWIG_IsOK(res2
)) {
10978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10983 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10999 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11000 PyObject
*resultobj
= 0;
11001 wxRegion
*arg1
= (wxRegion
*) 0 ;
11017 PyObject
* obj0
= 0 ;
11018 PyObject
* obj1
= 0 ;
11019 PyObject
* obj2
= 0 ;
11020 PyObject
* obj3
= 0 ;
11021 PyObject
* obj4
= 0 ;
11022 char * kwnames
[] = {
11023 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11028 if (!SWIG_IsOK(res1
)) {
11029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11031 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11033 if (!SWIG_IsOK(ecode2
)) {
11034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11036 arg2
= static_cast< int >(val2
);
11037 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11038 if (!SWIG_IsOK(ecode3
)) {
11039 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11041 arg3
= static_cast< int >(val3
);
11042 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11043 if (!SWIG_IsOK(ecode4
)) {
11044 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11046 arg4
= static_cast< int >(val4
);
11047 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11048 if (!SWIG_IsOK(ecode5
)) {
11049 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11051 arg5
= static_cast< int >(val5
);
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11067 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11068 PyObject
*resultobj
= 0;
11069 wxRegion
*arg1
= (wxRegion
*) 0 ;
11075 PyObject
* obj0
= 0 ;
11076 PyObject
* obj1
= 0 ;
11077 char * kwnames
[] = {
11078 (char *) "self",(char *) "rect", NULL
11081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11083 if (!SWIG_IsOK(res1
)) {
11084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11086 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11089 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11106 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11107 PyObject
*resultobj
= 0;
11108 wxRegion
*arg1
= (wxRegion
*) 0 ;
11109 wxRegion
*arg2
= 0 ;
11115 PyObject
* obj0
= 0 ;
11116 PyObject
* obj1
= 0 ;
11117 char * kwnames
[] = {
11118 (char *) "self",(char *) "region", NULL
11121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11123 if (!SWIG_IsOK(res1
)) {
11124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11126 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11127 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11128 if (!SWIG_IsOK(res2
)) {
11129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11134 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11137 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11150 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11151 PyObject
*resultobj
= 0;
11152 wxRegion
*arg1
= (wxRegion
*) 0 ;
11153 SwigValueWrapper
<wxBitmap
> result
;
11156 PyObject
*swig_obj
[1] ;
11158 if (!args
) SWIG_fail
;
11159 swig_obj
[0] = args
;
11160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11161 if (!SWIG_IsOK(res1
)) {
11162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11164 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11167 result
= (arg1
)->ConvertToBitmap();
11168 wxPyEndAllowThreads(__tstate
);
11169 if (PyErr_Occurred()) SWIG_fail
;
11171 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11178 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11179 PyObject
*resultobj
= 0;
11180 wxRegion
*arg1
= (wxRegion
*) 0 ;
11181 wxBitmap
*arg2
= 0 ;
11187 PyObject
* obj0
= 0 ;
11188 PyObject
* obj1
= 0 ;
11189 char * kwnames
[] = {
11190 (char *) "self",(char *) "bmp", NULL
11193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11195 if (!SWIG_IsOK(res1
)) {
11196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11198 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11199 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11200 if (!SWIG_IsOK(res2
)) {
11201 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11204 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11206 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11209 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11210 wxPyEndAllowThreads(__tstate
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11222 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11223 PyObject
*resultobj
= 0;
11224 wxRegion
*arg1
= (wxRegion
*) 0 ;
11225 wxBitmap
*arg2
= 0 ;
11226 wxColour
*arg3
= 0 ;
11227 int arg4
= (int) 0 ;
11236 PyObject
* obj0
= 0 ;
11237 PyObject
* obj1
= 0 ;
11238 PyObject
* obj2
= 0 ;
11239 PyObject
* obj3
= 0 ;
11240 char * kwnames
[] = {
11241 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11246 if (!SWIG_IsOK(res1
)) {
11247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11249 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11250 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11251 if (!SWIG_IsOK(res2
)) {
11252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11255 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11257 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11260 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11263 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11264 if (!SWIG_IsOK(ecode4
)) {
11265 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11267 arg4
= static_cast< int >(val4
);
11270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11271 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11272 wxPyEndAllowThreads(__tstate
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11284 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11286 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11287 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11288 return SWIG_Py_Void();
11291 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11292 return SWIG_Python_InitShadowInstance(args
);
11295 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11296 PyObject
*resultobj
= 0;
11297 wxRegion
*arg1
= 0 ;
11298 wxRegionIterator
*result
= 0 ;
11301 PyObject
* obj0
= 0 ;
11302 char * kwnames
[] = {
11303 (char *) "region", NULL
11306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11307 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11308 if (!SWIG_IsOK(res1
)) {
11309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11312 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11314 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11316 if (!wxPyCheckForApp()) SWIG_fail
;
11317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11318 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11319 wxPyEndAllowThreads(__tstate
);
11320 if (PyErr_Occurred()) SWIG_fail
;
11322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11329 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11330 PyObject
*resultobj
= 0;
11331 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11334 PyObject
*swig_obj
[1] ;
11336 if (!args
) SWIG_fail
;
11337 swig_obj
[0] = args
;
11338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11339 if (!SWIG_IsOK(res1
)) {
11340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11342 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11347 wxPyEndAllowThreads(__tstate
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11350 resultobj
= SWIG_Py_Void();
11357 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11358 PyObject
*resultobj
= 0;
11359 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11363 PyObject
*swig_obj
[1] ;
11365 if (!args
) SWIG_fail
;
11366 swig_obj
[0] = args
;
11367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11368 if (!SWIG_IsOK(res1
)) {
11369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11371 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11374 result
= (int)(arg1
)->GetX();
11375 wxPyEndAllowThreads(__tstate
);
11376 if (PyErr_Occurred()) SWIG_fail
;
11378 resultobj
= SWIG_From_int(static_cast< int >(result
));
11385 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11386 PyObject
*resultobj
= 0;
11387 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11391 PyObject
*swig_obj
[1] ;
11393 if (!args
) SWIG_fail
;
11394 swig_obj
[0] = args
;
11395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11396 if (!SWIG_IsOK(res1
)) {
11397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11399 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11402 result
= (int)(arg1
)->GetY();
11403 wxPyEndAllowThreads(__tstate
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11406 resultobj
= SWIG_From_int(static_cast< int >(result
));
11413 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11414 PyObject
*resultobj
= 0;
11415 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11419 PyObject
*swig_obj
[1] ;
11421 if (!args
) SWIG_fail
;
11422 swig_obj
[0] = args
;
11423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11424 if (!SWIG_IsOK(res1
)) {
11425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11427 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11430 result
= (int)(arg1
)->GetW();
11431 wxPyEndAllowThreads(__tstate
);
11432 if (PyErr_Occurred()) SWIG_fail
;
11434 resultobj
= SWIG_From_int(static_cast< int >(result
));
11441 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11442 PyObject
*resultobj
= 0;
11443 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11447 PyObject
*swig_obj
[1] ;
11449 if (!args
) SWIG_fail
;
11450 swig_obj
[0] = args
;
11451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11452 if (!SWIG_IsOK(res1
)) {
11453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11455 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11458 result
= (int)(arg1
)->GetWidth();
11459 wxPyEndAllowThreads(__tstate
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11462 resultobj
= SWIG_From_int(static_cast< int >(result
));
11469 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11470 PyObject
*resultobj
= 0;
11471 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11475 PyObject
*swig_obj
[1] ;
11477 if (!args
) SWIG_fail
;
11478 swig_obj
[0] = args
;
11479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11480 if (!SWIG_IsOK(res1
)) {
11481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11483 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11486 result
= (int)(arg1
)->GetH();
11487 wxPyEndAllowThreads(__tstate
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11490 resultobj
= SWIG_From_int(static_cast< int >(result
));
11497 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11498 PyObject
*resultobj
= 0;
11499 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11503 PyObject
*swig_obj
[1] ;
11505 if (!args
) SWIG_fail
;
11506 swig_obj
[0] = args
;
11507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11508 if (!SWIG_IsOK(res1
)) {
11509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11511 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11514 result
= (int)(arg1
)->GetHeight();
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11518 resultobj
= SWIG_From_int(static_cast< int >(result
));
11525 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11526 PyObject
*resultobj
= 0;
11527 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11531 PyObject
*swig_obj
[1] ;
11533 if (!args
) SWIG_fail
;
11534 swig_obj
[0] = args
;
11535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11536 if (!SWIG_IsOK(res1
)) {
11537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11539 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11542 result
= (arg1
)->GetRect();
11543 wxPyEndAllowThreads(__tstate
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11546 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11553 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11554 PyObject
*resultobj
= 0;
11555 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11559 PyObject
*swig_obj
[1] ;
11561 if (!args
) SWIG_fail
;
11562 swig_obj
[0] = args
;
11563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11564 if (!SWIG_IsOK(res1
)) {
11565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11567 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11570 result
= (bool)(arg1
)->HaveRects();
11571 wxPyEndAllowThreads(__tstate
);
11572 if (PyErr_Occurred()) SWIG_fail
;
11575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11583 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11584 PyObject
*resultobj
= 0;
11585 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11588 PyObject
*swig_obj
[1] ;
11590 if (!args
) SWIG_fail
;
11591 swig_obj
[0] = args
;
11592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11593 if (!SWIG_IsOK(res1
)) {
11594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11596 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11600 wxPyEndAllowThreads(__tstate
);
11601 if (PyErr_Occurred()) SWIG_fail
;
11603 resultobj
= SWIG_Py_Void();
11610 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11611 PyObject
*resultobj
= 0;
11612 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11615 PyObject
*swig_obj
[1] ;
11617 if (!args
) SWIG_fail
;
11618 swig_obj
[0] = args
;
11619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11620 if (!SWIG_IsOK(res1
)) {
11621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11623 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11626 wxRegionIterator_Next(arg1
);
11627 wxPyEndAllowThreads(__tstate
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11630 resultobj
= SWIG_Py_Void();
11637 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11638 PyObject
*resultobj
= 0;
11639 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11643 PyObject
*swig_obj
[1] ;
11645 if (!args
) SWIG_fail
;
11646 swig_obj
[0] = args
;
11647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11648 if (!SWIG_IsOK(res1
)) {
11649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11651 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11654 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11667 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11669 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11670 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11671 return SWIG_Py_Void();
11674 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11675 return SWIG_Python_InitShadowInstance(args
);
11678 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11679 PyObject
*resultobj
= 0;
11680 wxNativeFontInfo
*result
= 0 ;
11682 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
11684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11685 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
11686 wxPyEndAllowThreads(__tstate
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
11696 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11697 PyObject
*resultobj
= 0;
11698 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11701 PyObject
*swig_obj
[1] ;
11703 if (!args
) SWIG_fail
;
11704 swig_obj
[0] = args
;
11705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
11706 if (!SWIG_IsOK(res1
)) {
11707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11709 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11714 wxPyEndAllowThreads(__tstate
);
11715 if (PyErr_Occurred()) SWIG_fail
;
11717 resultobj
= SWIG_Py_Void();
11724 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11725 PyObject
*resultobj
= 0;
11726 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11729 PyObject
*swig_obj
[1] ;
11731 if (!args
) SWIG_fail
;
11732 swig_obj
[0] = args
;
11733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11734 if (!SWIG_IsOK(res1
)) {
11735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11737 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11741 wxPyEndAllowThreads(__tstate
);
11742 if (PyErr_Occurred()) SWIG_fail
;
11744 resultobj
= SWIG_Py_Void();
11751 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11752 PyObject
*resultobj
= 0;
11753 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11759 PyObject
* obj0
= 0 ;
11760 PyObject
* obj1
= 0 ;
11761 char * kwnames
[] = {
11762 (char *) "self",(char *) "font", NULL
11765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11767 if (!SWIG_IsOK(res1
)) {
11768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11770 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11771 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
11772 if (!SWIG_IsOK(res2
)) {
11773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11778 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11781 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
11782 wxPyEndAllowThreads(__tstate
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11785 resultobj
= SWIG_Py_Void();
11792 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11793 PyObject
*resultobj
= 0;
11794 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11798 PyObject
*swig_obj
[1] ;
11800 if (!args
) SWIG_fail
;
11801 swig_obj
[0] = args
;
11802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11803 if (!SWIG_IsOK(res1
)) {
11804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11806 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11809 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11813 resultobj
= SWIG_From_int(static_cast< int >(result
));
11820 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11821 PyObject
*resultobj
= 0;
11822 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11823 wxFontStyle result
;
11826 PyObject
*swig_obj
[1] ;
11828 if (!args
) SWIG_fail
;
11829 swig_obj
[0] = args
;
11830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11831 if (!SWIG_IsOK(res1
)) {
11832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11834 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11841 resultobj
= SWIG_From_int(static_cast< int >(result
));
11848 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11849 PyObject
*resultobj
= 0;
11850 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11851 wxFontWeight result
;
11854 PyObject
*swig_obj
[1] ;
11856 if (!args
) SWIG_fail
;
11857 swig_obj
[0] = args
;
11858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11859 if (!SWIG_IsOK(res1
)) {
11860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11862 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11865 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
11866 wxPyEndAllowThreads(__tstate
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11869 resultobj
= SWIG_From_int(static_cast< int >(result
));
11876 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11877 PyObject
*resultobj
= 0;
11878 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11882 PyObject
*swig_obj
[1] ;
11884 if (!args
) SWIG_fail
;
11885 swig_obj
[0] = args
;
11886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11887 if (!SWIG_IsOK(res1
)) {
11888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11890 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11893 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
11894 wxPyEndAllowThreads(__tstate
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11906 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11907 PyObject
*resultobj
= 0;
11908 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11912 PyObject
*swig_obj
[1] ;
11914 if (!args
) SWIG_fail
;
11915 swig_obj
[0] = args
;
11916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11917 if (!SWIG_IsOK(res1
)) {
11918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11920 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11923 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
11924 wxPyEndAllowThreads(__tstate
);
11925 if (PyErr_Occurred()) SWIG_fail
;
11929 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11931 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11940 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11941 PyObject
*resultobj
= 0;
11942 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11943 wxFontFamily result
;
11946 PyObject
*swig_obj
[1] ;
11948 if (!args
) SWIG_fail
;
11949 swig_obj
[0] = args
;
11950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11951 if (!SWIG_IsOK(res1
)) {
11952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11954 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11957 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
11958 wxPyEndAllowThreads(__tstate
);
11959 if (PyErr_Occurred()) SWIG_fail
;
11961 resultobj
= SWIG_From_int(static_cast< int >(result
));
11968 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11969 PyObject
*resultobj
= 0;
11970 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11971 wxFontEncoding result
;
11974 PyObject
*swig_obj
[1] ;
11976 if (!args
) SWIG_fail
;
11977 swig_obj
[0] = args
;
11978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11979 if (!SWIG_IsOK(res1
)) {
11980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11982 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11985 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
11986 wxPyEndAllowThreads(__tstate
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11989 resultobj
= SWIG_From_int(static_cast< int >(result
));
11996 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11997 PyObject
*resultobj
= 0;
11998 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12004 PyObject
* obj0
= 0 ;
12005 PyObject
* obj1
= 0 ;
12006 char * kwnames
[] = {
12007 (char *) "self",(char *) "pointsize", NULL
12010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12012 if (!SWIG_IsOK(res1
)) {
12013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12015 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12017 if (!SWIG_IsOK(ecode2
)) {
12018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12020 arg2
= static_cast< int >(val2
);
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 (arg1
)->SetPointSize(arg2
);
12024 wxPyEndAllowThreads(__tstate
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12027 resultobj
= SWIG_Py_Void();
12034 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12035 PyObject
*resultobj
= 0;
12036 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12042 PyObject
* obj0
= 0 ;
12043 PyObject
* obj1
= 0 ;
12044 char * kwnames
[] = {
12045 (char *) "self",(char *) "style", NULL
12048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12050 if (!SWIG_IsOK(res1
)) {
12051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12053 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12055 if (!SWIG_IsOK(ecode2
)) {
12056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12058 arg2
= static_cast< wxFontStyle
>(val2
);
12060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12061 (arg1
)->SetStyle(arg2
);
12062 wxPyEndAllowThreads(__tstate
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12065 resultobj
= SWIG_Py_Void();
12072 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12073 PyObject
*resultobj
= 0;
12074 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12075 wxFontWeight arg2
;
12080 PyObject
* obj0
= 0 ;
12081 PyObject
* obj1
= 0 ;
12082 char * kwnames
[] = {
12083 (char *) "self",(char *) "weight", NULL
12086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12088 if (!SWIG_IsOK(res1
)) {
12089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12091 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12093 if (!SWIG_IsOK(ecode2
)) {
12094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12096 arg2
= static_cast< wxFontWeight
>(val2
);
12098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12099 (arg1
)->SetWeight(arg2
);
12100 wxPyEndAllowThreads(__tstate
);
12101 if (PyErr_Occurred()) SWIG_fail
;
12103 resultobj
= SWIG_Py_Void();
12110 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12111 PyObject
*resultobj
= 0;
12112 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12118 PyObject
* obj0
= 0 ;
12119 PyObject
* obj1
= 0 ;
12120 char * kwnames
[] = {
12121 (char *) "self",(char *) "underlined", NULL
12124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12126 if (!SWIG_IsOK(res1
)) {
12127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12129 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12130 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12131 if (!SWIG_IsOK(ecode2
)) {
12132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12134 arg2
= static_cast< bool >(val2
);
12136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12137 (arg1
)->SetUnderlined(arg2
);
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12141 resultobj
= SWIG_Py_Void();
12148 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12149 PyObject
*resultobj
= 0;
12150 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12155 PyObject
* obj0
= 0 ;
12156 PyObject
* obj1
= 0 ;
12157 char * kwnames
[] = {
12158 (char *) "self",(char *) "facename", NULL
12161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12163 if (!SWIG_IsOK(res1
)) {
12164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12166 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12168 wxString
* sptr
= wxString_in_helper(obj1
);
12169 if (sptr
== NULL
) SWIG_fail
;
12174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12175 result
= (bool)(arg1
)->SetFaceName(arg2
);
12176 wxPyEndAllowThreads(__tstate
);
12177 if (PyErr_Occurred()) SWIG_fail
;
12180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12188 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12189 PyObject
*resultobj
= 0;
12190 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12191 wxFontFamily arg2
;
12196 PyObject
* obj0
= 0 ;
12197 PyObject
* obj1
= 0 ;
12198 char * kwnames
[] = {
12199 (char *) "self",(char *) "family", NULL
12202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12204 if (!SWIG_IsOK(res1
)) {
12205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12207 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12209 if (!SWIG_IsOK(ecode2
)) {
12210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12212 arg2
= static_cast< wxFontFamily
>(val2
);
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 (arg1
)->SetFamily(arg2
);
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12219 resultobj
= SWIG_Py_Void();
12226 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
= 0;
12228 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12229 wxFontEncoding arg2
;
12234 PyObject
* obj0
= 0 ;
12235 PyObject
* obj1
= 0 ;
12236 char * kwnames
[] = {
12237 (char *) "self",(char *) "encoding", NULL
12240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12242 if (!SWIG_IsOK(res1
)) {
12243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12245 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12247 if (!SWIG_IsOK(ecode2
)) {
12248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12250 arg2
= static_cast< wxFontEncoding
>(val2
);
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 (arg1
)->SetEncoding(arg2
);
12254 wxPyEndAllowThreads(__tstate
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12257 resultobj
= SWIG_Py_Void();
12264 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12265 PyObject
*resultobj
= 0;
12266 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12267 wxString
*arg2
= 0 ;
12271 bool temp2
= false ;
12272 PyObject
* obj0
= 0 ;
12273 PyObject
* obj1
= 0 ;
12274 char * kwnames
[] = {
12275 (char *) "self",(char *) "s", NULL
12278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12280 if (!SWIG_IsOK(res1
)) {
12281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12283 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12285 arg2
= wxString_in_helper(obj1
);
12286 if (arg2
== NULL
) SWIG_fail
;
12290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12291 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12292 wxPyEndAllowThreads(__tstate
);
12293 if (PyErr_Occurred()) SWIG_fail
;
12296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12312 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12313 PyObject
*resultobj
= 0;
12314 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12318 PyObject
*swig_obj
[1] ;
12320 if (!args
) SWIG_fail
;
12321 swig_obj
[0] = args
;
12322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12323 if (!SWIG_IsOK(res1
)) {
12324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12326 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12329 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12330 wxPyEndAllowThreads(__tstate
);
12331 if (PyErr_Occurred()) SWIG_fail
;
12335 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12337 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12346 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12347 PyObject
*resultobj
= 0;
12348 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12352 PyObject
*swig_obj
[1] ;
12354 if (!args
) SWIG_fail
;
12355 swig_obj
[0] = args
;
12356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12357 if (!SWIG_IsOK(res1
)) {
12358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12360 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 result
= wxNativeFontInfo___str__(arg1
);
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12380 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12381 PyObject
*resultobj
= 0;
12382 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12383 wxString
*arg2
= 0 ;
12387 bool temp2
= false ;
12388 PyObject
* obj0
= 0 ;
12389 PyObject
* obj1
= 0 ;
12390 char * kwnames
[] = {
12391 (char *) "self",(char *) "s", NULL
12394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12396 if (!SWIG_IsOK(res1
)) {
12397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12399 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12401 arg2
= wxString_in_helper(obj1
);
12402 if (arg2
== NULL
) SWIG_fail
;
12406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12407 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12408 wxPyEndAllowThreads(__tstate
);
12409 if (PyErr_Occurred()) SWIG_fail
;
12412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12428 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12429 PyObject
*resultobj
= 0;
12430 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12434 PyObject
*swig_obj
[1] ;
12436 if (!args
) SWIG_fail
;
12437 swig_obj
[0] = args
;
12438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12439 if (!SWIG_IsOK(res1
)) {
12440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12442 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12445 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12446 wxPyEndAllowThreads(__tstate
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12451 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12453 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12462 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12464 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12465 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12466 return SWIG_Py_Void();
12469 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12470 return SWIG_Python_InitShadowInstance(args
);
12473 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12474 PyObject
*resultobj
= 0;
12475 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12476 wxString
*arg2
= (wxString
*) 0 ;
12479 bool temp2
= false ;
12480 PyObject
*swig_obj
[2] ;
12482 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12484 if (!SWIG_IsOK(res1
)) {
12485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12487 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12489 arg2
= wxString_in_helper(swig_obj
[1]);
12490 if (arg2
== NULL
) SWIG_fail
;
12493 if (arg1
) (arg1
)->facename
= *arg2
;
12495 resultobj
= SWIG_Py_Void();
12510 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12511 PyObject
*resultobj
= 0;
12512 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12513 wxString
*result
= 0 ;
12516 PyObject
*swig_obj
[1] ;
12518 if (!args
) SWIG_fail
;
12519 swig_obj
[0] = args
;
12520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12521 if (!SWIG_IsOK(res1
)) {
12522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12524 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12525 result
= (wxString
*)& ((arg1
)->facename
);
12528 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12530 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12539 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12540 PyObject
*resultobj
= 0;
12541 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12542 wxFontEncoding arg2
;
12547 PyObject
*swig_obj
[2] ;
12549 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12551 if (!SWIG_IsOK(res1
)) {
12552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12554 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12555 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12556 if (!SWIG_IsOK(ecode2
)) {
12557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12559 arg2
= static_cast< wxFontEncoding
>(val2
);
12560 if (arg1
) (arg1
)->encoding
= arg2
;
12562 resultobj
= SWIG_Py_Void();
12569 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12570 PyObject
*resultobj
= 0;
12571 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12572 wxFontEncoding result
;
12575 PyObject
*swig_obj
[1] ;
12577 if (!args
) SWIG_fail
;
12578 swig_obj
[0] = args
;
12579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12580 if (!SWIG_IsOK(res1
)) {
12581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12583 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12584 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12585 resultobj
= SWIG_From_int(static_cast< int >(result
));
12592 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12593 PyObject
*resultobj
= 0;
12594 wxNativeEncodingInfo
*result
= 0 ;
12596 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12610 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12611 PyObject
*resultobj
= 0;
12612 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12615 PyObject
*swig_obj
[1] ;
12617 if (!args
) SWIG_fail
;
12618 swig_obj
[0] = args
;
12619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12620 if (!SWIG_IsOK(res1
)) {
12621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12623 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12628 wxPyEndAllowThreads(__tstate
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12631 resultobj
= SWIG_Py_Void();
12638 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12639 PyObject
*resultobj
= 0;
12640 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12641 wxString
*arg2
= 0 ;
12645 bool temp2
= false ;
12646 PyObject
* obj0
= 0 ;
12647 PyObject
* obj1
= 0 ;
12648 char * kwnames
[] = {
12649 (char *) "self",(char *) "s", NULL
12652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12654 if (!SWIG_IsOK(res1
)) {
12655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12657 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12659 arg2
= wxString_in_helper(obj1
);
12660 if (arg2
== NULL
) SWIG_fail
;
12664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12665 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12666 wxPyEndAllowThreads(__tstate
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12686 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12687 PyObject
*resultobj
= 0;
12688 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12692 PyObject
*swig_obj
[1] ;
12694 if (!args
) SWIG_fail
;
12695 swig_obj
[0] = args
;
12696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12697 if (!SWIG_IsOK(res1
)) {
12698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
12700 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12703 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
12704 wxPyEndAllowThreads(__tstate
);
12705 if (PyErr_Occurred()) SWIG_fail
;
12709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12720 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12722 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12723 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
12724 return SWIG_Py_Void();
12727 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12728 return SWIG_Python_InitShadowInstance(args
);
12731 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12732 PyObject
*resultobj
= 0;
12733 wxFontEncoding arg1
;
12734 wxNativeEncodingInfo
*result
= 0 ;
12737 PyObject
* obj0
= 0 ;
12738 char * kwnames
[] = {
12739 (char *) "encoding", NULL
12742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12743 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12744 if (!SWIG_IsOK(ecode1
)) {
12745 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12747 arg1
= static_cast< wxFontEncoding
>(val1
);
12749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12750 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
12751 wxPyEndAllowThreads(__tstate
);
12752 if (PyErr_Occurred()) SWIG_fail
;
12754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12761 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12762 PyObject
*resultobj
= 0;
12763 wxNativeEncodingInfo
*arg1
= 0 ;
12767 PyObject
* obj0
= 0 ;
12768 char * kwnames
[] = {
12769 (char *) "info", NULL
12772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12773 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
12774 if (!SWIG_IsOK(res1
)) {
12775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12780 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12783 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12796 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12797 PyObject
*resultobj
= 0;
12798 wxFontMapper
*result
= 0 ;
12800 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
12802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12803 result
= (wxFontMapper
*)new wxFontMapper();
12804 wxPyEndAllowThreads(__tstate
);
12805 if (PyErr_Occurred()) SWIG_fail
;
12807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
12814 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12815 PyObject
*resultobj
= 0;
12816 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12819 PyObject
*swig_obj
[1] ;
12821 if (!args
) SWIG_fail
;
12822 swig_obj
[0] = args
;
12823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
12824 if (!SWIG_IsOK(res1
)) {
12825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12827 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12832 wxPyEndAllowThreads(__tstate
);
12833 if (PyErr_Occurred()) SWIG_fail
;
12835 resultobj
= SWIG_Py_Void();
12842 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12843 PyObject
*resultobj
= 0;
12844 wxFontMapper
*result
= 0 ;
12846 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
12848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12849 result
= (wxFontMapper
*)wxFontMapper::Get();
12850 wxPyEndAllowThreads(__tstate
);
12851 if (PyErr_Occurred()) SWIG_fail
;
12853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12860 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12861 PyObject
*resultobj
= 0;
12862 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12863 wxFontMapper
*result
= 0 ;
12866 PyObject
* obj0
= 0 ;
12867 char * kwnames
[] = {
12868 (char *) "mapper", NULL
12871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
12872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12873 if (!SWIG_IsOK(res1
)) {
12874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12876 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
12880 wxPyEndAllowThreads(__tstate
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12890 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12891 PyObject
*resultobj
= 0;
12892 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12893 wxString
*arg2
= 0 ;
12894 bool arg3
= (bool) true ;
12895 wxFontEncoding result
;
12898 bool temp2
= false ;
12901 PyObject
* obj0
= 0 ;
12902 PyObject
* obj1
= 0 ;
12903 PyObject
* obj2
= 0 ;
12904 char * kwnames
[] = {
12905 (char *) "self",(char *) "charset",(char *) "interactive", NULL
12908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12910 if (!SWIG_IsOK(res1
)) {
12911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12913 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12915 arg2
= wxString_in_helper(obj1
);
12916 if (arg2
== NULL
) SWIG_fail
;
12920 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12921 if (!SWIG_IsOK(ecode3
)) {
12922 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
12924 arg3
= static_cast< bool >(val3
);
12927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12928 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
12929 wxPyEndAllowThreads(__tstate
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12932 resultobj
= SWIG_From_int(static_cast< int >(result
));
12947 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12948 PyObject
*resultobj
= 0;
12951 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
12953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12954 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12958 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
12965 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12966 PyObject
*resultobj
= 0;
12968 wxFontEncoding result
;
12971 PyObject
* obj0
= 0 ;
12972 char * kwnames
[] = {
12976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
12977 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
12978 if (!SWIG_IsOK(ecode1
)) {
12979 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
12981 arg1
= static_cast< size_t >(val1
);
12983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12984 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
12985 wxPyEndAllowThreads(__tstate
);
12986 if (PyErr_Occurred()) SWIG_fail
;
12988 resultobj
= SWIG_From_int(static_cast< int >(result
));
12995 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12996 PyObject
*resultobj
= 0;
12997 wxFontEncoding arg1
;
13001 PyObject
* obj0
= 0 ;
13002 char * kwnames
[] = {
13003 (char *) "encoding", NULL
13006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13007 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13008 if (!SWIG_IsOK(ecode1
)) {
13009 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13011 arg1
= static_cast< wxFontEncoding
>(val1
);
13013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13014 result
= wxFontMapper::GetEncodingName(arg1
);
13015 wxPyEndAllowThreads(__tstate
);
13016 if (PyErr_Occurred()) SWIG_fail
;
13020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13031 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13032 PyObject
*resultobj
= 0;
13033 wxFontEncoding arg1
;
13037 PyObject
* obj0
= 0 ;
13038 char * kwnames
[] = {
13039 (char *) "encoding", NULL
13042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13043 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13044 if (!SWIG_IsOK(ecode1
)) {
13045 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13047 arg1
= static_cast< wxFontEncoding
>(val1
);
13049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13050 result
= wxFontMapper::GetEncodingDescription(arg1
);
13051 wxPyEndAllowThreads(__tstate
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13056 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13058 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13067 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13068 PyObject
*resultobj
= 0;
13069 wxString
*arg1
= 0 ;
13070 wxFontEncoding result
;
13071 bool temp1
= false ;
13072 PyObject
* obj0
= 0 ;
13073 char * kwnames
[] = {
13074 (char *) "name", NULL
13077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13079 arg1
= wxString_in_helper(obj0
);
13080 if (arg1
== NULL
) SWIG_fail
;
13084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13085 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13086 wxPyEndAllowThreads(__tstate
);
13087 if (PyErr_Occurred()) SWIG_fail
;
13089 resultobj
= SWIG_From_int(static_cast< int >(result
));
13104 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13105 PyObject
*resultobj
= 0;
13106 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13107 wxString
*arg2
= 0 ;
13110 bool temp2
= false ;
13111 PyObject
* obj0
= 0 ;
13112 PyObject
* obj1
= 0 ;
13113 char * kwnames
[] = {
13114 (char *) "self",(char *) "prefix", NULL
13117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13119 if (!SWIG_IsOK(res1
)) {
13120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13122 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13124 arg2
= wxString_in_helper(obj1
);
13125 if (arg2
== NULL
) SWIG_fail
;
13129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13130 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13134 resultobj
= SWIG_Py_Void();
13149 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13150 PyObject
*resultobj
= 0;
13153 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13156 result
= wxFontMapper::GetDefaultConfigPath();
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13162 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13164 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13173 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13174 PyObject
*resultobj
= 0;
13175 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13176 wxFontEncoding arg2
;
13177 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13178 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13179 bool arg4
= (bool) true ;
13180 PyObject
*result
= 0 ;
13185 bool temp3
= false ;
13188 PyObject
* obj0
= 0 ;
13189 PyObject
* obj1
= 0 ;
13190 PyObject
* obj2
= 0 ;
13191 PyObject
* obj3
= 0 ;
13192 char * kwnames
[] = {
13193 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13198 if (!SWIG_IsOK(res1
)) {
13199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13201 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13202 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13203 if (!SWIG_IsOK(ecode2
)) {
13204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13206 arg2
= static_cast< wxFontEncoding
>(val2
);
13209 arg3
= wxString_in_helper(obj2
);
13210 if (arg3
== NULL
) SWIG_fail
;
13215 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13216 if (!SWIG_IsOK(ecode4
)) {
13217 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13219 arg4
= static_cast< bool >(val4
);
13222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13223 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13224 wxPyEndAllowThreads(__tstate
);
13225 if (PyErr_Occurred()) SWIG_fail
;
13227 resultobj
= result
;
13242 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13243 PyObject
*resultobj
= 0;
13244 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13245 wxFontEncoding arg2
;
13246 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13247 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13253 bool temp3
= false ;
13254 PyObject
* obj0
= 0 ;
13255 PyObject
* obj1
= 0 ;
13256 PyObject
* obj2
= 0 ;
13257 char * kwnames
[] = {
13258 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13263 if (!SWIG_IsOK(res1
)) {
13264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13266 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13268 if (!SWIG_IsOK(ecode2
)) {
13269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13271 arg2
= static_cast< wxFontEncoding
>(val2
);
13274 arg3
= wxString_in_helper(obj2
);
13275 if (arg3
== NULL
) SWIG_fail
;
13280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13281 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13282 wxPyEndAllowThreads(__tstate
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13302 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13303 PyObject
*resultobj
= 0;
13304 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13305 wxWindow
*arg2
= (wxWindow
*) 0 ;
13310 PyObject
* obj0
= 0 ;
13311 PyObject
* obj1
= 0 ;
13312 char * kwnames
[] = {
13313 (char *) "self",(char *) "parent", NULL
13316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13318 if (!SWIG_IsOK(res1
)) {
13319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13321 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13322 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13323 if (!SWIG_IsOK(res2
)) {
13324 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13326 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 (arg1
)->SetDialogParent(arg2
);
13330 wxPyEndAllowThreads(__tstate
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13333 resultobj
= SWIG_Py_Void();
13340 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13341 PyObject
*resultobj
= 0;
13342 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13343 wxString
*arg2
= 0 ;
13346 bool temp2
= false ;
13347 PyObject
* obj0
= 0 ;
13348 PyObject
* obj1
= 0 ;
13349 char * kwnames
[] = {
13350 (char *) "self",(char *) "title", NULL
13353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13355 if (!SWIG_IsOK(res1
)) {
13356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13358 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13360 arg2
= wxString_in_helper(obj1
);
13361 if (arg2
== NULL
) SWIG_fail
;
13365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13366 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 resultobj
= SWIG_Py_Void();
13385 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13387 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13388 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13389 return SWIG_Py_Void();
13392 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13393 return SWIG_Python_InitShadowInstance(args
);
13396 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13397 PyObject
*resultobj
= 0;
13402 bool arg5
= (bool) false ;
13403 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13404 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13405 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13406 wxFont
*result
= 0 ;
13417 bool temp6
= false ;
13420 PyObject
* obj0
= 0 ;
13421 PyObject
* obj1
= 0 ;
13422 PyObject
* obj2
= 0 ;
13423 PyObject
* obj3
= 0 ;
13424 PyObject
* obj4
= 0 ;
13425 PyObject
* obj5
= 0 ;
13426 PyObject
* obj6
= 0 ;
13427 char * kwnames
[] = {
13428 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13432 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13433 if (!SWIG_IsOK(ecode1
)) {
13434 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13436 arg1
= static_cast< int >(val1
);
13437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13438 if (!SWIG_IsOK(ecode2
)) {
13439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13441 arg2
= static_cast< int >(val2
);
13442 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13443 if (!SWIG_IsOK(ecode3
)) {
13444 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13446 arg3
= static_cast< int >(val3
);
13447 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13448 if (!SWIG_IsOK(ecode4
)) {
13449 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13451 arg4
= static_cast< int >(val4
);
13453 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13454 if (!SWIG_IsOK(ecode5
)) {
13455 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13457 arg5
= static_cast< bool >(val5
);
13461 arg6
= wxString_in_helper(obj5
);
13462 if (arg6
== NULL
) SWIG_fail
;
13467 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13468 if (!SWIG_IsOK(ecode7
)) {
13469 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13471 arg7
= static_cast< wxFontEncoding
>(val7
);
13474 if (!wxPyCheckForApp()) SWIG_fail
;
13475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13476 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13477 wxPyEndAllowThreads(__tstate
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13495 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13496 PyObject
*resultobj
= 0;
13497 wxFont
*arg1
= (wxFont
*) 0 ;
13500 PyObject
*swig_obj
[1] ;
13502 if (!args
) SWIG_fail
;
13503 swig_obj
[0] = args
;
13504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13505 if (!SWIG_IsOK(res1
)) {
13506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13508 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13513 wxPyEndAllowThreads(__tstate
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13516 resultobj
= SWIG_Py_Void();
13523 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13524 PyObject
*resultobj
= 0;
13525 wxNativeFontInfo
*arg1
= 0 ;
13526 wxFont
*result
= 0 ;
13529 PyObject
* obj0
= 0 ;
13530 char * kwnames
[] = {
13531 (char *) "info", NULL
13534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13535 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13536 if (!SWIG_IsOK(res1
)) {
13537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13542 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13544 if (!wxPyCheckForApp()) SWIG_fail
;
13545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13546 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13547 wxPyEndAllowThreads(__tstate
);
13548 if (PyErr_Occurred()) SWIG_fail
;
13550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13557 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13558 PyObject
*resultobj
= 0;
13559 wxString
*arg1
= 0 ;
13560 wxFont
*result
= 0 ;
13561 bool temp1
= false ;
13562 PyObject
* obj0
= 0 ;
13563 char * kwnames
[] = {
13564 (char *) "info", NULL
13567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13569 arg1
= wxString_in_helper(obj0
);
13570 if (arg1
== NULL
) SWIG_fail
;
13574 if (!wxPyCheckForApp()) SWIG_fail
;
13575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13577 wxPyEndAllowThreads(__tstate
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13595 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13596 PyObject
*resultobj
= 0;
13598 wxFontFamily arg2
;
13599 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13600 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13601 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13602 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13603 wxFont
*result
= 0 ;
13610 bool temp4
= false ;
13613 PyObject
* obj0
= 0 ;
13614 PyObject
* obj1
= 0 ;
13615 PyObject
* obj2
= 0 ;
13616 PyObject
* obj3
= 0 ;
13617 PyObject
* obj4
= 0 ;
13618 char * kwnames
[] = {
13619 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13623 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13624 if (!SWIG_IsOK(ecode1
)) {
13625 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13627 arg1
= static_cast< int >(val1
);
13628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13629 if (!SWIG_IsOK(ecode2
)) {
13630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13632 arg2
= static_cast< wxFontFamily
>(val2
);
13634 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13635 if (!SWIG_IsOK(ecode3
)) {
13636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13638 arg3
= static_cast< int >(val3
);
13642 arg4
= wxString_in_helper(obj3
);
13643 if (arg4
== NULL
) SWIG_fail
;
13648 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13649 if (!SWIG_IsOK(ecode5
)) {
13650 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13652 arg5
= static_cast< wxFontEncoding
>(val5
);
13655 if (!wxPyCheckForApp()) SWIG_fail
;
13656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13657 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13658 wxPyEndAllowThreads(__tstate
);
13659 if (PyErr_Occurred()) SWIG_fail
;
13661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13676 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13677 PyObject
*resultobj
= 0;
13682 bool arg5
= (bool) false ;
13683 wxString
const &arg6_defvalue
= wxEmptyString
;
13684 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13685 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13686 wxFont
*result
= 0 ;
13696 bool temp6
= false ;
13699 PyObject
* obj0
= 0 ;
13700 PyObject
* obj1
= 0 ;
13701 PyObject
* obj2
= 0 ;
13702 PyObject
* obj3
= 0 ;
13703 PyObject
* obj4
= 0 ;
13704 PyObject
* obj5
= 0 ;
13705 PyObject
* obj6
= 0 ;
13706 char * kwnames
[] = {
13707 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
13710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13713 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13716 if (!SWIG_IsOK(ecode2
)) {
13717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
13719 arg2
= static_cast< int >(val2
);
13720 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13721 if (!SWIG_IsOK(ecode3
)) {
13722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13724 arg3
= static_cast< int >(val3
);
13725 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13726 if (!SWIG_IsOK(ecode4
)) {
13727 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
13729 arg4
= static_cast< int >(val4
);
13731 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13732 if (!SWIG_IsOK(ecode5
)) {
13733 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
13735 arg5
= static_cast< bool >(val5
);
13739 arg6
= wxString_in_helper(obj5
);
13740 if (arg6
== NULL
) SWIG_fail
;
13745 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13746 if (!SWIG_IsOK(ecode7
)) {
13747 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13749 arg7
= static_cast< wxFontEncoding
>(val7
);
13752 if (!wxPyCheckForApp()) SWIG_fail
;
13753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13754 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13755 wxPyEndAllowThreads(__tstate
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13773 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13774 PyObject
*resultobj
= 0;
13776 wxFontFamily arg2
;
13777 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13778 wxString
const &arg4_defvalue
= wxEmptyString
;
13779 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13780 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13781 wxFont
*result
= 0 ;
13787 bool temp4
= false ;
13790 PyObject
* obj0
= 0 ;
13791 PyObject
* obj1
= 0 ;
13792 PyObject
* obj2
= 0 ;
13793 PyObject
* obj3
= 0 ;
13794 PyObject
* obj4
= 0 ;
13795 char * kwnames
[] = {
13796 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13802 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13805 if (!SWIG_IsOK(ecode2
)) {
13806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
13808 arg2
= static_cast< wxFontFamily
>(val2
);
13810 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13811 if (!SWIG_IsOK(ecode3
)) {
13812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13814 arg3
= static_cast< int >(val3
);
13818 arg4
= wxString_in_helper(obj3
);
13819 if (arg4
== NULL
) SWIG_fail
;
13824 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13825 if (!SWIG_IsOK(ecode5
)) {
13826 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13828 arg5
= static_cast< wxFontEncoding
>(val5
);
13831 if (!wxPyCheckForApp()) SWIG_fail
;
13832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13833 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13834 wxPyEndAllowThreads(__tstate
);
13835 if (PyErr_Occurred()) SWIG_fail
;
13837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13852 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13853 PyObject
*resultobj
= 0;
13854 wxFont
*arg1
= (wxFont
*) 0 ;
13858 PyObject
*swig_obj
[1] ;
13860 if (!args
) SWIG_fail
;
13861 swig_obj
[0] = args
;
13862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13863 if (!SWIG_IsOK(res1
)) {
13864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
13866 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13869 result
= (bool)((wxFont
const *)arg1
)->Ok();
13870 wxPyEndAllowThreads(__tstate
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13882 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13883 PyObject
*resultobj
= 0;
13884 wxFont
*arg1
= (wxFont
*) 0 ;
13885 wxFont
*arg2
= (wxFont
*) 0 ;
13891 PyObject
* obj0
= 0 ;
13892 PyObject
* obj1
= 0 ;
13893 char * kwnames
[] = {
13894 (char *) "self",(char *) "other", NULL
13897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13899 if (!SWIG_IsOK(res1
)) {
13900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
13902 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13903 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13904 if (!SWIG_IsOK(res2
)) {
13905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
13907 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13910 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
13911 wxPyEndAllowThreads(__tstate
);
13912 if (PyErr_Occurred()) SWIG_fail
;
13915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13923 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13924 PyObject
*resultobj
= 0;
13925 wxFont
*arg1
= (wxFont
*) 0 ;
13926 wxFont
*arg2
= (wxFont
*) 0 ;
13932 PyObject
* obj0
= 0 ;
13933 PyObject
* obj1
= 0 ;
13934 char * kwnames
[] = {
13935 (char *) "self",(char *) "other", NULL
13938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13940 if (!SWIG_IsOK(res1
)) {
13941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
13943 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13944 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13945 if (!SWIG_IsOK(res2
)) {
13946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
13948 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13951 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
13952 wxPyEndAllowThreads(__tstate
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13964 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13965 PyObject
*resultobj
= 0;
13966 wxFont
*arg1
= (wxFont
*) 0 ;
13970 PyObject
*swig_obj
[1] ;
13972 if (!args
) SWIG_fail
;
13973 swig_obj
[0] = args
;
13974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13975 if (!SWIG_IsOK(res1
)) {
13976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13978 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13981 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
13982 wxPyEndAllowThreads(__tstate
);
13983 if (PyErr_Occurred()) SWIG_fail
;
13985 resultobj
= SWIG_From_int(static_cast< int >(result
));
13992 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13993 PyObject
*resultobj
= 0;
13994 wxFont
*arg1
= (wxFont
*) 0 ;
13998 PyObject
*swig_obj
[1] ;
14000 if (!args
) SWIG_fail
;
14001 swig_obj
[0] = args
;
14002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14003 if (!SWIG_IsOK(res1
)) {
14004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14006 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14009 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14010 wxPyEndAllowThreads(__tstate
);
14011 if (PyErr_Occurred()) SWIG_fail
;
14013 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14020 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14021 PyObject
*resultobj
= 0;
14022 wxFont
*arg1
= (wxFont
*) 0 ;
14026 PyObject
*swig_obj
[1] ;
14028 if (!args
) SWIG_fail
;
14029 swig_obj
[0] = args
;
14030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14031 if (!SWIG_IsOK(res1
)) {
14032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14034 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14037 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14038 wxPyEndAllowThreads(__tstate
);
14039 if (PyErr_Occurred()) SWIG_fail
;
14042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14050 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14051 PyObject
*resultobj
= 0;
14052 wxFont
*arg1
= (wxFont
*) 0 ;
14056 PyObject
*swig_obj
[1] ;
14058 if (!args
) SWIG_fail
;
14059 swig_obj
[0] = args
;
14060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14061 if (!SWIG_IsOK(res1
)) {
14062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14064 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14067 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14068 wxPyEndAllowThreads(__tstate
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14071 resultobj
= SWIG_From_int(static_cast< int >(result
));
14078 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14079 PyObject
*resultobj
= 0;
14080 wxFont
*arg1
= (wxFont
*) 0 ;
14084 PyObject
*swig_obj
[1] ;
14086 if (!args
) SWIG_fail
;
14087 swig_obj
[0] = args
;
14088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14089 if (!SWIG_IsOK(res1
)) {
14090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14092 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14095 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14099 resultobj
= SWIG_From_int(static_cast< int >(result
));
14106 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14107 PyObject
*resultobj
= 0;
14108 wxFont
*arg1
= (wxFont
*) 0 ;
14112 PyObject
*swig_obj
[1] ;
14114 if (!args
) SWIG_fail
;
14115 swig_obj
[0] = args
;
14116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14117 if (!SWIG_IsOK(res1
)) {
14118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14120 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14123 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14127 resultobj
= SWIG_From_int(static_cast< int >(result
));
14134 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14135 PyObject
*resultobj
= 0;
14136 wxFont
*arg1
= (wxFont
*) 0 ;
14140 PyObject
*swig_obj
[1] ;
14142 if (!args
) SWIG_fail
;
14143 swig_obj
[0] = args
;
14144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14145 if (!SWIG_IsOK(res1
)) {
14146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14148 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14151 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14152 wxPyEndAllowThreads(__tstate
);
14153 if (PyErr_Occurred()) SWIG_fail
;
14156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14164 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14165 PyObject
*resultobj
= 0;
14166 wxFont
*arg1
= (wxFont
*) 0 ;
14170 PyObject
*swig_obj
[1] ;
14172 if (!args
) SWIG_fail
;
14173 swig_obj
[0] = args
;
14174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14175 if (!SWIG_IsOK(res1
)) {
14176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14178 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14181 result
= ((wxFont
const *)arg1
)->GetFaceName();
14182 wxPyEndAllowThreads(__tstate
);
14183 if (PyErr_Occurred()) SWIG_fail
;
14187 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14189 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14198 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14199 PyObject
*resultobj
= 0;
14200 wxFont
*arg1
= (wxFont
*) 0 ;
14201 wxFontEncoding result
;
14204 PyObject
*swig_obj
[1] ;
14206 if (!args
) SWIG_fail
;
14207 swig_obj
[0] = args
;
14208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14209 if (!SWIG_IsOK(res1
)) {
14210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14212 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14215 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14216 wxPyEndAllowThreads(__tstate
);
14217 if (PyErr_Occurred()) SWIG_fail
;
14219 resultobj
= SWIG_From_int(static_cast< int >(result
));
14226 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14227 PyObject
*resultobj
= 0;
14228 wxFont
*arg1
= (wxFont
*) 0 ;
14229 wxNativeFontInfo
*result
= 0 ;
14232 PyObject
*swig_obj
[1] ;
14234 if (!args
) SWIG_fail
;
14235 swig_obj
[0] = args
;
14236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14237 if (!SWIG_IsOK(res1
)) {
14238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14240 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14243 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14244 wxPyEndAllowThreads(__tstate
);
14245 if (PyErr_Occurred()) SWIG_fail
;
14247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14254 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14255 PyObject
*resultobj
= 0;
14256 wxFont
*arg1
= (wxFont
*) 0 ;
14260 PyObject
*swig_obj
[1] ;
14262 if (!args
) SWIG_fail
;
14263 swig_obj
[0] = args
;
14264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14265 if (!SWIG_IsOK(res1
)) {
14266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14268 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14271 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14272 wxPyEndAllowThreads(__tstate
);
14273 if (PyErr_Occurred()) SWIG_fail
;
14276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14284 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14285 PyObject
*resultobj
= 0;
14286 wxFont
*arg1
= (wxFont
*) 0 ;
14290 PyObject
*swig_obj
[1] ;
14292 if (!args
) SWIG_fail
;
14293 swig_obj
[0] = args
;
14294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14295 if (!SWIG_IsOK(res1
)) {
14296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14298 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14301 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14302 wxPyEndAllowThreads(__tstate
);
14303 if (PyErr_Occurred()) SWIG_fail
;
14307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14318 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14319 PyObject
*resultobj
= 0;
14320 wxFont
*arg1
= (wxFont
*) 0 ;
14324 PyObject
*swig_obj
[1] ;
14326 if (!args
) SWIG_fail
;
14327 swig_obj
[0] = args
;
14328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14329 if (!SWIG_IsOK(res1
)) {
14330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14332 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14335 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14336 wxPyEndAllowThreads(__tstate
);
14337 if (PyErr_Occurred()) SWIG_fail
;
14341 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14343 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14352 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14353 PyObject
*resultobj
= 0;
14354 wxFont
*arg1
= (wxFont
*) 0 ;
14360 PyObject
* obj0
= 0 ;
14361 PyObject
* obj1
= 0 ;
14362 char * kwnames
[] = {
14363 (char *) "self",(char *) "pointSize", NULL
14366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14368 if (!SWIG_IsOK(res1
)) {
14369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14371 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14373 if (!SWIG_IsOK(ecode2
)) {
14374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14376 arg2
= static_cast< int >(val2
);
14378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14379 (arg1
)->SetPointSize(arg2
);
14380 wxPyEndAllowThreads(__tstate
);
14381 if (PyErr_Occurred()) SWIG_fail
;
14383 resultobj
= SWIG_Py_Void();
14390 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14391 PyObject
*resultobj
= 0;
14392 wxFont
*arg1
= (wxFont
*) 0 ;
14397 PyObject
* obj0
= 0 ;
14398 PyObject
* obj1
= 0 ;
14399 char * kwnames
[] = {
14400 (char *) "self",(char *) "pixelSize", NULL
14403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14405 if (!SWIG_IsOK(res1
)) {
14406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14408 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14411 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14415 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14416 wxPyEndAllowThreads(__tstate
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14419 resultobj
= SWIG_Py_Void();
14426 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14427 PyObject
*resultobj
= 0;
14428 wxFont
*arg1
= (wxFont
*) 0 ;
14434 PyObject
* obj0
= 0 ;
14435 PyObject
* obj1
= 0 ;
14436 char * kwnames
[] = {
14437 (char *) "self",(char *) "family", NULL
14440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14442 if (!SWIG_IsOK(res1
)) {
14443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14445 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14447 if (!SWIG_IsOK(ecode2
)) {
14448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14450 arg2
= static_cast< int >(val2
);
14452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14453 (arg1
)->SetFamily(arg2
);
14454 wxPyEndAllowThreads(__tstate
);
14455 if (PyErr_Occurred()) SWIG_fail
;
14457 resultobj
= SWIG_Py_Void();
14464 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14465 PyObject
*resultobj
= 0;
14466 wxFont
*arg1
= (wxFont
*) 0 ;
14472 PyObject
* obj0
= 0 ;
14473 PyObject
* obj1
= 0 ;
14474 char * kwnames
[] = {
14475 (char *) "self",(char *) "style", NULL
14478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14480 if (!SWIG_IsOK(res1
)) {
14481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14483 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14485 if (!SWIG_IsOK(ecode2
)) {
14486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14488 arg2
= static_cast< int >(val2
);
14490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14491 (arg1
)->SetStyle(arg2
);
14492 wxPyEndAllowThreads(__tstate
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14495 resultobj
= SWIG_Py_Void();
14502 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14503 PyObject
*resultobj
= 0;
14504 wxFont
*arg1
= (wxFont
*) 0 ;
14510 PyObject
* obj0
= 0 ;
14511 PyObject
* obj1
= 0 ;
14512 char * kwnames
[] = {
14513 (char *) "self",(char *) "weight", NULL
14516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14518 if (!SWIG_IsOK(res1
)) {
14519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14521 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14523 if (!SWIG_IsOK(ecode2
)) {
14524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14526 arg2
= static_cast< int >(val2
);
14528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14529 (arg1
)->SetWeight(arg2
);
14530 wxPyEndAllowThreads(__tstate
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14533 resultobj
= SWIG_Py_Void();
14540 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14541 PyObject
*resultobj
= 0;
14542 wxFont
*arg1
= (wxFont
*) 0 ;
14543 wxString
*arg2
= 0 ;
14547 bool temp2
= false ;
14548 PyObject
* obj0
= 0 ;
14549 PyObject
* obj1
= 0 ;
14550 char * kwnames
[] = {
14551 (char *) "self",(char *) "faceName", NULL
14554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14556 if (!SWIG_IsOK(res1
)) {
14557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14559 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14561 arg2
= wxString_in_helper(obj1
);
14562 if (arg2
== NULL
) SWIG_fail
;
14566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14567 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14568 wxPyEndAllowThreads(__tstate
);
14569 if (PyErr_Occurred()) SWIG_fail
;
14572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14588 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14589 PyObject
*resultobj
= 0;
14590 wxFont
*arg1
= (wxFont
*) 0 ;
14596 PyObject
* obj0
= 0 ;
14597 PyObject
* obj1
= 0 ;
14598 char * kwnames
[] = {
14599 (char *) "self",(char *) "underlined", NULL
14602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14604 if (!SWIG_IsOK(res1
)) {
14605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14607 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14608 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14609 if (!SWIG_IsOK(ecode2
)) {
14610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14612 arg2
= static_cast< bool >(val2
);
14614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14615 (arg1
)->SetUnderlined(arg2
);
14616 wxPyEndAllowThreads(__tstate
);
14617 if (PyErr_Occurred()) SWIG_fail
;
14619 resultobj
= SWIG_Py_Void();
14626 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14627 PyObject
*resultobj
= 0;
14628 wxFont
*arg1
= (wxFont
*) 0 ;
14629 wxFontEncoding arg2
;
14634 PyObject
* obj0
= 0 ;
14635 PyObject
* obj1
= 0 ;
14636 char * kwnames
[] = {
14637 (char *) "self",(char *) "encoding", NULL
14640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14642 if (!SWIG_IsOK(res1
)) {
14643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14645 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14647 if (!SWIG_IsOK(ecode2
)) {
14648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14650 arg2
= static_cast< wxFontEncoding
>(val2
);
14652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14653 (arg1
)->SetEncoding(arg2
);
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14657 resultobj
= SWIG_Py_Void();
14664 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14665 PyObject
*resultobj
= 0;
14666 wxFont
*arg1
= (wxFont
*) 0 ;
14667 wxNativeFontInfo
*arg2
= 0 ;
14672 PyObject
* obj0
= 0 ;
14673 PyObject
* obj1
= 0 ;
14674 char * kwnames
[] = {
14675 (char *) "self",(char *) "info", NULL
14678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14680 if (!SWIG_IsOK(res1
)) {
14681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
14683 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14684 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14685 if (!SWIG_IsOK(res2
)) {
14686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14691 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
14693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14694 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
14695 wxPyEndAllowThreads(__tstate
);
14696 if (PyErr_Occurred()) SWIG_fail
;
14698 resultobj
= SWIG_Py_Void();
14705 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14706 PyObject
*resultobj
= 0;
14707 wxFont
*arg1
= (wxFont
*) 0 ;
14708 wxString
*arg2
= 0 ;
14712 bool temp2
= false ;
14713 PyObject
* obj0
= 0 ;
14714 PyObject
* obj1
= 0 ;
14715 char * kwnames
[] = {
14716 (char *) "self",(char *) "info", NULL
14719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14721 if (!SWIG_IsOK(res1
)) {
14722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
14724 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14726 arg2
= wxString_in_helper(obj1
);
14727 if (arg2
== NULL
) SWIG_fail
;
14731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14732 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
14733 wxPyEndAllowThreads(__tstate
);
14734 if (PyErr_Occurred()) SWIG_fail
;
14737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14753 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14754 PyObject
*resultobj
= 0;
14755 wxFont
*arg1
= (wxFont
*) 0 ;
14756 wxString
*arg2
= 0 ;
14760 bool temp2
= false ;
14761 PyObject
* obj0
= 0 ;
14762 PyObject
* obj1
= 0 ;
14763 char * kwnames
[] = {
14764 (char *) "self",(char *) "info", NULL
14767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14769 if (!SWIG_IsOK(res1
)) {
14770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
14772 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14774 arg2
= wxString_in_helper(obj1
);
14775 if (arg2
== NULL
) SWIG_fail
;
14779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14780 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14801 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14802 PyObject
*resultobj
= 0;
14803 wxFont
*arg1
= (wxFont
*) 0 ;
14807 PyObject
*swig_obj
[1] ;
14809 if (!args
) SWIG_fail
;
14810 swig_obj
[0] = args
;
14811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14812 if (!SWIG_IsOK(res1
)) {
14813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
14815 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14818 result
= ((wxFont
const *)arg1
)->GetFamilyString();
14819 wxPyEndAllowThreads(__tstate
);
14820 if (PyErr_Occurred()) SWIG_fail
;
14824 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14826 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14835 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14836 PyObject
*resultobj
= 0;
14837 wxFont
*arg1
= (wxFont
*) 0 ;
14841 PyObject
*swig_obj
[1] ;
14843 if (!args
) SWIG_fail
;
14844 swig_obj
[0] = args
;
14845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14846 if (!SWIG_IsOK(res1
)) {
14847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
14849 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14852 result
= ((wxFont
const *)arg1
)->GetStyleString();
14853 wxPyEndAllowThreads(__tstate
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14869 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14870 PyObject
*resultobj
= 0;
14871 wxFont
*arg1
= (wxFont
*) 0 ;
14875 PyObject
*swig_obj
[1] ;
14877 if (!args
) SWIG_fail
;
14878 swig_obj
[0] = args
;
14879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14880 if (!SWIG_IsOK(res1
)) {
14881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
14883 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14886 result
= ((wxFont
const *)arg1
)->GetWeightString();
14887 wxPyEndAllowThreads(__tstate
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14892 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14894 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14903 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14904 PyObject
*resultobj
= 0;
14905 wxFont
*arg1
= (wxFont
*) 0 ;
14906 bool arg2
= (bool) true ;
14911 PyObject
* obj0
= 0 ;
14912 PyObject
* obj1
= 0 ;
14913 char * kwnames
[] = {
14914 (char *) "self",(char *) "no", NULL
14917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14919 if (!SWIG_IsOK(res1
)) {
14920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
14922 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14924 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14925 if (!SWIG_IsOK(ecode2
)) {
14926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
14928 arg2
= static_cast< bool >(val2
);
14931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14932 (arg1
)->SetNoAntiAliasing(arg2
);
14933 wxPyEndAllowThreads(__tstate
);
14934 if (PyErr_Occurred()) SWIG_fail
;
14936 resultobj
= SWIG_Py_Void();
14943 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14944 PyObject
*resultobj
= 0;
14945 wxFont
*arg1
= (wxFont
*) 0 ;
14949 PyObject
*swig_obj
[1] ;
14951 if (!args
) SWIG_fail
;
14952 swig_obj
[0] = args
;
14953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14954 if (!SWIG_IsOK(res1
)) {
14955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
14957 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14960 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
14961 wxPyEndAllowThreads(__tstate
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14973 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14974 PyObject
*resultobj
= 0;
14975 wxFontEncoding result
;
14977 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
14979 if (!wxPyCheckForApp()) SWIG_fail
;
14980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14981 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
14982 wxPyEndAllowThreads(__tstate
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14985 resultobj
= SWIG_From_int(static_cast< int >(result
));
14992 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14993 PyObject
*resultobj
= 0;
14994 wxFontEncoding arg1
;
14997 PyObject
* obj0
= 0 ;
14998 char * kwnames
[] = {
14999 (char *) "encoding", NULL
15002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15003 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15004 if (!SWIG_IsOK(ecode1
)) {
15005 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15007 arg1
= static_cast< wxFontEncoding
>(val1
);
15009 if (!wxPyCheckForApp()) SWIG_fail
;
15010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15011 wxFont::SetDefaultEncoding(arg1
);
15012 wxPyEndAllowThreads(__tstate
);
15013 if (PyErr_Occurred()) SWIG_fail
;
15015 resultobj
= SWIG_Py_Void();
15022 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15024 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15025 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15026 return SWIG_Py_Void();
15029 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15030 return SWIG_Python_InitShadowInstance(args
);
15033 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15034 PyObject
*resultobj
= 0;
15035 wxPyFontEnumerator
*result
= 0 ;
15037 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15039 if (!wxPyCheckForApp()) SWIG_fail
;
15040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15041 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15042 wxPyEndAllowThreads(__tstate
);
15043 if (PyErr_Occurred()) SWIG_fail
;
15045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15052 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15053 PyObject
*resultobj
= 0;
15054 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15057 PyObject
*swig_obj
[1] ;
15059 if (!args
) SWIG_fail
;
15060 swig_obj
[0] = args
;
15061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15062 if (!SWIG_IsOK(res1
)) {
15063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15065 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15070 wxPyEndAllowThreads(__tstate
);
15071 if (PyErr_Occurred()) SWIG_fail
;
15073 resultobj
= SWIG_Py_Void();
15080 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15081 PyObject
*resultobj
= 0;
15082 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15083 PyObject
*arg2
= (PyObject
*) 0 ;
15084 PyObject
*arg3
= (PyObject
*) 0 ;
15090 PyObject
* obj0
= 0 ;
15091 PyObject
* obj1
= 0 ;
15092 PyObject
* obj2
= 0 ;
15093 PyObject
* obj3
= 0 ;
15094 char * kwnames
[] = {
15095 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15100 if (!SWIG_IsOK(res1
)) {
15101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15103 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15106 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15107 if (!SWIG_IsOK(ecode4
)) {
15108 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15110 arg4
= static_cast< bool >(val4
);
15112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15113 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15117 resultobj
= SWIG_Py_Void();
15124 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15125 PyObject
*resultobj
= 0;
15126 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15127 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15128 bool arg3
= (bool) false ;
15136 PyObject
* obj0
= 0 ;
15137 PyObject
* obj1
= 0 ;
15138 PyObject
* obj2
= 0 ;
15139 char * kwnames
[] = {
15140 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15145 if (!SWIG_IsOK(res1
)) {
15146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15148 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15151 if (!SWIG_IsOK(ecode2
)) {
15152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15154 arg2
= static_cast< wxFontEncoding
>(val2
);
15157 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15158 if (!SWIG_IsOK(ecode3
)) {
15159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15161 arg3
= static_cast< bool >(val3
);
15164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15165 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15178 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15179 PyObject
*resultobj
= 0;
15180 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15181 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15182 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15186 bool temp2
= false ;
15187 PyObject
* obj0
= 0 ;
15188 PyObject
* obj1
= 0 ;
15189 char * kwnames
[] = {
15190 (char *) "self",(char *) "facename", NULL
15193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15195 if (!SWIG_IsOK(res1
)) {
15196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15198 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15201 arg2
= wxString_in_helper(obj1
);
15202 if (arg2
== NULL
) SWIG_fail
;
15207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15208 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15209 wxPyEndAllowThreads(__tstate
);
15210 if (PyErr_Occurred()) SWIG_fail
;
15213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15229 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15230 PyObject
*resultobj
= 0;
15231 PyObject
*result
= 0 ;
15233 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15236 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15237 wxPyEndAllowThreads(__tstate
);
15238 if (PyErr_Occurred()) SWIG_fail
;
15240 resultobj
= result
;
15247 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15248 PyObject
*resultobj
= 0;
15249 PyObject
*result
= 0 ;
15251 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15254 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15255 wxPyEndAllowThreads(__tstate
);
15256 if (PyErr_Occurred()) SWIG_fail
;
15258 resultobj
= result
;
15265 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15266 PyObject
*resultobj
= 0;
15267 wxString
*arg1
= 0 ;
15269 bool temp1
= false ;
15270 PyObject
* obj0
= 0 ;
15271 char * kwnames
[] = {
15272 (char *) "str", NULL
15275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15277 arg1
= wxString_in_helper(obj0
);
15278 if (arg1
== NULL
) SWIG_fail
;
15282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15283 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15284 wxPyEndAllowThreads(__tstate
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15304 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15306 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15307 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15308 return SWIG_Py_Void();
15311 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15312 return SWIG_Python_InitShadowInstance(args
);
15315 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15316 PyObject
*resultobj
= 0;
15317 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15323 PyObject
*swig_obj
[2] ;
15325 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15327 if (!SWIG_IsOK(res1
)) {
15328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15330 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15331 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15332 if (!SWIG_IsOK(ecode2
)) {
15333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15335 arg2
= static_cast< int >(val2
);
15336 if (arg1
) (arg1
)->Language
= arg2
;
15338 resultobj
= SWIG_Py_Void();
15345 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15346 PyObject
*resultobj
= 0;
15347 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15351 PyObject
*swig_obj
[1] ;
15353 if (!args
) SWIG_fail
;
15354 swig_obj
[0] = args
;
15355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15356 if (!SWIG_IsOK(res1
)) {
15357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15359 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15360 result
= (int) ((arg1
)->Language
);
15361 resultobj
= SWIG_From_int(static_cast< int >(result
));
15368 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15369 PyObject
*resultobj
= 0;
15370 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15371 wxString
*arg2
= (wxString
*) 0 ;
15374 bool temp2
= false ;
15375 PyObject
*swig_obj
[2] ;
15377 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15379 if (!SWIG_IsOK(res1
)) {
15380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15382 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15384 arg2
= wxString_in_helper(swig_obj
[1]);
15385 if (arg2
== NULL
) SWIG_fail
;
15388 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15390 resultobj
= SWIG_Py_Void();
15405 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15406 PyObject
*resultobj
= 0;
15407 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15408 wxString
*result
= 0 ;
15411 PyObject
*swig_obj
[1] ;
15413 if (!args
) SWIG_fail
;
15414 swig_obj
[0] = args
;
15415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15416 if (!SWIG_IsOK(res1
)) {
15417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15419 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15420 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15423 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15425 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15434 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15435 PyObject
*resultobj
= 0;
15436 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15437 wxString
*arg2
= (wxString
*) 0 ;
15440 bool temp2
= false ;
15441 PyObject
*swig_obj
[2] ;
15443 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15445 if (!SWIG_IsOK(res1
)) {
15446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15448 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15450 arg2
= wxString_in_helper(swig_obj
[1]);
15451 if (arg2
== NULL
) SWIG_fail
;
15454 if (arg1
) (arg1
)->Description
= *arg2
;
15456 resultobj
= SWIG_Py_Void();
15471 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15472 PyObject
*resultobj
= 0;
15473 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15474 wxString
*result
= 0 ;
15477 PyObject
*swig_obj
[1] ;
15479 if (!args
) SWIG_fail
;
15480 swig_obj
[0] = args
;
15481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15482 if (!SWIG_IsOK(res1
)) {
15483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15485 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15486 result
= (wxString
*)& ((arg1
)->Description
);
15489 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15491 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15500 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15502 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15503 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15504 return SWIG_Py_Void();
15507 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15508 PyObject
*resultobj
= 0;
15509 int arg1
= (int) -1 ;
15510 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15511 wxLocale
*result
= 0 ;
15516 PyObject
* obj0
= 0 ;
15517 PyObject
* obj1
= 0 ;
15518 char * kwnames
[] = {
15519 (char *) "language",(char *) "flags", NULL
15522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15524 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15525 if (!SWIG_IsOK(ecode1
)) {
15526 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15528 arg1
= static_cast< int >(val1
);
15531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15532 if (!SWIG_IsOK(ecode2
)) {
15533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15535 arg2
= static_cast< int >(val2
);
15538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15539 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15540 wxPyEndAllowThreads(__tstate
);
15541 if (PyErr_Occurred()) SWIG_fail
;
15543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15550 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15551 PyObject
*resultobj
= 0;
15552 wxLocale
*arg1
= (wxLocale
*) 0 ;
15555 PyObject
*swig_obj
[1] ;
15557 if (!args
) SWIG_fail
;
15558 swig_obj
[0] = args
;
15559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15560 if (!SWIG_IsOK(res1
)) {
15561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15563 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15568 wxPyEndAllowThreads(__tstate
);
15569 if (PyErr_Occurred()) SWIG_fail
;
15571 resultobj
= SWIG_Py_Void();
15578 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15579 PyObject
*resultobj
= 0;
15580 wxLocale
*arg1
= (wxLocale
*) 0 ;
15581 wxString
*arg2
= 0 ;
15582 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15583 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15584 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15585 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15586 bool arg5
= (bool) true ;
15587 bool arg6
= (bool) false ;
15591 bool temp2
= false ;
15592 bool temp3
= false ;
15593 bool temp4
= false ;
15598 PyObject
* obj0
= 0 ;
15599 PyObject
* obj1
= 0 ;
15600 PyObject
* obj2
= 0 ;
15601 PyObject
* obj3
= 0 ;
15602 PyObject
* obj4
= 0 ;
15603 PyObject
* obj5
= 0 ;
15604 char * kwnames
[] = {
15605 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15610 if (!SWIG_IsOK(res1
)) {
15611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15613 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15615 arg2
= wxString_in_helper(obj1
);
15616 if (arg2
== NULL
) SWIG_fail
;
15621 arg3
= wxString_in_helper(obj2
);
15622 if (arg3
== NULL
) SWIG_fail
;
15628 arg4
= wxString_in_helper(obj3
);
15629 if (arg4
== NULL
) SWIG_fail
;
15634 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15635 if (!SWIG_IsOK(ecode5
)) {
15636 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15638 arg5
= static_cast< bool >(val5
);
15641 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15642 if (!SWIG_IsOK(ecode6
)) {
15643 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15645 arg6
= static_cast< bool >(val6
);
15648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15649 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15650 wxPyEndAllowThreads(__tstate
);
15651 if (PyErr_Occurred()) SWIG_fail
;
15654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15686 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15687 PyObject
*resultobj
= 0;
15688 wxLocale
*arg1
= (wxLocale
*) 0 ;
15689 int arg2
= (int) wxLANGUAGE_DEFAULT
;
15690 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15698 PyObject
* obj0
= 0 ;
15699 PyObject
* obj1
= 0 ;
15700 PyObject
* obj2
= 0 ;
15701 char * kwnames
[] = {
15702 (char *) "self",(char *) "language",(char *) "flags", NULL
15705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15707 if (!SWIG_IsOK(res1
)) {
15708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
15710 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15712 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15713 if (!SWIG_IsOK(ecode2
)) {
15714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
15716 arg2
= static_cast< int >(val2
);
15719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15720 if (!SWIG_IsOK(ecode3
)) {
15721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
15723 arg3
= static_cast< int >(val3
);
15726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15727 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
15728 wxPyEndAllowThreads(__tstate
);
15729 if (PyErr_Occurred()) SWIG_fail
;
15732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15740 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15741 PyObject
*resultobj
= 0;
15744 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
15746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15747 result
= (int)wxLocale::GetSystemLanguage();
15748 wxPyEndAllowThreads(__tstate
);
15749 if (PyErr_Occurred()) SWIG_fail
;
15751 resultobj
= SWIG_From_int(static_cast< int >(result
));
15758 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15759 PyObject
*resultobj
= 0;
15760 wxFontEncoding result
;
15762 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
15764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15765 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
15766 wxPyEndAllowThreads(__tstate
);
15767 if (PyErr_Occurred()) SWIG_fail
;
15769 resultobj
= SWIG_From_int(static_cast< int >(result
));
15776 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15777 PyObject
*resultobj
= 0;
15780 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
15782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15783 result
= wxLocale::GetSystemEncodingName();
15784 wxPyEndAllowThreads(__tstate
);
15785 if (PyErr_Occurred()) SWIG_fail
;
15789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15800 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15801 PyObject
*resultobj
= 0;
15802 wxLocale
*arg1
= (wxLocale
*) 0 ;
15806 PyObject
*swig_obj
[1] ;
15808 if (!args
) SWIG_fail
;
15809 swig_obj
[0] = args
;
15810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15811 if (!SWIG_IsOK(res1
)) {
15812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
15814 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15817 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
15818 wxPyEndAllowThreads(__tstate
);
15819 if (PyErr_Occurred()) SWIG_fail
;
15822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15830 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15831 PyObject
*resultobj
= 0;
15832 wxLocale
*arg1
= (wxLocale
*) 0 ;
15836 PyObject
*swig_obj
[1] ;
15838 if (!args
) SWIG_fail
;
15839 swig_obj
[0] = args
;
15840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15841 if (!SWIG_IsOK(res1
)) {
15842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
15844 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15847 result
= ((wxLocale
const *)arg1
)->GetLocale();
15848 wxPyEndAllowThreads(__tstate
);
15849 if (PyErr_Occurred()) SWIG_fail
;
15853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15864 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15865 PyObject
*resultobj
= 0;
15866 wxLocale
*arg1
= (wxLocale
*) 0 ;
15870 PyObject
*swig_obj
[1] ;
15872 if (!args
) SWIG_fail
;
15873 swig_obj
[0] = args
;
15874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15875 if (!SWIG_IsOK(res1
)) {
15876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
15878 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15881 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
15882 wxPyEndAllowThreads(__tstate
);
15883 if (PyErr_Occurred()) SWIG_fail
;
15885 resultobj
= SWIG_From_int(static_cast< int >(result
));
15892 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15893 PyObject
*resultobj
= 0;
15894 wxLocale
*arg1
= (wxLocale
*) 0 ;
15898 PyObject
*swig_obj
[1] ;
15900 if (!args
) SWIG_fail
;
15901 swig_obj
[0] = args
;
15902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15903 if (!SWIG_IsOK(res1
)) {
15904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15906 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15909 result
= ((wxLocale
const *)arg1
)->GetSysName();
15910 wxPyEndAllowThreads(__tstate
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15915 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15917 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15926 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15927 PyObject
*resultobj
= 0;
15928 wxLocale
*arg1
= (wxLocale
*) 0 ;
15932 PyObject
*swig_obj
[1] ;
15934 if (!args
) SWIG_fail
;
15935 swig_obj
[0] = args
;
15936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15937 if (!SWIG_IsOK(res1
)) {
15938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15940 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15943 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
15944 wxPyEndAllowThreads(__tstate
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15949 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15951 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15960 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15961 PyObject
*resultobj
= 0;
15962 wxString
*arg1
= 0 ;
15963 bool temp1
= false ;
15964 PyObject
* obj0
= 0 ;
15965 char * kwnames
[] = {
15966 (char *) "prefix", NULL
15969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
15971 arg1
= wxString_in_helper(obj0
);
15972 if (arg1
== NULL
) SWIG_fail
;
15976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15977 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
15978 wxPyEndAllowThreads(__tstate
);
15979 if (PyErr_Occurred()) SWIG_fail
;
15981 resultobj
= SWIG_Py_Void();
15996 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15997 PyObject
*resultobj
= 0;
15998 wxLocale
*arg1
= (wxLocale
*) 0 ;
15999 wxString
*arg2
= 0 ;
16003 bool temp2
= false ;
16004 PyObject
* obj0
= 0 ;
16005 PyObject
* obj1
= 0 ;
16006 char * kwnames
[] = {
16007 (char *) "self",(char *) "szDomain", NULL
16010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16012 if (!SWIG_IsOK(res1
)) {
16013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16015 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16017 arg2
= wxString_in_helper(obj1
);
16018 if (arg2
== NULL
) SWIG_fail
;
16022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16023 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16024 wxPyEndAllowThreads(__tstate
);
16025 if (PyErr_Occurred()) SWIG_fail
;
16028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16044 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16045 PyObject
*resultobj
= 0;
16050 PyObject
* obj0
= 0 ;
16051 char * kwnames
[] = {
16052 (char *) "lang", NULL
16055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16056 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16057 if (!SWIG_IsOK(ecode1
)) {
16058 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16060 arg1
= static_cast< int >(val1
);
16062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16063 result
= (bool)wxLocale::IsAvailable(arg1
);
16064 wxPyEndAllowThreads(__tstate
);
16065 if (PyErr_Occurred()) SWIG_fail
;
16068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16076 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16077 PyObject
*resultobj
= 0;
16078 wxLocale
*arg1
= (wxLocale
*) 0 ;
16079 wxString
*arg2
= 0 ;
16083 bool temp2
= false ;
16084 PyObject
* obj0
= 0 ;
16085 PyObject
* obj1
= 0 ;
16086 char * kwnames
[] = {
16087 (char *) "self",(char *) "szDomain", NULL
16090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16092 if (!SWIG_IsOK(res1
)) {
16093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16095 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16097 arg2
= wxString_in_helper(obj1
);
16098 if (arg2
== NULL
) SWIG_fail
;
16102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16103 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16104 wxPyEndAllowThreads(__tstate
);
16105 if (PyErr_Occurred()) SWIG_fail
;
16108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16124 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16125 PyObject
*resultobj
= 0;
16127 wxLanguageInfo
*result
= 0 ;
16130 PyObject
* obj0
= 0 ;
16131 char * kwnames
[] = {
16132 (char *) "lang", NULL
16135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16136 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16137 if (!SWIG_IsOK(ecode1
)) {
16138 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16140 arg1
= static_cast< int >(val1
);
16142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16143 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16144 wxPyEndAllowThreads(__tstate
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16154 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16155 PyObject
*resultobj
= 0;
16160 PyObject
* obj0
= 0 ;
16161 char * kwnames
[] = {
16162 (char *) "lang", NULL
16165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16166 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16167 if (!SWIG_IsOK(ecode1
)) {
16168 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16170 arg1
= static_cast< int >(val1
);
16172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16173 result
= wxLocale::GetLanguageName(arg1
);
16174 wxPyEndAllowThreads(__tstate
);
16175 if (PyErr_Occurred()) SWIG_fail
;
16179 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16181 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16190 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16191 PyObject
*resultobj
= 0;
16192 wxString
*arg1
= 0 ;
16193 wxLanguageInfo
*result
= 0 ;
16194 bool temp1
= false ;
16195 PyObject
* obj0
= 0 ;
16196 char * kwnames
[] = {
16197 (char *) "locale", NULL
16200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16202 arg1
= wxString_in_helper(obj0
);
16203 if (arg1
== NULL
) SWIG_fail
;
16207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16208 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16209 wxPyEndAllowThreads(__tstate
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16227 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16228 PyObject
*resultobj
= 0;
16229 wxLanguageInfo
*arg1
= 0 ;
16232 PyObject
* obj0
= 0 ;
16233 char * kwnames
[] = {
16234 (char *) "info", NULL
16237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16238 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16239 if (!SWIG_IsOK(res1
)) {
16240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16243 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16245 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16248 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16249 wxPyEndAllowThreads(__tstate
);
16250 if (PyErr_Occurred()) SWIG_fail
;
16252 resultobj
= SWIG_Py_Void();
16259 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16260 PyObject
*resultobj
= 0;
16261 wxLocale
*arg1
= (wxLocale
*) 0 ;
16262 wxString
*arg2
= 0 ;
16263 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16264 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16268 bool temp2
= false ;
16269 bool temp3
= false ;
16270 PyObject
* obj0
= 0 ;
16271 PyObject
* obj1
= 0 ;
16272 PyObject
* obj2
= 0 ;
16273 char * kwnames
[] = {
16274 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16279 if (!SWIG_IsOK(res1
)) {
16280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16282 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16284 arg2
= wxString_in_helper(obj1
);
16285 if (arg2
== NULL
) SWIG_fail
;
16290 arg3
= wxString_in_helper(obj2
);
16291 if (arg3
== NULL
) SWIG_fail
;
16296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16297 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16298 wxPyEndAllowThreads(__tstate
);
16299 if (PyErr_Occurred()) SWIG_fail
;
16303 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16305 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16330 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16331 PyObject
*resultobj
= 0;
16332 wxLocale
*arg1
= (wxLocale
*) 0 ;
16333 wxString
*result
= 0 ;
16336 PyObject
*swig_obj
[1] ;
16338 if (!args
) SWIG_fail
;
16339 swig_obj
[0] = args
;
16340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16341 if (!SWIG_IsOK(res1
)) {
16342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16344 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16348 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16349 result
= (wxString
*) &_result_ref
;
16351 wxPyEndAllowThreads(__tstate
);
16352 if (PyErr_Occurred()) SWIG_fail
;
16356 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16358 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16367 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16369 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16370 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16371 return SWIG_Py_Void();
16374 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16375 return SWIG_Python_InitShadowInstance(args
);
16378 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16379 PyObject
*resultobj
= 0;
16380 int arg1
= (int) -1 ;
16381 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16382 wxPyLocale
*result
= 0 ;
16387 PyObject
* obj0
= 0 ;
16388 PyObject
* obj1
= 0 ;
16389 char * kwnames
[] = {
16390 (char *) "language",(char *) "flags", NULL
16393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16395 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16396 if (!SWIG_IsOK(ecode1
)) {
16397 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16399 arg1
= static_cast< int >(val1
);
16402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16403 if (!SWIG_IsOK(ecode2
)) {
16404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16406 arg2
= static_cast< int >(val2
);
16409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16410 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16411 wxPyEndAllowThreads(__tstate
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16421 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16422 PyObject
*resultobj
= 0;
16423 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16426 PyObject
*swig_obj
[1] ;
16428 if (!args
) SWIG_fail
;
16429 swig_obj
[0] = args
;
16430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16431 if (!SWIG_IsOK(res1
)) {
16432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16434 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16442 resultobj
= SWIG_Py_Void();
16449 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16450 PyObject
*resultobj
= 0;
16451 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16452 PyObject
*arg2
= (PyObject
*) 0 ;
16453 PyObject
*arg3
= (PyObject
*) 0 ;
16456 PyObject
* obj0
= 0 ;
16457 PyObject
* obj1
= 0 ;
16458 PyObject
* obj2
= 0 ;
16459 char * kwnames
[] = {
16460 (char *) "self",(char *) "self",(char *) "_class", NULL
16463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16465 if (!SWIG_IsOK(res1
)) {
16466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16468 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16473 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16474 wxPyEndAllowThreads(__tstate
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16477 resultobj
= SWIG_Py_Void();
16484 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16485 PyObject
*resultobj
= 0;
16486 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16487 wxChar
*arg2
= (wxChar
*) 0 ;
16488 wxChar
*arg3
= (wxChar
*) NULL
;
16489 wxChar
*result
= 0 ;
16496 PyObject
* obj0
= 0 ;
16497 PyObject
* obj1
= 0 ;
16498 PyObject
* obj2
= 0 ;
16499 char * kwnames
[] = {
16500 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16505 if (!SWIG_IsOK(res1
)) {
16506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16508 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16509 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16510 if (!SWIG_IsOK(res2
)) {
16511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16513 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16515 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16516 if (!SWIG_IsOK(res3
)) {
16517 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16519 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16523 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16524 wxPyEndAllowThreads(__tstate
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16534 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16535 PyObject
*resultobj
= 0;
16536 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16537 wxChar
*arg2
= (wxChar
*) 0 ;
16538 wxChar
*arg3
= (wxChar
*) 0 ;
16540 wxChar
*arg5
= (wxChar
*) NULL
;
16541 wxChar
*result
= 0 ;
16552 PyObject
* obj0
= 0 ;
16553 PyObject
* obj1
= 0 ;
16554 PyObject
* obj2
= 0 ;
16555 PyObject
* obj3
= 0 ;
16556 PyObject
* obj4
= 0 ;
16557 char * kwnames
[] = {
16558 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16563 if (!SWIG_IsOK(res1
)) {
16564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16566 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16567 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16568 if (!SWIG_IsOK(res2
)) {
16569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16571 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16572 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16573 if (!SWIG_IsOK(res3
)) {
16574 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16576 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16577 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16578 if (!SWIG_IsOK(ecode4
)) {
16579 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16581 arg4
= static_cast< size_t >(val4
);
16583 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16584 if (!SWIG_IsOK(res5
)) {
16585 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16587 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16592 wxPyEndAllowThreads(__tstate
);
16593 if (PyErr_Occurred()) SWIG_fail
;
16595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16602 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16604 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16605 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16606 return SWIG_Py_Void();
16609 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16610 return SWIG_Python_InitShadowInstance(args
);
16613 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16614 PyObject
*resultobj
= 0;
16615 wxLocale
*result
= 0 ;
16617 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16620 result
= (wxLocale
*)wxGetLocale();
16621 wxPyEndAllowThreads(__tstate
);
16622 if (PyErr_Occurred()) SWIG_fail
;
16624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16631 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16632 PyObject
*resultobj
= 0;
16633 wxString
*arg1
= 0 ;
16635 bool temp1
= false ;
16637 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16639 arg1
= wxString_in_helper(swig_obj
[0]);
16640 if (arg1
== NULL
) SWIG_fail
;
16644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16645 result
= wxGetTranslation((wxString
const &)*arg1
);
16646 wxPyEndAllowThreads(__tstate
);
16647 if (PyErr_Occurred()) SWIG_fail
;
16651 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16653 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16670 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16671 PyObject
*resultobj
= 0;
16672 wxString
*arg1
= 0 ;
16673 wxString
*arg2
= 0 ;
16675 bool temp1
= false ;
16676 bool temp2
= false ;
16678 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16680 arg1
= wxString_in_helper(swig_obj
[0]);
16681 if (arg1
== NULL
) SWIG_fail
;
16685 arg2
= wxString_in_helper(swig_obj
[1]);
16686 if (arg2
== NULL
) SWIG_fail
;
16690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16691 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
16692 wxPyEndAllowThreads(__tstate
);
16693 if (PyErr_Occurred()) SWIG_fail
;
16697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16724 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16725 PyObject
*resultobj
= 0;
16726 wxString
*arg1
= 0 ;
16727 wxString
*arg2
= 0 ;
16730 bool temp1
= false ;
16731 bool temp2
= false ;
16735 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
16737 arg1
= wxString_in_helper(swig_obj
[0]);
16738 if (arg1
== NULL
) SWIG_fail
;
16742 arg2
= wxString_in_helper(swig_obj
[1]);
16743 if (arg2
== NULL
) SWIG_fail
;
16746 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16747 if (!SWIG_IsOK(ecode3
)) {
16748 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16750 arg3
= static_cast< size_t >(val3
);
16752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16753 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
16754 wxPyEndAllowThreads(__tstate
);
16755 if (PyErr_Occurred()) SWIG_fail
;
16759 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16761 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16786 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16787 PyObject
*resultobj
= 0;
16788 wxString
*arg1
= 0 ;
16789 wxString
*arg2
= 0 ;
16791 wxString
*arg4
= 0 ;
16793 bool temp1
= false ;
16794 bool temp2
= false ;
16797 bool temp4
= false ;
16799 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
16801 arg1
= wxString_in_helper(swig_obj
[0]);
16802 if (arg1
== NULL
) SWIG_fail
;
16806 arg2
= wxString_in_helper(swig_obj
[1]);
16807 if (arg2
== NULL
) SWIG_fail
;
16810 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16811 if (!SWIG_IsOK(ecode3
)) {
16812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16814 arg3
= static_cast< size_t >(val3
);
16816 arg4
= wxString_in_helper(swig_obj
[3]);
16817 if (arg4
== NULL
) SWIG_fail
;
16821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16822 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
16823 wxPyEndAllowThreads(__tstate
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16828 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16830 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16863 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
16867 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
16870 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
16873 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
16876 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
16879 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
16883 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
16888 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16889 PyObject
*resultobj
= 0;
16890 wxEncodingConverter
*result
= 0 ;
16892 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
16894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16895 result
= (wxEncodingConverter
*)new wxEncodingConverter();
16896 wxPyEndAllowThreads(__tstate
);
16897 if (PyErr_Occurred()) SWIG_fail
;
16899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
16906 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16907 PyObject
*resultobj
= 0;
16908 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16911 PyObject
*swig_obj
[1] ;
16913 if (!args
) SWIG_fail
;
16914 swig_obj
[0] = args
;
16915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
16916 if (!SWIG_IsOK(res1
)) {
16917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16919 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16924 wxPyEndAllowThreads(__tstate
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16927 resultobj
= SWIG_Py_Void();
16934 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16935 PyObject
*resultobj
= 0;
16936 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16937 wxFontEncoding arg2
;
16938 wxFontEncoding arg3
;
16939 int arg4
= (int) wxCONVERT_STRICT
;
16949 PyObject
* obj0
= 0 ;
16950 PyObject
* obj1
= 0 ;
16951 PyObject
* obj2
= 0 ;
16952 PyObject
* obj3
= 0 ;
16953 char * kwnames
[] = {
16954 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
16957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16959 if (!SWIG_IsOK(res1
)) {
16960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16962 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16964 if (!SWIG_IsOK(ecode2
)) {
16965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16967 arg2
= static_cast< wxFontEncoding
>(val2
);
16968 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16969 if (!SWIG_IsOK(ecode3
)) {
16970 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
16972 arg3
= static_cast< wxFontEncoding
>(val3
);
16974 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16975 if (!SWIG_IsOK(ecode4
)) {
16976 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
16978 arg4
= static_cast< int >(val4
);
16981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16982 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
16983 wxPyEndAllowThreads(__tstate
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16995 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16996 PyObject
*resultobj
= 0;
16997 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16998 wxString
*arg2
= 0 ;
17002 bool temp2
= false ;
17003 PyObject
* obj0
= 0 ;
17004 PyObject
* obj1
= 0 ;
17005 char * kwnames
[] = {
17006 (char *) "self",(char *) "input", NULL
17009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17011 if (!SWIG_IsOK(res1
)) {
17012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17014 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17016 arg2
= wxString_in_helper(obj1
);
17017 if (arg2
== NULL
) SWIG_fail
;
17021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17022 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17023 wxPyEndAllowThreads(__tstate
);
17024 if (PyErr_Occurred()) SWIG_fail
;
17028 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17030 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17047 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17048 PyObject
*resultobj
= 0;
17049 wxFontEncoding arg1
;
17050 int arg2
= (int) wxPLATFORM_CURRENT
;
17051 wxFontEncodingArray result
;
17056 PyObject
* obj0
= 0 ;
17057 PyObject
* obj1
= 0 ;
17058 char * kwnames
[] = {
17059 (char *) "enc",(char *) "platform", NULL
17062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17063 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17064 if (!SWIG_IsOK(ecode1
)) {
17065 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17067 arg1
= static_cast< wxFontEncoding
>(val1
);
17069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17070 if (!SWIG_IsOK(ecode2
)) {
17071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17073 arg2
= static_cast< int >(val2
);
17076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17077 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17078 wxPyEndAllowThreads(__tstate
);
17079 if (PyErr_Occurred()) SWIG_fail
;
17082 resultobj
= PyList_New(0);
17083 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17084 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17085 PyList_Append(resultobj
, number
);
17095 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17096 PyObject
*resultobj
= 0;
17097 wxFontEncoding arg1
;
17098 wxFontEncodingArray result
;
17101 PyObject
* obj0
= 0 ;
17102 char * kwnames
[] = {
17103 (char *) "enc", NULL
17106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17107 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17108 if (!SWIG_IsOK(ecode1
)) {
17109 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17111 arg1
= static_cast< wxFontEncoding
>(val1
);
17113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17114 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17115 wxPyEndAllowThreads(__tstate
);
17116 if (PyErr_Occurred()) SWIG_fail
;
17119 resultobj
= PyList_New(0);
17120 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17121 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17122 PyList_Append(resultobj
, number
);
17132 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17133 PyObject
*resultobj
= 0;
17134 wxFontEncoding arg1
;
17135 wxFontEncoding arg2
;
17141 PyObject
* obj0
= 0 ;
17142 PyObject
* obj1
= 0 ;
17143 char * kwnames
[] = {
17144 (char *) "encIn",(char *) "encOut", NULL
17147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17148 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17149 if (!SWIG_IsOK(ecode1
)) {
17150 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17152 arg1
= static_cast< wxFontEncoding
>(val1
);
17153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17154 if (!SWIG_IsOK(ecode2
)) {
17155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17157 arg2
= static_cast< wxFontEncoding
>(val2
);
17159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17160 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17161 wxPyEndAllowThreads(__tstate
);
17162 if (PyErr_Occurred()) SWIG_fail
;
17165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17173 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17175 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17176 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17177 return SWIG_Py_Void();
17180 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17181 return SWIG_Python_InitShadowInstance(args
);
17184 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17185 PyObject
*resultobj
= 0;
17186 wxDC
*arg1
= (wxDC
*) 0 ;
17189 PyObject
*swig_obj
[1] ;
17191 if (!args
) SWIG_fail
;
17192 swig_obj
[0] = args
;
17193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17194 if (!SWIG_IsOK(res1
)) {
17195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17197 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17202 wxPyEndAllowThreads(__tstate
);
17203 if (PyErr_Occurred()) SWIG_fail
;
17205 resultobj
= SWIG_Py_Void();
17212 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17213 PyObject
*resultobj
= 0;
17214 wxDC
*arg1
= (wxDC
*) 0 ;
17217 wxColour
*arg4
= 0 ;
17218 int arg5
= (int) wxFLOOD_SURFACE
;
17229 PyObject
* obj0
= 0 ;
17230 PyObject
* obj1
= 0 ;
17231 PyObject
* obj2
= 0 ;
17232 PyObject
* obj3
= 0 ;
17233 PyObject
* obj4
= 0 ;
17234 char * kwnames
[] = {
17235 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17240 if (!SWIG_IsOK(res1
)) {
17241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17243 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17245 if (!SWIG_IsOK(ecode2
)) {
17246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17248 arg2
= static_cast< int >(val2
);
17249 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17250 if (!SWIG_IsOK(ecode3
)) {
17251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17253 arg3
= static_cast< int >(val3
);
17256 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17259 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17260 if (!SWIG_IsOK(ecode5
)) {
17261 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17263 arg5
= static_cast< int >(val5
);
17266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17267 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17268 wxPyEndAllowThreads(__tstate
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17280 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17281 PyObject
*resultobj
= 0;
17282 wxDC
*arg1
= (wxDC
*) 0 ;
17283 wxPoint
*arg2
= 0 ;
17284 wxColour
*arg3
= 0 ;
17285 int arg4
= (int) wxFLOOD_SURFACE
;
17293 PyObject
* obj0
= 0 ;
17294 PyObject
* obj1
= 0 ;
17295 PyObject
* obj2
= 0 ;
17296 PyObject
* obj3
= 0 ;
17297 char * kwnames
[] = {
17298 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17303 if (!SWIG_IsOK(res1
)) {
17304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17306 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17309 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17313 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17316 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17317 if (!SWIG_IsOK(ecode4
)) {
17318 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17320 arg4
= static_cast< int >(val4
);
17323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17324 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17325 wxPyEndAllowThreads(__tstate
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17337 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17338 PyObject
*resultobj
= 0;
17339 wxDC
*arg1
= (wxDC
*) 0 ;
17341 wxColour
*arg3
= 0 ;
17342 wxColour
*arg4
= 0 ;
17343 wxPoint
*arg5
= 0 ;
17350 PyObject
* obj0
= 0 ;
17351 PyObject
* obj1
= 0 ;
17352 PyObject
* obj2
= 0 ;
17353 PyObject
* obj3
= 0 ;
17354 PyObject
* obj4
= 0 ;
17355 char * kwnames
[] = {
17356 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17361 if (!SWIG_IsOK(res1
)) {
17362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17364 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17367 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17371 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17375 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17379 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17383 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17384 wxPyEndAllowThreads(__tstate
);
17385 if (PyErr_Occurred()) SWIG_fail
;
17387 resultobj
= SWIG_Py_Void();
17394 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17395 PyObject
*resultobj
= 0;
17396 wxDC
*arg1
= (wxDC
*) 0 ;
17398 wxColour
*arg3
= 0 ;
17399 wxColour
*arg4
= 0 ;
17400 wxDirection arg5
= (wxDirection
) wxEAST
;
17408 PyObject
* obj0
= 0 ;
17409 PyObject
* obj1
= 0 ;
17410 PyObject
* obj2
= 0 ;
17411 PyObject
* obj3
= 0 ;
17412 PyObject
* obj4
= 0 ;
17413 char * kwnames
[] = {
17414 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17419 if (!SWIG_IsOK(res1
)) {
17420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17422 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17425 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17429 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17433 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17436 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17437 if (!SWIG_IsOK(ecode5
)) {
17438 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17440 arg5
= static_cast< wxDirection
>(val5
);
17443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17444 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17448 resultobj
= SWIG_Py_Void();
17455 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17456 PyObject
*resultobj
= 0;
17457 wxDC
*arg1
= (wxDC
*) 0 ;
17467 PyObject
* obj0
= 0 ;
17468 PyObject
* obj1
= 0 ;
17469 PyObject
* obj2
= 0 ;
17470 char * kwnames
[] = {
17471 (char *) "self",(char *) "x",(char *) "y", NULL
17474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17476 if (!SWIG_IsOK(res1
)) {
17477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17479 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17481 if (!SWIG_IsOK(ecode2
)) {
17482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17484 arg2
= static_cast< int >(val2
);
17485 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17486 if (!SWIG_IsOK(ecode3
)) {
17487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17489 arg3
= static_cast< int >(val3
);
17491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17492 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17493 wxPyEndAllowThreads(__tstate
);
17494 if (PyErr_Occurred()) SWIG_fail
;
17496 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17503 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17504 PyObject
*resultobj
= 0;
17505 wxDC
*arg1
= (wxDC
*) 0 ;
17506 wxPoint
*arg2
= 0 ;
17511 PyObject
* obj0
= 0 ;
17512 PyObject
* obj1
= 0 ;
17513 char * kwnames
[] = {
17514 (char *) "self",(char *) "pt", NULL
17517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17519 if (!SWIG_IsOK(res1
)) {
17520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17522 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17525 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17529 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17530 wxPyEndAllowThreads(__tstate
);
17531 if (PyErr_Occurred()) SWIG_fail
;
17533 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17540 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17541 PyObject
*resultobj
= 0;
17542 wxDC
*arg1
= (wxDC
*) 0 ;
17557 PyObject
* obj0
= 0 ;
17558 PyObject
* obj1
= 0 ;
17559 PyObject
* obj2
= 0 ;
17560 PyObject
* obj3
= 0 ;
17561 PyObject
* obj4
= 0 ;
17562 char * kwnames
[] = {
17563 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17568 if (!SWIG_IsOK(res1
)) {
17569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17571 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17573 if (!SWIG_IsOK(ecode2
)) {
17574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17576 arg2
= static_cast< int >(val2
);
17577 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17578 if (!SWIG_IsOK(ecode3
)) {
17579 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17581 arg3
= static_cast< int >(val3
);
17582 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17583 if (!SWIG_IsOK(ecode4
)) {
17584 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17586 arg4
= static_cast< int >(val4
);
17587 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17588 if (!SWIG_IsOK(ecode5
)) {
17589 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17591 arg5
= static_cast< int >(val5
);
17593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17594 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17595 wxPyEndAllowThreads(__tstate
);
17596 if (PyErr_Occurred()) SWIG_fail
;
17598 resultobj
= SWIG_Py_Void();
17605 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17606 PyObject
*resultobj
= 0;
17607 wxDC
*arg1
= (wxDC
*) 0 ;
17608 wxPoint
*arg2
= 0 ;
17609 wxPoint
*arg3
= 0 ;
17614 PyObject
* obj0
= 0 ;
17615 PyObject
* obj1
= 0 ;
17616 PyObject
* obj2
= 0 ;
17617 char * kwnames
[] = {
17618 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17623 if (!SWIG_IsOK(res1
)) {
17624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17626 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17629 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17633 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17637 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17638 wxPyEndAllowThreads(__tstate
);
17639 if (PyErr_Occurred()) SWIG_fail
;
17641 resultobj
= SWIG_Py_Void();
17648 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17649 PyObject
*resultobj
= 0;
17650 wxDC
*arg1
= (wxDC
*) 0 ;
17659 PyObject
* obj0
= 0 ;
17660 PyObject
* obj1
= 0 ;
17661 PyObject
* obj2
= 0 ;
17662 char * kwnames
[] = {
17663 (char *) "self",(char *) "x",(char *) "y", NULL
17666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17668 if (!SWIG_IsOK(res1
)) {
17669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17671 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17672 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17673 if (!SWIG_IsOK(ecode2
)) {
17674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
17676 arg2
= static_cast< int >(val2
);
17677 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17678 if (!SWIG_IsOK(ecode3
)) {
17679 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
17681 arg3
= static_cast< int >(val3
);
17683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17684 (arg1
)->CrossHair(arg2
,arg3
);
17685 wxPyEndAllowThreads(__tstate
);
17686 if (PyErr_Occurred()) SWIG_fail
;
17688 resultobj
= SWIG_Py_Void();
17695 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17696 PyObject
*resultobj
= 0;
17697 wxDC
*arg1
= (wxDC
*) 0 ;
17698 wxPoint
*arg2
= 0 ;
17702 PyObject
* obj0
= 0 ;
17703 PyObject
* obj1
= 0 ;
17704 char * kwnames
[] = {
17705 (char *) "self",(char *) "pt", NULL
17708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17710 if (!SWIG_IsOK(res1
)) {
17711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17713 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17716 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17720 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
17721 wxPyEndAllowThreads(__tstate
);
17722 if (PyErr_Occurred()) SWIG_fail
;
17724 resultobj
= SWIG_Py_Void();
17731 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17732 PyObject
*resultobj
= 0;
17733 wxDC
*arg1
= (wxDC
*) 0 ;
17754 PyObject
* obj0
= 0 ;
17755 PyObject
* obj1
= 0 ;
17756 PyObject
* obj2
= 0 ;
17757 PyObject
* obj3
= 0 ;
17758 PyObject
* obj4
= 0 ;
17759 PyObject
* obj5
= 0 ;
17760 PyObject
* obj6
= 0 ;
17761 char * kwnames
[] = {
17762 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
17765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17767 if (!SWIG_IsOK(res1
)) {
17768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
17770 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17772 if (!SWIG_IsOK(ecode2
)) {
17773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
17775 arg2
= static_cast< int >(val2
);
17776 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17777 if (!SWIG_IsOK(ecode3
)) {
17778 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
17780 arg3
= static_cast< int >(val3
);
17781 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17782 if (!SWIG_IsOK(ecode4
)) {
17783 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
17785 arg4
= static_cast< int >(val4
);
17786 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17787 if (!SWIG_IsOK(ecode5
)) {
17788 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
17790 arg5
= static_cast< int >(val5
);
17791 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17792 if (!SWIG_IsOK(ecode6
)) {
17793 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
17795 arg6
= static_cast< int >(val6
);
17796 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17797 if (!SWIG_IsOK(ecode7
)) {
17798 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
17800 arg7
= static_cast< int >(val7
);
17802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17803 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17804 wxPyEndAllowThreads(__tstate
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17807 resultobj
= SWIG_Py_Void();
17814 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17815 PyObject
*resultobj
= 0;
17816 wxDC
*arg1
= (wxDC
*) 0 ;
17817 wxPoint
*arg2
= 0 ;
17818 wxPoint
*arg3
= 0 ;
17819 wxPoint
*arg4
= 0 ;
17825 PyObject
* obj0
= 0 ;
17826 PyObject
* obj1
= 0 ;
17827 PyObject
* obj2
= 0 ;
17828 PyObject
* obj3
= 0 ;
17829 char * kwnames
[] = {
17830 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
17833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17835 if (!SWIG_IsOK(res1
)) {
17836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17838 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17841 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17845 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17849 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17853 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
17854 wxPyEndAllowThreads(__tstate
);
17855 if (PyErr_Occurred()) SWIG_fail
;
17857 resultobj
= SWIG_Py_Void();
17864 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17865 PyObject
*resultobj
= 0;
17866 wxDC
*arg1
= (wxDC
*) 0 ;
17881 PyObject
* obj0
= 0 ;
17882 PyObject
* obj1
= 0 ;
17883 PyObject
* obj2
= 0 ;
17884 PyObject
* obj3
= 0 ;
17885 PyObject
* obj4
= 0 ;
17886 char * kwnames
[] = {
17887 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17892 if (!SWIG_IsOK(res1
)) {
17893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
17895 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17897 if (!SWIG_IsOK(ecode2
)) {
17898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
17900 arg2
= static_cast< int >(val2
);
17901 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17902 if (!SWIG_IsOK(ecode3
)) {
17903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
17905 arg3
= static_cast< int >(val3
);
17906 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17907 if (!SWIG_IsOK(ecode4
)) {
17908 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
17910 arg4
= static_cast< int >(val4
);
17911 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17912 if (!SWIG_IsOK(ecode5
)) {
17913 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
17915 arg5
= static_cast< int >(val5
);
17917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17918 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
17919 wxPyEndAllowThreads(__tstate
);
17920 if (PyErr_Occurred()) SWIG_fail
;
17922 resultobj
= SWIG_Py_Void();
17929 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17930 PyObject
*resultobj
= 0;
17931 wxDC
*arg1
= (wxDC
*) 0 ;
17936 PyObject
* obj0
= 0 ;
17937 PyObject
* obj1
= 0 ;
17938 char * kwnames
[] = {
17939 (char *) "self",(char *) "rect", NULL
17942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17944 if (!SWIG_IsOK(res1
)) {
17945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
17947 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17950 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17954 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
17955 wxPyEndAllowThreads(__tstate
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17958 resultobj
= SWIG_Py_Void();
17965 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
= 0;
17967 wxDC
*arg1
= (wxDC
*) 0 ;
17988 PyObject
* obj0
= 0 ;
17989 PyObject
* obj1
= 0 ;
17990 PyObject
* obj2
= 0 ;
17991 PyObject
* obj3
= 0 ;
17992 PyObject
* obj4
= 0 ;
17993 PyObject
* obj5
= 0 ;
17994 PyObject
* obj6
= 0 ;
17995 char * kwnames
[] = {
17996 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
17999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18001 if (!SWIG_IsOK(res1
)) {
18002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18004 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18006 if (!SWIG_IsOK(ecode2
)) {
18007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18009 arg2
= static_cast< int >(val2
);
18010 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18011 if (!SWIG_IsOK(ecode3
)) {
18012 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18014 arg3
= static_cast< int >(val3
);
18015 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18016 if (!SWIG_IsOK(ecode4
)) {
18017 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18019 arg4
= static_cast< int >(val4
);
18020 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18021 if (!SWIG_IsOK(ecode5
)) {
18022 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18024 arg5
= static_cast< int >(val5
);
18025 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18026 if (!SWIG_IsOK(ecode6
)) {
18027 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18029 arg6
= static_cast< double >(val6
);
18030 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18031 if (!SWIG_IsOK(ecode7
)) {
18032 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18034 arg7
= static_cast< double >(val7
);
18036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18037 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18038 wxPyEndAllowThreads(__tstate
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18041 resultobj
= SWIG_Py_Void();
18048 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18049 PyObject
*resultobj
= 0;
18050 wxDC
*arg1
= (wxDC
*) 0 ;
18051 wxPoint
*arg2
= 0 ;
18063 PyObject
* obj0
= 0 ;
18064 PyObject
* obj1
= 0 ;
18065 PyObject
* obj2
= 0 ;
18066 PyObject
* obj3
= 0 ;
18067 PyObject
* obj4
= 0 ;
18068 char * kwnames
[] = {
18069 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18074 if (!SWIG_IsOK(res1
)) {
18075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18077 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18080 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18084 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18086 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18087 if (!SWIG_IsOK(ecode4
)) {
18088 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18090 arg4
= static_cast< double >(val4
);
18091 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18092 if (!SWIG_IsOK(ecode5
)) {
18093 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18095 arg5
= static_cast< double >(val5
);
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18099 wxPyEndAllowThreads(__tstate
);
18100 if (PyErr_Occurred()) SWIG_fail
;
18102 resultobj
= SWIG_Py_Void();
18109 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18110 PyObject
*resultobj
= 0;
18111 wxDC
*arg1
= (wxDC
*) 0 ;
18120 PyObject
* obj0
= 0 ;
18121 PyObject
* obj1
= 0 ;
18122 PyObject
* obj2
= 0 ;
18123 char * kwnames
[] = {
18124 (char *) "self",(char *) "x",(char *) "y", NULL
18127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18129 if (!SWIG_IsOK(res1
)) {
18130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18132 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18134 if (!SWIG_IsOK(ecode2
)) {
18135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18137 arg2
= static_cast< int >(val2
);
18138 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18139 if (!SWIG_IsOK(ecode3
)) {
18140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18142 arg3
= static_cast< int >(val3
);
18144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18145 (arg1
)->DrawPoint(arg2
,arg3
);
18146 wxPyEndAllowThreads(__tstate
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18149 resultobj
= SWIG_Py_Void();
18156 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18157 PyObject
*resultobj
= 0;
18158 wxDC
*arg1
= (wxDC
*) 0 ;
18159 wxPoint
*arg2
= 0 ;
18163 PyObject
* obj0
= 0 ;
18164 PyObject
* obj1
= 0 ;
18165 char * kwnames
[] = {
18166 (char *) "self",(char *) "pt", NULL
18169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18171 if (!SWIG_IsOK(res1
)) {
18172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18174 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18177 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18181 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18182 wxPyEndAllowThreads(__tstate
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18185 resultobj
= SWIG_Py_Void();
18192 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
= 0;
18194 wxDC
*arg1
= (wxDC
*) 0 ;
18209 PyObject
* obj0
= 0 ;
18210 PyObject
* obj1
= 0 ;
18211 PyObject
* obj2
= 0 ;
18212 PyObject
* obj3
= 0 ;
18213 PyObject
* obj4
= 0 ;
18214 char * kwnames
[] = {
18215 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18220 if (!SWIG_IsOK(res1
)) {
18221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18223 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18225 if (!SWIG_IsOK(ecode2
)) {
18226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18228 arg2
= static_cast< int >(val2
);
18229 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18230 if (!SWIG_IsOK(ecode3
)) {
18231 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18233 arg3
= static_cast< int >(val3
);
18234 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18235 if (!SWIG_IsOK(ecode4
)) {
18236 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18238 arg4
= static_cast< int >(val4
);
18239 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18240 if (!SWIG_IsOK(ecode5
)) {
18241 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18243 arg5
= static_cast< int >(val5
);
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18247 wxPyEndAllowThreads(__tstate
);
18248 if (PyErr_Occurred()) SWIG_fail
;
18250 resultobj
= SWIG_Py_Void();
18257 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18258 PyObject
*resultobj
= 0;
18259 wxDC
*arg1
= (wxDC
*) 0 ;
18264 PyObject
* obj0
= 0 ;
18265 PyObject
* obj1
= 0 ;
18266 char * kwnames
[] = {
18267 (char *) "self",(char *) "rect", NULL
18270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18272 if (!SWIG_IsOK(res1
)) {
18273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18275 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18278 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18282 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18283 wxPyEndAllowThreads(__tstate
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18286 resultobj
= SWIG_Py_Void();
18293 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18294 PyObject
*resultobj
= 0;
18295 wxDC
*arg1
= (wxDC
*) 0 ;
18296 wxPoint
*arg2
= 0 ;
18302 PyObject
* obj0
= 0 ;
18303 PyObject
* obj1
= 0 ;
18304 PyObject
* obj2
= 0 ;
18305 char * kwnames
[] = {
18306 (char *) "self",(char *) "pt",(char *) "sz", NULL
18309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18311 if (!SWIG_IsOK(res1
)) {
18312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18314 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18317 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18321 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18325 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18326 wxPyEndAllowThreads(__tstate
);
18327 if (PyErr_Occurred()) SWIG_fail
;
18329 resultobj
= SWIG_Py_Void();
18336 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18337 PyObject
*resultobj
= 0;
18338 wxDC
*arg1
= (wxDC
*) 0 ;
18356 PyObject
* obj0
= 0 ;
18357 PyObject
* obj1
= 0 ;
18358 PyObject
* obj2
= 0 ;
18359 PyObject
* obj3
= 0 ;
18360 PyObject
* obj4
= 0 ;
18361 PyObject
* obj5
= 0 ;
18362 char * kwnames
[] = {
18363 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18368 if (!SWIG_IsOK(res1
)) {
18369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18371 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18373 if (!SWIG_IsOK(ecode2
)) {
18374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18376 arg2
= static_cast< int >(val2
);
18377 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18378 if (!SWIG_IsOK(ecode3
)) {
18379 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18381 arg3
= static_cast< int >(val3
);
18382 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18383 if (!SWIG_IsOK(ecode4
)) {
18384 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18386 arg4
= static_cast< int >(val4
);
18387 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18388 if (!SWIG_IsOK(ecode5
)) {
18389 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18391 arg5
= static_cast< int >(val5
);
18392 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18393 if (!SWIG_IsOK(ecode6
)) {
18394 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18396 arg6
= static_cast< double >(val6
);
18398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18399 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18400 wxPyEndAllowThreads(__tstate
);
18401 if (PyErr_Occurred()) SWIG_fail
;
18403 resultobj
= SWIG_Py_Void();
18410 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18411 PyObject
*resultobj
= 0;
18412 wxDC
*arg1
= (wxDC
*) 0 ;
18420 PyObject
* obj0
= 0 ;
18421 PyObject
* obj1
= 0 ;
18422 PyObject
* obj2
= 0 ;
18423 char * kwnames
[] = {
18424 (char *) "self",(char *) "r",(char *) "radius", NULL
18427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18429 if (!SWIG_IsOK(res1
)) {
18430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18432 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18435 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18437 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18438 if (!SWIG_IsOK(ecode3
)) {
18439 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18441 arg3
= static_cast< double >(val3
);
18443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18444 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18445 wxPyEndAllowThreads(__tstate
);
18446 if (PyErr_Occurred()) SWIG_fail
;
18448 resultobj
= SWIG_Py_Void();
18455 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18456 PyObject
*resultobj
= 0;
18457 wxDC
*arg1
= (wxDC
*) 0 ;
18458 wxPoint
*arg2
= 0 ;
18467 PyObject
* obj0
= 0 ;
18468 PyObject
* obj1
= 0 ;
18469 PyObject
* obj2
= 0 ;
18470 PyObject
* obj3
= 0 ;
18471 char * kwnames
[] = {
18472 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18477 if (!SWIG_IsOK(res1
)) {
18478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18480 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18483 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18487 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18489 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18490 if (!SWIG_IsOK(ecode4
)) {
18491 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18493 arg4
= static_cast< double >(val4
);
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18497 wxPyEndAllowThreads(__tstate
);
18498 if (PyErr_Occurred()) SWIG_fail
;
18500 resultobj
= SWIG_Py_Void();
18507 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18508 PyObject
*resultobj
= 0;
18509 wxDC
*arg1
= (wxDC
*) 0 ;
18521 PyObject
* obj0
= 0 ;
18522 PyObject
* obj1
= 0 ;
18523 PyObject
* obj2
= 0 ;
18524 PyObject
* obj3
= 0 ;
18525 char * kwnames
[] = {
18526 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18531 if (!SWIG_IsOK(res1
)) {
18532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18534 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18536 if (!SWIG_IsOK(ecode2
)) {
18537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18539 arg2
= static_cast< int >(val2
);
18540 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18541 if (!SWIG_IsOK(ecode3
)) {
18542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18544 arg3
= static_cast< int >(val3
);
18545 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18546 if (!SWIG_IsOK(ecode4
)) {
18547 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18549 arg4
= static_cast< int >(val4
);
18551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18552 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18553 wxPyEndAllowThreads(__tstate
);
18554 if (PyErr_Occurred()) SWIG_fail
;
18556 resultobj
= SWIG_Py_Void();
18563 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18564 PyObject
*resultobj
= 0;
18565 wxDC
*arg1
= (wxDC
*) 0 ;
18566 wxPoint
*arg2
= 0 ;
18573 PyObject
* obj0
= 0 ;
18574 PyObject
* obj1
= 0 ;
18575 PyObject
* obj2
= 0 ;
18576 char * kwnames
[] = {
18577 (char *) "self",(char *) "pt",(char *) "radius", NULL
18580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18582 if (!SWIG_IsOK(res1
)) {
18583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18585 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18588 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18590 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18591 if (!SWIG_IsOK(ecode3
)) {
18592 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18594 arg3
= static_cast< int >(val3
);
18596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18597 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18598 wxPyEndAllowThreads(__tstate
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18601 resultobj
= SWIG_Py_Void();
18608 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18609 PyObject
*resultobj
= 0;
18610 wxDC
*arg1
= (wxDC
*) 0 ;
18625 PyObject
* obj0
= 0 ;
18626 PyObject
* obj1
= 0 ;
18627 PyObject
* obj2
= 0 ;
18628 PyObject
* obj3
= 0 ;
18629 PyObject
* obj4
= 0 ;
18630 char * kwnames
[] = {
18631 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18636 if (!SWIG_IsOK(res1
)) {
18637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18639 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18641 if (!SWIG_IsOK(ecode2
)) {
18642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18644 arg2
= static_cast< int >(val2
);
18645 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18646 if (!SWIG_IsOK(ecode3
)) {
18647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18649 arg3
= static_cast< int >(val3
);
18650 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18651 if (!SWIG_IsOK(ecode4
)) {
18652 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18654 arg4
= static_cast< int >(val4
);
18655 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18656 if (!SWIG_IsOK(ecode5
)) {
18657 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18659 arg5
= static_cast< int >(val5
);
18661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18662 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18663 wxPyEndAllowThreads(__tstate
);
18664 if (PyErr_Occurred()) SWIG_fail
;
18666 resultobj
= SWIG_Py_Void();
18673 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18674 PyObject
*resultobj
= 0;
18675 wxDC
*arg1
= (wxDC
*) 0 ;
18680 PyObject
* obj0
= 0 ;
18681 PyObject
* obj1
= 0 ;
18682 char * kwnames
[] = {
18683 (char *) "self",(char *) "rect", NULL
18686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18688 if (!SWIG_IsOK(res1
)) {
18689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
18691 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18694 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18698 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
18699 wxPyEndAllowThreads(__tstate
);
18700 if (PyErr_Occurred()) SWIG_fail
;
18702 resultobj
= SWIG_Py_Void();
18709 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18710 PyObject
*resultobj
= 0;
18711 wxDC
*arg1
= (wxDC
*) 0 ;
18712 wxPoint
*arg2
= 0 ;
18718 PyObject
* obj0
= 0 ;
18719 PyObject
* obj1
= 0 ;
18720 PyObject
* obj2
= 0 ;
18721 char * kwnames
[] = {
18722 (char *) "self",(char *) "pt",(char *) "sz", NULL
18725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18727 if (!SWIG_IsOK(res1
)) {
18728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18730 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18733 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18737 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18741 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18742 wxPyEndAllowThreads(__tstate
);
18743 if (PyErr_Occurred()) SWIG_fail
;
18745 resultobj
= SWIG_Py_Void();
18752 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18753 PyObject
*resultobj
= 0;
18754 wxDC
*arg1
= (wxDC
*) 0 ;
18766 PyObject
* obj0
= 0 ;
18767 PyObject
* obj1
= 0 ;
18768 PyObject
* obj2
= 0 ;
18769 PyObject
* obj3
= 0 ;
18770 char * kwnames
[] = {
18771 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
18774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18776 if (!SWIG_IsOK(res1
)) {
18777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
18779 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18780 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18781 if (!SWIG_IsOK(res2
)) {
18782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18787 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18788 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18789 if (!SWIG_IsOK(ecode3
)) {
18790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
18792 arg3
= static_cast< int >(val3
);
18793 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18794 if (!SWIG_IsOK(ecode4
)) {
18795 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
18797 arg4
= static_cast< int >(val4
);
18799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18800 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
18801 wxPyEndAllowThreads(__tstate
);
18802 if (PyErr_Occurred()) SWIG_fail
;
18804 resultobj
= SWIG_Py_Void();
18811 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18812 PyObject
*resultobj
= 0;
18813 wxDC
*arg1
= (wxDC
*) 0 ;
18815 wxPoint
*arg3
= 0 ;
18821 PyObject
* obj0
= 0 ;
18822 PyObject
* obj1
= 0 ;
18823 PyObject
* obj2
= 0 ;
18824 char * kwnames
[] = {
18825 (char *) "self",(char *) "icon",(char *) "pt", NULL
18828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18830 if (!SWIG_IsOK(res1
)) {
18831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18833 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18834 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18835 if (!SWIG_IsOK(res2
)) {
18836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18841 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18844 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18848 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
18849 wxPyEndAllowThreads(__tstate
);
18850 if (PyErr_Occurred()) SWIG_fail
;
18852 resultobj
= SWIG_Py_Void();
18859 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18860 PyObject
*resultobj
= 0;
18861 wxDC
*arg1
= (wxDC
*) 0 ;
18862 wxBitmap
*arg2
= 0 ;
18865 bool arg5
= (bool) false ;
18876 PyObject
* obj0
= 0 ;
18877 PyObject
* obj1
= 0 ;
18878 PyObject
* obj2
= 0 ;
18879 PyObject
* obj3
= 0 ;
18880 PyObject
* obj4
= 0 ;
18881 char * kwnames
[] = {
18882 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
18885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18887 if (!SWIG_IsOK(res1
)) {
18888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
18890 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18891 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18892 if (!SWIG_IsOK(res2
)) {
18893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18898 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18899 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18900 if (!SWIG_IsOK(ecode3
)) {
18901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
18903 arg3
= static_cast< int >(val3
);
18904 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18905 if (!SWIG_IsOK(ecode4
)) {
18906 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
18908 arg4
= static_cast< int >(val4
);
18910 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
18911 if (!SWIG_IsOK(ecode5
)) {
18912 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
18914 arg5
= static_cast< bool >(val5
);
18917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18918 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
18919 wxPyEndAllowThreads(__tstate
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18922 resultobj
= SWIG_Py_Void();
18929 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18930 PyObject
*resultobj
= 0;
18931 wxDC
*arg1
= (wxDC
*) 0 ;
18932 wxBitmap
*arg2
= 0 ;
18933 wxPoint
*arg3
= 0 ;
18934 bool arg4
= (bool) false ;
18942 PyObject
* obj0
= 0 ;
18943 PyObject
* obj1
= 0 ;
18944 PyObject
* obj2
= 0 ;
18945 PyObject
* obj3
= 0 ;
18946 char * kwnames
[] = {
18947 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
18950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18952 if (!SWIG_IsOK(res1
)) {
18953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18955 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18956 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18957 if (!SWIG_IsOK(res2
)) {
18958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18961 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18963 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18966 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18969 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18970 if (!SWIG_IsOK(ecode4
)) {
18971 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
18973 arg4
= static_cast< bool >(val4
);
18976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18977 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
18978 wxPyEndAllowThreads(__tstate
);
18979 if (PyErr_Occurred()) SWIG_fail
;
18981 resultobj
= SWIG_Py_Void();
18988 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18989 PyObject
*resultobj
= 0;
18990 wxDC
*arg1
= (wxDC
*) 0 ;
18991 wxString
*arg2
= 0 ;
18996 bool temp2
= false ;
19001 PyObject
* obj0
= 0 ;
19002 PyObject
* obj1
= 0 ;
19003 PyObject
* obj2
= 0 ;
19004 PyObject
* obj3
= 0 ;
19005 char * kwnames
[] = {
19006 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19011 if (!SWIG_IsOK(res1
)) {
19012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19014 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19016 arg2
= wxString_in_helper(obj1
);
19017 if (arg2
== NULL
) SWIG_fail
;
19020 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19021 if (!SWIG_IsOK(ecode3
)) {
19022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19024 arg3
= static_cast< int >(val3
);
19025 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19026 if (!SWIG_IsOK(ecode4
)) {
19027 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19029 arg4
= static_cast< int >(val4
);
19031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19032 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19033 wxPyEndAllowThreads(__tstate
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19036 resultobj
= SWIG_Py_Void();
19051 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19052 PyObject
*resultobj
= 0;
19053 wxDC
*arg1
= (wxDC
*) 0 ;
19054 wxString
*arg2
= 0 ;
19055 wxPoint
*arg3
= 0 ;
19058 bool temp2
= false ;
19060 PyObject
* obj0
= 0 ;
19061 PyObject
* obj1
= 0 ;
19062 PyObject
* obj2
= 0 ;
19063 char * kwnames
[] = {
19064 (char *) "self",(char *) "text",(char *) "pt", NULL
19067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19069 if (!SWIG_IsOK(res1
)) {
19070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19072 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19074 arg2
= wxString_in_helper(obj1
);
19075 if (arg2
== NULL
) SWIG_fail
;
19080 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19084 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19085 wxPyEndAllowThreads(__tstate
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19088 resultobj
= SWIG_Py_Void();
19103 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19104 PyObject
*resultobj
= 0;
19105 wxDC
*arg1
= (wxDC
*) 0 ;
19106 wxString
*arg2
= 0 ;
19112 bool temp2
= false ;
19119 PyObject
* obj0
= 0 ;
19120 PyObject
* obj1
= 0 ;
19121 PyObject
* obj2
= 0 ;
19122 PyObject
* obj3
= 0 ;
19123 PyObject
* obj4
= 0 ;
19124 char * kwnames
[] = {
19125 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19130 if (!SWIG_IsOK(res1
)) {
19131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19133 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19135 arg2
= wxString_in_helper(obj1
);
19136 if (arg2
== NULL
) SWIG_fail
;
19139 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19140 if (!SWIG_IsOK(ecode3
)) {
19141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19143 arg3
= static_cast< int >(val3
);
19144 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19145 if (!SWIG_IsOK(ecode4
)) {
19146 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19148 arg4
= static_cast< int >(val4
);
19149 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19150 if (!SWIG_IsOK(ecode5
)) {
19151 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19153 arg5
= static_cast< double >(val5
);
19155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19156 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19157 wxPyEndAllowThreads(__tstate
);
19158 if (PyErr_Occurred()) SWIG_fail
;
19160 resultobj
= SWIG_Py_Void();
19175 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19176 PyObject
*resultobj
= 0;
19177 wxDC
*arg1
= (wxDC
*) 0 ;
19178 wxString
*arg2
= 0 ;
19179 wxPoint
*arg3
= 0 ;
19183 bool temp2
= false ;
19187 PyObject
* obj0
= 0 ;
19188 PyObject
* obj1
= 0 ;
19189 PyObject
* obj2
= 0 ;
19190 PyObject
* obj3
= 0 ;
19191 char * kwnames
[] = {
19192 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19197 if (!SWIG_IsOK(res1
)) {
19198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19200 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19202 arg2
= wxString_in_helper(obj1
);
19203 if (arg2
== NULL
) SWIG_fail
;
19208 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19210 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19211 if (!SWIG_IsOK(ecode4
)) {
19212 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19214 arg4
= static_cast< double >(val4
);
19216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19217 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19218 wxPyEndAllowThreads(__tstate
);
19219 if (PyErr_Occurred()) SWIG_fail
;
19221 resultobj
= SWIG_Py_Void();
19236 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19237 PyObject
*resultobj
= 0;
19238 wxDC
*arg1
= (wxDC
*) 0 ;
19243 wxDC
*arg6
= (wxDC
*) 0 ;
19246 int arg9
= (int) wxCOPY
;
19247 bool arg10
= (bool) false ;
19248 int arg11
= (int) -1 ;
19249 int arg12
= (int) -1 ;
19275 PyObject
* obj0
= 0 ;
19276 PyObject
* obj1
= 0 ;
19277 PyObject
* obj2
= 0 ;
19278 PyObject
* obj3
= 0 ;
19279 PyObject
* obj4
= 0 ;
19280 PyObject
* obj5
= 0 ;
19281 PyObject
* obj6
= 0 ;
19282 PyObject
* obj7
= 0 ;
19283 PyObject
* obj8
= 0 ;
19284 PyObject
* obj9
= 0 ;
19285 PyObject
* obj10
= 0 ;
19286 PyObject
* obj11
= 0 ;
19287 char * kwnames
[] = {
19288 (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
19291 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
;
19292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19293 if (!SWIG_IsOK(res1
)) {
19294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19296 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19298 if (!SWIG_IsOK(ecode2
)) {
19299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19301 arg2
= static_cast< int >(val2
);
19302 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19303 if (!SWIG_IsOK(ecode3
)) {
19304 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19306 arg3
= static_cast< int >(val3
);
19307 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19308 if (!SWIG_IsOK(ecode4
)) {
19309 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19311 arg4
= static_cast< int >(val4
);
19312 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19313 if (!SWIG_IsOK(ecode5
)) {
19314 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19316 arg5
= static_cast< int >(val5
);
19317 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19318 if (!SWIG_IsOK(res6
)) {
19319 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19321 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19322 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19323 if (!SWIG_IsOK(ecode7
)) {
19324 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19326 arg7
= static_cast< int >(val7
);
19327 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19328 if (!SWIG_IsOK(ecode8
)) {
19329 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19331 arg8
= static_cast< int >(val8
);
19333 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19334 if (!SWIG_IsOK(ecode9
)) {
19335 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19337 arg9
= static_cast< int >(val9
);
19340 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19341 if (!SWIG_IsOK(ecode10
)) {
19342 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19344 arg10
= static_cast< bool >(val10
);
19347 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19348 if (!SWIG_IsOK(ecode11
)) {
19349 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19351 arg11
= static_cast< int >(val11
);
19354 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19355 if (!SWIG_IsOK(ecode12
)) {
19356 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19358 arg12
= static_cast< int >(val12
);
19361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19362 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19363 wxPyEndAllowThreads(__tstate
);
19364 if (PyErr_Occurred()) SWIG_fail
;
19367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19375 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19376 PyObject
*resultobj
= 0;
19377 wxDC
*arg1
= (wxDC
*) 0 ;
19378 wxPoint
*arg2
= 0 ;
19380 wxDC
*arg4
= (wxDC
*) 0 ;
19381 wxPoint
*arg5
= 0 ;
19382 int arg6
= (int) wxCOPY
;
19383 bool arg7
= (bool) false ;
19384 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19385 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19399 PyObject
* obj0
= 0 ;
19400 PyObject
* obj1
= 0 ;
19401 PyObject
* obj2
= 0 ;
19402 PyObject
* obj3
= 0 ;
19403 PyObject
* obj4
= 0 ;
19404 PyObject
* obj5
= 0 ;
19405 PyObject
* obj6
= 0 ;
19406 PyObject
* obj7
= 0 ;
19407 char * kwnames
[] = {
19408 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19413 if (!SWIG_IsOK(res1
)) {
19414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19416 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19419 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19423 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19425 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19426 if (!SWIG_IsOK(res4
)) {
19427 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19429 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19432 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19435 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19436 if (!SWIG_IsOK(ecode6
)) {
19437 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19439 arg6
= static_cast< int >(val6
);
19442 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19443 if (!SWIG_IsOK(ecode7
)) {
19444 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19446 arg7
= static_cast< bool >(val7
);
19451 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19456 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19457 wxPyEndAllowThreads(__tstate
);
19458 if (PyErr_Occurred()) SWIG_fail
;
19461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19469 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19470 PyObject
*resultobj
= 0;
19471 wxDC
*arg1
= (wxDC
*) 0 ;
19486 PyObject
* obj0
= 0 ;
19487 PyObject
* obj1
= 0 ;
19488 PyObject
* obj2
= 0 ;
19489 PyObject
* obj3
= 0 ;
19490 PyObject
* obj4
= 0 ;
19491 char * kwnames
[] = {
19492 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19497 if (!SWIG_IsOK(res1
)) {
19498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19500 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19502 if (!SWIG_IsOK(ecode2
)) {
19503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19505 arg2
= static_cast< int >(val2
);
19506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19507 if (!SWIG_IsOK(ecode3
)) {
19508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19510 arg3
= static_cast< int >(val3
);
19511 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19512 if (!SWIG_IsOK(ecode4
)) {
19513 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19515 arg4
= static_cast< int >(val4
);
19516 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19517 if (!SWIG_IsOK(ecode5
)) {
19518 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19520 arg5
= static_cast< int >(val5
);
19522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19523 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19524 wxPyEndAllowThreads(__tstate
);
19525 if (PyErr_Occurred()) SWIG_fail
;
19527 resultobj
= SWIG_Py_Void();
19534 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19535 PyObject
*resultobj
= 0;
19536 wxDC
*arg1
= (wxDC
*) 0 ;
19537 wxPoint
*arg2
= 0 ;
19543 PyObject
* obj0
= 0 ;
19544 PyObject
* obj1
= 0 ;
19545 PyObject
* obj2
= 0 ;
19546 char * kwnames
[] = {
19547 (char *) "self",(char *) "pt",(char *) "sz", NULL
19550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19552 if (!SWIG_IsOK(res1
)) {
19553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19555 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19558 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19562 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19566 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19567 wxPyEndAllowThreads(__tstate
);
19568 if (PyErr_Occurred()) SWIG_fail
;
19570 resultobj
= SWIG_Py_Void();
19577 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19578 PyObject
*resultobj
= 0;
19579 wxDC
*arg1
= (wxDC
*) 0 ;
19580 wxRegion
*arg2
= 0 ;
19585 PyObject
* obj0
= 0 ;
19586 PyObject
* obj1
= 0 ;
19587 char * kwnames
[] = {
19588 (char *) "self",(char *) "region", NULL
19591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19593 if (!SWIG_IsOK(res1
)) {
19594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19596 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19597 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19598 if (!SWIG_IsOK(res2
)) {
19599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19604 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19607 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19608 wxPyEndAllowThreads(__tstate
);
19609 if (PyErr_Occurred()) SWIG_fail
;
19611 resultobj
= SWIG_Py_Void();
19618 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19619 PyObject
*resultobj
= 0;
19620 wxDC
*arg1
= (wxDC
*) 0 ;
19625 PyObject
* obj0
= 0 ;
19626 PyObject
* obj1
= 0 ;
19627 char * kwnames
[] = {
19628 (char *) "self",(char *) "rect", NULL
19631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19633 if (!SWIG_IsOK(res1
)) {
19634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
19636 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19639 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19643 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
19644 wxPyEndAllowThreads(__tstate
);
19645 if (PyErr_Occurred()) SWIG_fail
;
19647 resultobj
= SWIG_Py_Void();
19654 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19655 PyObject
*resultobj
= 0;
19656 wxDC
*arg1
= (wxDC
*) 0 ;
19658 wxPoint
*arg3
= (wxPoint
*) 0 ;
19659 int arg4
= (int) 0 ;
19660 int arg5
= (int) 0 ;
19667 PyObject
* obj0
= 0 ;
19668 PyObject
* obj1
= 0 ;
19669 PyObject
* obj2
= 0 ;
19670 PyObject
* obj3
= 0 ;
19671 char * kwnames
[] = {
19672 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
19675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19677 if (!SWIG_IsOK(res1
)) {
19678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
19680 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19682 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19683 if (arg3
== NULL
) SWIG_fail
;
19686 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19687 if (!SWIG_IsOK(ecode4
)) {
19688 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
19690 arg4
= static_cast< int >(val4
);
19693 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19694 if (!SWIG_IsOK(ecode5
)) {
19695 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
19697 arg5
= static_cast< int >(val5
);
19700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19701 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
19702 wxPyEndAllowThreads(__tstate
);
19703 if (PyErr_Occurred()) SWIG_fail
;
19705 resultobj
= SWIG_Py_Void();
19707 if (arg3
) delete [] arg3
;
19712 if (arg3
) delete [] arg3
;
19718 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19719 PyObject
*resultobj
= 0;
19720 wxDC
*arg1
= (wxDC
*) 0 ;
19722 wxPoint
*arg3
= (wxPoint
*) 0 ;
19723 int arg4
= (int) 0 ;
19724 int arg5
= (int) 0 ;
19725 int arg6
= (int) wxODDEVEN_RULE
;
19734 PyObject
* obj0
= 0 ;
19735 PyObject
* obj1
= 0 ;
19736 PyObject
* obj2
= 0 ;
19737 PyObject
* obj3
= 0 ;
19738 PyObject
* obj4
= 0 ;
19739 char * kwnames
[] = {
19740 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
19743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19745 if (!SWIG_IsOK(res1
)) {
19746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
19748 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19750 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19751 if (arg3
== NULL
) SWIG_fail
;
19754 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19755 if (!SWIG_IsOK(ecode4
)) {
19756 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
19758 arg4
= static_cast< int >(val4
);
19761 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19762 if (!SWIG_IsOK(ecode5
)) {
19763 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
19765 arg5
= static_cast< int >(val5
);
19768 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
19769 if (!SWIG_IsOK(ecode6
)) {
19770 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
19772 arg6
= static_cast< int >(val6
);
19775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19776 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
19777 wxPyEndAllowThreads(__tstate
);
19778 if (PyErr_Occurred()) SWIG_fail
;
19780 resultobj
= SWIG_Py_Void();
19782 if (arg3
) delete [] arg3
;
19787 if (arg3
) delete [] arg3
;
19793 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19794 PyObject
*resultobj
= 0;
19795 wxDC
*arg1
= (wxDC
*) 0 ;
19796 wxString
*arg2
= 0 ;
19798 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19799 int arg5
= (int) -1 ;
19802 bool temp2
= false ;
19808 PyObject
* obj0
= 0 ;
19809 PyObject
* obj1
= 0 ;
19810 PyObject
* obj2
= 0 ;
19811 PyObject
* obj3
= 0 ;
19812 PyObject
* obj4
= 0 ;
19813 char * kwnames
[] = {
19814 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19819 if (!SWIG_IsOK(res1
)) {
19820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19822 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19824 arg2
= wxString_in_helper(obj1
);
19825 if (arg2
== NULL
) SWIG_fail
;
19830 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
19833 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19834 if (!SWIG_IsOK(ecode4
)) {
19835 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
19837 arg4
= static_cast< int >(val4
);
19840 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19841 if (!SWIG_IsOK(ecode5
)) {
19842 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
19844 arg5
= static_cast< int >(val5
);
19847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19848 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
19849 wxPyEndAllowThreads(__tstate
);
19850 if (PyErr_Occurred()) SWIG_fail
;
19852 resultobj
= SWIG_Py_Void();
19867 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19868 PyObject
*resultobj
= 0;
19869 wxDC
*arg1
= (wxDC
*) 0 ;
19870 wxString
*arg2
= 0 ;
19871 wxBitmap
*arg3
= 0 ;
19873 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19874 int arg6
= (int) -1 ;
19878 bool temp2
= false ;
19886 PyObject
* obj0
= 0 ;
19887 PyObject
* obj1
= 0 ;
19888 PyObject
* obj2
= 0 ;
19889 PyObject
* obj3
= 0 ;
19890 PyObject
* obj4
= 0 ;
19891 PyObject
* obj5
= 0 ;
19892 char * kwnames
[] = {
19893 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19898 if (!SWIG_IsOK(res1
)) {
19899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19901 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19903 arg2
= wxString_in_helper(obj1
);
19904 if (arg2
== NULL
) SWIG_fail
;
19907 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19908 if (!SWIG_IsOK(res3
)) {
19909 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19912 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19914 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
19917 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
19920 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19921 if (!SWIG_IsOK(ecode5
)) {
19922 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
19924 arg5
= static_cast< int >(val5
);
19927 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19928 if (!SWIG_IsOK(ecode6
)) {
19929 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
19931 arg6
= static_cast< int >(val6
);
19934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19935 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
19936 wxPyEndAllowThreads(__tstate
);
19937 if (PyErr_Occurred()) SWIG_fail
;
19939 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
19954 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19955 PyObject
*resultobj
= 0;
19956 wxDC
*arg1
= (wxDC
*) 0 ;
19958 wxPoint
*arg3
= (wxPoint
*) 0 ;
19961 PyObject
* obj0
= 0 ;
19962 PyObject
* obj1
= 0 ;
19963 char * kwnames
[] = {
19964 (char *) "self",(char *) "points", NULL
19967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19969 if (!SWIG_IsOK(res1
)) {
19970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
19972 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19974 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19975 if (arg3
== NULL
) SWIG_fail
;
19978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19979 (arg1
)->DrawSpline(arg2
,arg3
);
19980 wxPyEndAllowThreads(__tstate
);
19981 if (PyErr_Occurred()) SWIG_fail
;
19983 resultobj
= SWIG_Py_Void();
19985 if (arg3
) delete [] arg3
;
19990 if (arg3
) delete [] arg3
;
19996 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19997 PyObject
*resultobj
= 0;
19998 wxDC
*arg1
= (wxDC
*) 0 ;
20001 PyObject
*swig_obj
[1] ;
20003 if (!args
) SWIG_fail
;
20004 swig_obj
[0] = args
;
20005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20006 if (!SWIG_IsOK(res1
)) {
20007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20009 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20013 wxPyEndAllowThreads(__tstate
);
20014 if (PyErr_Occurred()) SWIG_fail
;
20016 resultobj
= SWIG_Py_Void();
20023 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20024 PyObject
*resultobj
= 0;
20025 wxDC
*arg1
= (wxDC
*) 0 ;
20026 wxString
*arg2
= 0 ;
20030 bool temp2
= false ;
20031 PyObject
* obj0
= 0 ;
20032 PyObject
* obj1
= 0 ;
20033 char * kwnames
[] = {
20034 (char *) "self",(char *) "message", NULL
20037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20039 if (!SWIG_IsOK(res1
)) {
20040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20042 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20044 arg2
= wxString_in_helper(obj1
);
20045 if (arg2
== NULL
) SWIG_fail
;
20049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20050 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20051 wxPyEndAllowThreads(__tstate
);
20052 if (PyErr_Occurred()) SWIG_fail
;
20055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20071 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20072 PyObject
*resultobj
= 0;
20073 wxDC
*arg1
= (wxDC
*) 0 ;
20076 PyObject
*swig_obj
[1] ;
20078 if (!args
) SWIG_fail
;
20079 swig_obj
[0] = args
;
20080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20081 if (!SWIG_IsOK(res1
)) {
20082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20084 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20088 wxPyEndAllowThreads(__tstate
);
20089 if (PyErr_Occurred()) SWIG_fail
;
20091 resultobj
= SWIG_Py_Void();
20098 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20099 PyObject
*resultobj
= 0;
20100 wxDC
*arg1
= (wxDC
*) 0 ;
20103 PyObject
*swig_obj
[1] ;
20105 if (!args
) SWIG_fail
;
20106 swig_obj
[0] = args
;
20107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20108 if (!SWIG_IsOK(res1
)) {
20109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20111 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20114 (arg1
)->StartPage();
20115 wxPyEndAllowThreads(__tstate
);
20116 if (PyErr_Occurred()) SWIG_fail
;
20118 resultobj
= SWIG_Py_Void();
20125 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20126 PyObject
*resultobj
= 0;
20127 wxDC
*arg1
= (wxDC
*) 0 ;
20130 PyObject
*swig_obj
[1] ;
20132 if (!args
) SWIG_fail
;
20133 swig_obj
[0] = args
;
20134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20135 if (!SWIG_IsOK(res1
)) {
20136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20138 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20142 wxPyEndAllowThreads(__tstate
);
20143 if (PyErr_Occurred()) SWIG_fail
;
20145 resultobj
= SWIG_Py_Void();
20152 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20153 PyObject
*resultobj
= 0;
20154 wxDC
*arg1
= (wxDC
*) 0 ;
20160 PyObject
* obj0
= 0 ;
20161 PyObject
* obj1
= 0 ;
20162 char * kwnames
[] = {
20163 (char *) "self",(char *) "font", NULL
20166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20168 if (!SWIG_IsOK(res1
)) {
20169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20171 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20172 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20173 if (!SWIG_IsOK(res2
)) {
20174 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20177 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20179 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20182 (arg1
)->SetFont((wxFont
const &)*arg2
);
20183 wxPyEndAllowThreads(__tstate
);
20184 if (PyErr_Occurred()) SWIG_fail
;
20186 resultobj
= SWIG_Py_Void();
20193 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20194 PyObject
*resultobj
= 0;
20195 wxDC
*arg1
= (wxDC
*) 0 ;
20201 PyObject
* obj0
= 0 ;
20202 PyObject
* obj1
= 0 ;
20203 char * kwnames
[] = {
20204 (char *) "self",(char *) "pen", NULL
20207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20209 if (!SWIG_IsOK(res1
)) {
20210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20212 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20213 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20214 if (!SWIG_IsOK(res2
)) {
20215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20220 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20223 (arg1
)->SetPen((wxPen
const &)*arg2
);
20224 wxPyEndAllowThreads(__tstate
);
20225 if (PyErr_Occurred()) SWIG_fail
;
20227 resultobj
= SWIG_Py_Void();
20234 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20235 PyObject
*resultobj
= 0;
20236 wxDC
*arg1
= (wxDC
*) 0 ;
20237 wxBrush
*arg2
= 0 ;
20242 PyObject
* obj0
= 0 ;
20243 PyObject
* obj1
= 0 ;
20244 char * kwnames
[] = {
20245 (char *) "self",(char *) "brush", NULL
20248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20250 if (!SWIG_IsOK(res1
)) {
20251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20253 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20254 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20255 if (!SWIG_IsOK(res2
)) {
20256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20259 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20261 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20264 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20265 wxPyEndAllowThreads(__tstate
);
20266 if (PyErr_Occurred()) SWIG_fail
;
20268 resultobj
= SWIG_Py_Void();
20275 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20276 PyObject
*resultobj
= 0;
20277 wxDC
*arg1
= (wxDC
*) 0 ;
20278 wxBrush
*arg2
= 0 ;
20283 PyObject
* obj0
= 0 ;
20284 PyObject
* obj1
= 0 ;
20285 char * kwnames
[] = {
20286 (char *) "self",(char *) "brush", NULL
20289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20291 if (!SWIG_IsOK(res1
)) {
20292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20294 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20295 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20296 if (!SWIG_IsOK(res2
)) {
20297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20300 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20302 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20305 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20306 wxPyEndAllowThreads(__tstate
);
20307 if (PyErr_Occurred()) SWIG_fail
;
20309 resultobj
= SWIG_Py_Void();
20316 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20317 PyObject
*resultobj
= 0;
20318 wxDC
*arg1
= (wxDC
*) 0 ;
20324 PyObject
* obj0
= 0 ;
20325 PyObject
* obj1
= 0 ;
20326 char * kwnames
[] = {
20327 (char *) "self",(char *) "mode", NULL
20330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20332 if (!SWIG_IsOK(res1
)) {
20333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20335 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20337 if (!SWIG_IsOK(ecode2
)) {
20338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20340 arg2
= static_cast< int >(val2
);
20342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20343 (arg1
)->SetBackgroundMode(arg2
);
20344 wxPyEndAllowThreads(__tstate
);
20345 if (PyErr_Occurred()) SWIG_fail
;
20347 resultobj
= SWIG_Py_Void();
20354 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20355 PyObject
*resultobj
= 0;
20356 wxDC
*arg1
= (wxDC
*) 0 ;
20357 wxPalette
*arg2
= 0 ;
20362 PyObject
* obj0
= 0 ;
20363 PyObject
* obj1
= 0 ;
20364 char * kwnames
[] = {
20365 (char *) "self",(char *) "palette", NULL
20368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20370 if (!SWIG_IsOK(res1
)) {
20371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20373 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20374 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20375 if (!SWIG_IsOK(res2
)) {
20376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20381 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20384 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20385 wxPyEndAllowThreads(__tstate
);
20386 if (PyErr_Occurred()) SWIG_fail
;
20388 resultobj
= SWIG_Py_Void();
20395 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20396 PyObject
*resultobj
= 0;
20397 wxDC
*arg1
= (wxDC
*) 0 ;
20400 PyObject
*swig_obj
[1] ;
20402 if (!args
) SWIG_fail
;
20403 swig_obj
[0] = args
;
20404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20405 if (!SWIG_IsOK(res1
)) {
20406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20408 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20411 (arg1
)->DestroyClippingRegion();
20412 wxPyEndAllowThreads(__tstate
);
20413 if (PyErr_Occurred()) SWIG_fail
;
20415 resultobj
= SWIG_Py_Void();
20422 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20423 PyObject
*resultobj
= 0;
20424 wxDC
*arg1
= (wxDC
*) 0 ;
20425 int *arg2
= (int *) 0 ;
20426 int *arg3
= (int *) 0 ;
20427 int *arg4
= (int *) 0 ;
20428 int *arg5
= (int *) 0 ;
20432 int res2
= SWIG_TMPOBJ
;
20434 int res3
= SWIG_TMPOBJ
;
20436 int res4
= SWIG_TMPOBJ
;
20438 int res5
= SWIG_TMPOBJ
;
20439 PyObject
*swig_obj
[1] ;
20445 if (!args
) SWIG_fail
;
20446 swig_obj
[0] = args
;
20447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20448 if (!SWIG_IsOK(res1
)) {
20449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20451 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20454 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20455 wxPyEndAllowThreads(__tstate
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20458 resultobj
= SWIG_Py_Void();
20459 if (SWIG_IsTmpObj(res2
)) {
20460 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20462 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20463 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20465 if (SWIG_IsTmpObj(res3
)) {
20466 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20468 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20469 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20471 if (SWIG_IsTmpObj(res4
)) {
20472 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20474 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20475 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20477 if (SWIG_IsTmpObj(res5
)) {
20478 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20480 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20481 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20489 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20490 PyObject
*resultobj
= 0;
20491 wxDC
*arg1
= (wxDC
*) 0 ;
20495 PyObject
*swig_obj
[1] ;
20497 if (!args
) SWIG_fail
;
20498 swig_obj
[0] = args
;
20499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20500 if (!SWIG_IsOK(res1
)) {
20501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20503 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20506 result
= wxDC_GetClippingRect(arg1
);
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20510 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20517 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20518 PyObject
*resultobj
= 0;
20519 wxDC
*arg1
= (wxDC
*) 0 ;
20523 PyObject
*swig_obj
[1] ;
20525 if (!args
) SWIG_fail
;
20526 swig_obj
[0] = args
;
20527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20528 if (!SWIG_IsOK(res1
)) {
20529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20531 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20534 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20538 resultobj
= SWIG_From_int(static_cast< int >(result
));
20545 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20546 PyObject
*resultobj
= 0;
20547 wxDC
*arg1
= (wxDC
*) 0 ;
20551 PyObject
*swig_obj
[1] ;
20553 if (!args
) SWIG_fail
;
20554 swig_obj
[0] = args
;
20555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20556 if (!SWIG_IsOK(res1
)) {
20557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20559 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20562 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20566 resultobj
= SWIG_From_int(static_cast< int >(result
));
20573 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20574 PyObject
*resultobj
= 0;
20575 wxDC
*arg1
= (wxDC
*) 0 ;
20576 wxString
*arg2
= 0 ;
20577 int *arg3
= (int *) 0 ;
20578 int *arg4
= (int *) 0 ;
20581 bool temp2
= false ;
20583 int res3
= SWIG_TMPOBJ
;
20585 int res4
= SWIG_TMPOBJ
;
20586 PyObject
* obj0
= 0 ;
20587 PyObject
* obj1
= 0 ;
20588 char * kwnames
[] = {
20589 (char *) "self",(char *) "string", NULL
20594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20596 if (!SWIG_IsOK(res1
)) {
20597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20599 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20601 arg2
= wxString_in_helper(obj1
);
20602 if (arg2
== NULL
) SWIG_fail
;
20606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20607 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20608 wxPyEndAllowThreads(__tstate
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20611 resultobj
= SWIG_Py_Void();
20612 if (SWIG_IsTmpObj(res3
)) {
20613 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20615 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20616 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20618 if (SWIG_IsTmpObj(res4
)) {
20619 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20621 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20622 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20638 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20639 PyObject
*resultobj
= 0;
20640 wxDC
*arg1
= (wxDC
*) 0 ;
20641 wxString
*arg2
= 0 ;
20642 int *arg3
= (int *) 0 ;
20643 int *arg4
= (int *) 0 ;
20644 int *arg5
= (int *) 0 ;
20645 int *arg6
= (int *) 0 ;
20646 wxFont
*arg7
= (wxFont
*) NULL
;
20649 bool temp2
= false ;
20651 int res3
= SWIG_TMPOBJ
;
20653 int res4
= SWIG_TMPOBJ
;
20655 int res5
= SWIG_TMPOBJ
;
20657 int res6
= SWIG_TMPOBJ
;
20660 PyObject
* obj0
= 0 ;
20661 PyObject
* obj1
= 0 ;
20662 PyObject
* obj2
= 0 ;
20663 char * kwnames
[] = {
20664 (char *) "self",(char *) "string",(char *) "font", NULL
20671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20673 if (!SWIG_IsOK(res1
)) {
20674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20676 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20678 arg2
= wxString_in_helper(obj1
);
20679 if (arg2
== NULL
) SWIG_fail
;
20683 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
20684 if (!SWIG_IsOK(res7
)) {
20685 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
20687 arg7
= reinterpret_cast< wxFont
* >(argp7
);
20690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20691 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20692 wxPyEndAllowThreads(__tstate
);
20693 if (PyErr_Occurred()) SWIG_fail
;
20695 resultobj
= SWIG_Py_Void();
20696 if (SWIG_IsTmpObj(res3
)) {
20697 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20699 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20700 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20702 if (SWIG_IsTmpObj(res4
)) {
20703 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20705 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20706 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20708 if (SWIG_IsTmpObj(res5
)) {
20709 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20711 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20712 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20714 if (SWIG_IsTmpObj(res6
)) {
20715 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
20717 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20718 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
20734 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20735 PyObject
*resultobj
= 0;
20736 wxDC
*arg1
= (wxDC
*) 0 ;
20737 wxString
*arg2
= 0 ;
20738 int *arg3
= (int *) 0 ;
20739 int *arg4
= (int *) 0 ;
20740 int *arg5
= (int *) 0 ;
20741 wxFont
*arg6
= (wxFont
*) NULL
;
20744 bool temp2
= false ;
20746 int res3
= SWIG_TMPOBJ
;
20748 int res4
= SWIG_TMPOBJ
;
20750 int res5
= SWIG_TMPOBJ
;
20753 PyObject
* obj0
= 0 ;
20754 PyObject
* obj1
= 0 ;
20755 PyObject
* obj2
= 0 ;
20756 char * kwnames
[] = {
20757 (char *) "self",(char *) "text",(char *) "font", NULL
20763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20765 if (!SWIG_IsOK(res1
)) {
20766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20768 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20770 arg2
= wxString_in_helper(obj1
);
20771 if (arg2
== NULL
) SWIG_fail
;
20775 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
20776 if (!SWIG_IsOK(res6
)) {
20777 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
20779 arg6
= reinterpret_cast< wxFont
* >(argp6
);
20782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20783 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
20784 wxPyEndAllowThreads(__tstate
);
20785 if (PyErr_Occurred()) SWIG_fail
;
20787 resultobj
= SWIG_Py_Void();
20788 if (SWIG_IsTmpObj(res3
)) {
20789 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20791 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20792 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20794 if (SWIG_IsTmpObj(res4
)) {
20795 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20797 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20798 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20800 if (SWIG_IsTmpObj(res5
)) {
20801 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20803 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20804 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20820 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20821 PyObject
*resultobj
= 0;
20822 wxDC
*arg1
= (wxDC
*) 0 ;
20823 wxString
*arg2
= 0 ;
20827 bool temp2
= false ;
20828 PyObject
* obj0
= 0 ;
20829 PyObject
* obj1
= 0 ;
20830 char * kwnames
[] = {
20831 (char *) "self",(char *) "text", NULL
20834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20836 if (!SWIG_IsOK(res1
)) {
20837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
20839 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20841 arg2
= wxString_in_helper(obj1
);
20842 if (arg2
== NULL
) SWIG_fail
;
20846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20847 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
20848 wxPyEndAllowThreads(__tstate
);
20849 if (PyErr_Occurred()) SWIG_fail
;
20852 resultobj
= PyList_New(0);
20854 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
20855 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
20856 PyList_Append(resultobj
, val
);
20874 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20875 PyObject
*resultobj
= 0;
20876 wxDC
*arg1
= (wxDC
*) 0 ;
20880 PyObject
*swig_obj
[1] ;
20882 if (!args
) SWIG_fail
;
20883 swig_obj
[0] = args
;
20884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20885 if (!SWIG_IsOK(res1
)) {
20886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
20888 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20891 result
= (arg1
)->GetSize();
20892 wxPyEndAllowThreads(__tstate
);
20893 if (PyErr_Occurred()) SWIG_fail
;
20895 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20902 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20903 PyObject
*resultobj
= 0;
20904 wxDC
*arg1
= (wxDC
*) 0 ;
20905 int *arg2
= (int *) 0 ;
20906 int *arg3
= (int *) 0 ;
20910 int res2
= SWIG_TMPOBJ
;
20912 int res3
= SWIG_TMPOBJ
;
20913 PyObject
*swig_obj
[1] ;
20917 if (!args
) SWIG_fail
;
20918 swig_obj
[0] = args
;
20919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20920 if (!SWIG_IsOK(res1
)) {
20921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
20923 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20926 (arg1
)->GetSize(arg2
,arg3
);
20927 wxPyEndAllowThreads(__tstate
);
20928 if (PyErr_Occurred()) SWIG_fail
;
20930 resultobj
= SWIG_Py_Void();
20931 if (SWIG_IsTmpObj(res2
)) {
20932 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20934 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20937 if (SWIG_IsTmpObj(res3
)) {
20938 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20940 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20941 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20949 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20950 PyObject
*resultobj
= 0;
20951 wxDC
*arg1
= (wxDC
*) 0 ;
20955 PyObject
*swig_obj
[1] ;
20957 if (!args
) SWIG_fail
;
20958 swig_obj
[0] = args
;
20959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20960 if (!SWIG_IsOK(res1
)) {
20961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
20963 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20966 result
= ((wxDC
const *)arg1
)->GetSizeMM();
20967 wxPyEndAllowThreads(__tstate
);
20968 if (PyErr_Occurred()) SWIG_fail
;
20970 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20977 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20978 PyObject
*resultobj
= 0;
20979 wxDC
*arg1
= (wxDC
*) 0 ;
20980 int *arg2
= (int *) 0 ;
20981 int *arg3
= (int *) 0 ;
20985 int res2
= SWIG_TMPOBJ
;
20987 int res3
= SWIG_TMPOBJ
;
20988 PyObject
*swig_obj
[1] ;
20992 if (!args
) SWIG_fail
;
20993 swig_obj
[0] = args
;
20994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20995 if (!SWIG_IsOK(res1
)) {
20996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20998 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21001 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21002 wxPyEndAllowThreads(__tstate
);
21003 if (PyErr_Occurred()) SWIG_fail
;
21005 resultobj
= SWIG_Py_Void();
21006 if (SWIG_IsTmpObj(res2
)) {
21007 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21009 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21010 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21012 if (SWIG_IsTmpObj(res3
)) {
21013 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21015 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21016 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21024 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21025 PyObject
*resultobj
= 0;
21026 wxDC
*arg1
= (wxDC
*) 0 ;
21033 PyObject
* obj0
= 0 ;
21034 PyObject
* obj1
= 0 ;
21035 char * kwnames
[] = {
21036 (char *) "self",(char *) "x", NULL
21039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21041 if (!SWIG_IsOK(res1
)) {
21042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21044 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21046 if (!SWIG_IsOK(ecode2
)) {
21047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21049 arg2
= static_cast< int >(val2
);
21051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21052 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21053 wxPyEndAllowThreads(__tstate
);
21054 if (PyErr_Occurred()) SWIG_fail
;
21056 resultobj
= SWIG_From_int(static_cast< int >(result
));
21063 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21064 PyObject
*resultobj
= 0;
21065 wxDC
*arg1
= (wxDC
*) 0 ;
21072 PyObject
* obj0
= 0 ;
21073 PyObject
* obj1
= 0 ;
21074 char * kwnames
[] = {
21075 (char *) "self",(char *) "y", NULL
21078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21080 if (!SWIG_IsOK(res1
)) {
21081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21083 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21085 if (!SWIG_IsOK(ecode2
)) {
21086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21088 arg2
= static_cast< int >(val2
);
21090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21091 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21092 wxPyEndAllowThreads(__tstate
);
21093 if (PyErr_Occurred()) SWIG_fail
;
21095 resultobj
= SWIG_From_int(static_cast< int >(result
));
21102 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21103 PyObject
*resultobj
= 0;
21104 wxDC
*arg1
= (wxDC
*) 0 ;
21111 PyObject
* obj0
= 0 ;
21112 PyObject
* obj1
= 0 ;
21113 char * kwnames
[] = {
21114 (char *) "self",(char *) "x", NULL
21117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21119 if (!SWIG_IsOK(res1
)) {
21120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21122 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21124 if (!SWIG_IsOK(ecode2
)) {
21125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21127 arg2
= static_cast< int >(val2
);
21129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21130 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21131 wxPyEndAllowThreads(__tstate
);
21132 if (PyErr_Occurred()) SWIG_fail
;
21134 resultobj
= SWIG_From_int(static_cast< int >(result
));
21141 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21142 PyObject
*resultobj
= 0;
21143 wxDC
*arg1
= (wxDC
*) 0 ;
21150 PyObject
* obj0
= 0 ;
21151 PyObject
* obj1
= 0 ;
21152 char * kwnames
[] = {
21153 (char *) "self",(char *) "y", NULL
21156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21158 if (!SWIG_IsOK(res1
)) {
21159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21161 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21163 if (!SWIG_IsOK(ecode2
)) {
21164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21166 arg2
= static_cast< int >(val2
);
21168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21169 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21170 wxPyEndAllowThreads(__tstate
);
21171 if (PyErr_Occurred()) SWIG_fail
;
21173 resultobj
= SWIG_From_int(static_cast< int >(result
));
21180 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21181 PyObject
*resultobj
= 0;
21182 wxDC
*arg1
= (wxDC
*) 0 ;
21189 PyObject
* obj0
= 0 ;
21190 PyObject
* obj1
= 0 ;
21191 char * kwnames
[] = {
21192 (char *) "self",(char *) "x", NULL
21195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21197 if (!SWIG_IsOK(res1
)) {
21198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21200 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21202 if (!SWIG_IsOK(ecode2
)) {
21203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21205 arg2
= static_cast< int >(val2
);
21207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21208 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21209 wxPyEndAllowThreads(__tstate
);
21210 if (PyErr_Occurred()) SWIG_fail
;
21212 resultobj
= SWIG_From_int(static_cast< int >(result
));
21219 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21220 PyObject
*resultobj
= 0;
21221 wxDC
*arg1
= (wxDC
*) 0 ;
21228 PyObject
* obj0
= 0 ;
21229 PyObject
* obj1
= 0 ;
21230 char * kwnames
[] = {
21231 (char *) "self",(char *) "y", NULL
21234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21236 if (!SWIG_IsOK(res1
)) {
21237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21239 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21241 if (!SWIG_IsOK(ecode2
)) {
21242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21244 arg2
= static_cast< int >(val2
);
21246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21247 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21248 wxPyEndAllowThreads(__tstate
);
21249 if (PyErr_Occurred()) SWIG_fail
;
21251 resultobj
= SWIG_From_int(static_cast< int >(result
));
21258 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21259 PyObject
*resultobj
= 0;
21260 wxDC
*arg1
= (wxDC
*) 0 ;
21267 PyObject
* obj0
= 0 ;
21268 PyObject
* obj1
= 0 ;
21269 char * kwnames
[] = {
21270 (char *) "self",(char *) "x", NULL
21273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21275 if (!SWIG_IsOK(res1
)) {
21276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21278 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21280 if (!SWIG_IsOK(ecode2
)) {
21281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21283 arg2
= static_cast< int >(val2
);
21285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21286 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21287 wxPyEndAllowThreads(__tstate
);
21288 if (PyErr_Occurred()) SWIG_fail
;
21290 resultobj
= SWIG_From_int(static_cast< int >(result
));
21297 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21298 PyObject
*resultobj
= 0;
21299 wxDC
*arg1
= (wxDC
*) 0 ;
21306 PyObject
* obj0
= 0 ;
21307 PyObject
* obj1
= 0 ;
21308 char * kwnames
[] = {
21309 (char *) "self",(char *) "y", NULL
21312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21314 if (!SWIG_IsOK(res1
)) {
21315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21317 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21319 if (!SWIG_IsOK(ecode2
)) {
21320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21322 arg2
= static_cast< int >(val2
);
21324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21325 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21326 wxPyEndAllowThreads(__tstate
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21329 resultobj
= SWIG_From_int(static_cast< int >(result
));
21336 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21337 PyObject
*resultobj
= 0;
21338 wxDC
*arg1
= (wxDC
*) 0 ;
21342 PyObject
*swig_obj
[1] ;
21344 if (!args
) SWIG_fail
;
21345 swig_obj
[0] = args
;
21346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21347 if (!SWIG_IsOK(res1
)) {
21348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21350 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21353 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21354 wxPyEndAllowThreads(__tstate
);
21355 if (PyErr_Occurred()) SWIG_fail
;
21358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21366 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21367 PyObject
*resultobj
= 0;
21368 wxDC
*arg1
= (wxDC
*) 0 ;
21372 PyObject
*swig_obj
[1] ;
21374 if (!args
) SWIG_fail
;
21375 swig_obj
[0] = args
;
21376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21377 if (!SWIG_IsOK(res1
)) {
21378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21380 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21383 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21384 wxPyEndAllowThreads(__tstate
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21396 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21397 PyObject
*resultobj
= 0;
21398 wxDC
*arg1
= (wxDC
*) 0 ;
21402 PyObject
*swig_obj
[1] ;
21404 if (!args
) SWIG_fail
;
21405 swig_obj
[0] = args
;
21406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21407 if (!SWIG_IsOK(res1
)) {
21408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21410 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21413 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21414 wxPyEndAllowThreads(__tstate
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21417 resultobj
= SWIG_From_int(static_cast< int >(result
));
21424 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21425 PyObject
*resultobj
= 0;
21426 wxDC
*arg1
= (wxDC
*) 0 ;
21430 PyObject
*swig_obj
[1] ;
21432 if (!args
) SWIG_fail
;
21433 swig_obj
[0] = args
;
21434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21435 if (!SWIG_IsOK(res1
)) {
21436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21438 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21441 result
= ((wxDC
const *)arg1
)->GetPPI();
21442 wxPyEndAllowThreads(__tstate
);
21443 if (PyErr_Occurred()) SWIG_fail
;
21445 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21452 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21453 PyObject
*resultobj
= 0;
21454 wxDC
*arg1
= (wxDC
*) 0 ;
21458 PyObject
*swig_obj
[1] ;
21460 if (!args
) SWIG_fail
;
21461 swig_obj
[0] = args
;
21462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21463 if (!SWIG_IsOK(res1
)) {
21464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
21466 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21469 result
= (bool)((wxDC
const *)arg1
)->Ok();
21470 wxPyEndAllowThreads(__tstate
);
21471 if (PyErr_Occurred()) SWIG_fail
;
21474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21482 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21483 PyObject
*resultobj
= 0;
21484 wxDC
*arg1
= (wxDC
*) 0 ;
21488 PyObject
*swig_obj
[1] ;
21490 if (!args
) SWIG_fail
;
21491 swig_obj
[0] = args
;
21492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21493 if (!SWIG_IsOK(res1
)) {
21494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21496 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21499 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21500 wxPyEndAllowThreads(__tstate
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21503 resultobj
= SWIG_From_int(static_cast< int >(result
));
21510 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21511 PyObject
*resultobj
= 0;
21512 wxDC
*arg1
= (wxDC
*) 0 ;
21513 wxBrush
*result
= 0 ;
21516 PyObject
*swig_obj
[1] ;
21518 if (!args
) SWIG_fail
;
21519 swig_obj
[0] = args
;
21520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21521 if (!SWIG_IsOK(res1
)) {
21522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21524 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21528 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21529 result
= (wxBrush
*) &_result_ref
;
21531 wxPyEndAllowThreads(__tstate
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21535 wxBrush
* resultptr
= new wxBrush(*result
);
21536 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21544 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21545 PyObject
*resultobj
= 0;
21546 wxDC
*arg1
= (wxDC
*) 0 ;
21547 wxBrush
*result
= 0 ;
21550 PyObject
*swig_obj
[1] ;
21552 if (!args
) SWIG_fail
;
21553 swig_obj
[0] = args
;
21554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21555 if (!SWIG_IsOK(res1
)) {
21556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21558 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21562 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21563 result
= (wxBrush
*) &_result_ref
;
21565 wxPyEndAllowThreads(__tstate
);
21566 if (PyErr_Occurred()) SWIG_fail
;
21569 wxBrush
* resultptr
= new wxBrush(*result
);
21570 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21578 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21579 PyObject
*resultobj
= 0;
21580 wxDC
*arg1
= (wxDC
*) 0 ;
21581 wxFont
*result
= 0 ;
21584 PyObject
*swig_obj
[1] ;
21586 if (!args
) SWIG_fail
;
21587 swig_obj
[0] = args
;
21588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21589 if (!SWIG_IsOK(res1
)) {
21590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21592 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21596 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21597 result
= (wxFont
*) &_result_ref
;
21599 wxPyEndAllowThreads(__tstate
);
21600 if (PyErr_Occurred()) SWIG_fail
;
21603 wxFont
* resultptr
= new wxFont(*result
);
21604 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21612 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21613 PyObject
*resultobj
= 0;
21614 wxDC
*arg1
= (wxDC
*) 0 ;
21615 wxPen
*result
= 0 ;
21618 PyObject
*swig_obj
[1] ;
21620 if (!args
) SWIG_fail
;
21621 swig_obj
[0] = args
;
21622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21623 if (!SWIG_IsOK(res1
)) {
21624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21626 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21630 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21631 result
= (wxPen
*) &_result_ref
;
21633 wxPyEndAllowThreads(__tstate
);
21634 if (PyErr_Occurred()) SWIG_fail
;
21637 wxPen
* resultptr
= new wxPen(*result
);
21638 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
21646 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21647 PyObject
*resultobj
= 0;
21648 wxDC
*arg1
= (wxDC
*) 0 ;
21649 wxColour
*result
= 0 ;
21652 PyObject
*swig_obj
[1] ;
21654 if (!args
) SWIG_fail
;
21655 swig_obj
[0] = args
;
21656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21657 if (!SWIG_IsOK(res1
)) {
21658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21660 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21664 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
21665 result
= (wxColour
*) &_result_ref
;
21667 wxPyEndAllowThreads(__tstate
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21677 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21678 PyObject
*resultobj
= 0;
21679 wxDC
*arg1
= (wxDC
*) 0 ;
21680 wxColour
*result
= 0 ;
21683 PyObject
*swig_obj
[1] ;
21685 if (!args
) SWIG_fail
;
21686 swig_obj
[0] = args
;
21687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21688 if (!SWIG_IsOK(res1
)) {
21689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
21691 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21695 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
21696 result
= (wxColour
*) &_result_ref
;
21698 wxPyEndAllowThreads(__tstate
);
21699 if (PyErr_Occurred()) SWIG_fail
;
21701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21708 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21709 PyObject
*resultobj
= 0;
21710 wxDC
*arg1
= (wxDC
*) 0 ;
21711 wxColour
*arg2
= 0 ;
21715 PyObject
* obj0
= 0 ;
21716 PyObject
* obj1
= 0 ;
21717 char * kwnames
[] = {
21718 (char *) "self",(char *) "colour", NULL
21721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21723 if (!SWIG_IsOK(res1
)) {
21724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
21726 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21729 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21733 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
21734 wxPyEndAllowThreads(__tstate
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21737 resultobj
= SWIG_Py_Void();
21744 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21745 PyObject
*resultobj
= 0;
21746 wxDC
*arg1
= (wxDC
*) 0 ;
21747 wxColour
*arg2
= 0 ;
21751 PyObject
* obj0
= 0 ;
21752 PyObject
* obj1
= 0 ;
21753 char * kwnames
[] = {
21754 (char *) "self",(char *) "colour", NULL
21757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21759 if (!SWIG_IsOK(res1
)) {
21760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21762 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21765 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21769 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
21770 wxPyEndAllowThreads(__tstate
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21773 resultobj
= SWIG_Py_Void();
21780 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21781 PyObject
*resultobj
= 0;
21782 wxDC
*arg1
= (wxDC
*) 0 ;
21786 PyObject
*swig_obj
[1] ;
21788 if (!args
) SWIG_fail
;
21789 swig_obj
[0] = args
;
21790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21791 if (!SWIG_IsOK(res1
)) {
21792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21794 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21797 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
21798 wxPyEndAllowThreads(__tstate
);
21799 if (PyErr_Occurred()) SWIG_fail
;
21801 resultobj
= SWIG_From_int(static_cast< int >(result
));
21808 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21809 PyObject
*resultobj
= 0;
21810 wxDC
*arg1
= (wxDC
*) 0 ;
21816 PyObject
* obj0
= 0 ;
21817 PyObject
* obj1
= 0 ;
21818 char * kwnames
[] = {
21819 (char *) "self",(char *) "mode", NULL
21822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21824 if (!SWIG_IsOK(res1
)) {
21825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
21827 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21829 if (!SWIG_IsOK(ecode2
)) {
21830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
21832 arg2
= static_cast< int >(val2
);
21834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21835 (arg1
)->SetMapMode(arg2
);
21836 wxPyEndAllowThreads(__tstate
);
21837 if (PyErr_Occurred()) SWIG_fail
;
21839 resultobj
= SWIG_Py_Void();
21846 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21847 PyObject
*resultobj
= 0;
21848 wxDC
*arg1
= (wxDC
*) 0 ;
21849 double *arg2
= (double *) 0 ;
21850 double *arg3
= (double *) 0 ;
21854 int res2
= SWIG_TMPOBJ
;
21856 int res3
= SWIG_TMPOBJ
;
21857 PyObject
*swig_obj
[1] ;
21861 if (!args
) SWIG_fail
;
21862 swig_obj
[0] = args
;
21863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21864 if (!SWIG_IsOK(res1
)) {
21865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
21867 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21870 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
21871 wxPyEndAllowThreads(__tstate
);
21872 if (PyErr_Occurred()) SWIG_fail
;
21874 resultobj
= SWIG_Py_Void();
21875 if (SWIG_IsTmpObj(res2
)) {
21876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21878 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21879 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21881 if (SWIG_IsTmpObj(res3
)) {
21882 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21884 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21885 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21893 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21894 PyObject
*resultobj
= 0;
21895 wxDC
*arg1
= (wxDC
*) 0 ;
21904 PyObject
* obj0
= 0 ;
21905 PyObject
* obj1
= 0 ;
21906 PyObject
* obj2
= 0 ;
21907 char * kwnames
[] = {
21908 (char *) "self",(char *) "x",(char *) "y", NULL
21911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21913 if (!SWIG_IsOK(res1
)) {
21914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
21916 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21917 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21918 if (!SWIG_IsOK(ecode2
)) {
21919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
21921 arg2
= static_cast< double >(val2
);
21922 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21923 if (!SWIG_IsOK(ecode3
)) {
21924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
21926 arg3
= static_cast< double >(val3
);
21928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21929 (arg1
)->SetUserScale(arg2
,arg3
);
21930 wxPyEndAllowThreads(__tstate
);
21931 if (PyErr_Occurred()) SWIG_fail
;
21933 resultobj
= SWIG_Py_Void();
21940 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21941 PyObject
*resultobj
= 0;
21942 wxDC
*arg1
= (wxDC
*) 0 ;
21943 double *arg2
= (double *) 0 ;
21944 double *arg3
= (double *) 0 ;
21948 int res2
= SWIG_TMPOBJ
;
21950 int res3
= SWIG_TMPOBJ
;
21951 PyObject
*swig_obj
[1] ;
21955 if (!args
) SWIG_fail
;
21956 swig_obj
[0] = args
;
21957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21958 if (!SWIG_IsOK(res1
)) {
21959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21961 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21964 (arg1
)->GetLogicalScale(arg2
,arg3
);
21965 wxPyEndAllowThreads(__tstate
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21968 resultobj
= SWIG_Py_Void();
21969 if (SWIG_IsTmpObj(res2
)) {
21970 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21972 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21973 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21975 if (SWIG_IsTmpObj(res3
)) {
21976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21978 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21979 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21987 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21988 PyObject
*resultobj
= 0;
21989 wxDC
*arg1
= (wxDC
*) 0 ;
21998 PyObject
* obj0
= 0 ;
21999 PyObject
* obj1
= 0 ;
22000 PyObject
* obj2
= 0 ;
22001 char * kwnames
[] = {
22002 (char *) "self",(char *) "x",(char *) "y", NULL
22005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22007 if (!SWIG_IsOK(res1
)) {
22008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22010 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22011 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22012 if (!SWIG_IsOK(ecode2
)) {
22013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22015 arg2
= static_cast< double >(val2
);
22016 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22017 if (!SWIG_IsOK(ecode3
)) {
22018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22020 arg3
= static_cast< double >(val3
);
22022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22023 (arg1
)->SetLogicalScale(arg2
,arg3
);
22024 wxPyEndAllowThreads(__tstate
);
22025 if (PyErr_Occurred()) SWIG_fail
;
22027 resultobj
= SWIG_Py_Void();
22034 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22035 PyObject
*resultobj
= 0;
22036 wxDC
*arg1
= (wxDC
*) 0 ;
22040 PyObject
*swig_obj
[1] ;
22042 if (!args
) SWIG_fail
;
22043 swig_obj
[0] = args
;
22044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22045 if (!SWIG_IsOK(res1
)) {
22046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22048 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22051 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22052 wxPyEndAllowThreads(__tstate
);
22053 if (PyErr_Occurred()) SWIG_fail
;
22055 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22062 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22063 PyObject
*resultobj
= 0;
22064 wxDC
*arg1
= (wxDC
*) 0 ;
22065 int *arg2
= (int *) 0 ;
22066 int *arg3
= (int *) 0 ;
22070 int res2
= SWIG_TMPOBJ
;
22072 int res3
= SWIG_TMPOBJ
;
22073 PyObject
*swig_obj
[1] ;
22077 if (!args
) SWIG_fail
;
22078 swig_obj
[0] = args
;
22079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22080 if (!SWIG_IsOK(res1
)) {
22081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22083 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22086 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22087 wxPyEndAllowThreads(__tstate
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22090 resultobj
= SWIG_Py_Void();
22091 if (SWIG_IsTmpObj(res2
)) {
22092 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22094 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22095 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22097 if (SWIG_IsTmpObj(res3
)) {
22098 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22100 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22101 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22109 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22110 PyObject
*resultobj
= 0;
22111 wxDC
*arg1
= (wxDC
*) 0 ;
22120 PyObject
* obj0
= 0 ;
22121 PyObject
* obj1
= 0 ;
22122 PyObject
* obj2
= 0 ;
22123 char * kwnames
[] = {
22124 (char *) "self",(char *) "x",(char *) "y", NULL
22127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22129 if (!SWIG_IsOK(res1
)) {
22130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22132 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22134 if (!SWIG_IsOK(ecode2
)) {
22135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22137 arg2
= static_cast< int >(val2
);
22138 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22139 if (!SWIG_IsOK(ecode3
)) {
22140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22142 arg3
= static_cast< int >(val3
);
22144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22145 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22146 wxPyEndAllowThreads(__tstate
);
22147 if (PyErr_Occurred()) SWIG_fail
;
22149 resultobj
= SWIG_Py_Void();
22156 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22157 PyObject
*resultobj
= 0;
22158 wxDC
*arg1
= (wxDC
*) 0 ;
22159 wxPoint
*arg2
= 0 ;
22163 PyObject
* obj0
= 0 ;
22164 PyObject
* obj1
= 0 ;
22165 char * kwnames
[] = {
22166 (char *) "self",(char *) "point", NULL
22169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22171 if (!SWIG_IsOK(res1
)) {
22172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22174 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22177 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22181 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22182 wxPyEndAllowThreads(__tstate
);
22183 if (PyErr_Occurred()) SWIG_fail
;
22185 resultobj
= SWIG_Py_Void();
22192 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22193 PyObject
*resultobj
= 0;
22194 wxDC
*arg1
= (wxDC
*) 0 ;
22198 PyObject
*swig_obj
[1] ;
22200 if (!args
) SWIG_fail
;
22201 swig_obj
[0] = args
;
22202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22203 if (!SWIG_IsOK(res1
)) {
22204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22206 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22209 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22213 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22220 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22221 PyObject
*resultobj
= 0;
22222 wxDC
*arg1
= (wxDC
*) 0 ;
22223 int *arg2
= (int *) 0 ;
22224 int *arg3
= (int *) 0 ;
22228 int res2
= SWIG_TMPOBJ
;
22230 int res3
= SWIG_TMPOBJ
;
22231 PyObject
*swig_obj
[1] ;
22235 if (!args
) SWIG_fail
;
22236 swig_obj
[0] = args
;
22237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22238 if (!SWIG_IsOK(res1
)) {
22239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22241 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22244 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22248 resultobj
= SWIG_Py_Void();
22249 if (SWIG_IsTmpObj(res2
)) {
22250 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22252 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22253 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22255 if (SWIG_IsTmpObj(res3
)) {
22256 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22258 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22259 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22267 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22268 PyObject
*resultobj
= 0;
22269 wxDC
*arg1
= (wxDC
*) 0 ;
22278 PyObject
* obj0
= 0 ;
22279 PyObject
* obj1
= 0 ;
22280 PyObject
* obj2
= 0 ;
22281 char * kwnames
[] = {
22282 (char *) "self",(char *) "x",(char *) "y", NULL
22285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22287 if (!SWIG_IsOK(res1
)) {
22288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22290 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22292 if (!SWIG_IsOK(ecode2
)) {
22293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22295 arg2
= static_cast< int >(val2
);
22296 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22297 if (!SWIG_IsOK(ecode3
)) {
22298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22300 arg3
= static_cast< int >(val3
);
22302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22303 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22304 wxPyEndAllowThreads(__tstate
);
22305 if (PyErr_Occurred()) SWIG_fail
;
22307 resultobj
= SWIG_Py_Void();
22314 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22315 PyObject
*resultobj
= 0;
22316 wxDC
*arg1
= (wxDC
*) 0 ;
22317 wxPoint
*arg2
= 0 ;
22321 PyObject
* obj0
= 0 ;
22322 PyObject
* obj1
= 0 ;
22323 char * kwnames
[] = {
22324 (char *) "self",(char *) "point", NULL
22327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22329 if (!SWIG_IsOK(res1
)) {
22330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22332 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22335 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22339 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22340 wxPyEndAllowThreads(__tstate
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22343 resultobj
= SWIG_Py_Void();
22350 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22351 PyObject
*resultobj
= 0;
22352 wxDC
*arg1
= (wxDC
*) 0 ;
22361 PyObject
* obj0
= 0 ;
22362 PyObject
* obj1
= 0 ;
22363 PyObject
* obj2
= 0 ;
22364 char * kwnames
[] = {
22365 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22370 if (!SWIG_IsOK(res1
)) {
22371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22373 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22374 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22375 if (!SWIG_IsOK(ecode2
)) {
22376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22378 arg2
= static_cast< bool >(val2
);
22379 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22380 if (!SWIG_IsOK(ecode3
)) {
22381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22383 arg3
= static_cast< bool >(val3
);
22385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22386 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22387 wxPyEndAllowThreads(__tstate
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22390 resultobj
= SWIG_Py_Void();
22397 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22398 PyObject
*resultobj
= 0;
22399 wxDC
*arg1
= (wxDC
*) 0 ;
22403 PyObject
*swig_obj
[1] ;
22405 if (!args
) SWIG_fail
;
22406 swig_obj
[0] = args
;
22407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22408 if (!SWIG_IsOK(res1
)) {
22409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22411 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22414 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22415 wxPyEndAllowThreads(__tstate
);
22416 if (PyErr_Occurred()) SWIG_fail
;
22418 resultobj
= SWIG_From_int(static_cast< int >(result
));
22425 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22426 PyObject
*resultobj
= 0;
22427 wxDC
*arg1
= (wxDC
*) 0 ;
22433 PyObject
* obj0
= 0 ;
22434 PyObject
* obj1
= 0 ;
22435 char * kwnames
[] = {
22436 (char *) "self",(char *) "function", NULL
22439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22441 if (!SWIG_IsOK(res1
)) {
22442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22444 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22446 if (!SWIG_IsOK(ecode2
)) {
22447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22449 arg2
= static_cast< int >(val2
);
22451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22452 (arg1
)->SetLogicalFunction(arg2
);
22453 wxPyEndAllowThreads(__tstate
);
22454 if (PyErr_Occurred()) SWIG_fail
;
22456 resultobj
= SWIG_Py_Void();
22463 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22464 PyObject
*resultobj
= 0;
22465 wxDC
*arg1
= (wxDC
*) 0 ;
22468 PyObject
*swig_obj
[1] ;
22470 if (!args
) SWIG_fail
;
22471 swig_obj
[0] = args
;
22472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22473 if (!SWIG_IsOK(res1
)) {
22474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22476 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22479 (arg1
)->ComputeScaleAndOrigin();
22480 wxPyEndAllowThreads(__tstate
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22483 resultobj
= SWIG_Py_Void();
22490 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22491 PyObject
*resultobj
= 0;
22492 wxDC
*arg1
= (wxDC
*) 0 ;
22501 PyObject
* obj0
= 0 ;
22502 PyObject
* obj1
= 0 ;
22503 PyObject
* obj2
= 0 ;
22504 char * kwnames
[] = {
22505 (char *) "self",(char *) "x",(char *) "y", NULL
22508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22510 if (!SWIG_IsOK(res1
)) {
22511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22513 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22515 if (!SWIG_IsOK(ecode2
)) {
22516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22518 arg2
= static_cast< int >(val2
);
22519 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22520 if (!SWIG_IsOK(ecode3
)) {
22521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22523 arg3
= static_cast< int >(val3
);
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22527 wxPyEndAllowThreads(__tstate
);
22528 if (PyErr_Occurred()) SWIG_fail
;
22530 resultobj
= SWIG_Py_Void();
22537 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22538 PyObject
*resultobj
= 0;
22539 wxDC
*arg1
= (wxDC
*) 0 ;
22540 wxPoint
*arg2
= 0 ;
22544 PyObject
* obj0
= 0 ;
22545 PyObject
* obj1
= 0 ;
22546 char * kwnames
[] = {
22547 (char *) "self",(char *) "point", NULL
22550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22552 if (!SWIG_IsOK(res1
)) {
22553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22555 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22558 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22562 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22563 wxPyEndAllowThreads(__tstate
);
22564 if (PyErr_Occurred()) SWIG_fail
;
22566 resultobj
= SWIG_Py_Void();
22573 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22574 PyObject
*resultobj
= 0;
22575 wxDC
*arg1
= (wxDC
*) 0 ;
22578 PyObject
*swig_obj
[1] ;
22580 if (!args
) SWIG_fail
;
22581 swig_obj
[0] = args
;
22582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22583 if (!SWIG_IsOK(res1
)) {
22584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22586 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22589 (arg1
)->ResetBoundingBox();
22590 wxPyEndAllowThreads(__tstate
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22593 resultobj
= SWIG_Py_Void();
22600 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22601 PyObject
*resultobj
= 0;
22602 wxDC
*arg1
= (wxDC
*) 0 ;
22606 PyObject
*swig_obj
[1] ;
22608 if (!args
) SWIG_fail
;
22609 swig_obj
[0] = args
;
22610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22611 if (!SWIG_IsOK(res1
)) {
22612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22614 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22617 result
= (int)((wxDC
const *)arg1
)->MinX();
22618 wxPyEndAllowThreads(__tstate
);
22619 if (PyErr_Occurred()) SWIG_fail
;
22621 resultobj
= SWIG_From_int(static_cast< int >(result
));
22628 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22629 PyObject
*resultobj
= 0;
22630 wxDC
*arg1
= (wxDC
*) 0 ;
22634 PyObject
*swig_obj
[1] ;
22636 if (!args
) SWIG_fail
;
22637 swig_obj
[0] = args
;
22638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22639 if (!SWIG_IsOK(res1
)) {
22640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
22642 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22645 result
= (int)((wxDC
const *)arg1
)->MaxX();
22646 wxPyEndAllowThreads(__tstate
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22649 resultobj
= SWIG_From_int(static_cast< int >(result
));
22656 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22657 PyObject
*resultobj
= 0;
22658 wxDC
*arg1
= (wxDC
*) 0 ;
22662 PyObject
*swig_obj
[1] ;
22664 if (!args
) SWIG_fail
;
22665 swig_obj
[0] = args
;
22666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22667 if (!SWIG_IsOK(res1
)) {
22668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
22670 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22673 result
= (int)((wxDC
const *)arg1
)->MinY();
22674 wxPyEndAllowThreads(__tstate
);
22675 if (PyErr_Occurred()) SWIG_fail
;
22677 resultobj
= SWIG_From_int(static_cast< int >(result
));
22684 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22685 PyObject
*resultobj
= 0;
22686 wxDC
*arg1
= (wxDC
*) 0 ;
22690 PyObject
*swig_obj
[1] ;
22692 if (!args
) SWIG_fail
;
22693 swig_obj
[0] = args
;
22694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22695 if (!SWIG_IsOK(res1
)) {
22696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
22698 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22701 result
= (int)((wxDC
const *)arg1
)->MaxY();
22702 wxPyEndAllowThreads(__tstate
);
22703 if (PyErr_Occurred()) SWIG_fail
;
22705 resultobj
= SWIG_From_int(static_cast< int >(result
));
22712 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22713 PyObject
*resultobj
= 0;
22714 wxDC
*arg1
= (wxDC
*) 0 ;
22715 int *arg2
= (int *) 0 ;
22716 int *arg3
= (int *) 0 ;
22717 int *arg4
= (int *) 0 ;
22718 int *arg5
= (int *) 0 ;
22722 int res2
= SWIG_TMPOBJ
;
22724 int res3
= SWIG_TMPOBJ
;
22726 int res4
= SWIG_TMPOBJ
;
22728 int res5
= SWIG_TMPOBJ
;
22729 PyObject
*swig_obj
[1] ;
22735 if (!args
) SWIG_fail
;
22736 swig_obj
[0] = args
;
22737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22738 if (!SWIG_IsOK(res1
)) {
22739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22741 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22744 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
22745 wxPyEndAllowThreads(__tstate
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22748 resultobj
= SWIG_Py_Void();
22749 if (SWIG_IsTmpObj(res2
)) {
22750 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22752 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22753 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22755 if (SWIG_IsTmpObj(res3
)) {
22756 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22758 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22759 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22761 if (SWIG_IsTmpObj(res4
)) {
22762 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22764 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22765 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22767 if (SWIG_IsTmpObj(res5
)) {
22768 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22770 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22771 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22779 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22780 PyObject
*resultobj
= 0;
22781 wxDC
*arg1
= (wxDC
*) 0 ;
22782 PyObject
*arg2
= (PyObject
*) 0 ;
22783 PyObject
*arg3
= (PyObject
*) 0 ;
22784 PyObject
*arg4
= (PyObject
*) 0 ;
22785 PyObject
*result
= 0 ;
22788 PyObject
* obj0
= 0 ;
22789 PyObject
* obj1
= 0 ;
22790 PyObject
* obj2
= 0 ;
22791 PyObject
* obj3
= 0 ;
22792 char * kwnames
[] = {
22793 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22798 if (!SWIG_IsOK(res1
)) {
22799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
22801 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
22808 wxPyEndAllowThreads(__tstate
);
22809 if (PyErr_Occurred()) SWIG_fail
;
22811 resultobj
= result
;
22818 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22819 PyObject
*resultobj
= 0;
22820 wxDC
*arg1
= (wxDC
*) 0 ;
22821 PyObject
*arg2
= (PyObject
*) 0 ;
22822 PyObject
*arg3
= (PyObject
*) 0 ;
22823 PyObject
*arg4
= (PyObject
*) 0 ;
22824 PyObject
*result
= 0 ;
22827 PyObject
* obj0
= 0 ;
22828 PyObject
* obj1
= 0 ;
22829 PyObject
* obj2
= 0 ;
22830 PyObject
* obj3
= 0 ;
22831 char * kwnames
[] = {
22832 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22837 if (!SWIG_IsOK(res1
)) {
22838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
22840 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22846 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
22847 wxPyEndAllowThreads(__tstate
);
22848 if (PyErr_Occurred()) SWIG_fail
;
22850 resultobj
= result
;
22857 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22858 PyObject
*resultobj
= 0;
22859 wxDC
*arg1
= (wxDC
*) 0 ;
22860 PyObject
*arg2
= (PyObject
*) 0 ;
22861 PyObject
*arg3
= (PyObject
*) 0 ;
22862 PyObject
*arg4
= (PyObject
*) 0 ;
22863 PyObject
*result
= 0 ;
22866 PyObject
* obj0
= 0 ;
22867 PyObject
* obj1
= 0 ;
22868 PyObject
* obj2
= 0 ;
22869 PyObject
* obj3
= 0 ;
22870 char * kwnames
[] = {
22871 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22876 if (!SWIG_IsOK(res1
)) {
22877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
22879 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22885 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
22886 wxPyEndAllowThreads(__tstate
);
22887 if (PyErr_Occurred()) SWIG_fail
;
22889 resultobj
= result
;
22896 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22897 PyObject
*resultobj
= 0;
22898 wxDC
*arg1
= (wxDC
*) 0 ;
22899 PyObject
*arg2
= (PyObject
*) 0 ;
22900 PyObject
*arg3
= (PyObject
*) 0 ;
22901 PyObject
*arg4
= (PyObject
*) 0 ;
22902 PyObject
*result
= 0 ;
22905 PyObject
* obj0
= 0 ;
22906 PyObject
* obj1
= 0 ;
22907 PyObject
* obj2
= 0 ;
22908 PyObject
* obj3
= 0 ;
22909 char * kwnames
[] = {
22910 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22915 if (!SWIG_IsOK(res1
)) {
22916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
22918 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22924 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
22925 wxPyEndAllowThreads(__tstate
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22928 resultobj
= result
;
22935 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22936 PyObject
*resultobj
= 0;
22937 wxDC
*arg1
= (wxDC
*) 0 ;
22938 PyObject
*arg2
= (PyObject
*) 0 ;
22939 PyObject
*arg3
= (PyObject
*) 0 ;
22940 PyObject
*arg4
= (PyObject
*) 0 ;
22941 PyObject
*result
= 0 ;
22944 PyObject
* obj0
= 0 ;
22945 PyObject
* obj1
= 0 ;
22946 PyObject
* obj2
= 0 ;
22947 PyObject
* obj3
= 0 ;
22948 char * kwnames
[] = {
22949 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22954 if (!SWIG_IsOK(res1
)) {
22955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
22957 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22963 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
22964 wxPyEndAllowThreads(__tstate
);
22965 if (PyErr_Occurred()) SWIG_fail
;
22967 resultobj
= result
;
22974 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22975 PyObject
*resultobj
= 0;
22976 wxDC
*arg1
= (wxDC
*) 0 ;
22977 PyObject
*arg2
= (PyObject
*) 0 ;
22978 PyObject
*arg3
= (PyObject
*) 0 ;
22979 PyObject
*arg4
= (PyObject
*) 0 ;
22980 PyObject
*arg5
= (PyObject
*) 0 ;
22981 PyObject
*result
= 0 ;
22984 PyObject
* obj0
= 0 ;
22985 PyObject
* obj1
= 0 ;
22986 PyObject
* obj2
= 0 ;
22987 PyObject
* obj3
= 0 ;
22988 PyObject
* obj4
= 0 ;
22989 char * kwnames
[] = {
22990 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
22993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22995 if (!SWIG_IsOK(res1
)) {
22996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
22998 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23005 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23006 wxPyEndAllowThreads(__tstate
);
23007 if (PyErr_Occurred()) SWIG_fail
;
23009 resultobj
= result
;
23016 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23018 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23019 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23020 return SWIG_Py_Void();
23023 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23024 PyObject
*resultobj
= 0;
23025 wxMemoryDC
*result
= 0 ;
23027 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
23029 if (!wxPyCheckForApp()) SWIG_fail
;
23030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23031 result
= (wxMemoryDC
*)new wxMemoryDC();
23032 wxPyEndAllowThreads(__tstate
);
23033 if (PyErr_Occurred()) SWIG_fail
;
23035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23042 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23043 PyObject
*resultobj
= 0;
23044 wxDC
*arg1
= (wxDC
*) 0 ;
23045 wxMemoryDC
*result
= 0 ;
23048 PyObject
* obj0
= 0 ;
23049 char * kwnames
[] = {
23050 (char *) "oldDC", NULL
23053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23055 if (!SWIG_IsOK(res1
)) {
23056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23058 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23060 if (!wxPyCheckForApp()) SWIG_fail
;
23061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23062 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23063 wxPyEndAllowThreads(__tstate
);
23064 if (PyErr_Occurred()) SWIG_fail
;
23066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23073 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23074 PyObject
*resultobj
= 0;
23075 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23076 wxBitmap
*arg2
= 0 ;
23081 PyObject
* obj0
= 0 ;
23082 PyObject
* obj1
= 0 ;
23083 char * kwnames
[] = {
23084 (char *) "self",(char *) "bitmap", NULL
23087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23089 if (!SWIG_IsOK(res1
)) {
23090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23092 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23093 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23094 if (!SWIG_IsOK(res2
)) {
23095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23098 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23100 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23103 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23104 wxPyEndAllowThreads(__tstate
);
23105 if (PyErr_Occurred()) SWIG_fail
;
23107 resultobj
= SWIG_Py_Void();
23114 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23116 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23117 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23118 return SWIG_Py_Void();
23121 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23122 return SWIG_Python_InitShadowInstance(args
);
23125 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23126 PyObject
*resultobj
= 0;
23127 wxDC
*arg1
= (wxDC
*) 0 ;
23128 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23129 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23130 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23131 wxBufferedDC
*result
= 0 ;
23139 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
23140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23141 if (!SWIG_IsOK(res1
)) {
23142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23144 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23146 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23147 if (!SWIG_IsOK(res2
)) {
23148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23153 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23156 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23157 if (!SWIG_IsOK(ecode3
)) {
23158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23160 arg3
= static_cast< int >(val3
);
23163 if (!wxPyCheckForApp()) SWIG_fail
;
23164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23165 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23166 wxPyEndAllowThreads(__tstate
);
23167 if (PyErr_Occurred()) SWIG_fail
;
23169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23176 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23177 PyObject
*resultobj
= 0;
23178 wxDC
*arg1
= (wxDC
*) 0 ;
23180 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23181 wxBufferedDC
*result
= 0 ;
23188 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
23189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23190 if (!SWIG_IsOK(res1
)) {
23191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23193 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23196 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23199 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23200 if (!SWIG_IsOK(ecode3
)) {
23201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23203 arg3
= static_cast< int >(val3
);
23206 if (!wxPyCheckForApp()) SWIG_fail
;
23207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23208 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
23209 wxPyEndAllowThreads(__tstate
);
23210 if (PyErr_Occurred()) SWIG_fail
;
23212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23219 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23223 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
23225 if ((argc
>= 1) && (argc
<= 3)) {
23229 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23230 _v
= SWIG_CheckState(res
);
23232 if (!_v
) goto check_1
;
23234 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23238 if ((argc
>= 2) && (argc
<= 3)) {
23239 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23243 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23248 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23249 PyObject
*resultobj
= 0;
23250 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23253 PyObject
*swig_obj
[1] ;
23255 if (!args
) SWIG_fail
;
23256 swig_obj
[0] = args
;
23257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23258 if (!SWIG_IsOK(res1
)) {
23259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23261 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23266 wxPyEndAllowThreads(__tstate
);
23267 if (PyErr_Occurred()) SWIG_fail
;
23269 resultobj
= SWIG_Py_Void();
23276 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23277 PyObject
*resultobj
= 0;
23278 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23281 PyObject
*swig_obj
[1] ;
23283 if (!args
) SWIG_fail
;
23284 swig_obj
[0] = args
;
23285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23286 if (!SWIG_IsOK(res1
)) {
23287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23289 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23293 wxPyEndAllowThreads(__tstate
);
23294 if (PyErr_Occurred()) SWIG_fail
;
23296 resultobj
= SWIG_Py_Void();
23303 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23305 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23306 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23307 return SWIG_Py_Void();
23310 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23311 return SWIG_Python_InitShadowInstance(args
);
23314 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23315 PyObject
*resultobj
= 0;
23316 wxWindow
*arg1
= (wxWindow
*) 0 ;
23317 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23318 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23319 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23320 wxBufferedPaintDC
*result
= 0 ;
23327 PyObject
* obj0
= 0 ;
23328 PyObject
* obj1
= 0 ;
23329 PyObject
* obj2
= 0 ;
23330 char * kwnames
[] = {
23331 (char *) "window",(char *) "buffer",(char *) "style", NULL
23334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23336 if (!SWIG_IsOK(res1
)) {
23337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23339 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23341 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23342 if (!SWIG_IsOK(res2
)) {
23343 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23348 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23351 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23352 if (!SWIG_IsOK(ecode3
)) {
23353 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
23355 arg3
= static_cast< int >(val3
);
23358 if (!wxPyCheckForApp()) SWIG_fail
;
23359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23360 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23361 wxPyEndAllowThreads(__tstate
);
23362 if (PyErr_Occurred()) SWIG_fail
;
23364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23371 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23373 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23374 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
23375 return SWIG_Py_Void();
23378 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23379 return SWIG_Python_InitShadowInstance(args
);
23382 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23383 PyObject
*resultobj
= 0;
23384 wxScreenDC
*result
= 0 ;
23386 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23388 if (!wxPyCheckForApp()) SWIG_fail
;
23389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23390 result
= (wxScreenDC
*)new wxScreenDC();
23391 wxPyEndAllowThreads(__tstate
);
23392 if (PyErr_Occurred()) SWIG_fail
;
23394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23401 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
= 0;
23403 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23404 wxWindow
*arg2
= (wxWindow
*) 0 ;
23410 PyObject
* obj0
= 0 ;
23411 PyObject
* obj1
= 0 ;
23412 char * kwnames
[] = {
23413 (char *) "self",(char *) "window", NULL
23416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23418 if (!SWIG_IsOK(res1
)) {
23419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23421 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23422 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23423 if (!SWIG_IsOK(res2
)) {
23424 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23426 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23429 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23430 wxPyEndAllowThreads(__tstate
);
23431 if (PyErr_Occurred()) SWIG_fail
;
23434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23442 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23443 PyObject
*resultobj
= 0;
23444 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23445 wxRect
*arg2
= (wxRect
*) NULL
;
23451 PyObject
* obj0
= 0 ;
23452 PyObject
* obj1
= 0 ;
23453 char * kwnames
[] = {
23454 (char *) "self",(char *) "rect", NULL
23457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23459 if (!SWIG_IsOK(res1
)) {
23460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23462 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23464 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23465 if (!SWIG_IsOK(res2
)) {
23466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23468 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23472 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23473 wxPyEndAllowThreads(__tstate
);
23474 if (PyErr_Occurred()) SWIG_fail
;
23477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23485 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23486 PyObject
*resultobj
= 0;
23487 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23491 PyObject
*swig_obj
[1] ;
23493 if (!args
) SWIG_fail
;
23494 swig_obj
[0] = args
;
23495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23496 if (!SWIG_IsOK(res1
)) {
23497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23499 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23502 result
= (bool)(arg1
)->EndDrawingOnTop();
23503 wxPyEndAllowThreads(__tstate
);
23504 if (PyErr_Occurred()) SWIG_fail
;
23507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23515 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23517 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23518 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
23519 return SWIG_Py_Void();
23522 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23523 return SWIG_Python_InitShadowInstance(args
);
23526 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23527 PyObject
*resultobj
= 0;
23528 wxWindow
*arg1
= (wxWindow
*) 0 ;
23529 wxWindowDC
*result
= 0 ;
23532 PyObject
* obj0
= 0 ;
23533 char * kwnames
[] = {
23534 (char *) "win", NULL
23537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
23538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23539 if (!SWIG_IsOK(res1
)) {
23540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23542 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23544 if (!wxPyCheckForApp()) SWIG_fail
;
23545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23546 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
23547 wxPyEndAllowThreads(__tstate
);
23548 if (PyErr_Occurred()) SWIG_fail
;
23550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
23557 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23559 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23560 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
23561 return SWIG_Py_Void();
23564 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23565 return SWIG_Python_InitShadowInstance(args
);
23568 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23569 PyObject
*resultobj
= 0;
23570 wxWindow
*arg1
= (wxWindow
*) 0 ;
23571 wxClientDC
*result
= 0 ;
23574 PyObject
* obj0
= 0 ;
23575 char * kwnames
[] = {
23576 (char *) "win", NULL
23579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
23580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23581 if (!SWIG_IsOK(res1
)) {
23582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23584 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23586 if (!wxPyCheckForApp()) SWIG_fail
;
23587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23588 result
= (wxClientDC
*)new wxClientDC(arg1
);
23589 wxPyEndAllowThreads(__tstate
);
23590 if (PyErr_Occurred()) SWIG_fail
;
23592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
23599 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23601 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23602 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
23603 return SWIG_Py_Void();
23606 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23607 return SWIG_Python_InitShadowInstance(args
);
23610 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23611 PyObject
*resultobj
= 0;
23612 wxWindow
*arg1
= (wxWindow
*) 0 ;
23613 wxPaintDC
*result
= 0 ;
23616 PyObject
* obj0
= 0 ;
23617 char * kwnames
[] = {
23618 (char *) "win", NULL
23621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
23622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23623 if (!SWIG_IsOK(res1
)) {
23624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23626 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23628 if (!wxPyCheckForApp()) SWIG_fail
;
23629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23630 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
23631 wxPyEndAllowThreads(__tstate
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23634 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
23641 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23643 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23644 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
23645 return SWIG_Py_Void();
23648 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23649 return SWIG_Python_InitShadowInstance(args
);
23652 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23653 PyObject
*resultobj
= 0;
23656 wxMirrorDC
*result
= 0 ;
23661 PyObject
* obj0
= 0 ;
23662 PyObject
* obj1
= 0 ;
23663 char * kwnames
[] = {
23664 (char *) "dc",(char *) "mirror", NULL
23667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23668 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23669 if (!SWIG_IsOK(res1
)) {
23670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23675 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23676 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23677 if (!SWIG_IsOK(ecode2
)) {
23678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
23680 arg2
= static_cast< bool >(val2
);
23682 if (!wxPyCheckForApp()) SWIG_fail
;
23683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23684 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
23685 wxPyEndAllowThreads(__tstate
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
23695 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23697 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23698 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
23699 return SWIG_Py_Void();
23702 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23703 return SWIG_Python_InitShadowInstance(args
);
23706 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23707 PyObject
*resultobj
= 0;
23708 wxPrintData
*arg1
= 0 ;
23709 wxPostScriptDC
*result
= 0 ;
23712 PyObject
* obj0
= 0 ;
23713 char * kwnames
[] = {
23714 (char *) "printData", NULL
23717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
23718 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23719 if (!SWIG_IsOK(res1
)) {
23720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23723 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23725 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23727 if (!wxPyCheckForApp()) SWIG_fail
;
23728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23729 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
23730 wxPyEndAllowThreads(__tstate
);
23731 if (PyErr_Occurred()) SWIG_fail
;
23733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
23740 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23741 PyObject
*resultobj
= 0;
23742 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23743 wxPrintData
*result
= 0 ;
23746 PyObject
*swig_obj
[1] ;
23748 if (!args
) SWIG_fail
;
23749 swig_obj
[0] = args
;
23750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23751 if (!SWIG_IsOK(res1
)) {
23752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23754 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23758 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23759 result
= (wxPrintData
*) &_result_ref
;
23761 wxPyEndAllowThreads(__tstate
);
23762 if (PyErr_Occurred()) SWIG_fail
;
23764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
23771 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23772 PyObject
*resultobj
= 0;
23773 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23774 wxPrintData
*arg2
= 0 ;
23779 PyObject
* obj0
= 0 ;
23780 PyObject
* obj1
= 0 ;
23781 char * kwnames
[] = {
23782 (char *) "self",(char *) "data", NULL
23785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23787 if (!SWIG_IsOK(res1
)) {
23788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23790 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23791 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23792 if (!SWIG_IsOK(res2
)) {
23793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23796 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23798 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
23800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23801 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23802 wxPyEndAllowThreads(__tstate
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23805 resultobj
= SWIG_Py_Void();
23812 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23813 PyObject
*resultobj
= 0;
23817 PyObject
* obj0
= 0 ;
23818 char * kwnames
[] = {
23819 (char *) "ppi", NULL
23822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
23823 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23824 if (!SWIG_IsOK(ecode1
)) {
23825 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
23827 arg1
= static_cast< int >(val1
);
23829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23830 wxPostScriptDC::SetResolution(arg1
);
23831 wxPyEndAllowThreads(__tstate
);
23832 if (PyErr_Occurred()) SWIG_fail
;
23834 resultobj
= SWIG_Py_Void();
23841 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23842 PyObject
*resultobj
= 0;
23845 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
23847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23848 result
= (int)wxPostScriptDC::GetResolution();
23849 wxPyEndAllowThreads(__tstate
);
23850 if (PyErr_Occurred()) SWIG_fail
;
23852 resultobj
= SWIG_From_int(static_cast< int >(result
));
23859 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23861 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23862 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
23863 return SWIG_Py_Void();
23866 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23867 return SWIG_Python_InitShadowInstance(args
);
23870 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23871 PyObject
*resultobj
= 0;
23872 wxString
const &arg1_defvalue
= wxPyEmptyString
;
23873 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
23874 wxMetaFile
*result
= 0 ;
23875 bool temp1
= false ;
23876 PyObject
* obj0
= 0 ;
23877 char * kwnames
[] = {
23878 (char *) "filename", NULL
23881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
23884 arg1
= wxString_in_helper(obj0
);
23885 if (arg1
== NULL
) SWIG_fail
;
23890 if (!wxPyCheckForApp()) SWIG_fail
;
23891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23892 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
23893 wxPyEndAllowThreads(__tstate
);
23894 if (PyErr_Occurred()) SWIG_fail
;
23896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
23911 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23913 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23914 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
23915 return SWIG_Py_Void();
23918 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23919 return SWIG_Python_InitShadowInstance(args
);
23922 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23923 PyObject
*resultobj
= 0;
23924 wxString
const &arg1_defvalue
= wxPyEmptyString
;
23925 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
23926 int arg2
= (int) 0 ;
23927 int arg3
= (int) 0 ;
23928 wxString
const &arg4_defvalue
= wxPyEmptyString
;
23929 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23930 wxMetaFileDC
*result
= 0 ;
23931 bool temp1
= false ;
23936 bool temp4
= false ;
23937 PyObject
* obj0
= 0 ;
23938 PyObject
* obj1
= 0 ;
23939 PyObject
* obj2
= 0 ;
23940 PyObject
* obj3
= 0 ;
23941 char * kwnames
[] = {
23942 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
23945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23948 arg1
= wxString_in_helper(obj0
);
23949 if (arg1
== NULL
) SWIG_fail
;
23954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23955 if (!SWIG_IsOK(ecode2
)) {
23956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
23958 arg2
= static_cast< int >(val2
);
23961 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23962 if (!SWIG_IsOK(ecode3
)) {
23963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
23965 arg3
= static_cast< int >(val3
);
23969 arg4
= wxString_in_helper(obj3
);
23970 if (arg4
== NULL
) SWIG_fail
;
23975 if (!wxPyCheckForApp()) SWIG_fail
;
23976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23977 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
23978 wxPyEndAllowThreads(__tstate
);
23979 if (PyErr_Occurred()) SWIG_fail
;
23981 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
24004 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24006 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24007 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
24008 return SWIG_Py_Void();
24011 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24012 return SWIG_Python_InitShadowInstance(args
);
24015 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24016 PyObject
*resultobj
= 0;
24017 wxPrintData
*arg1
= 0 ;
24018 wxPrinterDC
*result
= 0 ;
24021 PyObject
* obj0
= 0 ;
24022 char * kwnames
[] = {
24023 (char *) "printData", NULL
24026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
24027 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24028 if (!SWIG_IsOK(res1
)) {
24029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24032 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24034 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24036 if (!wxPyCheckForApp()) SWIG_fail
;
24037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24038 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
24039 wxPyEndAllowThreads(__tstate
);
24040 if (PyErr_Occurred()) SWIG_fail
;
24042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
24049 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24051 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24052 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
24053 return SWIG_Py_Void();
24056 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24057 return SWIG_Python_InitShadowInstance(args
);
24060 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24061 PyObject
*resultobj
= 0;
24062 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24065 PyObject
*swig_obj
[1] ;
24067 if (!args
) SWIG_fail
;
24068 swig_obj
[0] = args
;
24069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
24070 if (!SWIG_IsOK(res1
)) {
24071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24073 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24078 wxPyEndAllowThreads(__tstate
);
24079 if (PyErr_Occurred()) SWIG_fail
;
24081 resultobj
= SWIG_Py_Void();
24088 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24089 PyObject
*resultobj
= 0;
24090 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24099 PyObject
* obj0
= 0 ;
24100 PyObject
* obj1
= 0 ;
24101 PyObject
* obj2
= 0 ;
24102 char * kwnames
[] = {
24103 (char *) "self",(char *) "x",(char *) "y", NULL
24106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_MoveToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24108 if (!SWIG_IsOK(res1
)) {
24109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24111 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24112 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24113 if (!SWIG_IsOK(ecode2
)) {
24114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24116 arg2
= static_cast< wxDouble
>(val2
);
24117 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24118 if (!SWIG_IsOK(ecode3
)) {
24119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24121 arg3
= static_cast< wxDouble
>(val3
);
24123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24124 (arg1
)->MoveToPoint(arg2
,arg3
);
24125 wxPyEndAllowThreads(__tstate
);
24126 if (PyErr_Occurred()) SWIG_fail
;
24128 resultobj
= SWIG_Py_Void();
24135 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24136 PyObject
*resultobj
= 0;
24137 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24146 PyObject
* obj0
= 0 ;
24147 PyObject
* obj1
= 0 ;
24148 PyObject
* obj2
= 0 ;
24149 char * kwnames
[] = {
24150 (char *) "self",(char *) "x",(char *) "y", NULL
24153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_AddLineToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24155 if (!SWIG_IsOK(res1
)) {
24156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24158 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24159 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24160 if (!SWIG_IsOK(ecode2
)) {
24161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24163 arg2
= static_cast< wxDouble
>(val2
);
24164 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24165 if (!SWIG_IsOK(ecode3
)) {
24166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24168 arg3
= static_cast< wxDouble
>(val3
);
24170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24171 (arg1
)->AddLineToPoint(arg2
,arg3
);
24172 wxPyEndAllowThreads(__tstate
);
24173 if (PyErr_Occurred()) SWIG_fail
;
24175 resultobj
= SWIG_Py_Void();
24182 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24183 PyObject
*resultobj
= 0;
24184 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24205 PyObject
* obj0
= 0 ;
24206 PyObject
* obj1
= 0 ;
24207 PyObject
* obj2
= 0 ;
24208 PyObject
* obj3
= 0 ;
24209 PyObject
* obj4
= 0 ;
24210 PyObject
* obj5
= 0 ;
24211 PyObject
* obj6
= 0 ;
24212 char * kwnames
[] = {
24213 (char *) "self",(char *) "cx1",(char *) "cy1",(char *) "cx2",(char *) "cy2",(char *) "x",(char *) "y", NULL
24216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24218 if (!SWIG_IsOK(res1
)) {
24219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24221 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24222 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24223 if (!SWIG_IsOK(ecode2
)) {
24224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24226 arg2
= static_cast< wxDouble
>(val2
);
24227 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24228 if (!SWIG_IsOK(ecode3
)) {
24229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24231 arg3
= static_cast< wxDouble
>(val3
);
24232 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24233 if (!SWIG_IsOK(ecode4
)) {
24234 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24236 arg4
= static_cast< wxDouble
>(val4
);
24237 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24238 if (!SWIG_IsOK(ecode5
)) {
24239 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24241 arg5
= static_cast< wxDouble
>(val5
);
24242 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24243 if (!SWIG_IsOK(ecode6
)) {
24244 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
24246 arg6
= static_cast< wxDouble
>(val6
);
24247 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
24248 if (!SWIG_IsOK(ecode7
)) {
24249 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
24251 arg7
= static_cast< wxDouble
>(val7
);
24253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24254 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24255 wxPyEndAllowThreads(__tstate
);
24256 if (PyErr_Occurred()) SWIG_fail
;
24258 resultobj
= SWIG_Py_Void();
24265 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24266 PyObject
*resultobj
= 0;
24267 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24270 PyObject
*swig_obj
[1] ;
24272 if (!args
) SWIG_fail
;
24273 swig_obj
[0] = args
;
24274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24275 if (!SWIG_IsOK(res1
)) {
24276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24278 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24281 (arg1
)->CloseSubpath();
24282 wxPyEndAllowThreads(__tstate
);
24283 if (PyErr_Occurred()) SWIG_fail
;
24285 resultobj
= SWIG_Py_Void();
24292 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24293 PyObject
*resultobj
= 0;
24294 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24298 PyObject
*swig_obj
[1] ;
24300 if (!args
) SWIG_fail
;
24301 swig_obj
[0] = args
;
24302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24303 if (!SWIG_IsOK(res1
)) {
24304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24306 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24309 result
= (arg1
)->GetCurrentPoint();
24310 wxPyEndAllowThreads(__tstate
);
24311 if (PyErr_Occurred()) SWIG_fail
;
24313 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
24320 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24321 PyObject
*resultobj
= 0;
24322 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24343 PyObject
* obj0
= 0 ;
24344 PyObject
* obj1
= 0 ;
24345 PyObject
* obj2
= 0 ;
24346 PyObject
* obj3
= 0 ;
24347 PyObject
* obj4
= 0 ;
24348 PyObject
* obj5
= 0 ;
24349 PyObject
* obj6
= 0 ;
24350 char * kwnames
[] = {
24351 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "startAngle",(char *) "endAngle",(char *) "clockwise", NULL
24354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24356 if (!SWIG_IsOK(res1
)) {
24357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24359 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24360 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24361 if (!SWIG_IsOK(ecode2
)) {
24362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
24364 arg2
= static_cast< wxDouble
>(val2
);
24365 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24366 if (!SWIG_IsOK(ecode3
)) {
24367 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
24369 arg3
= static_cast< wxDouble
>(val3
);
24370 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24371 if (!SWIG_IsOK(ecode4
)) {
24372 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
24374 arg4
= static_cast< wxDouble
>(val4
);
24375 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24376 if (!SWIG_IsOK(ecode5
)) {
24377 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
24379 arg5
= static_cast< wxDouble
>(val5
);
24380 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24381 if (!SWIG_IsOK(ecode6
)) {
24382 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
24384 arg6
= static_cast< wxDouble
>(val6
);
24385 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
24386 if (!SWIG_IsOK(ecode7
)) {
24387 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
24389 arg7
= static_cast< bool >(val7
);
24391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24392 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24393 wxPyEndAllowThreads(__tstate
);
24394 if (PyErr_Occurred()) SWIG_fail
;
24396 resultobj
= SWIG_Py_Void();
24403 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24404 PyObject
*resultobj
= 0;
24405 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24420 PyObject
* obj0
= 0 ;
24421 PyObject
* obj1
= 0 ;
24422 PyObject
* obj2
= 0 ;
24423 PyObject
* obj3
= 0 ;
24424 PyObject
* obj4
= 0 ;
24425 char * kwnames
[] = {
24426 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
24429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24431 if (!SWIG_IsOK(res1
)) {
24432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24434 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24435 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24436 if (!SWIG_IsOK(ecode2
)) {
24437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24439 arg2
= static_cast< wxDouble
>(val2
);
24440 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24441 if (!SWIG_IsOK(ecode3
)) {
24442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24444 arg3
= static_cast< wxDouble
>(val3
);
24445 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24446 if (!SWIG_IsOK(ecode4
)) {
24447 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24449 arg4
= static_cast< wxDouble
>(val4
);
24450 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24451 if (!SWIG_IsOK(ecode5
)) {
24452 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24454 arg5
= static_cast< wxDouble
>(val5
);
24456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24457 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
24458 wxPyEndAllowThreads(__tstate
);
24459 if (PyErr_Occurred()) SWIG_fail
;
24461 resultobj
= SWIG_Py_Void();
24468 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24469 PyObject
*resultobj
= 0;
24470 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24485 PyObject
* obj0
= 0 ;
24486 PyObject
* obj1
= 0 ;
24487 PyObject
* obj2
= 0 ;
24488 PyObject
* obj3
= 0 ;
24489 PyObject
* obj4
= 0 ;
24490 char * kwnames
[] = {
24491 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24496 if (!SWIG_IsOK(res1
)) {
24497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24499 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24500 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24501 if (!SWIG_IsOK(ecode2
)) {
24502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
24504 arg2
= static_cast< wxDouble
>(val2
);
24505 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24506 if (!SWIG_IsOK(ecode3
)) {
24507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
24509 arg3
= static_cast< wxDouble
>(val3
);
24510 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24511 if (!SWIG_IsOK(ecode4
)) {
24512 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
24514 arg4
= static_cast< wxDouble
>(val4
);
24515 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24516 if (!SWIG_IsOK(ecode5
)) {
24517 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
24519 arg5
= static_cast< wxDouble
>(val5
);
24521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24522 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
24523 wxPyEndAllowThreads(__tstate
);
24524 if (PyErr_Occurred()) SWIG_fail
;
24526 resultobj
= SWIG_Py_Void();
24533 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24534 PyObject
*resultobj
= 0;
24535 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24547 PyObject
* obj0
= 0 ;
24548 PyObject
* obj1
= 0 ;
24549 PyObject
* obj2
= 0 ;
24550 PyObject
* obj3
= 0 ;
24551 char * kwnames
[] = {
24552 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
24555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24557 if (!SWIG_IsOK(res1
)) {
24558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24560 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24561 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24562 if (!SWIG_IsOK(ecode2
)) {
24563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
24565 arg2
= static_cast< wxDouble
>(val2
);
24566 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24567 if (!SWIG_IsOK(ecode3
)) {
24568 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
24570 arg3
= static_cast< wxDouble
>(val3
);
24571 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24572 if (!SWIG_IsOK(ecode4
)) {
24573 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
24575 arg4
= static_cast< wxDouble
>(val4
);
24577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24578 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
24579 wxPyEndAllowThreads(__tstate
);
24580 if (PyErr_Occurred()) SWIG_fail
;
24582 resultobj
= SWIG_Py_Void();
24589 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24590 PyObject
*resultobj
= 0;
24591 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24609 PyObject
* obj0
= 0 ;
24610 PyObject
* obj1
= 0 ;
24611 PyObject
* obj2
= 0 ;
24612 PyObject
* obj3
= 0 ;
24613 PyObject
* obj4
= 0 ;
24614 PyObject
* obj5
= 0 ;
24615 char * kwnames
[] = {
24616 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
24619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24621 if (!SWIG_IsOK(res1
)) {
24622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24624 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24625 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24626 if (!SWIG_IsOK(ecode2
)) {
24627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24629 arg2
= static_cast< wxDouble
>(val2
);
24630 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24631 if (!SWIG_IsOK(ecode3
)) {
24632 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24634 arg3
= static_cast< wxDouble
>(val3
);
24635 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24636 if (!SWIG_IsOK(ecode4
)) {
24637 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24639 arg4
= static_cast< wxDouble
>(val4
);
24640 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24641 if (!SWIG_IsOK(ecode5
)) {
24642 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24644 arg5
= static_cast< wxDouble
>(val5
);
24645 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24646 if (!SWIG_IsOK(ecode6
)) {
24647 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
24649 arg6
= static_cast< wxDouble
>(val6
);
24651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24652 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
24653 wxPyEndAllowThreads(__tstate
);
24654 if (PyErr_Occurred()) SWIG_fail
;
24656 resultobj
= SWIG_Py_Void();
24663 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24665 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24666 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
24667 return SWIG_Py_Void();
24670 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24671 PyObject
*resultobj
= 0;
24672 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24675 PyObject
*swig_obj
[1] ;
24677 if (!args
) SWIG_fail
;
24678 swig_obj
[0] = args
;
24679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
24680 if (!SWIG_IsOK(res1
)) {
24681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24683 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24688 wxPyEndAllowThreads(__tstate
);
24689 if (PyErr_Occurred()) SWIG_fail
;
24691 resultobj
= SWIG_Py_Void();
24698 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24699 PyObject
*resultobj
= 0;
24700 wxWindowDC
*arg1
= 0 ;
24701 wxGraphicsContext
*result
= 0 ;
24704 PyObject
* obj0
= 0 ;
24705 char * kwnames
[] = {
24706 (char *) "dc", NULL
24709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_Create",kwnames
,&obj0
)) SWIG_fail
;
24710 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
24711 if (!SWIG_IsOK(res1
)) {
24712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
24715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
24717 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
24719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24720 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
24721 wxPyEndAllowThreads(__tstate
);
24722 if (PyErr_Occurred()) SWIG_fail
;
24724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24731 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24732 PyObject
*resultobj
= 0;
24733 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24734 wxGraphicsPath
*result
= 0 ;
24737 PyObject
*swig_obj
[1] ;
24739 if (!args
) SWIG_fail
;
24740 swig_obj
[0] = args
;
24741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24742 if (!SWIG_IsOK(res1
)) {
24743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24745 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24748 result
= (wxGraphicsPath
*)(arg1
)->CreatePath();
24749 wxPyEndAllowThreads(__tstate
);
24750 if (PyErr_Occurred()) SWIG_fail
;
24752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24759 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24760 PyObject
*resultobj
= 0;
24761 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24764 PyObject
*swig_obj
[1] ;
24766 if (!args
) SWIG_fail
;
24767 swig_obj
[0] = args
;
24768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24769 if (!SWIG_IsOK(res1
)) {
24770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24772 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24775 (arg1
)->PushState();
24776 wxPyEndAllowThreads(__tstate
);
24777 if (PyErr_Occurred()) SWIG_fail
;
24779 resultobj
= SWIG_Py_Void();
24786 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24787 PyObject
*resultobj
= 0;
24788 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24791 PyObject
*swig_obj
[1] ;
24793 if (!args
) SWIG_fail
;
24794 swig_obj
[0] = args
;
24795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24796 if (!SWIG_IsOK(res1
)) {
24797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24799 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24802 (arg1
)->PopState();
24803 wxPyEndAllowThreads(__tstate
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24806 resultobj
= SWIG_Py_Void();
24813 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24814 PyObject
*resultobj
= 0;
24815 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24816 wxRegion
*arg2
= 0 ;
24821 PyObject
* obj0
= 0 ;
24822 PyObject
* obj1
= 0 ;
24823 char * kwnames
[] = {
24824 (char *) "self",(char *) "region", NULL
24827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24829 if (!SWIG_IsOK(res1
)) {
24830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24832 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24833 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24834 if (!SWIG_IsOK(res2
)) {
24835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxRegion const &""'");
24838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxRegion const &""'");
24840 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24843 (arg1
)->Clip((wxRegion
const &)*arg2
);
24844 wxPyEndAllowThreads(__tstate
);
24845 if (PyErr_Occurred()) SWIG_fail
;
24847 resultobj
= SWIG_Py_Void();
24854 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24855 PyObject
*resultobj
= 0;
24856 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24865 PyObject
* obj0
= 0 ;
24866 PyObject
* obj1
= 0 ;
24867 PyObject
* obj2
= 0 ;
24868 char * kwnames
[] = {
24869 (char *) "self",(char *) "dx",(char *) "dy", NULL
24872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24874 if (!SWIG_IsOK(res1
)) {
24875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24877 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24878 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24879 if (!SWIG_IsOK(ecode2
)) {
24880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
24882 arg2
= static_cast< wxDouble
>(val2
);
24883 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24884 if (!SWIG_IsOK(ecode3
)) {
24885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
24887 arg3
= static_cast< wxDouble
>(val3
);
24889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24890 (arg1
)->Translate(arg2
,arg3
);
24891 wxPyEndAllowThreads(__tstate
);
24892 if (PyErr_Occurred()) SWIG_fail
;
24894 resultobj
= SWIG_Py_Void();
24901 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24902 PyObject
*resultobj
= 0;
24903 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24912 PyObject
* obj0
= 0 ;
24913 PyObject
* obj1
= 0 ;
24914 PyObject
* obj2
= 0 ;
24915 char * kwnames
[] = {
24916 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
24919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24921 if (!SWIG_IsOK(res1
)) {
24922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24924 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24925 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24926 if (!SWIG_IsOK(ecode2
)) {
24927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
24929 arg2
= static_cast< wxDouble
>(val2
);
24930 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24931 if (!SWIG_IsOK(ecode3
)) {
24932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
24934 arg3
= static_cast< wxDouble
>(val3
);
24936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24937 (arg1
)->Scale(arg2
,arg3
);
24938 wxPyEndAllowThreads(__tstate
);
24939 if (PyErr_Occurred()) SWIG_fail
;
24941 resultobj
= SWIG_Py_Void();
24948 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24949 PyObject
*resultobj
= 0;
24950 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24956 PyObject
* obj0
= 0 ;
24957 PyObject
* obj1
= 0 ;
24958 char * kwnames
[] = {
24959 (char *) "self",(char *) "angle", NULL
24962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24964 if (!SWIG_IsOK(res1
)) {
24965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24967 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24968 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24969 if (!SWIG_IsOK(ecode2
)) {
24970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
24972 arg2
= static_cast< wxDouble
>(val2
);
24974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24975 (arg1
)->Rotate(arg2
);
24976 wxPyEndAllowThreads(__tstate
);
24977 if (PyErr_Occurred()) SWIG_fail
;
24979 resultobj
= SWIG_Py_Void();
24986 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24987 PyObject
*resultobj
= 0;
24988 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24994 PyObject
* obj0
= 0 ;
24995 PyObject
* obj1
= 0 ;
24996 char * kwnames
[] = {
24997 (char *) "self",(char *) "pen", NULL
25000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25002 if (!SWIG_IsOK(res1
)) {
25003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25005 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25006 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
25007 if (!SWIG_IsOK(res2
)) {
25008 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25011 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25013 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25016 (arg1
)->SetPen((wxPen
const &)*arg2
);
25017 wxPyEndAllowThreads(__tstate
);
25018 if (PyErr_Occurred()) SWIG_fail
;
25020 resultobj
= SWIG_Py_Void();
25027 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25028 PyObject
*resultobj
= 0;
25029 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25030 wxBrush
*arg2
= 0 ;
25035 PyObject
* obj0
= 0 ;
25036 PyObject
* obj1
= 0 ;
25037 char * kwnames
[] = {
25038 (char *) "self",(char *) "brush", NULL
25041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25043 if (!SWIG_IsOK(res1
)) {
25044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25046 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25047 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
25048 if (!SWIG_IsOK(res2
)) {
25049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
25052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
25054 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25057 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
25058 wxPyEndAllowThreads(__tstate
);
25059 if (PyErr_Occurred()) SWIG_fail
;
25061 resultobj
= SWIG_Py_Void();
25068 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25069 PyObject
*resultobj
= 0;
25070 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25075 wxColour
*arg6
= 0 ;
25076 wxColour
*arg7
= 0 ;
25089 PyObject
* obj0
= 0 ;
25090 PyObject
* obj1
= 0 ;
25091 PyObject
* obj2
= 0 ;
25092 PyObject
* obj3
= 0 ;
25093 PyObject
* obj4
= 0 ;
25094 PyObject
* obj5
= 0 ;
25095 PyObject
* obj6
= 0 ;
25096 char * kwnames
[] = {
25097 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
25100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_SetLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25102 if (!SWIG_IsOK(res1
)) {
25103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25105 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25106 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25107 if (!SWIG_IsOK(ecode2
)) {
25108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
25110 arg2
= static_cast< wxDouble
>(val2
);
25111 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25112 if (!SWIG_IsOK(ecode3
)) {
25113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
25115 arg3
= static_cast< wxDouble
>(val3
);
25116 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25117 if (!SWIG_IsOK(ecode4
)) {
25118 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
25120 arg4
= static_cast< wxDouble
>(val4
);
25121 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25122 if (!SWIG_IsOK(ecode5
)) {
25123 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
25125 arg5
= static_cast< wxDouble
>(val5
);
25128 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
25132 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
25135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25136 (arg1
)->SetLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
25137 wxPyEndAllowThreads(__tstate
);
25138 if (PyErr_Occurred()) SWIG_fail
;
25140 resultobj
= SWIG_Py_Void();
25147 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25148 PyObject
*resultobj
= 0;
25149 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25155 wxColour
*arg7
= 0 ;
25156 wxColour
*arg8
= 0 ;
25171 PyObject
* obj0
= 0 ;
25172 PyObject
* obj1
= 0 ;
25173 PyObject
* obj2
= 0 ;
25174 PyObject
* obj3
= 0 ;
25175 PyObject
* obj4
= 0 ;
25176 PyObject
* obj5
= 0 ;
25177 PyObject
* obj6
= 0 ;
25178 PyObject
* obj7
= 0 ;
25179 char * kwnames
[] = {
25180 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
25183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_SetRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
25184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25185 if (!SWIG_IsOK(res1
)) {
25186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25188 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25189 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25190 if (!SWIG_IsOK(ecode2
)) {
25191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
25193 arg2
= static_cast< wxDouble
>(val2
);
25194 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25195 if (!SWIG_IsOK(ecode3
)) {
25196 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
25198 arg3
= static_cast< wxDouble
>(val3
);
25199 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25200 if (!SWIG_IsOK(ecode4
)) {
25201 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
25203 arg4
= static_cast< wxDouble
>(val4
);
25204 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25205 if (!SWIG_IsOK(ecode5
)) {
25206 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
25208 arg5
= static_cast< wxDouble
>(val5
);
25209 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25210 if (!SWIG_IsOK(ecode6
)) {
25211 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
25213 arg6
= static_cast< wxDouble
>(val6
);
25216 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
25220 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
25223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25224 (arg1
)->SetRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
25225 wxPyEndAllowThreads(__tstate
);
25226 if (PyErr_Occurred()) SWIG_fail
;
25228 resultobj
= SWIG_Py_Void();
25235 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25236 PyObject
*resultobj
= 0;
25237 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25243 PyObject
* obj0
= 0 ;
25244 PyObject
* obj1
= 0 ;
25245 char * kwnames
[] = {
25246 (char *) "self",(char *) "font", NULL
25249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25251 if (!SWIG_IsOK(res1
)) {
25252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25254 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25255 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25256 if (!SWIG_IsOK(res2
)) {
25257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25262 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25265 (arg1
)->SetFont((wxFont
const &)*arg2
);
25266 wxPyEndAllowThreads(__tstate
);
25267 if (PyErr_Occurred()) SWIG_fail
;
25269 resultobj
= SWIG_Py_Void();
25276 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTextColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25277 PyObject
*resultobj
= 0;
25278 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25279 wxColour
*arg2
= 0 ;
25283 PyObject
* obj0
= 0 ;
25284 PyObject
* obj1
= 0 ;
25285 char * kwnames
[] = {
25286 (char *) "self",(char *) "col", NULL
25289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTextColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25291 if (!SWIG_IsOK(res1
)) {
25292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTextColor" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25294 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25297 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25301 (arg1
)->SetTextColor((wxColour
const &)*arg2
);
25302 wxPyEndAllowThreads(__tstate
);
25303 if (PyErr_Occurred()) SWIG_fail
;
25305 resultobj
= SWIG_Py_Void();
25312 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25313 PyObject
*resultobj
= 0;
25314 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25315 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25320 PyObject
* obj0
= 0 ;
25321 PyObject
* obj1
= 0 ;
25322 char * kwnames
[] = {
25323 (char *) "self",(char *) "path", NULL
25326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25328 if (!SWIG_IsOK(res1
)) {
25329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25331 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25332 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25333 if (!SWIG_IsOK(res2
)) {
25334 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25336 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25339 (arg1
)->StrokePath((wxGraphicsPath
const *)arg2
);
25340 wxPyEndAllowThreads(__tstate
);
25341 if (PyErr_Occurred()) SWIG_fail
;
25343 resultobj
= SWIG_Py_Void();
25350 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25351 PyObject
*resultobj
= 0;
25352 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25353 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25354 int arg3
= (int) wxWINDING_RULE
;
25361 PyObject
* obj0
= 0 ;
25362 PyObject
* obj1
= 0 ;
25363 PyObject
* obj2
= 0 ;
25364 char * kwnames
[] = {
25365 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
25368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25370 if (!SWIG_IsOK(res1
)) {
25371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25373 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25374 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25375 if (!SWIG_IsOK(res2
)) {
25376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25378 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25380 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25381 if (!SWIG_IsOK(ecode3
)) {
25382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
25384 arg3
= static_cast< int >(val3
);
25387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25388 (arg1
)->FillPath((wxGraphicsPath
const *)arg2
,arg3
);
25389 wxPyEndAllowThreads(__tstate
);
25390 if (PyErr_Occurred()) SWIG_fail
;
25392 resultobj
= SWIG_Py_Void();
25399 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25400 PyObject
*resultobj
= 0;
25401 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25402 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25403 int arg3
= (int) wxWINDING_RULE
;
25410 PyObject
* obj0
= 0 ;
25411 PyObject
* obj1
= 0 ;
25412 PyObject
* obj2
= 0 ;
25413 char * kwnames
[] = {
25414 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
25417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25419 if (!SWIG_IsOK(res1
)) {
25420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25422 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25423 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25424 if (!SWIG_IsOK(res2
)) {
25425 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25427 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25429 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25430 if (!SWIG_IsOK(ecode3
)) {
25431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
25433 arg3
= static_cast< int >(val3
);
25436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25437 (arg1
)->DrawPath((wxGraphicsPath
const *)arg2
,arg3
);
25438 wxPyEndAllowThreads(__tstate
);
25439 if (PyErr_Occurred()) SWIG_fail
;
25441 resultobj
= SWIG_Py_Void();
25448 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25449 PyObject
*resultobj
= 0;
25450 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25451 wxString
*arg2
= 0 ;
25456 bool temp2
= false ;
25462 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
25463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25464 if (!SWIG_IsOK(res1
)) {
25465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25467 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25469 arg2
= wxString_in_helper(swig_obj
[1]);
25470 if (arg2
== NULL
) SWIG_fail
;
25473 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
25474 if (!SWIG_IsOK(ecode3
)) {
25475 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
25477 arg3
= static_cast< wxDouble
>(val3
);
25478 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
25479 if (!SWIG_IsOK(ecode4
)) {
25480 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
25482 arg4
= static_cast< wxDouble
>(val4
);
25484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25485 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
25486 wxPyEndAllowThreads(__tstate
);
25487 if (PyErr_Occurred()) SWIG_fail
;
25489 resultobj
= SWIG_Py_Void();
25504 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25505 PyObject
*resultobj
= 0;
25506 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25507 wxString
*arg2
= 0 ;
25513 bool temp2
= false ;
25521 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
25522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25523 if (!SWIG_IsOK(res1
)) {
25524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25526 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25528 arg2
= wxString_in_helper(swig_obj
[1]);
25529 if (arg2
== NULL
) SWIG_fail
;
25532 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
25533 if (!SWIG_IsOK(ecode3
)) {
25534 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
25536 arg3
= static_cast< wxDouble
>(val3
);
25537 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
25538 if (!SWIG_IsOK(ecode4
)) {
25539 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
25541 arg4
= static_cast< wxDouble
>(val4
);
25542 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
25543 if (!SWIG_IsOK(ecode5
)) {
25544 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxDouble""'");
25546 arg5
= static_cast< wxDouble
>(val5
);
25548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25549 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25550 wxPyEndAllowThreads(__tstate
);
25551 if (PyErr_Occurred()) SWIG_fail
;
25553 resultobj
= SWIG_Py_Void();
25568 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*self
, PyObject
*args
) {
25572 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_DrawText",0,5,argv
))) SWIG_fail
;
25575 return _wrap_GraphicsContext_DrawText__SWIG_0(self
, argc
, argv
);
25578 return _wrap_GraphicsContext_DrawText__SWIG_1(self
, argc
, argv
);
25582 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_DrawText'");
25587 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25588 PyObject
*resultobj
= 0;
25589 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25590 wxString
*arg2
= 0 ;
25591 wxDouble
*arg3
= (wxDouble
*) 0 ;
25592 wxDouble
*arg4
= (wxDouble
*) 0 ;
25593 wxDouble
*arg5
= (wxDouble
*) 0 ;
25594 wxDouble
*arg6
= (wxDouble
*) 0 ;
25597 bool temp2
= false ;
25599 int res3
= SWIG_TMPOBJ
;
25601 int res4
= SWIG_TMPOBJ
;
25603 int res5
= SWIG_TMPOBJ
;
25605 int res6
= SWIG_TMPOBJ
;
25606 PyObject
* obj0
= 0 ;
25607 PyObject
* obj1
= 0 ;
25608 char * kwnames
[] = {
25609 (char *) "self",(char *) "text", NULL
25616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25618 if (!SWIG_IsOK(res1
)) {
25619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
25621 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25623 arg2
= wxString_in_helper(obj1
);
25624 if (arg2
== NULL
) SWIG_fail
;
25628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25629 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
25630 wxPyEndAllowThreads(__tstate
);
25631 if (PyErr_Occurred()) SWIG_fail
;
25633 resultobj
= SWIG_Py_Void();
25634 if (SWIG_IsTmpObj(res3
)) {
25635 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25637 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25638 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25640 if (SWIG_IsTmpObj(res4
)) {
25641 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
25643 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25644 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
25646 if (SWIG_IsTmpObj(res5
)) {
25647 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
25649 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
25652 if (SWIG_IsTmpObj(res6
)) {
25653 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
25655 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25656 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
25672 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25673 PyObject
*resultobj
= 0;
25674 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25675 wxString
*arg2
= 0 ;
25676 wxArrayDouble
*arg3
= 0 ;
25679 bool temp2
= false ;
25682 PyObject
* obj0
= 0 ;
25683 PyObject
* obj1
= 0 ;
25684 PyObject
* obj2
= 0 ;
25685 char * kwnames
[] = {
25686 (char *) "self",(char *) "text",(char *) "widths", NULL
25689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25691 if (!SWIG_IsOK(res1
)) {
25692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
25694 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25696 arg2
= wxString_in_helper(obj1
);
25697 if (arg2
== NULL
) SWIG_fail
;
25700 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxArrayDouble
, 0 );
25701 if (!SWIG_IsOK(res3
)) {
25702 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "3"" of type '" "wxArrayDouble &""'");
25705 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "3"" of type '" "wxArrayDouble &""'");
25707 arg3
= reinterpret_cast< wxArrayDouble
* >(argp3
);
25709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25710 ((wxGraphicsContext
const *)arg1
)->GetPartialTextExtents((wxString
const &)*arg2
,*arg3
);
25711 wxPyEndAllowThreads(__tstate
);
25712 if (PyErr_Occurred()) SWIG_fail
;
25714 resultobj
= SWIG_Py_Void();
25729 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25730 PyObject
*resultobj
= 0;
25731 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25732 wxBitmap
*arg2
= 0 ;
25749 PyObject
* obj0
= 0 ;
25750 PyObject
* obj1
= 0 ;
25751 PyObject
* obj2
= 0 ;
25752 PyObject
* obj3
= 0 ;
25753 PyObject
* obj4
= 0 ;
25754 PyObject
* obj5
= 0 ;
25755 char * kwnames
[] = {
25756 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25761 if (!SWIG_IsOK(res1
)) {
25762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25764 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25765 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25766 if (!SWIG_IsOK(res2
)) {
25767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25770 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25772 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25773 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25774 if (!SWIG_IsOK(ecode3
)) {
25775 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
25777 arg3
= static_cast< wxDouble
>(val3
);
25778 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25779 if (!SWIG_IsOK(ecode4
)) {
25780 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
25782 arg4
= static_cast< wxDouble
>(val4
);
25783 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25784 if (!SWIG_IsOK(ecode5
)) {
25785 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
25787 arg5
= static_cast< wxDouble
>(val5
);
25788 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25789 if (!SWIG_IsOK(ecode6
)) {
25790 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
25792 arg6
= static_cast< wxDouble
>(val6
);
25794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25795 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
25796 wxPyEndAllowThreads(__tstate
);
25797 if (PyErr_Occurred()) SWIG_fail
;
25799 resultobj
= SWIG_Py_Void();
25806 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25807 PyObject
*resultobj
= 0;
25808 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25826 PyObject
* obj0
= 0 ;
25827 PyObject
* obj1
= 0 ;
25828 PyObject
* obj2
= 0 ;
25829 PyObject
* obj3
= 0 ;
25830 PyObject
* obj4
= 0 ;
25831 PyObject
* obj5
= 0 ;
25832 char * kwnames
[] = {
25833 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25838 if (!SWIG_IsOK(res1
)) {
25839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25841 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25842 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
25843 if (!SWIG_IsOK(res2
)) {
25844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
25847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
25849 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
25850 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25851 if (!SWIG_IsOK(ecode3
)) {
25852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
25854 arg3
= static_cast< wxDouble
>(val3
);
25855 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25856 if (!SWIG_IsOK(ecode4
)) {
25857 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
25859 arg4
= static_cast< wxDouble
>(val4
);
25860 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25861 if (!SWIG_IsOK(ecode5
)) {
25862 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
25864 arg5
= static_cast< wxDouble
>(val5
);
25865 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25866 if (!SWIG_IsOK(ecode6
)) {
25867 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
25869 arg6
= static_cast< wxDouble
>(val6
);
25871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25872 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
25873 wxPyEndAllowThreads(__tstate
);
25874 if (PyErr_Occurred()) SWIG_fail
;
25876 resultobj
= SWIG_Py_Void();
25883 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25884 PyObject
*resultobj
= 0;
25885 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25900 PyObject
* obj0
= 0 ;
25901 PyObject
* obj1
= 0 ;
25902 PyObject
* obj2
= 0 ;
25903 PyObject
* obj3
= 0 ;
25904 PyObject
* obj4
= 0 ;
25905 char * kwnames
[] = {
25906 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
25909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25911 if (!SWIG_IsOK(res1
)) {
25912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25914 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25915 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25916 if (!SWIG_IsOK(ecode2
)) {
25917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
25919 arg2
= static_cast< wxDouble
>(val2
);
25920 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25921 if (!SWIG_IsOK(ecode3
)) {
25922 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
25924 arg3
= static_cast< wxDouble
>(val3
);
25925 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25926 if (!SWIG_IsOK(ecode4
)) {
25927 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
25929 arg4
= static_cast< wxDouble
>(val4
);
25930 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25931 if (!SWIG_IsOK(ecode5
)) {
25932 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
25934 arg5
= static_cast< wxDouble
>(val5
);
25936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25937 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
25938 wxPyEndAllowThreads(__tstate
);
25939 if (PyErr_Occurred()) SWIG_fail
;
25941 resultobj
= SWIG_Py_Void();
25948 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25949 PyObject
*resultobj
= 0;
25950 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25952 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
25960 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
25961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25962 if (!SWIG_IsOK(res1
)) {
25963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25965 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25966 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
25967 if (!SWIG_IsOK(ecode2
)) {
25968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "2"" of type '" "size_t""'");
25970 arg2
= static_cast< size_t >(val2
);
25971 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
25972 if (!SWIG_IsOK(res3
)) {
25973 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "3"" of type '" "wxPoint2D const *""'");
25975 arg3
= reinterpret_cast< wxPoint2D
* >(argp3
);
25977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25978 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
25979 wxPyEndAllowThreads(__tstate
);
25980 if (PyErr_Occurred()) SWIG_fail
;
25982 resultobj
= SWIG_Py_Void();
25989 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25990 PyObject
*resultobj
= 0;
25991 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25993 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
25994 wxPoint2D
*arg4
= (wxPoint2D
*) 0 ;
26004 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26006 if (!SWIG_IsOK(res1
)) {
26007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26009 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26010 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
26011 if (!SWIG_IsOK(ecode2
)) {
26012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "2"" of type '" "size_t""'");
26014 arg2
= static_cast< size_t >(val2
);
26015 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
26016 if (!SWIG_IsOK(res3
)) {
26017 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "3"" of type '" "wxPoint2D const *""'");
26019 arg3
= reinterpret_cast< wxPoint2D
* >(argp3
);
26020 res4
= SWIG_ConvertPtr(swig_obj
[3], &argp4
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
26021 if (!SWIG_IsOK(res4
)) {
26022 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "4"" of type '" "wxPoint2D const *""'");
26024 arg4
= reinterpret_cast< wxPoint2D
* >(argp4
);
26026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26027 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
,(wxPoint2D
const *)arg4
);
26028 wxPyEndAllowThreads(__tstate
);
26029 if (PyErr_Occurred()) SWIG_fail
;
26031 resultobj
= SWIG_Py_Void();
26038 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*self
, PyObject
*args
) {
26042 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_StrokeLines",0,4,argv
))) SWIG_fail
;
26045 return _wrap_GraphicsContext_StrokeLines__SWIG_0(self
, argc
, argv
);
26048 return _wrap_GraphicsContext_StrokeLines__SWIG_1(self
, argc
, argv
);
26052 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_StrokeLines'");
26057 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26058 PyObject
*resultobj
= 0;
26059 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26061 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26062 int arg4
= (int) wxWINDING_RULE
;
26071 PyObject
* obj0
= 0 ;
26072 PyObject
* obj1
= 0 ;
26073 PyObject
* obj2
= 0 ;
26074 PyObject
* obj3
= 0 ;
26075 char * kwnames
[] = {
26076 (char *) "self",(char *) "n",(char *) "points",(char *) "fillStyle", NULL
26079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26081 if (!SWIG_IsOK(res1
)) {
26082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26084 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26085 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
26086 if (!SWIG_IsOK(ecode2
)) {
26087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "2"" of type '" "size_t""'");
26089 arg2
= static_cast< size_t >(val2
);
26090 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
26091 if (!SWIG_IsOK(res3
)) {
26092 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "3"" of type '" "wxPoint2D const *""'");
26094 arg3
= reinterpret_cast< wxPoint2D
* >(argp3
);
26096 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26097 if (!SWIG_IsOK(ecode4
)) {
26098 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
26100 arg4
= static_cast< int >(val4
);
26103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26104 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
26105 wxPyEndAllowThreads(__tstate
);
26106 if (PyErr_Occurred()) SWIG_fail
;
26108 resultobj
= SWIG_Py_Void();
26115 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26116 PyObject
*resultobj
= 0;
26117 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26132 PyObject
* obj0
= 0 ;
26133 PyObject
* obj1
= 0 ;
26134 PyObject
* obj2
= 0 ;
26135 PyObject
* obj3
= 0 ;
26136 PyObject
* obj4
= 0 ;
26137 char * kwnames
[] = {
26138 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26143 if (!SWIG_IsOK(res1
)) {
26144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26146 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26147 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26148 if (!SWIG_IsOK(ecode2
)) {
26149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26151 arg2
= static_cast< wxDouble
>(val2
);
26152 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26153 if (!SWIG_IsOK(ecode3
)) {
26154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26156 arg3
= static_cast< wxDouble
>(val3
);
26157 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26158 if (!SWIG_IsOK(ecode4
)) {
26159 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26161 arg4
= static_cast< wxDouble
>(val4
);
26162 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26163 if (!SWIG_IsOK(ecode5
)) {
26164 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26166 arg5
= static_cast< wxDouble
>(val5
);
26168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26169 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
26170 wxPyEndAllowThreads(__tstate
);
26171 if (PyErr_Occurred()) SWIG_fail
;
26173 resultobj
= SWIG_Py_Void();
26180 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26181 PyObject
*resultobj
= 0;
26182 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26197 PyObject
* obj0
= 0 ;
26198 PyObject
* obj1
= 0 ;
26199 PyObject
* obj2
= 0 ;
26200 PyObject
* obj3
= 0 ;
26201 PyObject
* obj4
= 0 ;
26202 char * kwnames
[] = {
26203 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26208 if (!SWIG_IsOK(res1
)) {
26209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26211 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26212 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26213 if (!SWIG_IsOK(ecode2
)) {
26214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
26216 arg2
= static_cast< wxDouble
>(val2
);
26217 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26218 if (!SWIG_IsOK(ecode3
)) {
26219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
26221 arg3
= static_cast< wxDouble
>(val3
);
26222 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26223 if (!SWIG_IsOK(ecode4
)) {
26224 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
26226 arg4
= static_cast< wxDouble
>(val4
);
26227 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26228 if (!SWIG_IsOK(ecode5
)) {
26229 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
26231 arg5
= static_cast< wxDouble
>(val5
);
26233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26234 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
26235 wxPyEndAllowThreads(__tstate
);
26236 if (PyErr_Occurred()) SWIG_fail
;
26238 resultobj
= SWIG_Py_Void();
26245 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26246 PyObject
*resultobj
= 0;
26247 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26265 PyObject
* obj0
= 0 ;
26266 PyObject
* obj1
= 0 ;
26267 PyObject
* obj2
= 0 ;
26268 PyObject
* obj3
= 0 ;
26269 PyObject
* obj4
= 0 ;
26270 PyObject
* obj5
= 0 ;
26271 char * kwnames
[] = {
26272 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
26275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26277 if (!SWIG_IsOK(res1
)) {
26278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26280 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26281 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26282 if (!SWIG_IsOK(ecode2
)) {
26283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26285 arg2
= static_cast< wxDouble
>(val2
);
26286 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26287 if (!SWIG_IsOK(ecode3
)) {
26288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26290 arg3
= static_cast< wxDouble
>(val3
);
26291 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26292 if (!SWIG_IsOK(ecode4
)) {
26293 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26295 arg4
= static_cast< wxDouble
>(val4
);
26296 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26297 if (!SWIG_IsOK(ecode5
)) {
26298 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26300 arg5
= static_cast< wxDouble
>(val5
);
26301 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26302 if (!SWIG_IsOK(ecode6
)) {
26303 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
26305 arg6
= static_cast< wxDouble
>(val6
);
26307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26308 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
26309 wxPyEndAllowThreads(__tstate
);
26310 if (PyErr_Occurred()) SWIG_fail
;
26312 resultobj
= SWIG_Py_Void();
26319 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26321 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26322 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
26323 return SWIG_Py_Void();
26326 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26327 PyObject
*resultobj
= 0;
26328 wxWindowDC
*arg1
= 0 ;
26329 wxGCDC
*result
= 0 ;
26332 PyObject
* obj0
= 0 ;
26333 char * kwnames
[] = {
26334 (char *) "dc", NULL
26337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
26338 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
26339 if (!SWIG_IsOK(res1
)) {
26340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
26343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
26345 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
26347 if (!wxPyCheckForApp()) SWIG_fail
;
26348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26349 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
26350 wxPyEndAllowThreads(__tstate
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
26360 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26361 PyObject
*resultobj
= 0;
26362 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26365 PyObject
*swig_obj
[1] ;
26367 if (!args
) SWIG_fail
;
26368 swig_obj
[0] = args
;
26369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
26370 if (!SWIG_IsOK(res1
)) {
26371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
26373 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26378 wxPyEndAllowThreads(__tstate
);
26379 if (PyErr_Occurred()) SWIG_fail
;
26381 resultobj
= SWIG_Py_Void();
26388 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26389 PyObject
*resultobj
= 0;
26390 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26391 wxGraphicsContext
*result
= 0 ;
26394 PyObject
*swig_obj
[1] ;
26396 if (!args
) SWIG_fail
;
26397 swig_obj
[0] = args
;
26398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
26399 if (!SWIG_IsOK(res1
)) {
26400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
26402 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26405 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicContext();
26406 wxPyEndAllowThreads(__tstate
);
26407 if (PyErr_Occurred()) SWIG_fail
;
26409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26416 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26418 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26419 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
26420 return SWIG_Py_Void();
26423 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26424 return SWIG_Python_InitShadowInstance(args
);
26427 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26428 PyObject
*resultobj
= 0;
26431 int arg3
= (int) true ;
26432 int arg4
= (int) 1 ;
26433 wxImageList
*result
= 0 ;
26442 PyObject
* obj0
= 0 ;
26443 PyObject
* obj1
= 0 ;
26444 PyObject
* obj2
= 0 ;
26445 PyObject
* obj3
= 0 ;
26446 char * kwnames
[] = {
26447 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
26450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26451 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26452 if (!SWIG_IsOK(ecode1
)) {
26453 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
26455 arg1
= static_cast< int >(val1
);
26456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26457 if (!SWIG_IsOK(ecode2
)) {
26458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
26460 arg2
= static_cast< int >(val2
);
26462 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26463 if (!SWIG_IsOK(ecode3
)) {
26464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
26466 arg3
= static_cast< int >(val3
);
26469 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26470 if (!SWIG_IsOK(ecode4
)) {
26471 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
26473 arg4
= static_cast< int >(val4
);
26476 if (!wxPyCheckForApp()) SWIG_fail
;
26477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26478 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
26479 wxPyEndAllowThreads(__tstate
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26483 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26491 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26492 PyObject
*resultobj
= 0;
26493 wxImageList
*arg1
= (wxImageList
*) 0 ;
26496 PyObject
*swig_obj
[1] ;
26498 if (!args
) SWIG_fail
;
26499 swig_obj
[0] = args
;
26500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
26501 if (!SWIG_IsOK(res1
)) {
26502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
26504 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26509 wxPyEndAllowThreads(__tstate
);
26510 if (PyErr_Occurred()) SWIG_fail
;
26512 resultobj
= SWIG_Py_Void();
26519 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26520 PyObject
*resultobj
= 0;
26521 wxImageList
*arg1
= (wxImageList
*) 0 ;
26522 wxBitmap
*arg2
= 0 ;
26523 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
26524 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
26532 PyObject
* obj0
= 0 ;
26533 PyObject
* obj1
= 0 ;
26534 PyObject
* obj2
= 0 ;
26535 char * kwnames
[] = {
26536 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
26539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26541 if (!SWIG_IsOK(res1
)) {
26542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
26544 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26545 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26546 if (!SWIG_IsOK(res2
)) {
26547 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26552 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
26554 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26555 if (!SWIG_IsOK(res3
)) {
26556 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26561 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
26564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26565 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
26566 wxPyEndAllowThreads(__tstate
);
26567 if (PyErr_Occurred()) SWIG_fail
;
26569 resultobj
= SWIG_From_int(static_cast< int >(result
));
26576 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26577 PyObject
*resultobj
= 0;
26578 wxImageList
*arg1
= (wxImageList
*) 0 ;
26579 wxBitmap
*arg2
= 0 ;
26580 wxColour
*arg3
= 0 ;
26587 PyObject
* obj0
= 0 ;
26588 PyObject
* obj1
= 0 ;
26589 PyObject
* obj2
= 0 ;
26590 char * kwnames
[] = {
26591 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
26594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26596 if (!SWIG_IsOK(res1
)) {
26597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
26599 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26600 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26601 if (!SWIG_IsOK(res2
)) {
26602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26607 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
26610 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26614 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
26615 wxPyEndAllowThreads(__tstate
);
26616 if (PyErr_Occurred()) SWIG_fail
;
26618 resultobj
= SWIG_From_int(static_cast< int >(result
));
26625 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26626 PyObject
*resultobj
= 0;
26627 wxImageList
*arg1
= (wxImageList
*) 0 ;
26634 PyObject
* obj0
= 0 ;
26635 PyObject
* obj1
= 0 ;
26636 char * kwnames
[] = {
26637 (char *) "self",(char *) "icon", NULL
26640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26642 if (!SWIG_IsOK(res1
)) {
26643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
26645 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26646 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
26647 if (!SWIG_IsOK(res2
)) {
26648 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26651 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26653 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
26655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26656 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
26657 wxPyEndAllowThreads(__tstate
);
26658 if (PyErr_Occurred()) SWIG_fail
;
26660 resultobj
= SWIG_From_int(static_cast< int >(result
));
26667 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26668 PyObject
*resultobj
= 0;
26669 wxImageList
*arg1
= (wxImageList
*) 0 ;
26671 SwigValueWrapper
<wxBitmap
> result
;
26676 PyObject
* obj0
= 0 ;
26677 PyObject
* obj1
= 0 ;
26678 char * kwnames
[] = {
26679 (char *) "self",(char *) "index", NULL
26682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26684 if (!SWIG_IsOK(res1
)) {
26685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
26687 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26689 if (!SWIG_IsOK(ecode2
)) {
26690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
26692 arg2
= static_cast< int >(val2
);
26694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26695 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
26696 wxPyEndAllowThreads(__tstate
);
26697 if (PyErr_Occurred()) SWIG_fail
;
26699 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
26706 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26707 PyObject
*resultobj
= 0;
26708 wxImageList
*arg1
= (wxImageList
*) 0 ;
26715 PyObject
* obj0
= 0 ;
26716 PyObject
* obj1
= 0 ;
26717 char * kwnames
[] = {
26718 (char *) "self",(char *) "index", NULL
26721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26723 if (!SWIG_IsOK(res1
)) {
26724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
26726 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26728 if (!SWIG_IsOK(ecode2
)) {
26729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
26731 arg2
= static_cast< int >(val2
);
26733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26734 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
26735 wxPyEndAllowThreads(__tstate
);
26736 if (PyErr_Occurred()) SWIG_fail
;
26738 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
26745 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26746 PyObject
*resultobj
= 0;
26747 wxImageList
*arg1
= (wxImageList
*) 0 ;
26749 wxBitmap
*arg3
= 0 ;
26750 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
26751 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
26761 PyObject
* obj0
= 0 ;
26762 PyObject
* obj1
= 0 ;
26763 PyObject
* obj2
= 0 ;
26764 PyObject
* obj3
= 0 ;
26765 char * kwnames
[] = {
26766 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
26769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26771 if (!SWIG_IsOK(res1
)) {
26772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
26774 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26776 if (!SWIG_IsOK(ecode2
)) {
26777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
26779 arg2
= static_cast< int >(val2
);
26780 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26781 if (!SWIG_IsOK(res3
)) {
26782 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26787 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
26789 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26790 if (!SWIG_IsOK(res4
)) {
26791 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
26794 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
26796 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
26799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26800 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
26801 wxPyEndAllowThreads(__tstate
);
26802 if (PyErr_Occurred()) SWIG_fail
;
26805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26813 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26814 PyObject
*resultobj
= 0;
26815 wxImageList
*arg1
= (wxImageList
*) 0 ;
26820 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
26821 bool arg7
= (bool) (bool)false ;
26837 PyObject
* obj0
= 0 ;
26838 PyObject
* obj1
= 0 ;
26839 PyObject
* obj2
= 0 ;
26840 PyObject
* obj3
= 0 ;
26841 PyObject
* obj4
= 0 ;
26842 PyObject
* obj5
= 0 ;
26843 PyObject
* obj6
= 0 ;
26844 char * kwnames
[] = {
26845 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
26848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26850 if (!SWIG_IsOK(res1
)) {
26851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
26853 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26855 if (!SWIG_IsOK(ecode2
)) {
26856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
26858 arg2
= static_cast< int >(val2
);
26859 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26860 if (!SWIG_IsOK(res3
)) {
26861 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
26864 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
26866 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26867 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26868 if (!SWIG_IsOK(ecode4
)) {
26869 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
26871 arg4
= static_cast< int >(val4
);
26872 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26873 if (!SWIG_IsOK(ecode5
)) {
26874 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
26876 arg5
= static_cast< int >(val5
);
26878 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
26879 if (!SWIG_IsOK(ecode6
)) {
26880 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
26882 arg6
= static_cast< int >(val6
);
26885 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
26886 if (!SWIG_IsOK(ecode7
)) {
26887 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
26889 arg7
= static_cast< bool >(val7
);
26892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26893 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
26894 wxPyEndAllowThreads(__tstate
);
26895 if (PyErr_Occurred()) SWIG_fail
;
26898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26906 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26907 PyObject
*resultobj
= 0;
26908 wxImageList
*arg1
= (wxImageList
*) 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_wxImageList
, 0 | 0 );
26917 if (!SWIG_IsOK(res1
)) {
26918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
26920 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26923 result
= (int)(arg1
)->GetImageCount();
26924 wxPyEndAllowThreads(__tstate
);
26925 if (PyErr_Occurred()) SWIG_fail
;
26927 resultobj
= SWIG_From_int(static_cast< int >(result
));
26934 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26935 PyObject
*resultobj
= 0;
26936 wxImageList
*arg1
= (wxImageList
*) 0 ;
26943 PyObject
* obj0
= 0 ;
26944 PyObject
* obj1
= 0 ;
26945 char * kwnames
[] = {
26946 (char *) "self",(char *) "index", NULL
26949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26951 if (!SWIG_IsOK(res1
)) {
26952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
26954 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26956 if (!SWIG_IsOK(ecode2
)) {
26957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
26959 arg2
= static_cast< int >(val2
);
26961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26962 result
= (bool)(arg1
)->Remove(arg2
);
26963 wxPyEndAllowThreads(__tstate
);
26964 if (PyErr_Occurred()) SWIG_fail
;
26967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26975 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26976 PyObject
*resultobj
= 0;
26977 wxImageList
*arg1
= (wxImageList
*) 0 ;
26981 PyObject
*swig_obj
[1] ;
26983 if (!args
) SWIG_fail
;
26984 swig_obj
[0] = args
;
26985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26986 if (!SWIG_IsOK(res1
)) {
26987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
26989 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26992 result
= (bool)(arg1
)->RemoveAll();
26993 wxPyEndAllowThreads(__tstate
);
26994 if (PyErr_Occurred()) SWIG_fail
;
26997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27005 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27006 PyObject
*resultobj
= 0;
27007 wxImageList
*arg1
= (wxImageList
*) 0 ;
27016 int res3
= SWIG_TMPOBJ
;
27018 int res4
= SWIG_TMPOBJ
;
27019 PyObject
* obj0
= 0 ;
27020 PyObject
* obj1
= 0 ;
27021 char * kwnames
[] = {
27022 (char *) "self",(char *) "index", NULL
27027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27029 if (!SWIG_IsOK(res1
)) {
27030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
27032 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27034 if (!SWIG_IsOK(ecode2
)) {
27035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
27037 arg2
= static_cast< int >(val2
);
27039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27040 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
27041 wxPyEndAllowThreads(__tstate
);
27042 if (PyErr_Occurred()) SWIG_fail
;
27044 resultobj
= SWIG_Py_Void();
27045 if (SWIG_IsTmpObj(res3
)) {
27046 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27048 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27049 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27051 if (SWIG_IsTmpObj(res4
)) {
27052 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
27054 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27055 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
27063 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27065 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27066 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
27067 return SWIG_Py_Void();
27070 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27071 return SWIG_Python_InitShadowInstance(args
);
27074 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27075 PyObject
*resultobj
= 0;
27076 wxStockGDI
*result
= 0 ;
27078 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
27080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27081 result
= (wxStockGDI
*)new wxStockGDI();
27082 wxPyEndAllowThreads(__tstate
);
27083 if (PyErr_Occurred()) SWIG_fail
;
27085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
27092 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27093 PyObject
*resultobj
= 0;
27094 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
27097 PyObject
*swig_obj
[1] ;
27099 if (!args
) SWIG_fail
;
27100 swig_obj
[0] = args
;
27101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
27102 if (!SWIG_IsOK(res1
)) {
27103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
27105 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
27107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27110 wxPyEndAllowThreads(__tstate
);
27111 if (PyErr_Occurred()) SWIG_fail
;
27113 resultobj
= SWIG_Py_Void();
27120 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27121 PyObject
*resultobj
= 0;
27123 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
27125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27126 wxStockGDI::DeleteAll();
27127 wxPyEndAllowThreads(__tstate
);
27128 if (PyErr_Occurred()) SWIG_fail
;
27130 resultobj
= SWIG_Py_Void();
27137 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27138 PyObject
*resultobj
= 0;
27139 wxStockGDI
*result
= 0 ;
27141 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
27143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27145 wxStockGDI
&_result_ref
= wxStockGDI::instance();
27146 result
= (wxStockGDI
*) &_result_ref
;
27148 wxPyEndAllowThreads(__tstate
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
27158 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27159 PyObject
*resultobj
= 0;
27160 wxStockGDI::Item arg1
;
27161 wxBrush
*result
= 0 ;
27164 PyObject
* obj0
= 0 ;
27165 char * kwnames
[] = {
27166 (char *) "item", NULL
27169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
27170 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27171 if (!SWIG_IsOK(ecode1
)) {
27172 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27174 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27177 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
27178 wxPyEndAllowThreads(__tstate
);
27179 if (PyErr_Occurred()) SWIG_fail
;
27181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
27188 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27189 PyObject
*resultobj
= 0;
27190 wxStockGDI::Item arg1
;
27191 wxColour
*result
= 0 ;
27194 PyObject
* obj0
= 0 ;
27195 char * kwnames
[] = {
27196 (char *) "item", NULL
27199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
27200 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27201 if (!SWIG_IsOK(ecode1
)) {
27202 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27204 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27207 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
27208 wxPyEndAllowThreads(__tstate
);
27209 if (PyErr_Occurred()) SWIG_fail
;
27211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
27218 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27219 PyObject
*resultobj
= 0;
27220 wxStockGDI::Item arg1
;
27221 wxCursor
*result
= 0 ;
27224 PyObject
* obj0
= 0 ;
27225 char * kwnames
[] = {
27226 (char *) "item", NULL
27229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
27230 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27231 if (!SWIG_IsOK(ecode1
)) {
27232 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27234 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27237 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
27238 wxPyEndAllowThreads(__tstate
);
27239 if (PyErr_Occurred()) SWIG_fail
;
27241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
27248 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27249 PyObject
*resultobj
= 0;
27250 wxStockGDI::Item arg1
;
27251 wxPen
*result
= 0 ;
27254 PyObject
* obj0
= 0 ;
27255 char * kwnames
[] = {
27256 (char *) "item", NULL
27259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
27260 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27261 if (!SWIG_IsOK(ecode1
)) {
27262 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27264 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27267 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
27268 wxPyEndAllowThreads(__tstate
);
27269 if (PyErr_Occurred()) SWIG_fail
;
27271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
27278 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27279 PyObject
*resultobj
= 0;
27280 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
27281 wxStockGDI::Item arg2
;
27282 wxFont
*result
= 0 ;
27287 PyObject
* obj0
= 0 ;
27288 PyObject
* obj1
= 0 ;
27289 char * kwnames
[] = {
27290 (char *) "self",(char *) "item", NULL
27293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
27295 if (!SWIG_IsOK(res1
)) {
27296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
27298 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
27299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27300 if (!SWIG_IsOK(ecode2
)) {
27301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
27303 arg2
= static_cast< wxStockGDI::Item
>(val2
);
27305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27306 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
27307 wxPyEndAllowThreads(__tstate
);
27308 if (PyErr_Occurred()) SWIG_fail
;
27310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
27317 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27319 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27320 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
27321 return SWIG_Py_Void();
27324 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27325 return SWIG_Python_InitShadowInstance(args
);
27328 SWIGINTERN
int NullBitmap_set(PyObject
*) {
27329 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
27334 SWIGINTERN PyObject
*NullBitmap_get(void) {
27335 PyObject
*pyobj
= 0;
27337 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
27342 SWIGINTERN
int NullIcon_set(PyObject
*) {
27343 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
27348 SWIGINTERN PyObject
*NullIcon_get(void) {
27349 PyObject
*pyobj
= 0;
27351 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
27356 SWIGINTERN
int NullCursor_set(PyObject
*) {
27357 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
27362 SWIGINTERN PyObject
*NullCursor_get(void) {
27363 PyObject
*pyobj
= 0;
27365 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
27370 SWIGINTERN
int NullPen_set(PyObject
*) {
27371 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
27376 SWIGINTERN PyObject
*NullPen_get(void) {
27377 PyObject
*pyobj
= 0;
27379 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
27384 SWIGINTERN
int NullBrush_set(PyObject
*) {
27385 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
27390 SWIGINTERN PyObject
*NullBrush_get(void) {
27391 PyObject
*pyobj
= 0;
27393 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
27398 SWIGINTERN
int NullPalette_set(PyObject
*) {
27399 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
27404 SWIGINTERN PyObject
*NullPalette_get(void) {
27405 PyObject
*pyobj
= 0;
27407 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
27412 SWIGINTERN
int NullFont_set(PyObject
*) {
27413 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
27418 SWIGINTERN PyObject
*NullFont_get(void) {
27419 PyObject
*pyobj
= 0;
27421 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
27426 SWIGINTERN
int NullColour_set(PyObject
*) {
27427 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
27432 SWIGINTERN PyObject
*NullColour_get(void) {
27433 PyObject
*pyobj
= 0;
27435 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
27440 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27441 PyObject
*resultobj
= 0;
27442 wxGDIObjListBase
*result
= 0 ;
27444 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
27446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27447 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
27448 wxPyEndAllowThreads(__tstate
);
27449 if (PyErr_Occurred()) SWIG_fail
;
27451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
27458 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27459 PyObject
*resultobj
= 0;
27460 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
27463 PyObject
*swig_obj
[1] ;
27465 if (!args
) SWIG_fail
;
27466 swig_obj
[0] = args
;
27467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
27468 if (!SWIG_IsOK(res1
)) {
27469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
27471 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
27473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27476 wxPyEndAllowThreads(__tstate
);
27477 if (PyErr_Occurred()) SWIG_fail
;
27479 resultobj
= SWIG_Py_Void();
27486 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27488 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27489 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
27490 return SWIG_Py_Void();
27493 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27494 return SWIG_Python_InitShadowInstance(args
);
27497 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27498 PyObject
*resultobj
= 0;
27499 wxPenList
*arg1
= (wxPenList
*) 0 ;
27500 wxColour
*arg2
= 0 ;
27503 wxPen
*result
= 0 ;
27511 PyObject
* obj0
= 0 ;
27512 PyObject
* obj1
= 0 ;
27513 PyObject
* obj2
= 0 ;
27514 PyObject
* obj3
= 0 ;
27515 char * kwnames
[] = {
27516 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
27519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
27521 if (!SWIG_IsOK(res1
)) {
27522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
27524 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
27527 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27529 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27530 if (!SWIG_IsOK(ecode3
)) {
27531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
27533 arg3
= static_cast< int >(val3
);
27534 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27535 if (!SWIG_IsOK(ecode4
)) {
27536 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
27538 arg4
= static_cast< int >(val4
);
27540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27541 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
27542 wxPyEndAllowThreads(__tstate
);
27543 if (PyErr_Occurred()) SWIG_fail
;
27545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
27552 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27553 PyObject
*resultobj
= 0;
27554 wxPenList
*arg1
= (wxPenList
*) 0 ;
27555 wxPen
*arg2
= (wxPen
*) 0 ;
27560 PyObject
* obj0
= 0 ;
27561 PyObject
* obj1
= 0 ;
27562 char * kwnames
[] = {
27563 (char *) "self",(char *) "pen", NULL
27566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
27568 if (!SWIG_IsOK(res1
)) {
27569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
27571 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
27572 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
27573 if (!SWIG_IsOK(res2
)) {
27574 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
27576 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27579 (arg1
)->AddPen(arg2
);
27580 wxPyEndAllowThreads(__tstate
);
27581 if (PyErr_Occurred()) SWIG_fail
;
27583 resultobj
= SWIG_Py_Void();
27590 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27591 PyObject
*resultobj
= 0;
27592 wxPenList
*arg1
= (wxPenList
*) 0 ;
27593 wxPen
*arg2
= (wxPen
*) 0 ;
27598 PyObject
* obj0
= 0 ;
27599 PyObject
* obj1
= 0 ;
27600 char * kwnames
[] = {
27601 (char *) "self",(char *) "pen", NULL
27604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
27606 if (!SWIG_IsOK(res1
)) {
27607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
27609 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
27610 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
27611 if (!SWIG_IsOK(res2
)) {
27612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
27614 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27617 (arg1
)->RemovePen(arg2
);
27618 wxPyEndAllowThreads(__tstate
);
27619 if (PyErr_Occurred()) SWIG_fail
;
27621 resultobj
= SWIG_Py_Void();
27628 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27630 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27631 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
27632 return SWIG_Py_Void();
27635 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27636 PyObject
*resultobj
= 0;
27637 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
27638 wxColour
*arg2
= 0 ;
27639 int arg3
= (int) wxSOLID
;
27640 wxBrush
*result
= 0 ;
27646 PyObject
* obj0
= 0 ;
27647 PyObject
* obj1
= 0 ;
27648 PyObject
* obj2
= 0 ;
27649 char * kwnames
[] = {
27650 (char *) "self",(char *) "colour",(char *) "style", NULL
27653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
27655 if (!SWIG_IsOK(res1
)) {
27656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
27658 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
27661 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27664 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27665 if (!SWIG_IsOK(ecode3
)) {
27666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
27668 arg3
= static_cast< int >(val3
);
27671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27672 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
27673 wxPyEndAllowThreads(__tstate
);
27674 if (PyErr_Occurred()) SWIG_fail
;
27676 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
27683 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27684 PyObject
*resultobj
= 0;
27685 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
27686 wxBrush
*arg2
= (wxBrush
*) 0 ;
27691 PyObject
* obj0
= 0 ;
27692 PyObject
* obj1
= 0 ;
27693 char * kwnames
[] = {
27694 (char *) "self",(char *) "brush", NULL
27697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
27699 if (!SWIG_IsOK(res1
)) {
27700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
27702 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
27703 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
27704 if (!SWIG_IsOK(res2
)) {
27705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
27707 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27710 (arg1
)->AddBrush(arg2
);
27711 wxPyEndAllowThreads(__tstate
);
27712 if (PyErr_Occurred()) SWIG_fail
;
27714 resultobj
= SWIG_Py_Void();
27721 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27722 PyObject
*resultobj
= 0;
27723 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
27724 wxBrush
*arg2
= (wxBrush
*) 0 ;
27729 PyObject
* obj0
= 0 ;
27730 PyObject
* obj1
= 0 ;
27731 char * kwnames
[] = {
27732 (char *) "self",(char *) "brush", NULL
27735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
27737 if (!SWIG_IsOK(res1
)) {
27738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
27740 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
27741 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
27742 if (!SWIG_IsOK(res2
)) {
27743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
27745 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27748 (arg1
)->RemoveBrush(arg2
);
27749 wxPyEndAllowThreads(__tstate
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27752 resultobj
= SWIG_Py_Void();
27759 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27761 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27762 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
27763 return SWIG_Py_Void();
27766 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27767 PyObject
*resultobj
= 0;
27768 wxFontList
*arg1
= (wxFontList
*) 0 ;
27773 bool arg6
= (bool) false ;
27774 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27775 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27776 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
27777 wxFont
*result
= 0 ;
27790 bool temp7
= false ;
27793 PyObject
* obj0
= 0 ;
27794 PyObject
* obj1
= 0 ;
27795 PyObject
* obj2
= 0 ;
27796 PyObject
* obj3
= 0 ;
27797 PyObject
* obj4
= 0 ;
27798 PyObject
* obj5
= 0 ;
27799 PyObject
* obj6
= 0 ;
27800 PyObject
* obj7
= 0 ;
27801 char * kwnames
[] = {
27802 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
27805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
27806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
27807 if (!SWIG_IsOK(res1
)) {
27808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
27810 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
27811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27812 if (!SWIG_IsOK(ecode2
)) {
27813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
27815 arg2
= static_cast< int >(val2
);
27816 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27817 if (!SWIG_IsOK(ecode3
)) {
27818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
27820 arg3
= static_cast< int >(val3
);
27821 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27822 if (!SWIG_IsOK(ecode4
)) {
27823 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
27825 arg4
= static_cast< int >(val4
);
27826 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27827 if (!SWIG_IsOK(ecode5
)) {
27828 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
27830 arg5
= static_cast< int >(val5
);
27832 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
27833 if (!SWIG_IsOK(ecode6
)) {
27834 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
27836 arg6
= static_cast< bool >(val6
);
27840 arg7
= wxString_in_helper(obj6
);
27841 if (arg7
== NULL
) SWIG_fail
;
27846 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
27847 if (!SWIG_IsOK(ecode8
)) {
27848 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
27850 arg8
= static_cast< wxFontEncoding
>(val8
);
27853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27854 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
27855 wxPyEndAllowThreads(__tstate
);
27856 if (PyErr_Occurred()) SWIG_fail
;
27858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
27873 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27874 PyObject
*resultobj
= 0;
27875 wxFontList
*arg1
= (wxFontList
*) 0 ;
27876 wxFont
*arg2
= (wxFont
*) 0 ;
27881 PyObject
* obj0
= 0 ;
27882 PyObject
* obj1
= 0 ;
27883 char * kwnames
[] = {
27884 (char *) "self",(char *) "font", NULL
27887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
27889 if (!SWIG_IsOK(res1
)) {
27890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
27892 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
27893 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
27894 if (!SWIG_IsOK(res2
)) {
27895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
27897 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27900 (arg1
)->AddFont(arg2
);
27901 wxPyEndAllowThreads(__tstate
);
27902 if (PyErr_Occurred()) SWIG_fail
;
27904 resultobj
= SWIG_Py_Void();
27911 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27912 PyObject
*resultobj
= 0;
27913 wxFontList
*arg1
= (wxFontList
*) 0 ;
27914 wxFont
*arg2
= (wxFont
*) 0 ;
27919 PyObject
* obj0
= 0 ;
27920 PyObject
* obj1
= 0 ;
27921 char * kwnames
[] = {
27922 (char *) "self",(char *) "font", NULL
27925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
27927 if (!SWIG_IsOK(res1
)) {
27928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
27930 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
27931 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
27932 if (!SWIG_IsOK(res2
)) {
27933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
27935 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27938 (arg1
)->RemoveFont(arg2
);
27939 wxPyEndAllowThreads(__tstate
);
27940 if (PyErr_Occurred()) SWIG_fail
;
27942 resultobj
= SWIG_Py_Void();
27949 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27951 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27952 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
27953 return SWIG_Py_Void();
27956 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27957 PyObject
*resultobj
= 0;
27958 wxColourDatabase
*result
= 0 ;
27960 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
27962 if (!wxPyCheckForApp()) SWIG_fail
;
27963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27964 result
= (wxColourDatabase
*)new wxColourDatabase();
27965 wxPyEndAllowThreads(__tstate
);
27966 if (PyErr_Occurred()) SWIG_fail
;
27968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
27975 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27976 PyObject
*resultobj
= 0;
27977 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
27980 PyObject
*swig_obj
[1] ;
27982 if (!args
) SWIG_fail
;
27983 swig_obj
[0] = args
;
27984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
27985 if (!SWIG_IsOK(res1
)) {
27986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
27988 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
27990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27993 wxPyEndAllowThreads(__tstate
);
27994 if (PyErr_Occurred()) SWIG_fail
;
27996 resultobj
= SWIG_Py_Void();
28003 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28004 PyObject
*resultobj
= 0;
28005 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28006 wxString
*arg2
= 0 ;
28010 bool temp2
= false ;
28011 PyObject
* obj0
= 0 ;
28012 PyObject
* obj1
= 0 ;
28013 char * kwnames
[] = {
28014 (char *) "self",(char *) "name", NULL
28017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28019 if (!SWIG_IsOK(res1
)) {
28020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
28022 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28024 arg2
= wxString_in_helper(obj1
);
28025 if (arg2
== NULL
) SWIG_fail
;
28029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28030 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
28031 wxPyEndAllowThreads(__tstate
);
28032 if (PyErr_Occurred()) SWIG_fail
;
28034 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28049 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28050 PyObject
*resultobj
= 0;
28051 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28052 wxColour
*arg2
= 0 ;
28057 PyObject
* obj0
= 0 ;
28058 PyObject
* obj1
= 0 ;
28059 char * kwnames
[] = {
28060 (char *) "self",(char *) "colour", NULL
28063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28065 if (!SWIG_IsOK(res1
)) {
28066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
28068 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28071 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28075 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
28076 wxPyEndAllowThreads(__tstate
);
28077 if (PyErr_Occurred()) SWIG_fail
;
28081 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28083 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28092 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28093 PyObject
*resultobj
= 0;
28094 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28095 wxString
*arg2
= 0 ;
28096 wxColour
*arg3
= 0 ;
28099 bool temp2
= false ;
28101 PyObject
* obj0
= 0 ;
28102 PyObject
* obj1
= 0 ;
28103 PyObject
* obj2
= 0 ;
28104 char * kwnames
[] = {
28105 (char *) "self",(char *) "name",(char *) "colour", NULL
28108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28110 if (!SWIG_IsOK(res1
)) {
28111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28113 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28115 arg2
= wxString_in_helper(obj1
);
28116 if (arg2
== NULL
) SWIG_fail
;
28121 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28125 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
28126 wxPyEndAllowThreads(__tstate
);
28127 if (PyErr_Occurred()) SWIG_fail
;
28129 resultobj
= SWIG_Py_Void();
28144 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28145 PyObject
*resultobj
= 0;
28146 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28147 wxString
*arg2
= 0 ;
28153 bool temp2
= false ;
28160 PyObject
* obj0
= 0 ;
28161 PyObject
* obj1
= 0 ;
28162 PyObject
* obj2
= 0 ;
28163 PyObject
* obj3
= 0 ;
28164 PyObject
* obj4
= 0 ;
28165 char * kwnames
[] = {
28166 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
28169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28171 if (!SWIG_IsOK(res1
)) {
28172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28174 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28176 arg2
= wxString_in_helper(obj1
);
28177 if (arg2
== NULL
) SWIG_fail
;
28180 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28181 if (!SWIG_IsOK(ecode3
)) {
28182 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
28184 arg3
= static_cast< int >(val3
);
28185 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28186 if (!SWIG_IsOK(ecode4
)) {
28187 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
28189 arg4
= static_cast< int >(val4
);
28190 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28191 if (!SWIG_IsOK(ecode5
)) {
28192 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
28194 arg5
= static_cast< int >(val5
);
28196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28197 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
28198 wxPyEndAllowThreads(__tstate
);
28199 if (PyErr_Occurred()) SWIG_fail
;
28201 resultobj
= SWIG_Py_Void();
28216 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28218 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28219 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
28220 return SWIG_Py_Void();
28223 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28224 return SWIG_Python_InitShadowInstance(args
);
28227 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28228 PyObject
*resultobj
= 0;
28229 wxFontList
*result
= 0 ;
28231 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
28233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28234 result
= (wxFontList
*)_wxPyInitTheFontList();
28235 wxPyEndAllowThreads(__tstate
);
28236 if (PyErr_Occurred()) SWIG_fail
;
28238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
28245 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28246 PyObject
*resultobj
= 0;
28247 wxPenList
*result
= 0 ;
28249 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
28251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28252 result
= (wxPenList
*)_wxPyInitThePenList();
28253 wxPyEndAllowThreads(__tstate
);
28254 if (PyErr_Occurred()) SWIG_fail
;
28256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
28263 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28264 PyObject
*resultobj
= 0;
28265 wxBrushList
*result
= 0 ;
28267 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
28269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28270 result
= (wxBrushList
*)_wxPyInitTheBrushList();
28271 wxPyEndAllowThreads(__tstate
);
28272 if (PyErr_Occurred()) SWIG_fail
;
28274 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
28281 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28282 PyObject
*resultobj
= 0;
28283 wxColourDatabase
*result
= 0 ;
28285 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
28287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28288 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
28289 wxPyEndAllowThreads(__tstate
);
28290 if (PyErr_Occurred()) SWIG_fail
;
28292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28299 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28300 PyObject
*resultobj
= 0;
28301 wxEffects
*result
= 0 ;
28303 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
28305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28306 result
= (wxEffects
*)new wxEffects();
28307 wxPyEndAllowThreads(__tstate
);
28308 if (PyErr_Occurred()) SWIG_fail
;
28310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
28317 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28318 PyObject
*resultobj
= 0;
28319 wxEffects
*arg1
= (wxEffects
*) 0 ;
28323 PyObject
*swig_obj
[1] ;
28325 if (!args
) SWIG_fail
;
28326 swig_obj
[0] = args
;
28327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28328 if (!SWIG_IsOK(res1
)) {
28329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
28331 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28334 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
28335 wxPyEndAllowThreads(__tstate
);
28336 if (PyErr_Occurred()) SWIG_fail
;
28338 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28345 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28346 PyObject
*resultobj
= 0;
28347 wxEffects
*arg1
= (wxEffects
*) 0 ;
28351 PyObject
*swig_obj
[1] ;
28353 if (!args
) SWIG_fail
;
28354 swig_obj
[0] = args
;
28355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28356 if (!SWIG_IsOK(res1
)) {
28357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28359 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28362 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
28363 wxPyEndAllowThreads(__tstate
);
28364 if (PyErr_Occurred()) SWIG_fail
;
28366 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28373 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28374 PyObject
*resultobj
= 0;
28375 wxEffects
*arg1
= (wxEffects
*) 0 ;
28379 PyObject
*swig_obj
[1] ;
28381 if (!args
) SWIG_fail
;
28382 swig_obj
[0] = args
;
28383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28384 if (!SWIG_IsOK(res1
)) {
28385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
28387 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28390 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
28391 wxPyEndAllowThreads(__tstate
);
28392 if (PyErr_Occurred()) SWIG_fail
;
28394 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28401 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28402 PyObject
*resultobj
= 0;
28403 wxEffects
*arg1
= (wxEffects
*) 0 ;
28407 PyObject
*swig_obj
[1] ;
28409 if (!args
) SWIG_fail
;
28410 swig_obj
[0] = args
;
28411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28412 if (!SWIG_IsOK(res1
)) {
28413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28415 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28418 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
28419 wxPyEndAllowThreads(__tstate
);
28420 if (PyErr_Occurred()) SWIG_fail
;
28422 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28429 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28430 PyObject
*resultobj
= 0;
28431 wxEffects
*arg1
= (wxEffects
*) 0 ;
28435 PyObject
*swig_obj
[1] ;
28437 if (!args
) SWIG_fail
;
28438 swig_obj
[0] = args
;
28439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28440 if (!SWIG_IsOK(res1
)) {
28441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28443 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28446 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
28447 wxPyEndAllowThreads(__tstate
);
28448 if (PyErr_Occurred()) SWIG_fail
;
28450 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28457 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28458 PyObject
*resultobj
= 0;
28459 wxEffects
*arg1
= (wxEffects
*) 0 ;
28460 wxColour
*arg2
= 0 ;
28464 PyObject
* obj0
= 0 ;
28465 PyObject
* obj1
= 0 ;
28466 char * kwnames
[] = {
28467 (char *) "self",(char *) "c", NULL
28470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28472 if (!SWIG_IsOK(res1
)) {
28473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
28475 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28478 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28482 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
28483 wxPyEndAllowThreads(__tstate
);
28484 if (PyErr_Occurred()) SWIG_fail
;
28486 resultobj
= SWIG_Py_Void();
28493 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28494 PyObject
*resultobj
= 0;
28495 wxEffects
*arg1
= (wxEffects
*) 0 ;
28496 wxColour
*arg2
= 0 ;
28500 PyObject
* obj0
= 0 ;
28501 PyObject
* obj1
= 0 ;
28502 char * kwnames
[] = {
28503 (char *) "self",(char *) "c", NULL
28506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28508 if (!SWIG_IsOK(res1
)) {
28509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
28511 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28514 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28518 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
28519 wxPyEndAllowThreads(__tstate
);
28520 if (PyErr_Occurred()) SWIG_fail
;
28522 resultobj
= SWIG_Py_Void();
28529 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28530 PyObject
*resultobj
= 0;
28531 wxEffects
*arg1
= (wxEffects
*) 0 ;
28532 wxColour
*arg2
= 0 ;
28536 PyObject
* obj0
= 0 ;
28537 PyObject
* obj1
= 0 ;
28538 char * kwnames
[] = {
28539 (char *) "self",(char *) "c", NULL
28542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28544 if (!SWIG_IsOK(res1
)) {
28545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
28547 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28550 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28554 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
28555 wxPyEndAllowThreads(__tstate
);
28556 if (PyErr_Occurred()) SWIG_fail
;
28558 resultobj
= SWIG_Py_Void();
28565 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28566 PyObject
*resultobj
= 0;
28567 wxEffects
*arg1
= (wxEffects
*) 0 ;
28568 wxColour
*arg2
= 0 ;
28572 PyObject
* obj0
= 0 ;
28573 PyObject
* obj1
= 0 ;
28574 char * kwnames
[] = {
28575 (char *) "self",(char *) "c", NULL
28578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28580 if (!SWIG_IsOK(res1
)) {
28581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
28583 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28586 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28590 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
28591 wxPyEndAllowThreads(__tstate
);
28592 if (PyErr_Occurred()) SWIG_fail
;
28594 resultobj
= SWIG_Py_Void();
28601 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28602 PyObject
*resultobj
= 0;
28603 wxEffects
*arg1
= (wxEffects
*) 0 ;
28604 wxColour
*arg2
= 0 ;
28608 PyObject
* obj0
= 0 ;
28609 PyObject
* obj1
= 0 ;
28610 char * kwnames
[] = {
28611 (char *) "self",(char *) "c", NULL
28614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28616 if (!SWIG_IsOK(res1
)) {
28617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
28619 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28622 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28626 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
28627 wxPyEndAllowThreads(__tstate
);
28628 if (PyErr_Occurred()) SWIG_fail
;
28630 resultobj
= SWIG_Py_Void();
28637 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28638 PyObject
*resultobj
= 0;
28639 wxEffects
*arg1
= (wxEffects
*) 0 ;
28640 wxColour
*arg2
= 0 ;
28641 wxColour
*arg3
= 0 ;
28642 wxColour
*arg4
= 0 ;
28643 wxColour
*arg5
= 0 ;
28644 wxColour
*arg6
= 0 ;
28652 PyObject
* obj0
= 0 ;
28653 PyObject
* obj1
= 0 ;
28654 PyObject
* obj2
= 0 ;
28655 PyObject
* obj3
= 0 ;
28656 PyObject
* obj4
= 0 ;
28657 PyObject
* obj5
= 0 ;
28658 char * kwnames
[] = {
28659 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
28662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28664 if (!SWIG_IsOK(res1
)) {
28665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
28667 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28670 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28674 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28678 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
28682 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
28686 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28690 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
28691 wxPyEndAllowThreads(__tstate
);
28692 if (PyErr_Occurred()) SWIG_fail
;
28694 resultobj
= SWIG_Py_Void();
28701 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28702 PyObject
*resultobj
= 0;
28703 wxEffects
*arg1
= (wxEffects
*) 0 ;
28706 int arg4
= (int) 1 ;
28714 PyObject
* obj0
= 0 ;
28715 PyObject
* obj1
= 0 ;
28716 PyObject
* obj2
= 0 ;
28717 PyObject
* obj3
= 0 ;
28718 char * kwnames
[] = {
28719 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
28722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28724 if (!SWIG_IsOK(res1
)) {
28725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
28727 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28728 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
28729 if (!SWIG_IsOK(res2
)) {
28730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
28733 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
28735 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28738 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
28741 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28742 if (!SWIG_IsOK(ecode4
)) {
28743 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
28745 arg4
= static_cast< int >(val4
);
28748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28749 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
28750 wxPyEndAllowThreads(__tstate
);
28751 if (PyErr_Occurred()) SWIG_fail
;
28753 resultobj
= SWIG_Py_Void();
28760 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28761 PyObject
*resultobj
= 0;
28762 wxEffects
*arg1
= (wxEffects
*) 0 ;
28765 wxBitmap
*arg4
= 0 ;
28774 PyObject
* obj0
= 0 ;
28775 PyObject
* obj1
= 0 ;
28776 PyObject
* obj2
= 0 ;
28777 PyObject
* obj3
= 0 ;
28778 char * kwnames
[] = {
28779 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
28782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28784 if (!SWIG_IsOK(res1
)) {
28785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
28787 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28790 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28792 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28793 if (!SWIG_IsOK(res3
)) {
28794 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
28797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
28799 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28800 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
28801 if (!SWIG_IsOK(res4
)) {
28802 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
28805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
28807 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
28809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28810 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
28811 wxPyEndAllowThreads(__tstate
);
28812 if (PyErr_Occurred()) SWIG_fail
;
28815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28823 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28825 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28826 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
28827 return SWIG_Py_Void();
28830 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28831 return SWIG_Python_InitShadowInstance(args
);
28834 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28835 PyObject
*resultobj
= 0;
28839 wxSplitterRenderParams
*result
= 0 ;
28846 PyObject
* obj0
= 0 ;
28847 PyObject
* obj1
= 0 ;
28848 PyObject
* obj2
= 0 ;
28849 char * kwnames
[] = {
28850 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
28853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28854 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28855 if (!SWIG_IsOK(ecode1
)) {
28856 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
28858 arg1
= static_cast< int >(val1
);
28859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28860 if (!SWIG_IsOK(ecode2
)) {
28861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
28863 arg2
= static_cast< int >(val2
);
28864 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
28865 if (!SWIG_IsOK(ecode3
)) {
28866 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
28868 arg3
= static_cast< bool >(val3
);
28870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28871 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
28872 wxPyEndAllowThreads(__tstate
);
28873 if (PyErr_Occurred()) SWIG_fail
;
28875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
28882 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28883 PyObject
*resultobj
= 0;
28884 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
28887 PyObject
*swig_obj
[1] ;
28889 if (!args
) SWIG_fail
;
28890 swig_obj
[0] = args
;
28891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
28892 if (!SWIG_IsOK(res1
)) {
28893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
28895 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
28897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28900 wxPyEndAllowThreads(__tstate
);
28901 if (PyErr_Occurred()) SWIG_fail
;
28903 resultobj
= SWIG_Py_Void();
28910 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28911 PyObject
*resultobj
= 0;
28912 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
28916 PyObject
*swig_obj
[1] ;
28918 if (!args
) SWIG_fail
;
28919 swig_obj
[0] = args
;
28920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
28921 if (!SWIG_IsOK(res1
)) {
28922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
28924 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
28925 result
= (int)(int) ((arg1
)->widthSash
);
28926 resultobj
= SWIG_From_int(static_cast< int >(result
));
28933 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28934 PyObject
*resultobj
= 0;
28935 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
28939 PyObject
*swig_obj
[1] ;
28941 if (!args
) SWIG_fail
;
28942 swig_obj
[0] = args
;
28943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
28944 if (!SWIG_IsOK(res1
)) {
28945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
28947 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
28948 result
= (int)(int) ((arg1
)->border
);
28949 resultobj
= SWIG_From_int(static_cast< int >(result
));
28956 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28957 PyObject
*resultobj
= 0;
28958 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
28962 PyObject
*swig_obj
[1] ;
28964 if (!args
) SWIG_fail
;
28965 swig_obj
[0] = args
;
28966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
28967 if (!SWIG_IsOK(res1
)) {
28968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
28970 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
28971 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
28972 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
28979 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28981 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28982 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
28983 return SWIG_Py_Void();
28986 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28987 return SWIG_Python_InitShadowInstance(args
);
28990 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28991 PyObject
*resultobj
= 0;
28992 wxHeaderButtonParams
*result
= 0 ;
28994 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
28996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28997 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
28998 wxPyEndAllowThreads(__tstate
);
28999 if (PyErr_Occurred()) SWIG_fail
;
29001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
29008 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29009 PyObject
*resultobj
= 0;
29010 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29013 PyObject
*swig_obj
[1] ;
29015 if (!args
) SWIG_fail
;
29016 swig_obj
[0] = args
;
29017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
29018 if (!SWIG_IsOK(res1
)) {
29019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29021 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29026 wxPyEndAllowThreads(__tstate
);
29027 if (PyErr_Occurred()) SWIG_fail
;
29029 resultobj
= SWIG_Py_Void();
29036 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29037 PyObject
*resultobj
= 0;
29038 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29039 wxColour
*arg2
= (wxColour
*) 0 ;
29043 PyObject
*swig_obj
[2] ;
29045 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
29046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29047 if (!SWIG_IsOK(res1
)) {
29048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29050 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29053 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29055 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
29057 resultobj
= SWIG_Py_Void();
29064 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29065 PyObject
*resultobj
= 0;
29066 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29067 wxColour
*result
= 0 ;
29070 PyObject
*swig_obj
[1] ;
29072 if (!args
) SWIG_fail
;
29073 swig_obj
[0] = args
;
29074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29075 if (!SWIG_IsOK(res1
)) {
29076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29078 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29079 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
29080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29087 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29088 PyObject
*resultobj
= 0;
29089 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29090 wxColour
*arg2
= (wxColour
*) 0 ;
29094 PyObject
*swig_obj
[2] ;
29096 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
29097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29098 if (!SWIG_IsOK(res1
)) {
29099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29101 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29104 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29106 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
29108 resultobj
= SWIG_Py_Void();
29115 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29116 PyObject
*resultobj
= 0;
29117 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29118 wxColour
*result
= 0 ;
29121 PyObject
*swig_obj
[1] ;
29123 if (!args
) SWIG_fail
;
29124 swig_obj
[0] = args
;
29125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29126 if (!SWIG_IsOK(res1
)) {
29127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29129 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29130 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
29131 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29138 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29139 PyObject
*resultobj
= 0;
29140 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29141 wxString
*arg2
= (wxString
*) 0 ;
29144 bool temp2
= false ;
29145 PyObject
*swig_obj
[2] ;
29147 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
29148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29149 if (!SWIG_IsOK(res1
)) {
29150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29152 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29154 arg2
= wxString_in_helper(swig_obj
[1]);
29155 if (arg2
== NULL
) SWIG_fail
;
29158 if (arg1
) (arg1
)->m_labelText
= *arg2
;
29160 resultobj
= SWIG_Py_Void();
29175 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29176 PyObject
*resultobj
= 0;
29177 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29178 wxString
*result
= 0 ;
29181 PyObject
*swig_obj
[1] ;
29183 if (!args
) SWIG_fail
;
29184 swig_obj
[0] = args
;
29185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29186 if (!SWIG_IsOK(res1
)) {
29187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29189 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29190 result
= (wxString
*)& ((arg1
)->m_labelText
);
29193 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29195 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29204 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29205 PyObject
*resultobj
= 0;
29206 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29207 wxFont
*arg2
= (wxFont
*) 0 ;
29212 PyObject
*swig_obj
[2] ;
29214 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
29215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29216 if (!SWIG_IsOK(res1
)) {
29217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29219 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29220 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29221 if (!SWIG_IsOK(res2
)) {
29222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
29224 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29225 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
29227 resultobj
= SWIG_Py_Void();
29234 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29235 PyObject
*resultobj
= 0;
29236 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29237 wxFont
*result
= 0 ;
29240 PyObject
*swig_obj
[1] ;
29242 if (!args
) SWIG_fail
;
29243 swig_obj
[0] = args
;
29244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29245 if (!SWIG_IsOK(res1
)) {
29246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29248 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29249 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
29250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
29257 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29258 PyObject
*resultobj
= 0;
29259 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29260 wxColour
*arg2
= (wxColour
*) 0 ;
29264 PyObject
*swig_obj
[2] ;
29266 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
29267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29268 if (!SWIG_IsOK(res1
)) {
29269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29271 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29274 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29276 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
29278 resultobj
= SWIG_Py_Void();
29285 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29286 PyObject
*resultobj
= 0;
29287 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29288 wxColour
*result
= 0 ;
29291 PyObject
*swig_obj
[1] ;
29293 if (!args
) SWIG_fail
;
29294 swig_obj
[0] = args
;
29295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29296 if (!SWIG_IsOK(res1
)) {
29297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29299 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29300 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
29301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29308 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29309 PyObject
*resultobj
= 0;
29310 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29311 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29316 PyObject
*swig_obj
[2] ;
29318 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
29319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29320 if (!SWIG_IsOK(res1
)) {
29321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29323 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29324 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
29325 if (!SWIG_IsOK(res2
)) {
29326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
29328 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29329 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
29331 resultobj
= SWIG_Py_Void();
29338 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29339 PyObject
*resultobj
= 0;
29340 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29341 wxBitmap
*result
= 0 ;
29344 PyObject
*swig_obj
[1] ;
29346 if (!args
) SWIG_fail
;
29347 swig_obj
[0] = args
;
29348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29349 if (!SWIG_IsOK(res1
)) {
29350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29352 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29353 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
29354 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
29361 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29362 PyObject
*resultobj
= 0;
29363 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29369 PyObject
*swig_obj
[2] ;
29371 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
29372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29373 if (!SWIG_IsOK(res1
)) {
29374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29376 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29377 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
29378 if (!SWIG_IsOK(ecode2
)) {
29379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
29381 arg2
= static_cast< int >(val2
);
29382 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
29384 resultobj
= SWIG_Py_Void();
29391 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29392 PyObject
*resultobj
= 0;
29393 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29397 PyObject
*swig_obj
[1] ;
29399 if (!args
) SWIG_fail
;
29400 swig_obj
[0] = args
;
29401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29402 if (!SWIG_IsOK(res1
)) {
29403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29405 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29406 result
= (int) ((arg1
)->m_labelAlignment
);
29407 resultobj
= SWIG_From_int(static_cast< int >(result
));
29414 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29416 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29417 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
29418 return SWIG_Py_Void();
29421 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29422 return SWIG_Python_InitShadowInstance(args
);
29425 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29426 PyObject
*resultobj
= 0;
29429 wxRendererVersion
*result
= 0 ;
29434 PyObject
* obj0
= 0 ;
29435 PyObject
* obj1
= 0 ;
29436 char * kwnames
[] = {
29437 (char *) "version_",(char *) "age_", NULL
29440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29441 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29442 if (!SWIG_IsOK(ecode1
)) {
29443 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
29445 arg1
= static_cast< int >(val1
);
29446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29447 if (!SWIG_IsOK(ecode2
)) {
29448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
29450 arg2
= static_cast< int >(val2
);
29452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29453 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
29454 wxPyEndAllowThreads(__tstate
);
29455 if (PyErr_Occurred()) SWIG_fail
;
29457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
29464 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29465 PyObject
*resultobj
= 0;
29466 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
29469 PyObject
*swig_obj
[1] ;
29471 if (!args
) SWIG_fail
;
29472 swig_obj
[0] = args
;
29473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
29474 if (!SWIG_IsOK(res1
)) {
29475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
29477 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
29479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29482 wxPyEndAllowThreads(__tstate
);
29483 if (PyErr_Occurred()) SWIG_fail
;
29485 resultobj
= SWIG_Py_Void();
29492 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29493 PyObject
*resultobj
= 0;
29494 wxRendererVersion
*arg1
= 0 ;
29498 PyObject
* obj0
= 0 ;
29499 char * kwnames
[] = {
29500 (char *) "ver", NULL
29503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
29504 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
29505 if (!SWIG_IsOK(res1
)) {
29506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
29509 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
29511 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
29513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29514 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
29515 wxPyEndAllowThreads(__tstate
);
29516 if (PyErr_Occurred()) SWIG_fail
;
29519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29527 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29528 PyObject
*resultobj
= 0;
29529 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
29533 PyObject
*swig_obj
[1] ;
29535 if (!args
) SWIG_fail
;
29536 swig_obj
[0] = args
;
29537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
29538 if (!SWIG_IsOK(res1
)) {
29539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
29541 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
29542 result
= (int)(int) ((arg1
)->version
);
29543 resultobj
= SWIG_From_int(static_cast< int >(result
));
29550 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29551 PyObject
*resultobj
= 0;
29552 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
29556 PyObject
*swig_obj
[1] ;
29558 if (!args
) SWIG_fail
;
29559 swig_obj
[0] = args
;
29560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
29561 if (!SWIG_IsOK(res1
)) {
29562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
29564 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
29565 result
= (int)(int) ((arg1
)->age
);
29566 resultobj
= SWIG_From_int(static_cast< int >(result
));
29573 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29575 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29576 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
29577 return SWIG_Py_Void();
29580 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29581 return SWIG_Python_InitShadowInstance(args
);
29584 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29585 PyObject
*resultobj
= 0;
29586 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
29587 wxWindow
*arg2
= (wxWindow
*) 0 ;
29590 int arg5
= (int) 0 ;
29591 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
29592 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
29606 PyObject
* obj0
= 0 ;
29607 PyObject
* obj1
= 0 ;
29608 PyObject
* obj2
= 0 ;
29609 PyObject
* obj3
= 0 ;
29610 PyObject
* obj4
= 0 ;
29611 PyObject
* obj5
= 0 ;
29612 PyObject
* obj6
= 0 ;
29613 char * kwnames
[] = {
29614 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
29617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
29619 if (!SWIG_IsOK(res1
)) {
29620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
29622 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
29623 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29624 if (!SWIG_IsOK(res2
)) {
29625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
29627 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29628 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29629 if (!SWIG_IsOK(res3
)) {
29630 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
29633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
29635 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29638 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29641 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29642 if (!SWIG_IsOK(ecode5
)) {
29643 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
29645 arg5
= static_cast< int >(val5
);
29648 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
29649 if (!SWIG_IsOK(ecode6
)) {
29650 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
29652 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
29655 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29656 if (!SWIG_IsOK(res7
)) {
29657 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
29659 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
29662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29663 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
29664 wxPyEndAllowThreads(__tstate
);
29665 if (PyErr_Occurred()) SWIG_fail
;
29667 resultobj
= SWIG_Py_Void();
29674 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29675 PyObject
*resultobj
= 0;
29676 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
29677 wxWindow
*arg2
= (wxWindow
*) 0 ;
29680 int arg5
= (int) 0 ;
29681 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
29682 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
29696 PyObject
* obj0
= 0 ;
29697 PyObject
* obj1
= 0 ;
29698 PyObject
* obj2
= 0 ;
29699 PyObject
* obj3
= 0 ;
29700 PyObject
* obj4
= 0 ;
29701 PyObject
* obj5
= 0 ;
29702 PyObject
* obj6
= 0 ;
29703 char * kwnames
[] = {
29704 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
29707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
29709 if (!SWIG_IsOK(res1
)) {
29710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
29712 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
29713 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29714 if (!SWIG_IsOK(res2
)) {
29715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
29717 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29718 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29719 if (!SWIG_IsOK(res3
)) {
29720 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
29723 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
29725 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29728 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29731 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29732 if (!SWIG_IsOK(ecode5
)) {
29733 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
29735 arg5
= static_cast< int >(val5
);
29738 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
29739 if (!SWIG_IsOK(ecode6
)) {
29740 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
29742 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
29745 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29746 if (!SWIG_IsOK(res7
)) {
29747 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
29749 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
29752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29753 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
29754 wxPyEndAllowThreads(__tstate
);
29755 if (PyErr_Occurred()) SWIG_fail
;
29757 resultobj
= SWIG_Py_Void();
29764 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29765 PyObject
*resultobj
= 0;
29766 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
29767 wxWindow
*arg2
= (wxWindow
*) 0 ;
29773 PyObject
* obj0
= 0 ;
29774 PyObject
* obj1
= 0 ;
29775 char * kwnames
[] = {
29776 (char *) "self",(char *) "win", NULL
29779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
29781 if (!SWIG_IsOK(res1
)) {
29782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
29784 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
29785 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29786 if (!SWIG_IsOK(res2
)) {
29787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
29789 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29792 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
29793 wxPyEndAllowThreads(__tstate
);
29794 if (PyErr_Occurred()) SWIG_fail
;
29796 resultobj
= SWIG_From_int(static_cast< int >(result
));
29803 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29804 PyObject
*resultobj
= 0;
29805 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
29806 wxWindow
*arg2
= (wxWindow
*) 0 ;
29809 int arg5
= (int) 0 ;
29819 PyObject
* obj0
= 0 ;
29820 PyObject
* obj1
= 0 ;
29821 PyObject
* obj2
= 0 ;
29822 PyObject
* obj3
= 0 ;
29823 PyObject
* obj4
= 0 ;
29824 char * kwnames
[] = {
29825 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
29828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
29830 if (!SWIG_IsOK(res1
)) {
29831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
29833 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
29834 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29835 if (!SWIG_IsOK(res2
)) {
29836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
29838 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29839 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29840 if (!SWIG_IsOK(res3
)) {
29841 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
29844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
29846 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29849 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29852 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29853 if (!SWIG_IsOK(ecode5
)) {
29854 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
29856 arg5
= static_cast< int >(val5
);
29859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29860 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
29861 wxPyEndAllowThreads(__tstate
);
29862 if (PyErr_Occurred()) SWIG_fail
;
29864 resultobj
= SWIG_Py_Void();
29871 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29872 PyObject
*resultobj
= 0;
29873 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
29874 wxWindow
*arg2
= (wxWindow
*) 0 ;
29877 int arg5
= (int) 0 ;
29887 PyObject
* obj0
= 0 ;
29888 PyObject
* obj1
= 0 ;
29889 PyObject
* obj2
= 0 ;
29890 PyObject
* obj3
= 0 ;
29891 PyObject
* obj4
= 0 ;
29892 char * kwnames
[] = {
29893 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
29896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
29898 if (!SWIG_IsOK(res1
)) {
29899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
29901 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
29902 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29903 if (!SWIG_IsOK(res2
)) {
29904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
29906 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29907 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29908 if (!SWIG_IsOK(res3
)) {
29909 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
29912 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
29914 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29917 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29920 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29921 if (!SWIG_IsOK(ecode5
)) {
29922 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
29924 arg5
= static_cast< int >(val5
);
29927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29928 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
29929 wxPyEndAllowThreads(__tstate
);
29930 if (PyErr_Occurred()) SWIG_fail
;
29932 resultobj
= SWIG_Py_Void();
29939 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29940 PyObject
*resultobj
= 0;
29941 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
29942 wxWindow
*arg2
= (wxWindow
*) 0 ;
29946 wxOrientation arg6
;
29947 int arg7
= (int) 0 ;
29961 PyObject
* obj0
= 0 ;
29962 PyObject
* obj1
= 0 ;
29963 PyObject
* obj2
= 0 ;
29964 PyObject
* obj3
= 0 ;
29965 PyObject
* obj4
= 0 ;
29966 PyObject
* obj5
= 0 ;
29967 PyObject
* obj6
= 0 ;
29968 char * kwnames
[] = {
29969 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
29972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
29974 if (!SWIG_IsOK(res1
)) {
29975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
29977 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
29978 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29979 if (!SWIG_IsOK(res2
)) {
29980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
29982 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29983 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29984 if (!SWIG_IsOK(res3
)) {
29985 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
29988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
29990 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29993 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29995 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29996 if (!SWIG_IsOK(ecode5
)) {
29997 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
29999 arg5
= static_cast< int >(val5
);
30000 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30001 if (!SWIG_IsOK(ecode6
)) {
30002 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
30004 arg6
= static_cast< wxOrientation
>(val6
);
30006 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
30007 if (!SWIG_IsOK(ecode7
)) {
30008 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
30010 arg7
= static_cast< int >(val7
);
30013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30014 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
30015 wxPyEndAllowThreads(__tstate
);
30016 if (PyErr_Occurred()) SWIG_fail
;
30018 resultobj
= SWIG_Py_Void();
30025 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30026 PyObject
*resultobj
= 0;
30027 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30028 wxWindow
*arg2
= (wxWindow
*) 0 ;
30031 int arg5
= (int) 0 ;
30041 PyObject
* obj0
= 0 ;
30042 PyObject
* obj1
= 0 ;
30043 PyObject
* obj2
= 0 ;
30044 PyObject
* obj3
= 0 ;
30045 PyObject
* obj4
= 0 ;
30046 char * kwnames
[] = {
30047 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30052 if (!SWIG_IsOK(res1
)) {
30053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30055 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30056 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30057 if (!SWIG_IsOK(res2
)) {
30058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30060 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30061 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30062 if (!SWIG_IsOK(res3
)) {
30063 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
30066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
30068 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30071 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30074 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30075 if (!SWIG_IsOK(ecode5
)) {
30076 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
30078 arg5
= static_cast< int >(val5
);
30081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30082 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30083 wxPyEndAllowThreads(__tstate
);
30084 if (PyErr_Occurred()) SWIG_fail
;
30086 resultobj
= SWIG_Py_Void();
30093 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30094 PyObject
*resultobj
= 0;
30095 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30096 wxWindow
*arg2
= (wxWindow
*) 0 ;
30099 int arg5
= (int) 0 ;
30109 PyObject
* obj0
= 0 ;
30110 PyObject
* obj1
= 0 ;
30111 PyObject
* obj2
= 0 ;
30112 PyObject
* obj3
= 0 ;
30113 PyObject
* obj4
= 0 ;
30114 char * kwnames
[] = {
30115 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30120 if (!SWIG_IsOK(res1
)) {
30121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30123 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30124 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30125 if (!SWIG_IsOK(res2
)) {
30126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
30128 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30129 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30130 if (!SWIG_IsOK(res3
)) {
30131 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
30134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
30136 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30139 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30142 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30143 if (!SWIG_IsOK(ecode5
)) {
30144 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
30146 arg5
= static_cast< int >(val5
);
30149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30150 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30151 wxPyEndAllowThreads(__tstate
);
30152 if (PyErr_Occurred()) SWIG_fail
;
30154 resultobj
= SWIG_Py_Void();
30161 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30162 PyObject
*resultobj
= 0;
30163 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30164 wxWindow
*arg2
= (wxWindow
*) 0 ;
30167 int arg5
= (int) 0 ;
30177 PyObject
* obj0
= 0 ;
30178 PyObject
* obj1
= 0 ;
30179 PyObject
* obj2
= 0 ;
30180 PyObject
* obj3
= 0 ;
30181 PyObject
* obj4
= 0 ;
30182 char * kwnames
[] = {
30183 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30188 if (!SWIG_IsOK(res1
)) {
30189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30191 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30192 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30193 if (!SWIG_IsOK(res2
)) {
30194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
30196 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30197 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30198 if (!SWIG_IsOK(res3
)) {
30199 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
30202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
30204 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30207 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30210 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30211 if (!SWIG_IsOK(ecode5
)) {
30212 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
30214 arg5
= static_cast< int >(val5
);
30217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30218 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30219 wxPyEndAllowThreads(__tstate
);
30220 if (PyErr_Occurred()) SWIG_fail
;
30222 resultobj
= SWIG_Py_Void();
30229 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30230 PyObject
*resultobj
= 0;
30231 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30232 wxWindow
*arg2
= (wxWindow
*) 0 ;
30235 int arg5
= (int) 0 ;
30245 PyObject
* obj0
= 0 ;
30246 PyObject
* obj1
= 0 ;
30247 PyObject
* obj2
= 0 ;
30248 PyObject
* obj3
= 0 ;
30249 PyObject
* obj4
= 0 ;
30250 char * kwnames
[] = {
30251 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30256 if (!SWIG_IsOK(res1
)) {
30257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30259 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30260 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30261 if (!SWIG_IsOK(res2
)) {
30262 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30264 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30265 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30266 if (!SWIG_IsOK(res3
)) {
30267 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
30270 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
30272 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30275 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30278 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30279 if (!SWIG_IsOK(ecode5
)) {
30280 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
30282 arg5
= static_cast< int >(val5
);
30285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30286 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30287 wxPyEndAllowThreads(__tstate
);
30288 if (PyErr_Occurred()) SWIG_fail
;
30290 resultobj
= SWIG_Py_Void();
30297 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30298 PyObject
*resultobj
= 0;
30299 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30300 wxWindow
*arg2
= (wxWindow
*) 0 ;
30303 int arg5
= (int) 0 ;
30313 PyObject
* obj0
= 0 ;
30314 PyObject
* obj1
= 0 ;
30315 PyObject
* obj2
= 0 ;
30316 PyObject
* obj3
= 0 ;
30317 PyObject
* obj4
= 0 ;
30318 char * kwnames
[] = {
30319 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30324 if (!SWIG_IsOK(res1
)) {
30325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30327 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30328 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30329 if (!SWIG_IsOK(res2
)) {
30330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
30332 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30333 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30334 if (!SWIG_IsOK(res3
)) {
30335 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
30338 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
30340 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30343 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30346 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30347 if (!SWIG_IsOK(ecode5
)) {
30348 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
30350 arg5
= static_cast< int >(val5
);
30353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30354 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30355 wxPyEndAllowThreads(__tstate
);
30356 if (PyErr_Occurred()) SWIG_fail
;
30358 resultobj
= SWIG_Py_Void();
30365 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30366 PyObject
*resultobj
= 0;
30367 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30368 wxWindow
*arg2
= (wxWindow
*) 0 ;
30369 SwigValueWrapper
<wxSplitterRenderParams
> result
;
30374 PyObject
* obj0
= 0 ;
30375 PyObject
* obj1
= 0 ;
30376 char * kwnames
[] = {
30377 (char *) "self",(char *) "win", NULL
30380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30382 if (!SWIG_IsOK(res1
)) {
30383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30385 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30386 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30387 if (!SWIG_IsOK(res2
)) {
30388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
30390 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30393 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
30394 wxPyEndAllowThreads(__tstate
);
30395 if (PyErr_Occurred()) SWIG_fail
;
30397 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
30404 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30405 PyObject
*resultobj
= 0;
30406 wxRendererNative
*result
= 0 ;
30408 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
30410 if (!wxPyCheckForApp()) SWIG_fail
;
30411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30413 wxRendererNative
&_result_ref
= wxRendererNative::Get();
30414 result
= (wxRendererNative
*) &_result_ref
;
30416 wxPyEndAllowThreads(__tstate
);
30417 if (PyErr_Occurred()) SWIG_fail
;
30419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30426 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30427 PyObject
*resultobj
= 0;
30428 wxRendererNative
*result
= 0 ;
30430 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
30432 if (!wxPyCheckForApp()) SWIG_fail
;
30433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30435 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
30436 result
= (wxRendererNative
*) &_result_ref
;
30438 wxPyEndAllowThreads(__tstate
);
30439 if (PyErr_Occurred()) SWIG_fail
;
30441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30448 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30449 PyObject
*resultobj
= 0;
30450 wxRendererNative
*result
= 0 ;
30452 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
30454 if (!wxPyCheckForApp()) SWIG_fail
;
30455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30457 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
30458 result
= (wxRendererNative
*) &_result_ref
;
30460 wxPyEndAllowThreads(__tstate
);
30461 if (PyErr_Occurred()) SWIG_fail
;
30463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30470 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30471 PyObject
*resultobj
= 0;
30472 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30473 wxRendererNative
*result
= 0 ;
30476 PyObject
* obj0
= 0 ;
30477 char * kwnames
[] = {
30478 (char *) "renderer", NULL
30481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
30482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30483 if (!SWIG_IsOK(res1
)) {
30484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30486 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30488 if (!wxPyCheckForApp()) SWIG_fail
;
30489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30490 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
30491 wxPyEndAllowThreads(__tstate
);
30492 if (PyErr_Occurred()) SWIG_fail
;
30494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30501 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30502 PyObject
*resultobj
= 0;
30503 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30504 SwigValueWrapper
<wxRendererVersion
> result
;
30507 PyObject
*swig_obj
[1] ;
30509 if (!args
) SWIG_fail
;
30510 swig_obj
[0] = args
;
30511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30512 if (!SWIG_IsOK(res1
)) {
30513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
30515 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30518 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
30519 wxPyEndAllowThreads(__tstate
);
30520 if (PyErr_Occurred()) SWIG_fail
;
30522 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
30529 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30531 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30532 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
30533 return SWIG_Py_Void();
30536 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30537 PyObject
*resultobj
= 0;
30538 wxPseudoDC
*result
= 0 ;
30540 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
30542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30543 result
= (wxPseudoDC
*)new wxPseudoDC();
30544 wxPyEndAllowThreads(__tstate
);
30545 if (PyErr_Occurred()) SWIG_fail
;
30547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
30554 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30555 PyObject
*resultobj
= 0;
30556 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30559 PyObject
*swig_obj
[1] ;
30561 if (!args
) SWIG_fail
;
30562 swig_obj
[0] = args
;
30563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30564 if (!SWIG_IsOK(res1
)) {
30565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30567 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30570 (arg1
)->BeginDrawing();
30571 wxPyEndAllowThreads(__tstate
);
30572 if (PyErr_Occurred()) SWIG_fail
;
30574 resultobj
= SWIG_Py_Void();
30581 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30582 PyObject
*resultobj
= 0;
30583 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30586 PyObject
*swig_obj
[1] ;
30588 if (!args
) SWIG_fail
;
30589 swig_obj
[0] = args
;
30590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30591 if (!SWIG_IsOK(res1
)) {
30592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30594 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30597 (arg1
)->EndDrawing();
30598 wxPyEndAllowThreads(__tstate
);
30599 if (PyErr_Occurred()) SWIG_fail
;
30601 resultobj
= SWIG_Py_Void();
30608 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30609 PyObject
*resultobj
= 0;
30610 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30613 PyObject
*swig_obj
[1] ;
30615 if (!args
) SWIG_fail
;
30616 swig_obj
[0] = args
;
30617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
30618 if (!SWIG_IsOK(res1
)) {
30619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30621 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30626 wxPyEndAllowThreads(__tstate
);
30627 if (PyErr_Occurred()) SWIG_fail
;
30629 resultobj
= SWIG_Py_Void();
30636 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30637 PyObject
*resultobj
= 0;
30638 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30641 PyObject
*swig_obj
[1] ;
30643 if (!args
) SWIG_fail
;
30644 swig_obj
[0] = args
;
30645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30646 if (!SWIG_IsOK(res1
)) {
30647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30649 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30652 (arg1
)->RemoveAll();
30653 wxPyEndAllowThreads(__tstate
);
30654 if (PyErr_Occurred()) SWIG_fail
;
30656 resultobj
= SWIG_Py_Void();
30663 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30664 PyObject
*resultobj
= 0;
30665 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30669 PyObject
*swig_obj
[1] ;
30671 if (!args
) SWIG_fail
;
30672 swig_obj
[0] = args
;
30673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30674 if (!SWIG_IsOK(res1
)) {
30675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30677 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30680 result
= (int)(arg1
)->GetLen();
30681 wxPyEndAllowThreads(__tstate
);
30682 if (PyErr_Occurred()) SWIG_fail
;
30684 resultobj
= SWIG_From_int(static_cast< int >(result
));
30691 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30692 PyObject
*resultobj
= 0;
30693 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30699 PyObject
* obj0
= 0 ;
30700 PyObject
* obj1
= 0 ;
30701 char * kwnames
[] = {
30702 (char *) "self",(char *) "id", NULL
30705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30707 if (!SWIG_IsOK(res1
)) {
30708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30710 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30712 if (!SWIG_IsOK(ecode2
)) {
30713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
30715 arg2
= static_cast< int >(val2
);
30717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30718 (arg1
)->SetId(arg2
);
30719 wxPyEndAllowThreads(__tstate
);
30720 if (PyErr_Occurred()) SWIG_fail
;
30722 resultobj
= SWIG_Py_Void();
30729 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30730 PyObject
*resultobj
= 0;
30731 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30737 PyObject
* obj0
= 0 ;
30738 PyObject
* obj1
= 0 ;
30739 char * kwnames
[] = {
30740 (char *) "self",(char *) "id", NULL
30743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30745 if (!SWIG_IsOK(res1
)) {
30746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30748 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30749 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30750 if (!SWIG_IsOK(ecode2
)) {
30751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
30753 arg2
= static_cast< int >(val2
);
30755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30756 (arg1
)->ClearId(arg2
);
30757 wxPyEndAllowThreads(__tstate
);
30758 if (PyErr_Occurred()) SWIG_fail
;
30760 resultobj
= SWIG_Py_Void();
30767 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30768 PyObject
*resultobj
= 0;
30769 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30775 PyObject
* obj0
= 0 ;
30776 PyObject
* obj1
= 0 ;
30777 char * kwnames
[] = {
30778 (char *) "self",(char *) "id", NULL
30781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30783 if (!SWIG_IsOK(res1
)) {
30784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30786 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30788 if (!SWIG_IsOK(ecode2
)) {
30789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
30791 arg2
= static_cast< int >(val2
);
30793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30794 (arg1
)->RemoveId(arg2
);
30795 wxPyEndAllowThreads(__tstate
);
30796 if (PyErr_Occurred()) SWIG_fail
;
30798 resultobj
= SWIG_Py_Void();
30805 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30806 PyObject
*resultobj
= 0;
30807 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30819 PyObject
* obj0
= 0 ;
30820 PyObject
* obj1
= 0 ;
30821 PyObject
* obj2
= 0 ;
30822 PyObject
* obj3
= 0 ;
30823 char * kwnames
[] = {
30824 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
30827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30829 if (!SWIG_IsOK(res1
)) {
30830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30832 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30834 if (!SWIG_IsOK(ecode2
)) {
30835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
30837 arg2
= static_cast< int >(val2
);
30838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30839 if (!SWIG_IsOK(ecode3
)) {
30840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
30842 arg3
= static_cast< int >(val3
);
30843 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30844 if (!SWIG_IsOK(ecode4
)) {
30845 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
30847 arg4
= static_cast< int >(val4
);
30849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30850 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
30851 wxPyEndAllowThreads(__tstate
);
30852 if (PyErr_Occurred()) SWIG_fail
;
30854 resultobj
= SWIG_Py_Void();
30861 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30862 PyObject
*resultobj
= 0;
30863 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30865 bool arg3
= (bool) true ;
30872 PyObject
* obj0
= 0 ;
30873 PyObject
* obj1
= 0 ;
30874 PyObject
* obj2
= 0 ;
30875 char * kwnames
[] = {
30876 (char *) "self",(char *) "id",(char *) "greyout", NULL
30879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30881 if (!SWIG_IsOK(res1
)) {
30882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30884 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30886 if (!SWIG_IsOK(ecode2
)) {
30887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
30889 arg2
= static_cast< int >(val2
);
30891 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30892 if (!SWIG_IsOK(ecode3
)) {
30893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
30895 arg3
= static_cast< bool >(val3
);
30898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30899 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
30900 wxPyEndAllowThreads(__tstate
);
30901 if (PyErr_Occurred()) SWIG_fail
;
30903 resultobj
= SWIG_Py_Void();
30910 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30911 PyObject
*resultobj
= 0;
30912 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30919 PyObject
* obj0
= 0 ;
30920 PyObject
* obj1
= 0 ;
30921 char * kwnames
[] = {
30922 (char *) "self",(char *) "id", NULL
30925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30927 if (!SWIG_IsOK(res1
)) {
30928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30930 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30932 if (!SWIG_IsOK(ecode2
)) {
30933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
30935 arg2
= static_cast< int >(val2
);
30937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30938 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
30939 wxPyEndAllowThreads(__tstate
);
30940 if (PyErr_Occurred()) SWIG_fail
;
30943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30951 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30952 PyObject
*resultobj
= 0;
30953 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30956 int arg4
= (int) 1 ;
30957 wxColor
const &arg5_defvalue
= *wxWHITE
;
30958 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
30959 PyObject
*result
= 0 ;
30970 PyObject
* obj0
= 0 ;
30971 PyObject
* obj1
= 0 ;
30972 PyObject
* obj2
= 0 ;
30973 PyObject
* obj3
= 0 ;
30974 PyObject
* obj4
= 0 ;
30975 char * kwnames
[] = {
30976 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
30979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30981 if (!SWIG_IsOK(res1
)) {
30982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30984 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30986 if (!SWIG_IsOK(ecode2
)) {
30987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
30989 arg2
= static_cast< int >(val2
);
30990 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30991 if (!SWIG_IsOK(ecode3
)) {
30992 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
30994 arg3
= static_cast< int >(val3
);
30996 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30997 if (!SWIG_IsOK(ecode4
)) {
30998 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
31000 arg4
= static_cast< int >(val4
);
31003 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
31004 if (!SWIG_IsOK(res5
)) {
31005 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31008 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31010 arg5
= reinterpret_cast< wxColor
* >(argp5
);
31013 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
31014 if (PyErr_Occurred()) SWIG_fail
;
31016 resultobj
= result
;
31023 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31024 PyObject
*resultobj
= 0;
31025 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31028 PyObject
*result
= 0 ;
31035 PyObject
* obj0
= 0 ;
31036 PyObject
* obj1
= 0 ;
31037 PyObject
* obj2
= 0 ;
31038 char * kwnames
[] = {
31039 (char *) "self",(char *) "x",(char *) "y", NULL
31042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31044 if (!SWIG_IsOK(res1
)) {
31045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31047 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31049 if (!SWIG_IsOK(ecode2
)) {
31050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
31052 arg2
= static_cast< int >(val2
);
31053 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31054 if (!SWIG_IsOK(ecode3
)) {
31055 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
31057 arg3
= static_cast< int >(val3
);
31059 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
31060 if (PyErr_Occurred()) SWIG_fail
;
31062 resultobj
= result
;
31069 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31070 PyObject
*resultobj
= 0;
31071 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31073 wxDC
*arg3
= (wxDC
*) 0 ;
31080 PyObject
* obj0
= 0 ;
31081 PyObject
* obj1
= 0 ;
31082 PyObject
* obj2
= 0 ;
31083 char * kwnames
[] = {
31084 (char *) "self",(char *) "id",(char *) "dc", NULL
31087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31089 if (!SWIG_IsOK(res1
)) {
31090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31092 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31094 if (!SWIG_IsOK(ecode2
)) {
31095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
31097 arg2
= static_cast< int >(val2
);
31098 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
31099 if (!SWIG_IsOK(res3
)) {
31100 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
31102 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31105 (arg1
)->DrawIdToDC(arg2
,arg3
);
31106 wxPyEndAllowThreads(__tstate
);
31107 if (PyErr_Occurred()) SWIG_fail
;
31109 resultobj
= SWIG_Py_Void();
31116 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31117 PyObject
*resultobj
= 0;
31118 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31126 PyObject
* obj0
= 0 ;
31127 PyObject
* obj1
= 0 ;
31128 PyObject
* obj2
= 0 ;
31129 char * kwnames
[] = {
31130 (char *) "self",(char *) "id",(char *) "rect", NULL
31133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31135 if (!SWIG_IsOK(res1
)) {
31136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31138 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31140 if (!SWIG_IsOK(ecode2
)) {
31141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
31143 arg2
= static_cast< int >(val2
);
31146 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31150 (arg1
)->SetIdBounds(arg2
,*arg3
);
31151 wxPyEndAllowThreads(__tstate
);
31152 if (PyErr_Occurred()) SWIG_fail
;
31154 resultobj
= SWIG_Py_Void();
31161 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31162 PyObject
*resultobj
= 0;
31163 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31170 PyObject
* obj0
= 0 ;
31171 PyObject
* obj1
= 0 ;
31172 char * kwnames
[] = {
31173 (char *) "self",(char *) "id", NULL
31176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31178 if (!SWIG_IsOK(res1
)) {
31179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31181 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31183 if (!SWIG_IsOK(ecode2
)) {
31184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
31186 arg2
= static_cast< int >(val2
);
31188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31189 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
31190 wxPyEndAllowThreads(__tstate
);
31191 if (PyErr_Occurred()) SWIG_fail
;
31193 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
31200 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31201 PyObject
*resultobj
= 0;
31202 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31203 wxDC
*arg2
= (wxDC
*) 0 ;
31210 PyObject
* obj0
= 0 ;
31211 PyObject
* obj1
= 0 ;
31212 PyObject
* obj2
= 0 ;
31213 char * kwnames
[] = {
31214 (char *) "self",(char *) "dc",(char *) "rect", NULL
31217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31219 if (!SWIG_IsOK(res1
)) {
31220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31222 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31223 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31224 if (!SWIG_IsOK(res2
)) {
31225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
31227 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31230 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31234 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
31235 wxPyEndAllowThreads(__tstate
);
31236 if (PyErr_Occurred()) SWIG_fail
;
31238 resultobj
= SWIG_Py_Void();
31245 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31246 PyObject
*resultobj
= 0;
31247 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31248 wxDC
*arg2
= (wxDC
*) 0 ;
31249 wxRegion
*arg3
= 0 ;
31256 PyObject
* obj0
= 0 ;
31257 PyObject
* obj1
= 0 ;
31258 PyObject
* obj2
= 0 ;
31259 char * kwnames
[] = {
31260 (char *) "self",(char *) "dc",(char *) "region", NULL
31263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31265 if (!SWIG_IsOK(res1
)) {
31266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31268 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31269 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31270 if (!SWIG_IsOK(res2
)) {
31271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
31273 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31274 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
31275 if (!SWIG_IsOK(res3
)) {
31276 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
31279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
31281 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
31283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31284 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
31285 wxPyEndAllowThreads(__tstate
);
31286 if (PyErr_Occurred()) SWIG_fail
;
31288 resultobj
= SWIG_Py_Void();
31295 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31296 PyObject
*resultobj
= 0;
31297 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31298 wxDC
*arg2
= (wxDC
*) 0 ;
31303 PyObject
* obj0
= 0 ;
31304 PyObject
* obj1
= 0 ;
31305 char * kwnames
[] = {
31306 (char *) "self",(char *) "dc", NULL
31309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31311 if (!SWIG_IsOK(res1
)) {
31312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31314 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31315 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31316 if (!SWIG_IsOK(res2
)) {
31317 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
31319 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31322 (arg1
)->DrawToDC(arg2
);
31323 wxPyEndAllowThreads(__tstate
);
31324 if (PyErr_Occurred()) SWIG_fail
;
31326 resultobj
= SWIG_Py_Void();
31333 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31334 PyObject
*resultobj
= 0;
31335 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31338 wxColour
*arg4
= 0 ;
31339 int arg5
= (int) wxFLOOD_SURFACE
;
31349 PyObject
* obj0
= 0 ;
31350 PyObject
* obj1
= 0 ;
31351 PyObject
* obj2
= 0 ;
31352 PyObject
* obj3
= 0 ;
31353 PyObject
* obj4
= 0 ;
31354 char * kwnames
[] = {
31355 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
31358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31360 if (!SWIG_IsOK(res1
)) {
31361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31363 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31365 if (!SWIG_IsOK(ecode2
)) {
31366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
31368 arg2
= static_cast< int >(val2
);
31369 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31370 if (!SWIG_IsOK(ecode3
)) {
31371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
31373 arg3
= static_cast< int >(val3
);
31376 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
31379 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31380 if (!SWIG_IsOK(ecode5
)) {
31381 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
31383 arg5
= static_cast< int >(val5
);
31386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31387 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
31388 wxPyEndAllowThreads(__tstate
);
31389 if (PyErr_Occurred()) SWIG_fail
;
31391 resultobj
= SWIG_Py_Void();
31398 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31399 PyObject
*resultobj
= 0;
31400 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31401 wxPoint
*arg2
= 0 ;
31402 wxColour
*arg3
= 0 ;
31403 int arg4
= (int) wxFLOOD_SURFACE
;
31410 PyObject
* obj0
= 0 ;
31411 PyObject
* obj1
= 0 ;
31412 PyObject
* obj2
= 0 ;
31413 PyObject
* obj3
= 0 ;
31414 char * kwnames
[] = {
31415 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
31418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31420 if (!SWIG_IsOK(res1
)) {
31421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31423 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31426 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31430 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31433 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31434 if (!SWIG_IsOK(ecode4
)) {
31435 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
31437 arg4
= static_cast< int >(val4
);
31440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31441 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
31442 wxPyEndAllowThreads(__tstate
);
31443 if (PyErr_Occurred()) SWIG_fail
;
31445 resultobj
= SWIG_Py_Void();
31452 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31453 PyObject
*resultobj
= 0;
31454 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31469 PyObject
* obj0
= 0 ;
31470 PyObject
* obj1
= 0 ;
31471 PyObject
* obj2
= 0 ;
31472 PyObject
* obj3
= 0 ;
31473 PyObject
* obj4
= 0 ;
31474 char * kwnames
[] = {
31475 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
31478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31480 if (!SWIG_IsOK(res1
)) {
31481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31483 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31485 if (!SWIG_IsOK(ecode2
)) {
31486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
31488 arg2
= static_cast< int >(val2
);
31489 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31490 if (!SWIG_IsOK(ecode3
)) {
31491 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
31493 arg3
= static_cast< int >(val3
);
31494 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31495 if (!SWIG_IsOK(ecode4
)) {
31496 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
31498 arg4
= static_cast< int >(val4
);
31499 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31500 if (!SWIG_IsOK(ecode5
)) {
31501 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
31503 arg5
= static_cast< int >(val5
);
31505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31506 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
31507 wxPyEndAllowThreads(__tstate
);
31508 if (PyErr_Occurred()) SWIG_fail
;
31510 resultobj
= SWIG_Py_Void();
31517 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31518 PyObject
*resultobj
= 0;
31519 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31520 wxPoint
*arg2
= 0 ;
31521 wxPoint
*arg3
= 0 ;
31526 PyObject
* obj0
= 0 ;
31527 PyObject
* obj1
= 0 ;
31528 PyObject
* obj2
= 0 ;
31529 char * kwnames
[] = {
31530 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
31533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31535 if (!SWIG_IsOK(res1
)) {
31536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31538 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31541 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31545 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31549 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
31550 wxPyEndAllowThreads(__tstate
);
31551 if (PyErr_Occurred()) SWIG_fail
;
31553 resultobj
= SWIG_Py_Void();
31560 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31561 PyObject
*resultobj
= 0;
31562 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31571 PyObject
* obj0
= 0 ;
31572 PyObject
* obj1
= 0 ;
31573 PyObject
* obj2
= 0 ;
31574 char * kwnames
[] = {
31575 (char *) "self",(char *) "x",(char *) "y", NULL
31578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31580 if (!SWIG_IsOK(res1
)) {
31581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31583 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31585 if (!SWIG_IsOK(ecode2
)) {
31586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
31588 arg2
= static_cast< int >(val2
);
31589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31590 if (!SWIG_IsOK(ecode3
)) {
31591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
31593 arg3
= static_cast< int >(val3
);
31595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31596 (arg1
)->CrossHair(arg2
,arg3
);
31597 wxPyEndAllowThreads(__tstate
);
31598 if (PyErr_Occurred()) SWIG_fail
;
31600 resultobj
= SWIG_Py_Void();
31607 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31608 PyObject
*resultobj
= 0;
31609 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31610 wxPoint
*arg2
= 0 ;
31614 PyObject
* obj0
= 0 ;
31615 PyObject
* obj1
= 0 ;
31616 char * kwnames
[] = {
31617 (char *) "self",(char *) "pt", NULL
31620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31622 if (!SWIG_IsOK(res1
)) {
31623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31625 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31628 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31632 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
31633 wxPyEndAllowThreads(__tstate
);
31634 if (PyErr_Occurred()) SWIG_fail
;
31636 resultobj
= SWIG_Py_Void();
31643 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31644 PyObject
*resultobj
= 0;
31645 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31666 PyObject
* obj0
= 0 ;
31667 PyObject
* obj1
= 0 ;
31668 PyObject
* obj2
= 0 ;
31669 PyObject
* obj3
= 0 ;
31670 PyObject
* obj4
= 0 ;
31671 PyObject
* obj5
= 0 ;
31672 PyObject
* obj6
= 0 ;
31673 char * kwnames
[] = {
31674 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
31677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31679 if (!SWIG_IsOK(res1
)) {
31680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31682 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31684 if (!SWIG_IsOK(ecode2
)) {
31685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
31687 arg2
= static_cast< int >(val2
);
31688 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31689 if (!SWIG_IsOK(ecode3
)) {
31690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
31692 arg3
= static_cast< int >(val3
);
31693 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31694 if (!SWIG_IsOK(ecode4
)) {
31695 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
31697 arg4
= static_cast< int >(val4
);
31698 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31699 if (!SWIG_IsOK(ecode5
)) {
31700 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
31702 arg5
= static_cast< int >(val5
);
31703 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31704 if (!SWIG_IsOK(ecode6
)) {
31705 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
31707 arg6
= static_cast< int >(val6
);
31708 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
31709 if (!SWIG_IsOK(ecode7
)) {
31710 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
31712 arg7
= static_cast< int >(val7
);
31714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31715 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
31716 wxPyEndAllowThreads(__tstate
);
31717 if (PyErr_Occurred()) SWIG_fail
;
31719 resultobj
= SWIG_Py_Void();
31726 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31727 PyObject
*resultobj
= 0;
31728 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31729 wxPoint
*arg2
= 0 ;
31730 wxPoint
*arg3
= 0 ;
31731 wxPoint
*arg4
= 0 ;
31737 PyObject
* obj0
= 0 ;
31738 PyObject
* obj1
= 0 ;
31739 PyObject
* obj2
= 0 ;
31740 PyObject
* obj3
= 0 ;
31741 char * kwnames
[] = {
31742 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
31745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31747 if (!SWIG_IsOK(res1
)) {
31748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31750 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31753 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31757 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31761 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31765 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
31766 wxPyEndAllowThreads(__tstate
);
31767 if (PyErr_Occurred()) SWIG_fail
;
31769 resultobj
= SWIG_Py_Void();
31776 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31777 PyObject
*resultobj
= 0;
31778 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31793 PyObject
* obj0
= 0 ;
31794 PyObject
* obj1
= 0 ;
31795 PyObject
* obj2
= 0 ;
31796 PyObject
* obj3
= 0 ;
31797 PyObject
* obj4
= 0 ;
31798 char * kwnames
[] = {
31799 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
31802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31804 if (!SWIG_IsOK(res1
)) {
31805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31807 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31809 if (!SWIG_IsOK(ecode2
)) {
31810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
31812 arg2
= static_cast< int >(val2
);
31813 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31814 if (!SWIG_IsOK(ecode3
)) {
31815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
31817 arg3
= static_cast< int >(val3
);
31818 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31819 if (!SWIG_IsOK(ecode4
)) {
31820 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
31822 arg4
= static_cast< int >(val4
);
31823 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31824 if (!SWIG_IsOK(ecode5
)) {
31825 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
31827 arg5
= static_cast< int >(val5
);
31829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31830 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
31831 wxPyEndAllowThreads(__tstate
);
31832 if (PyErr_Occurred()) SWIG_fail
;
31834 resultobj
= SWIG_Py_Void();
31841 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31842 PyObject
*resultobj
= 0;
31843 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31848 PyObject
* obj0
= 0 ;
31849 PyObject
* obj1
= 0 ;
31850 char * kwnames
[] = {
31851 (char *) "self",(char *) "rect", NULL
31854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31856 if (!SWIG_IsOK(res1
)) {
31857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31859 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31862 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
31865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31866 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
31867 wxPyEndAllowThreads(__tstate
);
31868 if (PyErr_Occurred()) SWIG_fail
;
31870 resultobj
= SWIG_Py_Void();
31877 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31878 PyObject
*resultobj
= 0;
31879 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31900 PyObject
* obj0
= 0 ;
31901 PyObject
* obj1
= 0 ;
31902 PyObject
* obj2
= 0 ;
31903 PyObject
* obj3
= 0 ;
31904 PyObject
* obj4
= 0 ;
31905 PyObject
* obj5
= 0 ;
31906 PyObject
* obj6
= 0 ;
31907 char * kwnames
[] = {
31908 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
31911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31913 if (!SWIG_IsOK(res1
)) {
31914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31916 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31918 if (!SWIG_IsOK(ecode2
)) {
31919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
31921 arg2
= static_cast< int >(val2
);
31922 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31923 if (!SWIG_IsOK(ecode3
)) {
31924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
31926 arg3
= static_cast< int >(val3
);
31927 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31928 if (!SWIG_IsOK(ecode4
)) {
31929 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
31931 arg4
= static_cast< int >(val4
);
31932 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31933 if (!SWIG_IsOK(ecode5
)) {
31934 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
31936 arg5
= static_cast< int >(val5
);
31937 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31938 if (!SWIG_IsOK(ecode6
)) {
31939 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
31941 arg6
= static_cast< double >(val6
);
31942 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
31943 if (!SWIG_IsOK(ecode7
)) {
31944 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
31946 arg7
= static_cast< double >(val7
);
31948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31949 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
31950 wxPyEndAllowThreads(__tstate
);
31951 if (PyErr_Occurred()) SWIG_fail
;
31953 resultobj
= SWIG_Py_Void();
31960 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31961 PyObject
*resultobj
= 0;
31962 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31963 wxPoint
*arg2
= 0 ;
31975 PyObject
* obj0
= 0 ;
31976 PyObject
* obj1
= 0 ;
31977 PyObject
* obj2
= 0 ;
31978 PyObject
* obj3
= 0 ;
31979 PyObject
* obj4
= 0 ;
31980 char * kwnames
[] = {
31981 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
31984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31986 if (!SWIG_IsOK(res1
)) {
31987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31989 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31992 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31996 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
31998 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31999 if (!SWIG_IsOK(ecode4
)) {
32000 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
32002 arg4
= static_cast< double >(val4
);
32003 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
32004 if (!SWIG_IsOK(ecode5
)) {
32005 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
32007 arg5
= static_cast< double >(val5
);
32009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32010 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
32011 wxPyEndAllowThreads(__tstate
);
32012 if (PyErr_Occurred()) SWIG_fail
;
32014 resultobj
= SWIG_Py_Void();
32021 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32022 PyObject
*resultobj
= 0;
32023 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32032 PyObject
* obj0
= 0 ;
32033 PyObject
* obj1
= 0 ;
32034 PyObject
* obj2
= 0 ;
32035 char * kwnames
[] = {
32036 (char *) "self",(char *) "x",(char *) "y", NULL
32039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32041 if (!SWIG_IsOK(res1
)) {
32042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32044 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32046 if (!SWIG_IsOK(ecode2
)) {
32047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
32049 arg2
= static_cast< int >(val2
);
32050 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32051 if (!SWIG_IsOK(ecode3
)) {
32052 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
32054 arg3
= static_cast< int >(val3
);
32056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32057 (arg1
)->DrawPoint(arg2
,arg3
);
32058 wxPyEndAllowThreads(__tstate
);
32059 if (PyErr_Occurred()) SWIG_fail
;
32061 resultobj
= SWIG_Py_Void();
32068 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32069 PyObject
*resultobj
= 0;
32070 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32071 wxPoint
*arg2
= 0 ;
32075 PyObject
* obj0
= 0 ;
32076 PyObject
* obj1
= 0 ;
32077 char * kwnames
[] = {
32078 (char *) "self",(char *) "pt", NULL
32081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32083 if (!SWIG_IsOK(res1
)) {
32084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32086 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32089 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32093 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
32094 wxPyEndAllowThreads(__tstate
);
32095 if (PyErr_Occurred()) SWIG_fail
;
32097 resultobj
= SWIG_Py_Void();
32104 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32105 PyObject
*resultobj
= 0;
32106 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32121 PyObject
* obj0
= 0 ;
32122 PyObject
* obj1
= 0 ;
32123 PyObject
* obj2
= 0 ;
32124 PyObject
* obj3
= 0 ;
32125 PyObject
* obj4
= 0 ;
32126 char * kwnames
[] = {
32127 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32132 if (!SWIG_IsOK(res1
)) {
32133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32135 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32137 if (!SWIG_IsOK(ecode2
)) {
32138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
32140 arg2
= static_cast< int >(val2
);
32141 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32142 if (!SWIG_IsOK(ecode3
)) {
32143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
32145 arg3
= static_cast< int >(val3
);
32146 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32147 if (!SWIG_IsOK(ecode4
)) {
32148 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
32150 arg4
= static_cast< int >(val4
);
32151 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32152 if (!SWIG_IsOK(ecode5
)) {
32153 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
32155 arg5
= static_cast< int >(val5
);
32157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32158 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
32159 wxPyEndAllowThreads(__tstate
);
32160 if (PyErr_Occurred()) SWIG_fail
;
32162 resultobj
= SWIG_Py_Void();
32169 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32170 PyObject
*resultobj
= 0;
32171 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32176 PyObject
* obj0
= 0 ;
32177 PyObject
* obj1
= 0 ;
32178 char * kwnames
[] = {
32179 (char *) "self",(char *) "rect", NULL
32182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32184 if (!SWIG_IsOK(res1
)) {
32185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32187 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32190 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32194 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
32195 wxPyEndAllowThreads(__tstate
);
32196 if (PyErr_Occurred()) SWIG_fail
;
32198 resultobj
= SWIG_Py_Void();
32205 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32206 PyObject
*resultobj
= 0;
32207 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32208 wxPoint
*arg2
= 0 ;
32214 PyObject
* obj0
= 0 ;
32215 PyObject
* obj1
= 0 ;
32216 PyObject
* obj2
= 0 ;
32217 char * kwnames
[] = {
32218 (char *) "self",(char *) "pt",(char *) "sz", NULL
32221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32223 if (!SWIG_IsOK(res1
)) {
32224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32226 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32229 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32233 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32237 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
32238 wxPyEndAllowThreads(__tstate
);
32239 if (PyErr_Occurred()) SWIG_fail
;
32241 resultobj
= SWIG_Py_Void();
32248 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32249 PyObject
*resultobj
= 0;
32250 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32268 PyObject
* obj0
= 0 ;
32269 PyObject
* obj1
= 0 ;
32270 PyObject
* obj2
= 0 ;
32271 PyObject
* obj3
= 0 ;
32272 PyObject
* obj4
= 0 ;
32273 PyObject
* obj5
= 0 ;
32274 char * kwnames
[] = {
32275 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
32278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
32279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32280 if (!SWIG_IsOK(res1
)) {
32281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32283 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32285 if (!SWIG_IsOK(ecode2
)) {
32286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
32288 arg2
= static_cast< int >(val2
);
32289 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32290 if (!SWIG_IsOK(ecode3
)) {
32291 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
32293 arg3
= static_cast< int >(val3
);
32294 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32295 if (!SWIG_IsOK(ecode4
)) {
32296 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
32298 arg4
= static_cast< int >(val4
);
32299 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32300 if (!SWIG_IsOK(ecode5
)) {
32301 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
32303 arg5
= static_cast< int >(val5
);
32304 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
32305 if (!SWIG_IsOK(ecode6
)) {
32306 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
32308 arg6
= static_cast< double >(val6
);
32310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32311 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
32312 wxPyEndAllowThreads(__tstate
);
32313 if (PyErr_Occurred()) SWIG_fail
;
32315 resultobj
= SWIG_Py_Void();
32322 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32323 PyObject
*resultobj
= 0;
32324 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32332 PyObject
* obj0
= 0 ;
32333 PyObject
* obj1
= 0 ;
32334 PyObject
* obj2
= 0 ;
32335 char * kwnames
[] = {
32336 (char *) "self",(char *) "r",(char *) "radius", NULL
32339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32341 if (!SWIG_IsOK(res1
)) {
32342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32344 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32347 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32349 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
32350 if (!SWIG_IsOK(ecode3
)) {
32351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
32353 arg3
= static_cast< double >(val3
);
32355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32356 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
32357 wxPyEndAllowThreads(__tstate
);
32358 if (PyErr_Occurred()) SWIG_fail
;
32360 resultobj
= SWIG_Py_Void();
32367 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32368 PyObject
*resultobj
= 0;
32369 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32370 wxPoint
*arg2
= 0 ;
32379 PyObject
* obj0
= 0 ;
32380 PyObject
* obj1
= 0 ;
32381 PyObject
* obj2
= 0 ;
32382 PyObject
* obj3
= 0 ;
32383 char * kwnames
[] = {
32384 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
32387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32389 if (!SWIG_IsOK(res1
)) {
32390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32392 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32395 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32399 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32401 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
32402 if (!SWIG_IsOK(ecode4
)) {
32403 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
32405 arg4
= static_cast< double >(val4
);
32407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32408 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
32409 wxPyEndAllowThreads(__tstate
);
32410 if (PyErr_Occurred()) SWIG_fail
;
32412 resultobj
= SWIG_Py_Void();
32419 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32420 PyObject
*resultobj
= 0;
32421 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32433 PyObject
* obj0
= 0 ;
32434 PyObject
* obj1
= 0 ;
32435 PyObject
* obj2
= 0 ;
32436 PyObject
* obj3
= 0 ;
32437 char * kwnames
[] = {
32438 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
32441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32443 if (!SWIG_IsOK(res1
)) {
32444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32446 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32448 if (!SWIG_IsOK(ecode2
)) {
32449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
32451 arg2
= static_cast< int >(val2
);
32452 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32453 if (!SWIG_IsOK(ecode3
)) {
32454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
32456 arg3
= static_cast< int >(val3
);
32457 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32458 if (!SWIG_IsOK(ecode4
)) {
32459 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
32461 arg4
= static_cast< int >(val4
);
32463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32464 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
32465 wxPyEndAllowThreads(__tstate
);
32466 if (PyErr_Occurred()) SWIG_fail
;
32468 resultobj
= SWIG_Py_Void();
32475 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32476 PyObject
*resultobj
= 0;
32477 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32478 wxPoint
*arg2
= 0 ;
32485 PyObject
* obj0
= 0 ;
32486 PyObject
* obj1
= 0 ;
32487 PyObject
* obj2
= 0 ;
32488 char * kwnames
[] = {
32489 (char *) "self",(char *) "pt",(char *) "radius", NULL
32492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32494 if (!SWIG_IsOK(res1
)) {
32495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32497 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32500 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32502 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32503 if (!SWIG_IsOK(ecode3
)) {
32504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
32506 arg3
= static_cast< int >(val3
);
32508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32509 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
32510 wxPyEndAllowThreads(__tstate
);
32511 if (PyErr_Occurred()) SWIG_fail
;
32513 resultobj
= SWIG_Py_Void();
32520 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32521 PyObject
*resultobj
= 0;
32522 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32537 PyObject
* obj0
= 0 ;
32538 PyObject
* obj1
= 0 ;
32539 PyObject
* obj2
= 0 ;
32540 PyObject
* obj3
= 0 ;
32541 PyObject
* obj4
= 0 ;
32542 char * kwnames
[] = {
32543 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32548 if (!SWIG_IsOK(res1
)) {
32549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32551 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32553 if (!SWIG_IsOK(ecode2
)) {
32554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
32556 arg2
= static_cast< int >(val2
);
32557 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32558 if (!SWIG_IsOK(ecode3
)) {
32559 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
32561 arg3
= static_cast< int >(val3
);
32562 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32563 if (!SWIG_IsOK(ecode4
)) {
32564 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
32566 arg4
= static_cast< int >(val4
);
32567 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32568 if (!SWIG_IsOK(ecode5
)) {
32569 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
32571 arg5
= static_cast< int >(val5
);
32573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32574 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
32575 wxPyEndAllowThreads(__tstate
);
32576 if (PyErr_Occurred()) SWIG_fail
;
32578 resultobj
= SWIG_Py_Void();
32585 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32586 PyObject
*resultobj
= 0;
32587 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32592 PyObject
* obj0
= 0 ;
32593 PyObject
* obj1
= 0 ;
32594 char * kwnames
[] = {
32595 (char *) "self",(char *) "rect", NULL
32598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32600 if (!SWIG_IsOK(res1
)) {
32601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32603 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32606 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32610 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
32611 wxPyEndAllowThreads(__tstate
);
32612 if (PyErr_Occurred()) SWIG_fail
;
32614 resultobj
= SWIG_Py_Void();
32621 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32622 PyObject
*resultobj
= 0;
32623 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32624 wxPoint
*arg2
= 0 ;
32630 PyObject
* obj0
= 0 ;
32631 PyObject
* obj1
= 0 ;
32632 PyObject
* obj2
= 0 ;
32633 char * kwnames
[] = {
32634 (char *) "self",(char *) "pt",(char *) "sz", NULL
32637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32639 if (!SWIG_IsOK(res1
)) {
32640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32642 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32645 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32649 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32653 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
32654 wxPyEndAllowThreads(__tstate
);
32655 if (PyErr_Occurred()) SWIG_fail
;
32657 resultobj
= SWIG_Py_Void();
32664 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32665 PyObject
*resultobj
= 0;
32666 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32678 PyObject
* obj0
= 0 ;
32679 PyObject
* obj1
= 0 ;
32680 PyObject
* obj2
= 0 ;
32681 PyObject
* obj3
= 0 ;
32682 char * kwnames
[] = {
32683 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
32686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32688 if (!SWIG_IsOK(res1
)) {
32689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32691 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32692 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
32693 if (!SWIG_IsOK(res2
)) {
32694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
32697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
32699 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
32700 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32701 if (!SWIG_IsOK(ecode3
)) {
32702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
32704 arg3
= static_cast< int >(val3
);
32705 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32706 if (!SWIG_IsOK(ecode4
)) {
32707 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
32709 arg4
= static_cast< int >(val4
);
32711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32712 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
32713 wxPyEndAllowThreads(__tstate
);
32714 if (PyErr_Occurred()) SWIG_fail
;
32716 resultobj
= SWIG_Py_Void();
32723 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32724 PyObject
*resultobj
= 0;
32725 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32727 wxPoint
*arg3
= 0 ;
32733 PyObject
* obj0
= 0 ;
32734 PyObject
* obj1
= 0 ;
32735 PyObject
* obj2
= 0 ;
32736 char * kwnames
[] = {
32737 (char *) "self",(char *) "icon",(char *) "pt", NULL
32740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32742 if (!SWIG_IsOK(res1
)) {
32743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32745 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32746 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
32747 if (!SWIG_IsOK(res2
)) {
32748 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
32751 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
32753 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
32756 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32760 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
32761 wxPyEndAllowThreads(__tstate
);
32762 if (PyErr_Occurred()) SWIG_fail
;
32764 resultobj
= SWIG_Py_Void();
32771 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32772 PyObject
*resultobj
= 0;
32773 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32774 wxBitmap
*arg2
= 0 ;
32777 bool arg5
= (bool) false ;
32788 PyObject
* obj0
= 0 ;
32789 PyObject
* obj1
= 0 ;
32790 PyObject
* obj2
= 0 ;
32791 PyObject
* obj3
= 0 ;
32792 PyObject
* obj4
= 0 ;
32793 char * kwnames
[] = {
32794 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
32797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32799 if (!SWIG_IsOK(res1
)) {
32800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32802 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32803 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32804 if (!SWIG_IsOK(res2
)) {
32805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32810 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
32811 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32812 if (!SWIG_IsOK(ecode3
)) {
32813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
32815 arg3
= static_cast< int >(val3
);
32816 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32817 if (!SWIG_IsOK(ecode4
)) {
32818 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
32820 arg4
= static_cast< int >(val4
);
32822 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
32823 if (!SWIG_IsOK(ecode5
)) {
32824 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
32826 arg5
= static_cast< bool >(val5
);
32829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32830 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
32831 wxPyEndAllowThreads(__tstate
);
32832 if (PyErr_Occurred()) SWIG_fail
;
32834 resultobj
= SWIG_Py_Void();
32841 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32842 PyObject
*resultobj
= 0;
32843 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32844 wxBitmap
*arg2
= 0 ;
32845 wxPoint
*arg3
= 0 ;
32846 bool arg4
= (bool) false ;
32854 PyObject
* obj0
= 0 ;
32855 PyObject
* obj1
= 0 ;
32856 PyObject
* obj2
= 0 ;
32857 PyObject
* obj3
= 0 ;
32858 char * kwnames
[] = {
32859 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
32862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32864 if (!SWIG_IsOK(res1
)) {
32865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32867 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32868 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32869 if (!SWIG_IsOK(res2
)) {
32870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32875 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
32878 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32881 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
32882 if (!SWIG_IsOK(ecode4
)) {
32883 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
32885 arg4
= static_cast< bool >(val4
);
32888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32889 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
32890 wxPyEndAllowThreads(__tstate
);
32891 if (PyErr_Occurred()) SWIG_fail
;
32893 resultobj
= SWIG_Py_Void();
32900 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32901 PyObject
*resultobj
= 0;
32902 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32903 wxString
*arg2
= 0 ;
32908 bool temp2
= false ;
32913 PyObject
* obj0
= 0 ;
32914 PyObject
* obj1
= 0 ;
32915 PyObject
* obj2
= 0 ;
32916 PyObject
* obj3
= 0 ;
32917 char * kwnames
[] = {
32918 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
32921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32923 if (!SWIG_IsOK(res1
)) {
32924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32926 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32928 arg2
= wxString_in_helper(obj1
);
32929 if (arg2
== NULL
) SWIG_fail
;
32932 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32933 if (!SWIG_IsOK(ecode3
)) {
32934 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
32936 arg3
= static_cast< int >(val3
);
32937 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32938 if (!SWIG_IsOK(ecode4
)) {
32939 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
32941 arg4
= static_cast< int >(val4
);
32943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32944 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
32945 wxPyEndAllowThreads(__tstate
);
32946 if (PyErr_Occurred()) SWIG_fail
;
32948 resultobj
= SWIG_Py_Void();
32963 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32964 PyObject
*resultobj
= 0;
32965 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32966 wxString
*arg2
= 0 ;
32967 wxPoint
*arg3
= 0 ;
32970 bool temp2
= false ;
32972 PyObject
* obj0
= 0 ;
32973 PyObject
* obj1
= 0 ;
32974 PyObject
* obj2
= 0 ;
32975 char * kwnames
[] = {
32976 (char *) "self",(char *) "text",(char *) "pt", NULL
32979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32981 if (!SWIG_IsOK(res1
)) {
32982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32984 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32986 arg2
= wxString_in_helper(obj1
);
32987 if (arg2
== NULL
) SWIG_fail
;
32992 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32996 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
32997 wxPyEndAllowThreads(__tstate
);
32998 if (PyErr_Occurred()) SWIG_fail
;
33000 resultobj
= SWIG_Py_Void();
33015 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33016 PyObject
*resultobj
= 0;
33017 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33018 wxString
*arg2
= 0 ;
33024 bool temp2
= false ;
33031 PyObject
* obj0
= 0 ;
33032 PyObject
* obj1
= 0 ;
33033 PyObject
* obj2
= 0 ;
33034 PyObject
* obj3
= 0 ;
33035 PyObject
* obj4
= 0 ;
33036 char * kwnames
[] = {
33037 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
33040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33042 if (!SWIG_IsOK(res1
)) {
33043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33045 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33047 arg2
= wxString_in_helper(obj1
);
33048 if (arg2
== NULL
) SWIG_fail
;
33051 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33052 if (!SWIG_IsOK(ecode3
)) {
33053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
33055 arg3
= static_cast< int >(val3
);
33056 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33057 if (!SWIG_IsOK(ecode4
)) {
33058 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
33060 arg4
= static_cast< int >(val4
);
33061 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
33062 if (!SWIG_IsOK(ecode5
)) {
33063 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
33065 arg5
= static_cast< double >(val5
);
33067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33068 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33069 wxPyEndAllowThreads(__tstate
);
33070 if (PyErr_Occurred()) SWIG_fail
;
33072 resultobj
= SWIG_Py_Void();
33087 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33088 PyObject
*resultobj
= 0;
33089 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33090 wxString
*arg2
= 0 ;
33091 wxPoint
*arg3
= 0 ;
33095 bool temp2
= false ;
33099 PyObject
* obj0
= 0 ;
33100 PyObject
* obj1
= 0 ;
33101 PyObject
* obj2
= 0 ;
33102 PyObject
* obj3
= 0 ;
33103 char * kwnames
[] = {
33104 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
33107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33109 if (!SWIG_IsOK(res1
)) {
33110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33112 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33114 arg2
= wxString_in_helper(obj1
);
33115 if (arg2
== NULL
) SWIG_fail
;
33120 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33122 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33123 if (!SWIG_IsOK(ecode4
)) {
33124 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
33126 arg4
= static_cast< double >(val4
);
33128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33129 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
33130 wxPyEndAllowThreads(__tstate
);
33131 if (PyErr_Occurred()) SWIG_fail
;
33133 resultobj
= SWIG_Py_Void();
33148 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33149 PyObject
*resultobj
= 0;
33150 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33152 wxPoint
*arg3
= (wxPoint
*) 0 ;
33153 int arg4
= (int) 0 ;
33154 int arg5
= (int) 0 ;
33161 PyObject
* obj0
= 0 ;
33162 PyObject
* obj1
= 0 ;
33163 PyObject
* obj2
= 0 ;
33164 PyObject
* obj3
= 0 ;
33165 char * kwnames
[] = {
33166 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
33169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33171 if (!SWIG_IsOK(res1
)) {
33172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33174 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33176 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33177 if (arg3
== NULL
) SWIG_fail
;
33180 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
33181 if (!SWIG_IsOK(ecode4
)) {
33182 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
33184 arg4
= static_cast< int >(val4
);
33187 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
33188 if (!SWIG_IsOK(ecode5
)) {
33189 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
33191 arg5
= static_cast< int >(val5
);
33194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33195 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
33196 wxPyEndAllowThreads(__tstate
);
33197 if (PyErr_Occurred()) SWIG_fail
;
33199 resultobj
= SWIG_Py_Void();
33201 if (arg3
) delete [] arg3
;
33206 if (arg3
) delete [] arg3
;
33212 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33213 PyObject
*resultobj
= 0;
33214 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33216 wxPoint
*arg3
= (wxPoint
*) 0 ;
33217 int arg4
= (int) 0 ;
33218 int arg5
= (int) 0 ;
33219 int arg6
= (int) wxODDEVEN_RULE
;
33228 PyObject
* obj0
= 0 ;
33229 PyObject
* obj1
= 0 ;
33230 PyObject
* obj2
= 0 ;
33231 PyObject
* obj3
= 0 ;
33232 PyObject
* obj4
= 0 ;
33233 char * kwnames
[] = {
33234 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
33237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33239 if (!SWIG_IsOK(res1
)) {
33240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33242 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33244 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33245 if (arg3
== NULL
) SWIG_fail
;
33248 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
33249 if (!SWIG_IsOK(ecode4
)) {
33250 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
33252 arg4
= static_cast< int >(val4
);
33255 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
33256 if (!SWIG_IsOK(ecode5
)) {
33257 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
33259 arg5
= static_cast< int >(val5
);
33262 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
33263 if (!SWIG_IsOK(ecode6
)) {
33264 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
33266 arg6
= static_cast< int >(val6
);
33269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33270 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
33271 wxPyEndAllowThreads(__tstate
);
33272 if (PyErr_Occurred()) SWIG_fail
;
33274 resultobj
= SWIG_Py_Void();
33276 if (arg3
) delete [] arg3
;
33281 if (arg3
) delete [] arg3
;
33287 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33288 PyObject
*resultobj
= 0;
33289 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33290 wxString
*arg2
= 0 ;
33292 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
33293 int arg5
= (int) -1 ;
33296 bool temp2
= false ;
33302 PyObject
* obj0
= 0 ;
33303 PyObject
* obj1
= 0 ;
33304 PyObject
* obj2
= 0 ;
33305 PyObject
* obj3
= 0 ;
33306 PyObject
* obj4
= 0 ;
33307 char * kwnames
[] = {
33308 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
33311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33313 if (!SWIG_IsOK(res1
)) {
33314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33316 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33318 arg2
= wxString_in_helper(obj1
);
33319 if (arg2
== NULL
) SWIG_fail
;
33324 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33327 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33328 if (!SWIG_IsOK(ecode4
)) {
33329 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
33331 arg4
= static_cast< int >(val4
);
33334 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33335 if (!SWIG_IsOK(ecode5
)) {
33336 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
33338 arg5
= static_cast< int >(val5
);
33341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33342 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
33343 wxPyEndAllowThreads(__tstate
);
33344 if (PyErr_Occurred()) SWIG_fail
;
33346 resultobj
= SWIG_Py_Void();
33361 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33362 PyObject
*resultobj
= 0;
33363 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33364 wxString
*arg2
= 0 ;
33365 wxBitmap
*arg3
= 0 ;
33367 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
33368 int arg6
= (int) -1 ;
33371 bool temp2
= false ;
33379 PyObject
* obj0
= 0 ;
33380 PyObject
* obj1
= 0 ;
33381 PyObject
* obj2
= 0 ;
33382 PyObject
* obj3
= 0 ;
33383 PyObject
* obj4
= 0 ;
33384 PyObject
* obj5
= 0 ;
33385 char * kwnames
[] = {
33386 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
33389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33391 if (!SWIG_IsOK(res1
)) {
33392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33394 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33396 arg2
= wxString_in_helper(obj1
);
33397 if (arg2
== NULL
) SWIG_fail
;
33400 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33401 if (!SWIG_IsOK(res3
)) {
33402 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
33405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
33407 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
33410 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33413 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33414 if (!SWIG_IsOK(ecode5
)) {
33415 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
33417 arg5
= static_cast< int >(val5
);
33420 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33421 if (!SWIG_IsOK(ecode6
)) {
33422 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
33424 arg6
= static_cast< int >(val6
);
33427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33428 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
33429 wxPyEndAllowThreads(__tstate
);
33430 if (PyErr_Occurred()) SWIG_fail
;
33432 resultobj
= SWIG_Py_Void();
33447 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33448 PyObject
*resultobj
= 0;
33449 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33451 wxPoint
*arg3
= (wxPoint
*) 0 ;
33454 PyObject
* obj0
= 0 ;
33455 PyObject
* obj1
= 0 ;
33456 char * kwnames
[] = {
33457 (char *) "self",(char *) "points", NULL
33460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33462 if (!SWIG_IsOK(res1
)) {
33463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33465 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33467 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33468 if (arg3
== NULL
) SWIG_fail
;
33471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33472 (arg1
)->DrawSpline(arg2
,arg3
);
33473 wxPyEndAllowThreads(__tstate
);
33474 if (PyErr_Occurred()) SWIG_fail
;
33476 resultobj
= SWIG_Py_Void();
33478 if (arg3
) delete [] arg3
;
33483 if (arg3
) delete [] arg3
;
33489 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33490 PyObject
*resultobj
= 0;
33491 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33494 PyObject
*swig_obj
[1] ;
33496 if (!args
) SWIG_fail
;
33497 swig_obj
[0] = args
;
33498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33499 if (!SWIG_IsOK(res1
)) {
33500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33502 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33506 wxPyEndAllowThreads(__tstate
);
33507 if (PyErr_Occurred()) SWIG_fail
;
33509 resultobj
= SWIG_Py_Void();
33516 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33517 PyObject
*resultobj
= 0;
33518 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33524 PyObject
* obj0
= 0 ;
33525 PyObject
* obj1
= 0 ;
33526 char * kwnames
[] = {
33527 (char *) "self",(char *) "font", NULL
33530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33532 if (!SWIG_IsOK(res1
)) {
33533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33535 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33536 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
33537 if (!SWIG_IsOK(res2
)) {
33538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
33541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
33543 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33546 (arg1
)->SetFont((wxFont
const &)*arg2
);
33547 wxPyEndAllowThreads(__tstate
);
33548 if (PyErr_Occurred()) SWIG_fail
;
33550 resultobj
= SWIG_Py_Void();
33557 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33558 PyObject
*resultobj
= 0;
33559 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33565 PyObject
* obj0
= 0 ;
33566 PyObject
* obj1
= 0 ;
33567 char * kwnames
[] = {
33568 (char *) "self",(char *) "pen", NULL
33571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33573 if (!SWIG_IsOK(res1
)) {
33574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33576 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33577 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
33578 if (!SWIG_IsOK(res2
)) {
33579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
33582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
33584 arg2
= reinterpret_cast< wxPen
* >(argp2
);
33586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33587 (arg1
)->SetPen((wxPen
const &)*arg2
);
33588 wxPyEndAllowThreads(__tstate
);
33589 if (PyErr_Occurred()) SWIG_fail
;
33591 resultobj
= SWIG_Py_Void();
33598 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33599 PyObject
*resultobj
= 0;
33600 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33601 wxBrush
*arg2
= 0 ;
33606 PyObject
* obj0
= 0 ;
33607 PyObject
* obj1
= 0 ;
33608 char * kwnames
[] = {
33609 (char *) "self",(char *) "brush", NULL
33612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33614 if (!SWIG_IsOK(res1
)) {
33615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33617 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33618 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
33619 if (!SWIG_IsOK(res2
)) {
33620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
33623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
33625 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
33627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33628 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
33629 wxPyEndAllowThreads(__tstate
);
33630 if (PyErr_Occurred()) SWIG_fail
;
33632 resultobj
= SWIG_Py_Void();
33639 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33640 PyObject
*resultobj
= 0;
33641 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33642 wxBrush
*arg2
= 0 ;
33647 PyObject
* obj0
= 0 ;
33648 PyObject
* obj1
= 0 ;
33649 char * kwnames
[] = {
33650 (char *) "self",(char *) "brush", NULL
33653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33655 if (!SWIG_IsOK(res1
)) {
33656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33658 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33659 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
33660 if (!SWIG_IsOK(res2
)) {
33661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
33664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
33666 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
33668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33669 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
33670 wxPyEndAllowThreads(__tstate
);
33671 if (PyErr_Occurred()) SWIG_fail
;
33673 resultobj
= SWIG_Py_Void();
33680 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33681 PyObject
*resultobj
= 0;
33682 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33688 PyObject
* obj0
= 0 ;
33689 PyObject
* obj1
= 0 ;
33690 char * kwnames
[] = {
33691 (char *) "self",(char *) "mode", NULL
33694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33696 if (!SWIG_IsOK(res1
)) {
33697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33699 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33701 if (!SWIG_IsOK(ecode2
)) {
33702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
33704 arg2
= static_cast< int >(val2
);
33706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33707 (arg1
)->SetBackgroundMode(arg2
);
33708 wxPyEndAllowThreads(__tstate
);
33709 if (PyErr_Occurred()) SWIG_fail
;
33711 resultobj
= SWIG_Py_Void();
33718 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33719 PyObject
*resultobj
= 0;
33720 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33721 wxPalette
*arg2
= 0 ;
33726 PyObject
* obj0
= 0 ;
33727 PyObject
* obj1
= 0 ;
33728 char * kwnames
[] = {
33729 (char *) "self",(char *) "palette", NULL
33732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33734 if (!SWIG_IsOK(res1
)) {
33735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33737 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33738 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
33739 if (!SWIG_IsOK(res2
)) {
33740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
33743 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
33745 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
33747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33748 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
33749 wxPyEndAllowThreads(__tstate
);
33750 if (PyErr_Occurred()) SWIG_fail
;
33752 resultobj
= SWIG_Py_Void();
33759 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33760 PyObject
*resultobj
= 0;
33761 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33762 wxColour
*arg2
= 0 ;
33766 PyObject
* obj0
= 0 ;
33767 PyObject
* obj1
= 0 ;
33768 char * kwnames
[] = {
33769 (char *) "self",(char *) "colour", NULL
33772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33774 if (!SWIG_IsOK(res1
)) {
33775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33777 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33780 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33784 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
33785 wxPyEndAllowThreads(__tstate
);
33786 if (PyErr_Occurred()) SWIG_fail
;
33788 resultobj
= SWIG_Py_Void();
33795 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33796 PyObject
*resultobj
= 0;
33797 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33798 wxColour
*arg2
= 0 ;
33802 PyObject
* obj0
= 0 ;
33803 PyObject
* obj1
= 0 ;
33804 char * kwnames
[] = {
33805 (char *) "self",(char *) "colour", NULL
33808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33810 if (!SWIG_IsOK(res1
)) {
33811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33813 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33816 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33820 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
33821 wxPyEndAllowThreads(__tstate
);
33822 if (PyErr_Occurred()) SWIG_fail
;
33824 resultobj
= SWIG_Py_Void();
33831 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33832 PyObject
*resultobj
= 0;
33833 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33839 PyObject
* obj0
= 0 ;
33840 PyObject
* obj1
= 0 ;
33841 char * kwnames
[] = {
33842 (char *) "self",(char *) "function", NULL
33845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33847 if (!SWIG_IsOK(res1
)) {
33848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33850 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33852 if (!SWIG_IsOK(ecode2
)) {
33853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
33855 arg2
= static_cast< int >(val2
);
33857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33858 (arg1
)->SetLogicalFunction(arg2
);
33859 wxPyEndAllowThreads(__tstate
);
33860 if (PyErr_Occurred()) SWIG_fail
;
33862 resultobj
= SWIG_Py_Void();
33869 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33871 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33872 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
33873 return SWIG_Py_Void();
33876 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33877 return SWIG_Python_InitShadowInstance(args
);
33880 static PyMethodDef SwigMethods
[] = {
33881 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
33882 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
33883 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
33884 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
33885 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
33886 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33887 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33888 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33889 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
33890 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
33891 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
33892 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
33893 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
33894 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
33895 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33896 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33897 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33898 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33899 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
33900 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33901 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33902 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33903 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
33904 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
33905 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
33906 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33907 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
33908 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33909 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33910 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
33911 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
33912 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
33913 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
33914 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33915 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
33916 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
33917 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
33918 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
33919 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
33920 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
33921 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
33922 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33923 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33924 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33925 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33926 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33927 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33928 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
33929 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33930 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
33931 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33932 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33933 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
33934 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
33935 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33936 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33937 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
33938 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33939 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33940 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33941 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
33942 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
33943 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
33944 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
33945 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
33946 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
33947 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
33948 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33949 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
33950 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33951 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33952 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33953 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33954 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33955 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
33956 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
33957 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
33958 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
33959 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
33960 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
33961 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
33962 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33963 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33964 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33965 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33966 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33967 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
33968 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33969 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33970 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33971 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33972 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33973 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33974 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33975 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
33976 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
33977 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33978 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33979 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33980 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
33981 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
33982 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
33983 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
33984 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
33985 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
33986 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
33987 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
33988 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
33989 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
33990 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
33991 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
33992 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
33993 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
33994 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
33995 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33996 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
33997 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
33998 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
33999 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34000 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34001 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34002 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34003 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
34004 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34005 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34006 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
34007 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
34008 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
34009 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
34010 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
34011 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
34012 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
34013 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
34014 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
34015 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34016 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
34017 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
34018 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34019 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34020 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34021 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34022 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34023 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
34024 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34025 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34026 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34027 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
34028 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
34029 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
34030 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34031 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
34032 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
34033 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34034 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34035 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34036 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34037 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
34038 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
34039 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
34040 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
34041 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34042 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34043 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34044 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34045 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
34046 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
34047 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34048 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
34049 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
34050 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34051 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
34052 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34053 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
34054 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
34055 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
34056 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
34057 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34058 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34059 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
34060 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34061 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34062 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34063 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
34064 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
34065 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34066 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
34067 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34068 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34069 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
34070 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
34071 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
34072 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34073 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34074 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34075 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34076 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
34077 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
34078 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34079 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34080 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34081 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34082 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34083 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
34084 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34085 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34086 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34087 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
34088 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34089 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34090 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34091 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34092 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34093 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34094 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34095 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34096 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34097 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34098 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
34099 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34100 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34101 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
34102 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
34103 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34104 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
34105 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
34106 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
34107 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
34108 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
34109 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
34110 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
34111 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
34112 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
34113 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
34114 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
34115 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
34116 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
34117 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
34118 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
34119 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
34120 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
34121 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34122 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
34123 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
34124 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
34125 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
34126 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
34127 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
34128 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
34129 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34130 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34131 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34132 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34133 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34134 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34135 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34136 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34137 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
34138 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
34139 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34140 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
34141 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
34142 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
34143 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
34144 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
34145 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
34146 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
34147 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
34148 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
34149 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34150 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
34151 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
34152 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
34153 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34154 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34155 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
34156 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
34157 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
34158 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34159 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34160 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
34161 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34162 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34163 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34164 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34165 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34166 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
34167 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34168 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34169 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34170 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34171 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
34172 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
34173 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34174 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
34175 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34176 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34177 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34178 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34179 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34180 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
34181 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34182 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34183 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
34184 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
34185 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
34186 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
34187 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
34188 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
34189 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
34190 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
34191 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
34192 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
34193 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
34194 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
34195 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
34196 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34197 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34198 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34199 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34200 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34201 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34202 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34203 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34204 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34205 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34206 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34207 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
34208 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
34209 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
34210 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34211 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
34212 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
34213 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34214 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
34215 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
34216 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
34217 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
34218 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34219 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34220 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34221 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
34222 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
34223 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34224 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
34225 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
34226 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
34227 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
34228 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
34229 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
34230 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
34231 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
34232 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
34233 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34234 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
34235 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34236 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34237 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
34238 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
34239 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
34240 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
34241 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
34242 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
34243 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
34244 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
34245 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34246 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34247 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34248 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34249 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34250 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34251 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34252 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34253 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34254 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
34255 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
34256 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
34257 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34258 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
34259 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34260 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34261 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34262 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
34263 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
34264 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
34265 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
34266 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
34267 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
34268 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34269 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34270 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34271 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34272 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34273 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
34274 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
34275 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
34276 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34277 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34278 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34279 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34280 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34281 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34282 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34283 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34284 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34285 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34286 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34287 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34288 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34289 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34290 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34291 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34292 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34293 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34294 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34295 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34296 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34297 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34298 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34299 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34300 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34301 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34302 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34303 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34304 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34305 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34306 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34307 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34308 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34309 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34310 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34311 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34312 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34313 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34314 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34315 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34316 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34317 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34318 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34319 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34320 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34321 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34322 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34323 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34324 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
34325 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34326 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
34327 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
34328 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
34329 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34330 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34331 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34332 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34333 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34334 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34335 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
34336 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
34337 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
34338 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
34339 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
34340 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34341 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34342 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34343 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34344 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
34345 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
34346 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
34347 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
34348 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34349 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34350 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34351 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34352 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34353 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34354 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34355 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34356 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
34357 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
34358 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
34359 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
34360 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
34361 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
34362 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
34363 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
34364 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
34365 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
34366 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
34367 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
34368 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34369 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34370 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
34371 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34372 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
34373 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34374 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
34375 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34376 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
34377 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
34378 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34379 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34380 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
34381 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
34382 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34383 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34384 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34385 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
34386 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34387 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
34388 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34389 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34390 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
34391 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
34392 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
34393 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
34394 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
34395 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
34396 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34397 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34398 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34399 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34400 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34401 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34402 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
34403 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
34404 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34405 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34406 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
34407 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
34408 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
34409 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
34410 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
34411 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
34412 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
34413 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34414 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
34415 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
34416 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
34417 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34418 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34419 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
34420 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
34421 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
34422 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34423 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
34424 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
34425 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34426 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
34427 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
34428 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34429 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
34430 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
34431 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34432 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
34433 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
34434 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34435 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
34436 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34437 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34438 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
34439 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
34440 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
34441 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34442 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
34443 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
34444 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34445 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
34446 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
34447 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34448 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
34449 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
34450 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
34451 { (char *)"GraphicsPath_MoveToPoint", (PyCFunction
) _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34452 { (char *)"GraphicsPath_AddLineToPoint", (PyCFunction
) _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34453 { (char *)"GraphicsPath_AddCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34454 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
34455 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
34456 { (char *)"GraphicsPath_AddArc", (PyCFunction
) _wrap_GraphicsPath_AddArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34457 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34458 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34459 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34460 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34461 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
34462 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
34463 { (char *)"GraphicsContext_Create", (PyCFunction
) _wrap_GraphicsContext_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34464 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
34465 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
34466 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
34467 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34468 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34469 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34470 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34471 { (char *)"GraphicsContext_SetPen", (PyCFunction
) _wrap_GraphicsContext_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34472 { (char *)"GraphicsContext_SetBrush", (PyCFunction
) _wrap_GraphicsContext_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34473 { (char *)"GraphicsContext_SetLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34474 { (char *)"GraphicsContext_SetRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34475 { (char *)"GraphicsContext_SetFont", (PyCFunction
) _wrap_GraphicsContext_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34476 { (char *)"GraphicsContext_SetTextColor", (PyCFunction
) _wrap_GraphicsContext_SetTextColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34477 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34478 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34479 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34480 { (char *)"GraphicsContext_DrawText", _wrap_GraphicsContext_DrawText
, METH_VARARGS
, NULL
},
34481 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34482 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34483 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34484 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34485 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34486 { (char *)"GraphicsContext_StrokeLines", _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
, NULL
},
34487 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34488 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34489 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34490 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34491 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
34492 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34493 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
34494 { (char *)"GCDC_GetGraphicContext", (PyCFunction
)_wrap_GCDC_GetGraphicContext
, METH_O
, NULL
},
34495 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
34496 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
34497 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34498 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
34499 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34500 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34501 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34502 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34503 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34504 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34505 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34506 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
34507 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34508 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
34509 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34510 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
34511 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
34512 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
34513 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
34514 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
34515 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
34516 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34517 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34518 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34519 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34520 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34521 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
34522 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
34523 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
34524 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
34525 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
34526 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
34527 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34528 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34529 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34530 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
34531 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34532 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34533 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34534 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
34535 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34536 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34537 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34538 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
34539 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
34540 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
34541 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34542 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34543 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34544 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34545 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
34546 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
34547 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
34548 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
34549 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
34550 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
34551 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
34552 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
34553 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
34554 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
34555 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
34556 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
34557 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34558 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34559 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34560 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34561 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34562 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34563 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34564 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34565 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
34566 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
34567 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34568 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
34569 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
34570 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
34571 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
34572 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
34573 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
34574 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
34575 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
34576 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
34577 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
34578 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
34579 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
34580 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
34581 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
34582 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
34583 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
34584 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
34585 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
34586 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
34587 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
34588 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
34589 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
34590 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
34591 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
34592 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34593 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
34594 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34595 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
34596 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
34597 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
34598 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
34599 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34600 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34601 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34602 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34603 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34604 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34605 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34606 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34607 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34608 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34609 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34610 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34611 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
34612 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
34613 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
34614 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34615 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
34616 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
34617 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
34618 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
34619 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
34620 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
34621 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
34622 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
34623 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34624 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34625 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34626 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34627 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34628 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34629 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34630 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34631 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34632 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34633 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34634 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34635 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34636 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34637 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34638 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34639 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34640 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34641 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34642 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34643 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34644 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34645 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34646 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34647 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34648 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34649 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34650 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34651 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34652 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34653 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34654 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34655 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34656 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34657 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34658 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34659 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34660 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34661 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34662 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34663 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34664 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34665 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34666 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34667 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34668 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34669 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34670 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34671 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34672 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34673 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34674 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34675 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
34676 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34677 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34678 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34679 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34680 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34681 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34682 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34683 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34684 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34685 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
34686 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
34687 { NULL
, NULL
, 0, NULL
}
34691 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
34693 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
34694 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
34696 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
34697 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
34699 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
34700 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
34702 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
34703 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
34705 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
34706 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
34708 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
34709 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
34711 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
34712 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
34714 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
34715 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
34717 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
34718 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
34720 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
34721 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
34723 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
34724 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
34726 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
34727 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
34729 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
34730 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
34732 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
34733 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
34735 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
34736 return (void *)((wxDC
*) ((wxGCDC
*) x
));
34738 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
34739 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
34741 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
34742 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
34744 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
34745 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
34747 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
34748 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
34750 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
34751 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
34753 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
34754 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
34756 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
34757 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
34759 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
34760 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
34762 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
34763 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
34765 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
34766 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
34768 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
34769 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
34771 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
34772 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
34774 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
34775 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
34777 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
34778 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
34780 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
34781 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
34783 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
34784 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
34786 static void *_p_wxPenTo_p_wxObject(void *x
) {
34787 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
34789 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
34790 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
34792 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
34793 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
34795 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
34796 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
34798 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
34799 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
34801 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
34802 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
34804 static void *_p_wxIconTo_p_wxObject(void *x
) {
34805 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
34807 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
34808 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
34810 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
34811 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
34813 static void *_p_wxSizerTo_p_wxObject(void *x
) {
34814 return (void *)((wxObject
*) ((wxSizer
*) x
));
34816 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
34817 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
34819 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
34820 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
34822 static void *_p_wxEventTo_p_wxObject(void *x
) {
34823 return (void *)((wxObject
*) ((wxEvent
*) x
));
34825 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
34826 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
34828 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
34829 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
34831 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
34832 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
34834 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
34835 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
34837 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
34838 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
34840 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
34841 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
34843 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
34844 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
34846 static void *_p_wxDCTo_p_wxObject(void *x
) {
34847 return (void *)((wxObject
*) ((wxDC
*) x
));
34849 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
34850 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
34852 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
34853 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
34855 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
34856 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
34858 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
34859 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
34861 static void *_p_wxControlTo_p_wxObject(void *x
) {
34862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
34864 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
34865 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
34867 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
34868 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
34870 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
34871 return (void *)((wxObject
*) ((wxFSFile
*) x
));
34873 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
34874 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
34876 static void *_p_wxRegionTo_p_wxObject(void *x
) {
34877 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
34879 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
34880 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
34882 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
34883 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
34885 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
34886 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
34888 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
34889 return (void *)((wxObject
*) ((wxEffects
*) x
));
34891 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
34892 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
34894 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
34895 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
34897 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
34898 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
34900 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
34901 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
34903 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
34904 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
34906 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
34907 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
34909 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
34910 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
34912 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
34913 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
34915 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
34916 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
34918 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
34919 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
34921 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
34922 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
34924 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
34925 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
34927 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
34928 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
34930 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
34931 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
34933 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
34934 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
34936 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
34937 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
34939 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
34940 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
34942 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
34943 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
34945 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
34946 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
34948 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
34949 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
34951 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
34952 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
34954 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
34955 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
34957 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
34958 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
34960 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
34961 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
34963 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
34964 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
34966 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
34967 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
34969 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
34970 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
34972 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
34973 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
34975 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
34976 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
34978 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
34979 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
34981 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
34982 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
34984 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
34985 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
34987 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
34988 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
34990 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
34991 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
34993 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
34994 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
34996 static void *_p_wxImageTo_p_wxObject(void *x
) {
34997 return (void *)((wxObject
*) ((wxImage
*) x
));
34999 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
35000 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
35002 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
35003 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
35005 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
35006 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
35008 static void *_p_wxImageListTo_p_wxObject(void *x
) {
35009 return (void *)((wxObject
*) ((wxImageList
*) x
));
35011 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
35012 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
35014 static void *_p_wxCursorTo_p_wxObject(void *x
) {
35015 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
35017 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
35018 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
35020 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
35021 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
35023 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
35024 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35026 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
35027 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35029 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
35030 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
35032 static void *_p_wxWindowTo_p_wxObject(void *x
) {
35033 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
35035 static void *_p_wxMenuTo_p_wxObject(void *x
) {
35036 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
35038 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
35039 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
35041 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
35042 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
35044 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
35045 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
35047 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
35048 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
35050 static void *_p_wxMaskTo_p_wxObject(void *x
) {
35051 return (void *)((wxObject
*) ((wxMask
*) x
));
35053 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
35054 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35056 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
35057 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
35059 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
35060 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
35062 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
35063 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
35065 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
35066 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
35068 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
35069 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
35071 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
35072 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35074 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
35075 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
35077 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
35078 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
35080 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
35081 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
35083 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
35084 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35086 static void *_p_wxFontTo_p_wxObject(void *x
) {
35087 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
35089 static void *_p_wxBrushTo_p_wxObject(void *x
) {
35090 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
35092 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
35093 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
35095 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
35096 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35098 static void *_p_wxColourTo_p_wxObject(void *x
) {
35099 return (void *)((wxObject
*) ((wxColour
*) x
));
35101 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
35102 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
35104 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
35105 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
35107 static void *_p_wxControlTo_p_wxWindow(void *x
) {
35108 return (void *)((wxWindow
*) ((wxControl
*) x
));
35110 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
35111 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
35113 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
35114 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
35116 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
35117 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
35119 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
35120 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
35122 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
35123 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
35124 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
35125 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};
35126 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
35127 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
35128 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
35129 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
35130 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
35131 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
35132 static swig_type_info _swigt__p_wxArrayDouble
= {"_p_wxArrayDouble", "wxArrayDouble *", 0, 0, (void*)0, 0};
35133 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
35134 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
35135 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
35136 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
35137 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
35138 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
35139 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
35140 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
35141 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
35142 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
35143 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
35144 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
35145 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
35146 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
35147 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
35148 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
35149 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
35150 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
35151 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
35152 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
35153 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
35154 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
35155 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
35156 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
35157 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
35158 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
35159 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
35160 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
35161 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
35162 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
35163 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
35164 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
35165 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
35166 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
35167 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
35168 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
35169 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
35170 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
35171 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
35172 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
35173 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
35174 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
35175 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
35176 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
35177 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
35178 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
35179 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
35180 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
35181 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
35182 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
35183 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
35184 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
35185 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
35186 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
35187 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
35188 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
35189 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
35190 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
35191 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
35192 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
35193 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
35194 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
35195 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
35196 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
35197 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
35198 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
35199 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
35200 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
35201 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
35202 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
35203 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
35204 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
35205 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
35206 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
35207 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
35208 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
35209 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
35210 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
35211 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
35212 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
35213 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
35214 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
35215 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
35216 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
35217 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
35218 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
35219 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
35220 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
35221 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
35222 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
35223 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
35224 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
35225 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
35226 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
35227 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
35228 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
35229 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
35230 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
35231 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
35232 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
35233 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
35234 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
35235 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
35236 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
35237 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
35238 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
35239 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
35240 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
35241 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
35242 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
35243 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
35244 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
35245 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
35246 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
35247 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
35248 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
35249 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
35250 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
35251 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
35252 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
35253 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
35254 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
35255 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
35256 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
35257 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
35258 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
35259 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
35260 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
35261 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
35262 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
35263 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
35264 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
35265 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
35266 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
35267 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
35268 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
35269 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
35270 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
35271 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
35272 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
35273 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
35274 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
35275 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
35276 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
35278 static swig_type_info
*swig_type_initial
[] = {
35282 &_swigt__p_form_ops_t
,
35284 &_swigt__p_unsigned_char
,
35285 &_swigt__p_unsigned_int
,
35286 &_swigt__p_unsigned_long
,
35287 &_swigt__p_wxANIHandler
,
35288 &_swigt__p_wxAcceleratorTable
,
35289 &_swigt__p_wxActivateEvent
,
35290 &_swigt__p_wxAlphaPixelData
,
35291 &_swigt__p_wxAlphaPixelData_Accessor
,
35292 &_swigt__p_wxArrayDouble
,
35293 &_swigt__p_wxBMPHandler
,
35294 &_swigt__p_wxBitmap
,
35295 &_swigt__p_wxBoxSizer
,
35296 &_swigt__p_wxBrush
,
35297 &_swigt__p_wxBrushList
,
35298 &_swigt__p_wxBufferedDC
,
35299 &_swigt__p_wxBufferedPaintDC
,
35300 &_swigt__p_wxCURHandler
,
35302 &_swigt__p_wxChildFocusEvent
,
35303 &_swigt__p_wxClientDC
,
35304 &_swigt__p_wxClipboardTextEvent
,
35305 &_swigt__p_wxCloseEvent
,
35306 &_swigt__p_wxColor
,
35307 &_swigt__p_wxColour
,
35308 &_swigt__p_wxColourDatabase
,
35309 &_swigt__p_wxCommandEvent
,
35310 &_swigt__p_wxContextMenuEvent
,
35311 &_swigt__p_wxControl
,
35312 &_swigt__p_wxControlWithItems
,
35313 &_swigt__p_wxCursor
,
35316 &_swigt__p_wxDateEvent
,
35317 &_swigt__p_wxDisplayChangedEvent
,
35318 &_swigt__p_wxDropFilesEvent
,
35319 &_swigt__p_wxDuplexMode
,
35320 &_swigt__p_wxEffects
,
35321 &_swigt__p_wxEncodingConverter
,
35322 &_swigt__p_wxEraseEvent
,
35323 &_swigt__p_wxEvent
,
35324 &_swigt__p_wxEvtHandler
,
35325 &_swigt__p_wxFSFile
,
35326 &_swigt__p_wxFileSystem
,
35327 &_swigt__p_wxFlexGridSizer
,
35328 &_swigt__p_wxFocusEvent
,
35330 &_swigt__p_wxFontList
,
35331 &_swigt__p_wxFontMapper
,
35332 &_swigt__p_wxGBSizerItem
,
35334 &_swigt__p_wxGDIObjListBase
,
35335 &_swigt__p_wxGDIObject
,
35336 &_swigt__p_wxGIFHandler
,
35337 &_swigt__p_wxGraphicsContext
,
35338 &_swigt__p_wxGraphicsPath
,
35339 &_swigt__p_wxGridBagSizer
,
35340 &_swigt__p_wxGridSizer
,
35341 &_swigt__p_wxHeaderButtonParams
,
35342 &_swigt__p_wxICOHandler
,
35344 &_swigt__p_wxIconBundle
,
35345 &_swigt__p_wxIconLocation
,
35346 &_swigt__p_wxIconizeEvent
,
35347 &_swigt__p_wxIdleEvent
,
35348 &_swigt__p_wxImage
,
35349 &_swigt__p_wxImageHandler
,
35350 &_swigt__p_wxImageList
,
35351 &_swigt__p_wxIndividualLayoutConstraint
,
35352 &_swigt__p_wxInitDialogEvent
,
35353 &_swigt__p_wxJPEGHandler
,
35354 &_swigt__p_wxKeyEvent
,
35355 &_swigt__p_wxLanguageInfo
,
35356 &_swigt__p_wxLayoutConstraints
,
35357 &_swigt__p_wxLocale
,
35359 &_swigt__p_wxMaximizeEvent
,
35360 &_swigt__p_wxMemoryDC
,
35362 &_swigt__p_wxMenuBar
,
35363 &_swigt__p_wxMenuEvent
,
35364 &_swigt__p_wxMenuItem
,
35365 &_swigt__p_wxMetaFile
,
35366 &_swigt__p_wxMetaFileDC
,
35367 &_swigt__p_wxMirrorDC
,
35368 &_swigt__p_wxMouseCaptureChangedEvent
,
35369 &_swigt__p_wxMouseCaptureLostEvent
,
35370 &_swigt__p_wxMouseEvent
,
35371 &_swigt__p_wxMoveEvent
,
35372 &_swigt__p_wxNativeEncodingInfo
,
35373 &_swigt__p_wxNativeFontInfo
,
35374 &_swigt__p_wxNativePixelData
,
35375 &_swigt__p_wxNativePixelData_Accessor
,
35376 &_swigt__p_wxNavigationKeyEvent
,
35377 &_swigt__p_wxNcPaintEvent
,
35378 &_swigt__p_wxNotifyEvent
,
35379 &_swigt__p_wxObject
,
35380 &_swigt__p_wxPCXHandler
,
35381 &_swigt__p_wxPNGHandler
,
35382 &_swigt__p_wxPNMHandler
,
35383 &_swigt__p_wxPaintDC
,
35384 &_swigt__p_wxPaintEvent
,
35385 &_swigt__p_wxPalette
,
35386 &_swigt__p_wxPaletteChangedEvent
,
35387 &_swigt__p_wxPaperSize
,
35389 &_swigt__p_wxPenList
,
35390 &_swigt__p_wxPixelDataBase
,
35391 &_swigt__p_wxPoint
,
35392 &_swigt__p_wxPoint2D
,
35393 &_swigt__p_wxPostScriptDC
,
35394 &_swigt__p_wxPrintData
,
35395 &_swigt__p_wxPrinterDC
,
35396 &_swigt__p_wxPseudoDC
,
35397 &_swigt__p_wxPyApp
,
35398 &_swigt__p_wxPyCommandEvent
,
35399 &_swigt__p_wxPyEvent
,
35400 &_swigt__p_wxPyFontEnumerator
,
35401 &_swigt__p_wxPyImageHandler
,
35402 &_swigt__p_wxPyLocale
,
35403 &_swigt__p_wxPySizer
,
35404 &_swigt__p_wxPyValidator
,
35405 &_swigt__p_wxQueryNewPaletteEvent
,
35407 &_swigt__p_wxRegion
,
35408 &_swigt__p_wxRegionIterator
,
35409 &_swigt__p_wxRendererNative
,
35410 &_swigt__p_wxRendererVersion
,
35411 &_swigt__p_wxScreenDC
,
35412 &_swigt__p_wxScrollEvent
,
35413 &_swigt__p_wxScrollWinEvent
,
35414 &_swigt__p_wxSetCursorEvent
,
35415 &_swigt__p_wxShowEvent
,
35417 &_swigt__p_wxSizeEvent
,
35418 &_swigt__p_wxSizer
,
35419 &_swigt__p_wxSizerItem
,
35420 &_swigt__p_wxSplitterRenderParams
,
35421 &_swigt__p_wxStaticBoxSizer
,
35422 &_swigt__p_wxStdDialogButtonSizer
,
35423 &_swigt__p_wxStockGDI
,
35424 &_swigt__p_wxString
,
35425 &_swigt__p_wxSysColourChangedEvent
,
35426 &_swigt__p_wxTIFFHandler
,
35427 &_swigt__p_wxUpdateUIEvent
,
35428 &_swigt__p_wxValidator
,
35429 &_swigt__p_wxWindow
,
35430 &_swigt__p_wxWindowCreateEvent
,
35431 &_swigt__p_wxWindowDC
,
35432 &_swigt__p_wxWindowDestroyEvent
,
35433 &_swigt__p_wxXPMHandler
,
35436 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
35437 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
35438 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
35439 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
35440 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
35441 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
35442 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
35443 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
35444 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
35445 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
35446 static swig_cast_info _swigc__p_wxArrayDouble
[] = { {&_swigt__p_wxArrayDouble
, 0, 0, 0},{0, 0, 0, 0}};
35447 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
35448 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
35449 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
35450 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}};
35451 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
35452 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
35453 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}};
35454 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
35455 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
35456 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
35457 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
35458 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}};
35459 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
35460 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
35461 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
35462 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
35463 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
35464 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
35465 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
35466 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
35467 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}};
35468 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}};
35469 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
35470 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
35471 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
35472 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
35473 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
35474 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
35475 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
35476 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
35477 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
35478 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}};
35479 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
35480 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxMemoryDC
, 0, 0}, {&_swigt__p_wxMemoryDC
, 0, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxMemoryDC
, 0, 0},{0, 0, 0, 0}};
35481 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
35482 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
35483 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
35484 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
35485 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
35486 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
35487 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
35488 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
35489 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
35490 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
35491 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
35492 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
35493 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
35494 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
35495 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
35496 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
35497 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
35498 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
35499 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
35500 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
35501 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
35502 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
35503 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
35504 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
35505 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
35506 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
35507 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
35508 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
35509 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
35510 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
35511 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
35512 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
35513 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
35514 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
35515 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
35516 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
35517 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
35518 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
35519 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
35520 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
35521 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
35522 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
35523 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
35524 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
35525 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
35526 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
35527 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
35528 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
35529 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
35530 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
35531 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
35532 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
35533 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
35534 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
35535 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
35536 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
35537 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
35538 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
35539 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
35540 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
35541 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
35542 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
35543 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
35544 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
35545 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
35546 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
35547 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
35548 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
35549 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
35550 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
35551 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
35552 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
35553 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
35554 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
35555 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
35556 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
35557 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
35558 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
35559 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
35560 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
35561 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
35562 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
35563 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
35564 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}};
35565 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
35566 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
35567 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
35568 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
35569 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
35570 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}};
35571 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
35572 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
35573 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
35574 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
35575 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
35576 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
35577 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
35578 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
35579 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
35580 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
35581 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
35582 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
35583 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
35584 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
35585 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
35586 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
35587 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
35588 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
35589 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}};
35590 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}};
35592 static swig_cast_info
*swig_cast_initial
[] = {
35596 _swigc__p_form_ops_t
,
35598 _swigc__p_unsigned_char
,
35599 _swigc__p_unsigned_int
,
35600 _swigc__p_unsigned_long
,
35601 _swigc__p_wxANIHandler
,
35602 _swigc__p_wxAcceleratorTable
,
35603 _swigc__p_wxActivateEvent
,
35604 _swigc__p_wxAlphaPixelData
,
35605 _swigc__p_wxAlphaPixelData_Accessor
,
35606 _swigc__p_wxArrayDouble
,
35607 _swigc__p_wxBMPHandler
,
35608 _swigc__p_wxBitmap
,
35609 _swigc__p_wxBoxSizer
,
35611 _swigc__p_wxBrushList
,
35612 _swigc__p_wxBufferedDC
,
35613 _swigc__p_wxBufferedPaintDC
,
35614 _swigc__p_wxCURHandler
,
35616 _swigc__p_wxChildFocusEvent
,
35617 _swigc__p_wxClientDC
,
35618 _swigc__p_wxClipboardTextEvent
,
35619 _swigc__p_wxCloseEvent
,
35621 _swigc__p_wxColour
,
35622 _swigc__p_wxColourDatabase
,
35623 _swigc__p_wxCommandEvent
,
35624 _swigc__p_wxContextMenuEvent
,
35625 _swigc__p_wxControl
,
35626 _swigc__p_wxControlWithItems
,
35627 _swigc__p_wxCursor
,
35630 _swigc__p_wxDateEvent
,
35631 _swigc__p_wxDisplayChangedEvent
,
35632 _swigc__p_wxDropFilesEvent
,
35633 _swigc__p_wxDuplexMode
,
35634 _swigc__p_wxEffects
,
35635 _swigc__p_wxEncodingConverter
,
35636 _swigc__p_wxEraseEvent
,
35638 _swigc__p_wxEvtHandler
,
35639 _swigc__p_wxFSFile
,
35640 _swigc__p_wxFileSystem
,
35641 _swigc__p_wxFlexGridSizer
,
35642 _swigc__p_wxFocusEvent
,
35644 _swigc__p_wxFontList
,
35645 _swigc__p_wxFontMapper
,
35646 _swigc__p_wxGBSizerItem
,
35648 _swigc__p_wxGDIObjListBase
,
35649 _swigc__p_wxGDIObject
,
35650 _swigc__p_wxGIFHandler
,
35651 _swigc__p_wxGraphicsContext
,
35652 _swigc__p_wxGraphicsPath
,
35653 _swigc__p_wxGridBagSizer
,
35654 _swigc__p_wxGridSizer
,
35655 _swigc__p_wxHeaderButtonParams
,
35656 _swigc__p_wxICOHandler
,
35658 _swigc__p_wxIconBundle
,
35659 _swigc__p_wxIconLocation
,
35660 _swigc__p_wxIconizeEvent
,
35661 _swigc__p_wxIdleEvent
,
35663 _swigc__p_wxImageHandler
,
35664 _swigc__p_wxImageList
,
35665 _swigc__p_wxIndividualLayoutConstraint
,
35666 _swigc__p_wxInitDialogEvent
,
35667 _swigc__p_wxJPEGHandler
,
35668 _swigc__p_wxKeyEvent
,
35669 _swigc__p_wxLanguageInfo
,
35670 _swigc__p_wxLayoutConstraints
,
35671 _swigc__p_wxLocale
,
35673 _swigc__p_wxMaximizeEvent
,
35674 _swigc__p_wxMemoryDC
,
35676 _swigc__p_wxMenuBar
,
35677 _swigc__p_wxMenuEvent
,
35678 _swigc__p_wxMenuItem
,
35679 _swigc__p_wxMetaFile
,
35680 _swigc__p_wxMetaFileDC
,
35681 _swigc__p_wxMirrorDC
,
35682 _swigc__p_wxMouseCaptureChangedEvent
,
35683 _swigc__p_wxMouseCaptureLostEvent
,
35684 _swigc__p_wxMouseEvent
,
35685 _swigc__p_wxMoveEvent
,
35686 _swigc__p_wxNativeEncodingInfo
,
35687 _swigc__p_wxNativeFontInfo
,
35688 _swigc__p_wxNativePixelData
,
35689 _swigc__p_wxNativePixelData_Accessor
,
35690 _swigc__p_wxNavigationKeyEvent
,
35691 _swigc__p_wxNcPaintEvent
,
35692 _swigc__p_wxNotifyEvent
,
35693 _swigc__p_wxObject
,
35694 _swigc__p_wxPCXHandler
,
35695 _swigc__p_wxPNGHandler
,
35696 _swigc__p_wxPNMHandler
,
35697 _swigc__p_wxPaintDC
,
35698 _swigc__p_wxPaintEvent
,
35699 _swigc__p_wxPalette
,
35700 _swigc__p_wxPaletteChangedEvent
,
35701 _swigc__p_wxPaperSize
,
35703 _swigc__p_wxPenList
,
35704 _swigc__p_wxPixelDataBase
,
35706 _swigc__p_wxPoint2D
,
35707 _swigc__p_wxPostScriptDC
,
35708 _swigc__p_wxPrintData
,
35709 _swigc__p_wxPrinterDC
,
35710 _swigc__p_wxPseudoDC
,
35712 _swigc__p_wxPyCommandEvent
,
35713 _swigc__p_wxPyEvent
,
35714 _swigc__p_wxPyFontEnumerator
,
35715 _swigc__p_wxPyImageHandler
,
35716 _swigc__p_wxPyLocale
,
35717 _swigc__p_wxPySizer
,
35718 _swigc__p_wxPyValidator
,
35719 _swigc__p_wxQueryNewPaletteEvent
,
35721 _swigc__p_wxRegion
,
35722 _swigc__p_wxRegionIterator
,
35723 _swigc__p_wxRendererNative
,
35724 _swigc__p_wxRendererVersion
,
35725 _swigc__p_wxScreenDC
,
35726 _swigc__p_wxScrollEvent
,
35727 _swigc__p_wxScrollWinEvent
,
35728 _swigc__p_wxSetCursorEvent
,
35729 _swigc__p_wxShowEvent
,
35731 _swigc__p_wxSizeEvent
,
35733 _swigc__p_wxSizerItem
,
35734 _swigc__p_wxSplitterRenderParams
,
35735 _swigc__p_wxStaticBoxSizer
,
35736 _swigc__p_wxStdDialogButtonSizer
,
35737 _swigc__p_wxStockGDI
,
35738 _swigc__p_wxString
,
35739 _swigc__p_wxSysColourChangedEvent
,
35740 _swigc__p_wxTIFFHandler
,
35741 _swigc__p_wxUpdateUIEvent
,
35742 _swigc__p_wxValidator
,
35743 _swigc__p_wxWindow
,
35744 _swigc__p_wxWindowCreateEvent
,
35745 _swigc__p_wxWindowDC
,
35746 _swigc__p_wxWindowDestroyEvent
,
35747 _swigc__p_wxXPMHandler
,
35751 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
35753 static swig_const_info swig_const_table
[] = {
35754 {0, 0, 0, 0.0, 0, 0}};
35759 /* -----------------------------------------------------------------------------
35760 * Type initialization:
35761 * This problem is tough by the requirement that no dynamic
35762 * memory is used. Also, since swig_type_info structures store pointers to
35763 * swig_cast_info structures and swig_cast_info structures store pointers back
35764 * to swig_type_info structures, we need some lookup code at initialization.
35765 * The idea is that swig generates all the structures that are needed.
35766 * The runtime then collects these partially filled structures.
35767 * The SWIG_InitializeModule function takes these initial arrays out of
35768 * swig_module, and does all the lookup, filling in the swig_module.types
35769 * array with the correct data and linking the correct swig_cast_info
35770 * structures together.
35772 * The generated swig_type_info structures are assigned staticly to an initial
35773 * array. We just loop though that array, and handle each type individually.
35774 * First we lookup if this type has been already loaded, and if so, use the
35775 * loaded structure instead of the generated one. Then we have to fill in the
35776 * cast linked list. The cast data is initially stored in something like a
35777 * two-dimensional array. Each row corresponds to a type (there are the same
35778 * number of rows as there are in the swig_type_initial array). Each entry in
35779 * a column is one of the swig_cast_info structures for that type.
35780 * The cast_initial array is actually an array of arrays, because each row has
35781 * a variable number of columns. So to actually build the cast linked list,
35782 * we find the array of casts associated with the type, and loop through it
35783 * adding the casts to the list. The one last trick we need to do is making
35784 * sure the type pointer in the swig_cast_info struct is correct.
35786 * First off, we lookup the cast->type name to see if it is already loaded.
35787 * There are three cases to handle:
35788 * 1) If the cast->type has already been loaded AND the type we are adding
35789 * casting info to has not been loaded (it is in this module), THEN we
35790 * replace the cast->type pointer with the type pointer that has already
35792 * 2) If BOTH types (the one we are adding casting info to, and the
35793 * cast->type) are loaded, THEN the cast info has already been loaded by
35794 * the previous module so we just ignore it.
35795 * 3) Finally, if cast->type has not already been loaded, then we add that
35796 * swig_cast_info to the linked list (because the cast->type) pointer will
35798 * ----------------------------------------------------------------------------- */
35808 #define SWIGRUNTIME_DEBUG
35812 SWIG_InitializeModule(void *clientdata
) {
35814 swig_module_info
*module_head
;
35815 static int init_run
= 0;
35817 clientdata
= clientdata
;
35819 if (init_run
) return;
35822 /* Initialize the swig_module */
35823 swig_module
.type_initial
= swig_type_initial
;
35824 swig_module
.cast_initial
= swig_cast_initial
;
35826 /* Try and load any already created modules */
35827 module_head
= SWIG_GetModule(clientdata
);
35829 swig_module
.next
= module_head
->next
;
35830 module_head
->next
= &swig_module
;
35832 /* This is the first module loaded */
35833 swig_module
.next
= &swig_module
;
35834 SWIG_SetModule(clientdata
, &swig_module
);
35837 /* Now work on filling in swig_module.types */
35838 #ifdef SWIGRUNTIME_DEBUG
35839 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
35841 for (i
= 0; i
< swig_module
.size
; ++i
) {
35842 swig_type_info
*type
= 0;
35843 swig_type_info
*ret
;
35844 swig_cast_info
*cast
;
35846 #ifdef SWIGRUNTIME_DEBUG
35847 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
35850 /* if there is another module already loaded */
35851 if (swig_module
.next
!= &swig_module
) {
35852 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
35855 /* Overwrite clientdata field */
35856 #ifdef SWIGRUNTIME_DEBUG
35857 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
35859 if (swig_module
.type_initial
[i
]->clientdata
) {
35860 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
35861 #ifdef SWIGRUNTIME_DEBUG
35862 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
35866 type
= swig_module
.type_initial
[i
];
35869 /* Insert casting types */
35870 cast
= swig_module
.cast_initial
[i
];
35871 while (cast
->type
) {
35872 /* Don't need to add information already in the list */
35874 #ifdef SWIGRUNTIME_DEBUG
35875 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
35877 if (swig_module
.next
!= &swig_module
) {
35878 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
35879 #ifdef SWIGRUNTIME_DEBUG
35880 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
35884 if (type
== swig_module
.type_initial
[i
]) {
35885 #ifdef SWIGRUNTIME_DEBUG
35886 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
35891 /* Check for casting already in the list */
35892 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
35893 #ifdef SWIGRUNTIME_DEBUG
35894 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
35896 if (!ocast
) ret
= 0;
35901 #ifdef SWIGRUNTIME_DEBUG
35902 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
35905 type
->cast
->prev
= cast
;
35906 cast
->next
= type
->cast
;
35912 /* Set entry in modules->types array equal to the type */
35913 swig_module
.types
[i
] = type
;
35915 swig_module
.types
[i
] = 0;
35917 #ifdef SWIGRUNTIME_DEBUG
35918 printf("**** SWIG_InitializeModule: Cast List ******\n");
35919 for (i
= 0; i
< swig_module
.size
; ++i
) {
35921 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
35922 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
35923 while (cast
->type
) {
35924 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
35928 printf("---- Total casts: %d\n",j
);
35930 printf("**** SWIG_InitializeModule: Cast List ******\n");
35934 /* This function will propagate the clientdata field of type to
35935 * any new swig_type_info structures that have been added into the list
35936 * of equivalent types. It is like calling
35937 * SWIG_TypeClientData(type, clientdata) a second time.
35940 SWIG_PropagateClientData(void) {
35942 swig_cast_info
*equiv
;
35943 static int init_run
= 0;
35945 if (init_run
) return;
35948 for (i
= 0; i
< swig_module
.size
; i
++) {
35949 if (swig_module
.types
[i
]->clientdata
) {
35950 equiv
= swig_module
.types
[i
]->cast
;
35952 if (!equiv
->converter
) {
35953 if (equiv
->type
&& !equiv
->type
->clientdata
)
35954 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
35956 equiv
= equiv
->next
;
35976 /* Python-specific SWIG API */
35977 #define SWIG_newvarlink() SWIG_Python_newvarlink()
35978 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
35979 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
35981 /* -----------------------------------------------------------------------------
35982 * global variable support code.
35983 * ----------------------------------------------------------------------------- */
35985 typedef struct swig_globalvar
{
35986 char *name
; /* Name of global variable */
35987 PyObject
*(*get_attr
)(void); /* Return the current value */
35988 int (*set_attr
)(PyObject
*); /* Set the value */
35989 struct swig_globalvar
*next
;
35992 typedef struct swig_varlinkobject
{
35994 swig_globalvar
*vars
;
35995 } swig_varlinkobject
;
35997 SWIGINTERN PyObject
*
35998 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
35999 return PyString_FromString("<Swig global variables>");
36002 SWIGINTERN PyObject
*
36003 swig_varlink_str(swig_varlinkobject
*v
) {
36004 PyObject
*str
= PyString_FromString("(");
36005 swig_globalvar
*var
;
36006 for (var
= v
->vars
; var
; var
=var
->next
) {
36007 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
36008 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
36010 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
36015 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
36016 PyObject
*str
= swig_varlink_str(v
);
36017 fprintf(fp
,"Swig global variables ");
36018 fprintf(fp
,"%s\n", PyString_AsString(str
));
36024 swig_varlink_dealloc(swig_varlinkobject
*v
) {
36025 swig_globalvar
*var
= v
->vars
;
36027 swig_globalvar
*n
= var
->next
;
36034 SWIGINTERN PyObject
*
36035 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36036 PyObject
*res
= NULL
;
36037 swig_globalvar
*var
= v
->vars
;
36039 if (strcmp(var
->name
,n
) == 0) {
36040 res
= (*var
->get_attr
)();
36045 if (res
== NULL
&& !PyErr_Occurred()) {
36046 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36052 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36054 swig_globalvar
*var
= v
->vars
;
36056 if (strcmp(var
->name
,n
) == 0) {
36057 res
= (*var
->set_attr
)(p
);
36062 if (res
== 1 && !PyErr_Occurred()) {
36063 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36068 SWIGINTERN PyTypeObject
*
36069 swig_varlink_type(void) {
36070 static char varlink__doc__
[] = "Swig var link object";
36071 static PyTypeObject varlink_type
;
36072 static int type_init
= 0;
36074 const PyTypeObject tmp
36076 PyObject_HEAD_INIT(NULL
)
36077 0, /* Number of items in variable part (ob_size) */
36078 (char *)"swigvarlink", /* Type name (tp_name) */
36079 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
36080 0, /* Itemsize (tp_itemsize) */
36081 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
36082 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
36083 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
36084 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
36085 0, /* tp_compare */
36086 (reprfunc
) swig_varlink_repr
, /* tp_repr */
36087 0, /* tp_as_number */
36088 0, /* tp_as_sequence */
36089 0, /* tp_as_mapping */
36092 (reprfunc
)swig_varlink_str
, /* tp_str */
36093 0, /* tp_getattro */
36094 0, /* tp_setattro */
36095 0, /* tp_as_buffer */
36097 varlink__doc__
, /* tp_doc */
36098 0, /* tp_traverse */
36100 0, /* tp_richcompare */
36101 0, /* tp_weaklistoffset */
36102 #if PY_VERSION_HEX >= 0x02020000
36103 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36105 #if PY_VERSION_HEX >= 0x02030000
36108 #ifdef COUNT_ALLOCS
36109 0,0,0,0 /* tp_alloc -> tp_next */
36112 varlink_type
= tmp
;
36113 varlink_type
.ob_type
= &PyType_Type
;
36116 return &varlink_type
;
36119 /* Create a variable linking object for use later */
36120 SWIGINTERN PyObject
*
36121 SWIG_Python_newvarlink(void) {
36122 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
36126 return ((PyObject
*) result
);
36130 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
36131 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
36132 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
36134 size_t size
= strlen(name
)+1;
36135 gv
->name
= (char *)malloc(size
);
36137 strncpy(gv
->name
,name
,size
);
36138 gv
->get_attr
= get_attr
;
36139 gv
->set_attr
= set_attr
;
36140 gv
->next
= v
->vars
;
36146 SWIGINTERN PyObject
*
36148 static PyObject
*_SWIG_globals
= 0;
36149 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
36150 return _SWIG_globals
;
36153 /* -----------------------------------------------------------------------------
36154 * constants/methods manipulation
36155 * ----------------------------------------------------------------------------- */
36157 /* Install Constants */
36159 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
36162 for (i
= 0; constants
[i
].type
; ++i
) {
36163 switch(constants
[i
].type
) {
36164 case SWIG_PY_POINTER
:
36165 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
36167 case SWIG_PY_BINARY
:
36168 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
36175 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
36181 /* -----------------------------------------------------------------------------*/
36182 /* Fix SwigMethods to carry the callback ptrs when needed */
36183 /* -----------------------------------------------------------------------------*/
36186 SWIG_Python_FixMethods(PyMethodDef
*methods
,
36187 swig_const_info
*const_table
,
36188 swig_type_info
**types
,
36189 swig_type_info
**types_initial
) {
36191 for (i
= 0; methods
[i
].ml_name
; ++i
) {
36192 const char *c
= methods
[i
].ml_doc
;
36193 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
36195 swig_const_info
*ci
= 0;
36196 const char *name
= c
+ 10;
36197 for (j
= 0; const_table
[j
].type
; ++j
) {
36198 if (strncmp(const_table
[j
].name
, name
,
36199 strlen(const_table
[j
].name
)) == 0) {
36200 ci
= &(const_table
[j
]);
36205 size_t shift
= (ci
->ptype
) - types
;
36206 swig_type_info
*ty
= types_initial
[shift
];
36207 size_t ldoc
= (c
- methods
[i
].ml_doc
);
36208 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
36209 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
36212 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
36214 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
36216 strncpy(buff
, "swig_ptr: ", 10);
36218 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
36219 methods
[i
].ml_doc
= ndoc
;
36231 /* -----------------------------------------------------------------------------*
36232 * Partial Init method
36233 * -----------------------------------------------------------------------------*/
36238 SWIGEXPORT
void SWIG_init(void) {
36241 /* Fix SwigMethods to carry the callback ptrs when needed */
36242 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
36244 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
36245 d
= PyModule_GetDict(m
);
36247 SWIG_InitializeModule(0);
36248 SWIG_InstallConstants(d
,swig_const_table
);
36251 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
36252 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
36253 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
36254 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
36255 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
36256 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
36257 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
36258 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
36259 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
36260 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
36261 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
36262 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
36263 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
36264 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
36265 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
36266 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
36267 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
36268 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
36269 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
36270 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
36271 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
36272 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
36273 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
36274 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
36275 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
36276 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
36277 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
36278 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
36279 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
36280 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
36281 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
36282 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
36283 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
36284 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
36285 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
36286 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
36287 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
36288 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
36289 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
36290 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
36291 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
36292 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
36293 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
36294 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
36295 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
36296 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
36297 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
36298 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
36299 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
36300 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
36301 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
36302 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
36303 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
36304 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
36305 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
36306 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
36307 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
36308 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
36309 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
36310 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
36311 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
36312 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
36313 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
36314 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
36315 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
36316 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
36317 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
36318 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
36319 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
36320 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
36321 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
36322 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
36323 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
36324 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
36325 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
36326 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
36327 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
36328 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
36329 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
36330 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
36331 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
36332 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
36333 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
36334 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
36335 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
36336 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
36337 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
36338 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
36339 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
36340 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
36341 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
36342 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
36343 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
36344 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
36345 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
36346 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
36347 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
36348 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
36349 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
36350 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
36351 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
36352 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
36353 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
36354 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
36355 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
36356 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
36357 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
36358 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
36359 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
36360 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
36361 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
36362 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
36363 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
36364 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
36365 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
36366 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
36367 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
36368 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
36369 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
36370 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
36371 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
36372 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
36373 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
36374 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
36375 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
36376 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
36377 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
36378 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
36379 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
36380 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
36381 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
36382 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
36384 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
36386 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
36387 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
36388 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
36389 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
36390 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
36391 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
36392 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
36393 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
36394 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
36395 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
36396 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
36397 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
36398 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
36399 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
36400 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
36401 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
36402 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
36403 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
36404 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
36405 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
36406 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
36407 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
36408 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
36409 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
36410 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
36411 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
36412 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
36413 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
36414 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
36415 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
36416 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
36417 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
36418 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
36419 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
36420 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
36421 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
36422 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
36423 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
36424 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
36425 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
36426 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
36427 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
36428 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
36429 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
36430 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
36431 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
36432 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
36433 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
36434 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
36435 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
36436 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
36437 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
36438 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
36439 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
36440 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
36441 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
36442 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
36443 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
36444 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
36445 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
36446 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
36447 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
36448 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
36449 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
36450 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
36451 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
36452 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
36453 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
36454 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
36455 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
36456 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
36457 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
36458 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
36459 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
36460 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
36461 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
36462 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
36463 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
36464 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
36465 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
36466 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
36467 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
36468 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
36469 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
36470 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
36471 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
36472 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
36473 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
36474 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
36475 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
36476 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
36477 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
36478 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
36479 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
36480 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
36481 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
36482 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
36483 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
36484 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
36485 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
36486 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
36487 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
36488 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
36489 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
36490 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
36491 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
36492 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
36493 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
36494 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
36495 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
36496 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
36497 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
36498 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
36499 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
36500 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
36501 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
36502 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
36503 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
36504 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
36505 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
36506 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
36507 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
36508 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
36509 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
36510 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
36511 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
36512 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
36513 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
36514 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
36515 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
36516 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
36517 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
36518 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
36519 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
36520 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
36521 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
36522 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
36523 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
36524 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
36525 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
36526 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
36527 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
36528 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
36529 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
36530 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
36531 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
36532 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
36533 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
36534 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
36535 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
36536 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
36537 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
36538 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
36539 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
36540 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
36541 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
36542 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
36543 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
36544 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
36545 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
36546 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
36547 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
36548 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
36549 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
36550 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
36551 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
36552 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
36553 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
36554 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
36555 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
36556 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
36557 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
36558 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
36559 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
36560 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
36561 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
36562 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
36563 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
36564 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
36565 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
36566 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
36567 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
36568 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
36569 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
36570 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
36571 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
36572 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
36573 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
36574 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
36575 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
36576 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
36577 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
36578 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
36579 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
36580 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
36581 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
36582 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
36583 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
36584 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
36585 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
36586 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
36587 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
36588 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
36589 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
36590 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
36591 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
36592 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
36593 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
36594 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
36595 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
36596 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
36597 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
36598 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
36599 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
36600 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
36601 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
36602 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
36603 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
36604 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
36605 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
36606 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
36607 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
36608 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
36609 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
36610 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
36611 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
36612 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
36613 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
36614 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
36615 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
36616 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
36617 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
36618 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
36619 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
36620 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
36621 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
36622 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
36623 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
36624 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
36625 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
36626 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
36627 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
36628 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
36629 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
36630 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
36631 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
36632 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
36633 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
36634 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
36635 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
36636 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
36637 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
36638 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
36639 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
36640 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
36641 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
36642 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
36643 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
36644 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
36645 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
36646 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
36647 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
36648 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
36649 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
36650 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
36651 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
36652 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
36653 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
36654 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
36655 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
36656 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
36657 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
36658 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
36659 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
36660 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
36661 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
36662 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
36663 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
36664 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
36665 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
36666 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
36667 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
36668 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
36669 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
36670 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
36671 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
36672 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
36673 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
36674 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
36675 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
36676 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
36677 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
36678 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
36679 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
36680 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
36681 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
36682 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
36683 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
36684 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
36685 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
36686 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
36687 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
36688 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
36689 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
36690 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
36691 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
36692 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
36693 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
36694 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
36695 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
36696 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
36697 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
36698 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
36699 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
36700 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
36701 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
36702 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
36703 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
36704 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
36706 // Work around a chicken/egg problem in drawlist.cpp
36707 wxPyDrawList_SetAPIPtr();