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_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColor swig_types[28]
2495 #define SWIGTYPE_p_wxColour swig_types[29]
2496 #define SWIGTYPE_p_wxColourDatabase swig_types[30]
2497 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2498 #define SWIGTYPE_p_wxContextMenuEvent swig_types[32]
2499 #define SWIGTYPE_p_wxControl swig_types[33]
2500 #define SWIGTYPE_p_wxControlWithItems swig_types[34]
2501 #define SWIGTYPE_p_wxCursor swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDCOverlay swig_types[37]
2504 #define SWIGTYPE_p_wxDash swig_types[38]
2505 #define SWIGTYPE_p_wxDateEvent swig_types[39]
2506 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[40]
2507 #define SWIGTYPE_p_wxDropFilesEvent swig_types[41]
2508 #define SWIGTYPE_p_wxDuplexMode swig_types[42]
2509 #define SWIGTYPE_p_wxEffects swig_types[43]
2510 #define SWIGTYPE_p_wxEncodingConverter swig_types[44]
2511 #define SWIGTYPE_p_wxEraseEvent swig_types[45]
2512 #define SWIGTYPE_p_wxEvent swig_types[46]
2513 #define SWIGTYPE_p_wxEvtHandler swig_types[47]
2514 #define SWIGTYPE_p_wxFSFile swig_types[48]
2515 #define SWIGTYPE_p_wxFileSystem swig_types[49]
2516 #define SWIGTYPE_p_wxFlexGridSizer swig_types[50]
2517 #define SWIGTYPE_p_wxFocusEvent swig_types[51]
2518 #define SWIGTYPE_p_wxFont swig_types[52]
2519 #define SWIGTYPE_p_wxFontList swig_types[53]
2520 #define SWIGTYPE_p_wxFontMapper swig_types[54]
2521 #define SWIGTYPE_p_wxGBSizerItem swig_types[55]
2522 #define SWIGTYPE_p_wxGCDC swig_types[56]
2523 #define SWIGTYPE_p_wxGDIObjListBase swig_types[57]
2524 #define SWIGTYPE_p_wxGDIObject swig_types[58]
2525 #define SWIGTYPE_p_wxGIFHandler swig_types[59]
2526 #define SWIGTYPE_p_wxGraphicsContext swig_types[60]
2527 #define SWIGTYPE_p_wxGraphicsPath swig_types[61]
2528 #define SWIGTYPE_p_wxGridBagSizer swig_types[62]
2529 #define SWIGTYPE_p_wxGridSizer swig_types[63]
2530 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[64]
2531 #define SWIGTYPE_p_wxICOHandler swig_types[65]
2532 #define SWIGTYPE_p_wxIcon swig_types[66]
2533 #define SWIGTYPE_p_wxIconBundle swig_types[67]
2534 #define SWIGTYPE_p_wxIconLocation swig_types[68]
2535 #define SWIGTYPE_p_wxIconizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxIdleEvent swig_types[70]
2537 #define SWIGTYPE_p_wxImage swig_types[71]
2538 #define SWIGTYPE_p_wxImageHandler swig_types[72]
2539 #define SWIGTYPE_p_wxImageList swig_types[73]
2540 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[74]
2541 #define SWIGTYPE_p_wxInitDialogEvent swig_types[75]
2542 #define SWIGTYPE_p_wxJPEGHandler swig_types[76]
2543 #define SWIGTYPE_p_wxKeyEvent swig_types[77]
2544 #define SWIGTYPE_p_wxLanguageInfo swig_types[78]
2545 #define SWIGTYPE_p_wxLayoutConstraints swig_types[79]
2546 #define SWIGTYPE_p_wxLocale swig_types[80]
2547 #define SWIGTYPE_p_wxMask swig_types[81]
2548 #define SWIGTYPE_p_wxMaximizeEvent swig_types[82]
2549 #define SWIGTYPE_p_wxMemoryDC swig_types[83]
2550 #define SWIGTYPE_p_wxMenu swig_types[84]
2551 #define SWIGTYPE_p_wxMenuBar swig_types[85]
2552 #define SWIGTYPE_p_wxMenuEvent swig_types[86]
2553 #define SWIGTYPE_p_wxMenuItem swig_types[87]
2554 #define SWIGTYPE_p_wxMetaFile swig_types[88]
2555 #define SWIGTYPE_p_wxMetaFileDC swig_types[89]
2556 #define SWIGTYPE_p_wxMirrorDC swig_types[90]
2557 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMouseEvent swig_types[93]
2560 #define SWIGTYPE_p_wxMoveEvent swig_types[94]
2561 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[95]
2562 #define SWIGTYPE_p_wxNativeFontInfo swig_types[96]
2563 #define SWIGTYPE_p_wxNativePixelData swig_types[97]
2564 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[98]
2565 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[99]
2566 #define SWIGTYPE_p_wxNcPaintEvent swig_types[100]
2567 #define SWIGTYPE_p_wxNotifyEvent swig_types[101]
2568 #define SWIGTYPE_p_wxObject swig_types[102]
2569 #define SWIGTYPE_p_wxOverlay swig_types[103]
2570 #define SWIGTYPE_p_wxPCXHandler swig_types[104]
2571 #define SWIGTYPE_p_wxPNGHandler swig_types[105]
2572 #define SWIGTYPE_p_wxPNMHandler swig_types[106]
2573 #define SWIGTYPE_p_wxPaintDC swig_types[107]
2574 #define SWIGTYPE_p_wxPaintEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPalette swig_types[109]
2576 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[110]
2577 #define SWIGTYPE_p_wxPaperSize swig_types[111]
2578 #define SWIGTYPE_p_wxPen swig_types[112]
2579 #define SWIGTYPE_p_wxPenList swig_types[113]
2580 #define SWIGTYPE_p_wxPixelDataBase swig_types[114]
2581 #define SWIGTYPE_p_wxPoint swig_types[115]
2582 #define SWIGTYPE_p_wxPoint2D swig_types[116]
2583 #define SWIGTYPE_p_wxPostScriptDC swig_types[117]
2584 #define SWIGTYPE_p_wxPrintData swig_types[118]
2585 #define SWIGTYPE_p_wxPrinterDC swig_types[119]
2586 #define SWIGTYPE_p_wxPseudoDC swig_types[120]
2587 #define SWIGTYPE_p_wxPyApp swig_types[121]
2588 #define SWIGTYPE_p_wxPyCommandEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyEvent swig_types[123]
2590 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[124]
2591 #define SWIGTYPE_p_wxPyImageHandler swig_types[125]
2592 #define SWIGTYPE_p_wxPyLocale swig_types[126]
2593 #define SWIGTYPE_p_wxPySizer swig_types[127]
2594 #define SWIGTYPE_p_wxPyValidator swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRect swig_types[130]
2597 #define SWIGTYPE_p_wxRegion swig_types[131]
2598 #define SWIGTYPE_p_wxRegionIterator swig_types[132]
2599 #define SWIGTYPE_p_wxRendererNative swig_types[133]
2600 #define SWIGTYPE_p_wxRendererVersion swig_types[134]
2601 #define SWIGTYPE_p_wxScreenDC swig_types[135]
2602 #define SWIGTYPE_p_wxScrollEvent swig_types[136]
2603 #define SWIGTYPE_p_wxScrollWinEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2605 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSize swig_types[140]
2607 #define SWIGTYPE_p_wxSizeEvent swig_types[141]
2608 #define SWIGTYPE_p_wxSizer swig_types[142]
2609 #define SWIGTYPE_p_wxSizerItem swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
2612 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStockGDI swig_types[147]
2614 #define SWIGTYPE_p_wxString swig_types[148]
2615 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
2616 #define SWIGTYPE_p_wxTIFFHandler swig_types[150]
2617 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[151]
2618 #define SWIGTYPE_p_wxValidator swig_types[152]
2619 #define SWIGTYPE_p_wxWindow swig_types[153]
2620 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[154]
2621 #define SWIGTYPE_p_wxWindowDC swig_types[155]
2622 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[156]
2623 #define SWIGTYPE_p_wxXPMHandler swig_types[157]
2624 static swig_type_info
*swig_types
[159];
2625 static swig_module_info swig_module
= {swig_types
, 158, 0, 0, 0, 0};
2626 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2627 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2629 /* -------- TYPES TABLE (END) -------- */
2631 #if (PY_VERSION_HEX <= 0x02000000)
2632 # if !defined(SWIG_PYTHON_CLASSIC)
2633 # error "This python version requires to use swig with the '-classic' option"
2636 #if (PY_VERSION_HEX <= 0x02020000)
2637 # error "This python version requires to use swig with the '-nomodern' option"
2639 #if (PY_VERSION_HEX <= 0x02020000)
2640 # error "This python version requires to use swig with the '-nomodernargs' option"
2643 # error "This python version requires to use swig with the '-nofastunpack' option"
2646 /*-----------------------------------------------
2647 @(target):= _gdi_.so
2648 ------------------------------------------------*/
2649 #define SWIG_init init_gdi_
2651 #define SWIG_name "_gdi_"
2653 #define SWIGVERSION 0x010329
2656 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2657 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2660 #include <stdexcept>
2664 class PyObject_ptr
{
2669 PyObject_ptr() :_obj(0)
2673 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2678 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2680 if (initial_ref
) Py_XINCREF(_obj
);
2683 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2685 Py_XINCREF(item
._obj
);
2696 operator PyObject
*() const
2701 PyObject
*operator->() const
2710 struct PyObject_var
: PyObject_ptr
{
2711 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2713 PyObject_var
& operator = (PyObject
* obj
)
2723 #include "wx/wxPython/wxPython.h"
2724 #include "wx/wxPython/pyclasses.h"
2727 static const wxString
wxPyEmptyString(wxEmptyString
);
2729 #define SWIG_From_long PyInt_FromLong
2732 SWIGINTERNINLINE PyObject
*
2733 SWIG_From_int (int value
)
2735 return SWIG_From_long (value
);
2741 # define LLONG_MIN LONG_LONG_MIN
2744 # define LLONG_MAX LONG_LONG_MAX
2747 # define ULLONG_MAX ULONG_LONG_MAX
2752 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2754 if (PyNumber_Check(obj
)) {
2755 if (val
) *val
= PyInt_AsLong(obj
);
2758 return SWIG_TypeError
;
2763 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2766 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2767 return SWIG_TypeError
;
2770 *val
= (unsigned long)v
;
2776 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2779 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2780 if (SWIG_IsOK(res
)) {
2781 if ((v
> UCHAR_MAX
)) {
2782 return SWIG_OverflowError
;
2784 if (val
) *val
= static_cast< unsigned char >(v
);
2791 SWIGINTERNINLINE PyObject
*
2792 SWIG_From_unsigned_SS_long (unsigned long value
)
2794 return (value
> LONG_MAX
) ?
2795 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2799 SWIGINTERNINLINE PyObject
*
2800 SWIG_From_unsigned_SS_char (unsigned char value
)
2802 return SWIG_From_unsigned_SS_long (value
);
2805 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2806 wxColour temp
, *obj
= &temp
;
2807 if ( other
== Py_None
) return false;
2808 if ( ! wxColour_helper(other
, &obj
) ) {
2812 return self
->operator==(*obj
);
2814 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2815 wxColour temp
, *obj
= &temp
;
2816 if ( other
== Py_None
) return true;
2817 if ( ! wxColour_helper(other
, &obj
)) {
2821 return self
->operator!=(*obj
);
2825 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2827 if (obj
== Py_True
) {
2828 if (val
) *val
= true;
2830 } else if (obj
== Py_False
) {
2831 if (val
) *val
= false;
2835 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2836 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2841 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2842 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2846 int alpha
= wxALPHA_OPAQUE
;
2849 green
= self
->Green();
2850 blue
= self
->Blue();
2851 alpha
= self
->Alpha();
2853 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2854 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2855 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2857 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2860 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2861 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2865 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2868 int res
= SWIG_AsVal_long (obj
, &v
);
2869 if (SWIG_IsOK(res
)) {
2870 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2871 return SWIG_OverflowError
;
2873 if (val
) *val
= static_cast< int >(v
);
2879 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2881 int count
= self
->GetDashes(&dashes
);
2882 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2883 PyObject
* retval
= PyList_New(0);
2884 for (int x
=0; x
<count
; x
++) {
2885 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2886 PyList_Append(retval
, pyint
);
2889 wxPyEndBlockThreads(blocked
);
2892 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2893 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2894 int size
= PyList_Size(pyDashes
);
2895 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2897 // black magic warning! The array of wxDashes needs to exist as
2898 // long as the pen does because wxPen does not copy the array. So
2899 // stick a copy in a Python string object and attach it to _self,
2900 // and then call SetDashes with a pointer to that array. Then
2901 // when the Python pen object is destroyed the array will be
2903 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2904 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2906 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2908 Py_DECREF(strDashes
);
2909 wxPyEndBlockThreads(blocked
);
2911 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2912 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2914 #include <wx/rawbmp.h>
2917 #include <wx/image.h>
2919 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2920 char** cArray
= NULL
;
2923 if (!PyList_Check(listOfStrings
)) {
2924 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2927 count
= PyList_Size(listOfStrings
);
2928 cArray
= new char*[count
];
2930 for(int x
=0; x
<count
; x
++) {
2931 // TODO: Need some validation and error checking here
2932 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2938 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2939 char** cArray
= NULL
;
2942 cArray
= ConvertListOfStrings(listOfStrings
);
2945 bmp
= new wxBitmap(cArray
);
2949 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2952 PyString_AsStringAndSize(bits
, &buf
, &length
);
2953 return new wxBitmap(buf
, width
, height
, depth
);
2955 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2956 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2957 wxSize
size(self
->GetWidth(), self
->GetHeight());
2960 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2961 wxMask
*mask
= new wxMask(*self
, colour
);
2962 self
->SetMask(mask
);
2964 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2965 self
->SetWidth(size
.x
);
2966 self
->SetHeight(size
.y
);
2968 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2969 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2971 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2972 // appears to me that the other platforms are already doing it, so I'll just
2973 // automatically do it for wxMSW here.
2975 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2976 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2978 #define wxPy_premultiply(p, a) (p)
2979 #define wxPy_unpremultiply(p, a) (p)
2983 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
2984 buffer data
, int DATASIZE
,
2985 buffer alpha
, int ALPHASIZE
)
2987 if (DATASIZE
!= width
*height
*3) {
2988 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2992 if (ALPHASIZE
!= width
*height
) {
2993 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2997 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
2998 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3000 // raise an exception...
3001 wxPyErr_SetString(PyExc_RuntimeError
,
3002 "Failed to gain raw access to bitmap data.");
3007 wxAlphaPixelData::Iterator
p(pixData
);
3008 for (int y
=0; y
<height
; y
++) {
3009 wxAlphaPixelData::Iterator rowStart
= p
;
3010 for (int x
=0; x
<width
; x
++) {
3011 byte a
= *(alpha
++);
3012 p
.Red() = wxPy_premultiply(*(data
++), a
);
3013 p
.Green() = wxPy_premultiply(*(data
++), a
);
3014 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3019 p
.OffsetY(pixData
, 1);
3024 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3026 if (DATASIZE
!= width
*height
*3) {
3027 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3031 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3032 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3034 // raise an exception...
3035 wxPyErr_SetString(PyExc_RuntimeError
,
3036 "Failed to gain raw access to bitmap data.");
3040 wxNativePixelData::Iterator
p(pixData
);
3041 for (int y
=0; y
<height
; y
++) {
3042 wxNativePixelData::Iterator rowStart
= p
;
3043 for (int x
=0; x
<width
; x
++) {
3044 p
.Red() = *(data
++);
3045 p
.Green() = *(data
++);
3046 p
.Blue() = *(data
++);
3050 p
.OffsetY(pixData
, 1);
3056 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3058 if (DATASIZE
!= width
*height
*4) {
3059 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3063 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3064 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3066 // raise an exception...
3067 wxPyErr_SetString(PyExc_RuntimeError
,
3068 "Failed to gain raw access to bitmap data.");
3073 wxAlphaPixelData::Iterator
p(pixData
);
3074 for (int y
=0; y
<height
; y
++) {
3075 wxAlphaPixelData::Iterator rowStart
= p
;
3076 for (int x
=0; x
<width
; x
++) {
3078 p
.Red() = wxPy_premultiply(*(data
++), a
);
3079 p
.Green() = wxPy_premultiply(*(data
++), a
);
3080 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3081 p
.Alpha() = a
; data
++;
3085 p
.OffsetY(pixData
, 1);
3091 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3093 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3094 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3095 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3097 self
->Green() = green
;
3098 self
->Blue() = blue
;
3100 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3101 PyObject
* rv
= PyTuple_New(3);
3102 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3103 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3104 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3108 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3110 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3111 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3112 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3113 self
->Red() = wxPy_premultiply(red
, alpha
);
3114 self
->Green() = wxPy_premultiply(green
, alpha
);
3115 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3116 self
->Alpha() = alpha
;
3118 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3119 PyObject
* rv
= PyTuple_New(4);
3120 int red
= self
->Red();
3121 int green
= self
->Green();
3122 int blue
= self
->Blue();
3123 int alpha
= self
->Alpha();
3125 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3126 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3127 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3128 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3131 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3132 if ( !colour
.IsOk() )
3133 return new wxMask(bitmap
, *wxBLACK
);
3135 return new wxMask(bitmap
, colour
);
3138 #include <wx/iconbndl.h>
3140 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3141 wxIcon
* icon
= new wxIcon();
3142 icon
->CopyFromBitmap(bmp
);
3145 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3146 char** cArray
= NULL
;
3149 cArray
= ConvertListOfStrings(listOfStrings
);
3152 icon
= new wxIcon(cArray
);
3156 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3157 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3159 return new wxIconLocation(*filename
, num
);
3164 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3166 self
->SetIndex(num
);
3171 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3173 return self
->GetIndex();
3178 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3180 wxImage
img(cursorName
, type
);
3181 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3182 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3183 return new wxCursor(img
);
3185 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3188 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3191 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3194 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3195 return self
->operator bool();
3198 #include <wx/fontutil.h>
3199 #include <wx/fontmap.h>
3200 #include <wx/fontenum.h>
3202 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3203 return self
->ToString();
3206 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3207 { wxPyRaiseNotImplemented(); return NULL
; }
3209 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3210 { wxPyRaiseNotImplemented(); return false; }
3213 SWIGINTERNINLINE PyObject
*
3214 SWIG_From_size_t (size_t value
)
3216 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3220 SWIGINTERNINLINE
int
3221 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3224 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3225 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3229 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3230 wxFontEncoding alt_enc
;
3231 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3232 return PyInt_FromLong(alt_enc
);
3238 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3239 wxNativeFontInfo nfi
;
3240 nfi
.FromString(info
);
3241 return new wxFont(nfi
);
3243 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3244 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3246 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3247 return wxFontBase::New(pixelSize
, family
,
3248 style
, weight
, underlined
,
3251 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3252 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3254 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3255 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3257 class wxPyFontEnumerator
: public wxFontEnumerator
{
3259 wxPyFontEnumerator() {}
3260 ~wxPyFontEnumerator() {}
3262 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3263 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3268 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3269 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3272 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3274 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3275 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3276 ret
= wxArrayString2PyList_helper(arr
);
3277 wxPyEndBlockThreads(blocked
);
3280 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3282 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3283 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3284 ret
= wxArrayString2PyList_helper(arr
);
3285 wxPyEndBlockThreads(blocked
);
3291 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3294 loc
= new wxLocale();
3296 loc
= new wxLocale(language
, flags
);
3297 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3298 // for the floating point conversions and such to work right.
3299 #if PY_VERSION_HEX < 0x02040000
3300 setlocale(LC_NUMERIC
, "C");
3304 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3305 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3306 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3307 // for the floating point conversions and such to work right.
3308 #if PY_VERSION_HEX < 0x02040000
3309 setlocale(LC_NUMERIC
, "C");
3313 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3314 bool rc
= self
->Init(language
, flags
);
3315 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3316 // for the floating point conversions and such to work right.
3317 #if PY_VERSION_HEX < 0x02040000
3318 setlocale(LC_NUMERIC
, "C");
3323 class wxPyLocale
: public wxLocale
3328 wxPyLocale(const wxChar
*szName
, // name (for messages)
3329 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3330 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3331 bool bLoadDefault
= true, // preload wxstd.mo?
3332 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3334 wxPyLocale(int language
, // wxLanguage id or custom language
3335 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3339 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3340 const wxChar
*szDomain
= NULL
) const;
3341 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3342 const wxChar
*szOrigString2
, size_t n
,
3343 const wxChar
*szDomain
= NULL
) const;
3345 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3346 const wxChar
*szDomain
= NULL
) const;
3347 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3348 const wxChar
*szOrigString2
, size_t n
,
3349 const wxChar
*szDomain
= NULL
) const;
3353 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3356 wxPyLocale::wxPyLocale() : wxLocale()
3360 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3361 const wxChar
*szShort
, // dir prefix (for msg files)
3362 const wxChar
*szLocale
, // locale (for setlocale)
3363 bool bLoadDefault
, // preload wxstd.mo?
3364 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3365 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3369 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3370 int flags
) : wxLocale(language
, flags
)
3374 wxPyLocale::~wxPyLocale()
3378 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3379 const wxChar
*szDomain
) const
3381 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3382 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3385 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3386 const wxChar
*szOrigString2
, size_t n
,
3387 const wxChar
*szDomain
) const
3389 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3390 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3393 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3394 const wxChar
*szDomain
) const
3397 static wxString str
;
3398 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.
3399 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3400 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3401 PyObject
* param1
= wx2PyString(szOrigString
);
3402 PyObject
* param2
= wx2PyString(szDomain
);
3403 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3407 str
= Py2wxString(ret
);
3411 wxPyEndBlockThreads(blocked
);
3412 return (found
? (wxChar
*)str
.c_str() : NULL
);
3415 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3416 const wxChar
*szOrigString2
, size_t n
,
3417 const wxChar
*szDomain
) const
3420 static wxString str
;
3421 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.
3422 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3423 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3424 PyObject
* param1
= wx2PyString(szOrigString
);
3425 PyObject
* param2
= wx2PyString(szOrigString2
);
3426 PyObject
* param4
= wx2PyString(szDomain
);
3427 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3432 str
= Py2wxString(ret
);
3436 wxPyEndBlockThreads(blocked
);
3437 return (found
? (wxChar
*)str
.c_str() : NULL
);
3440 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3443 loc
= new wxPyLocale();
3445 loc
= new wxPyLocale(language
, flags
);
3446 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3447 // for the floating point conversions and such to work right.
3448 #if PY_VERSION_HEX < 0x02040000
3449 setlocale(LC_NUMERIC
, "C");
3454 #include "wx/wxPython/pydrawxxx.h"
3456 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3458 self
->GetPixel(x
, y
, &col
);
3461 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3463 self
->GetPixel(pt
, &col
);
3468 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3470 if (PyNumber_Check(obj
)) {
3471 if (val
) *val
= PyFloat_AsDouble(obj
);
3474 return SWIG_TypeError
;
3477 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3479 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3482 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3484 self
->GetClippingBox(rect
);
3487 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3489 self
->GetPartialTextExtents(text
, widths
);
3493 #define SWIG_From_double PyFloat_FromDouble
3495 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3496 self
->SetLogicalOrigin(point
.x
, point
.y
);
3498 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3499 self
->SetDeviceOrigin(point
.x
, point
.y
);
3501 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3502 self
->CalcBoundingBox(point
.x
, point
.y
);
3504 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3505 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3507 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3508 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3510 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3511 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3513 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3514 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3516 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3517 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3519 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3520 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3523 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3531 #include <wx/dcbuffer.h>
3534 #include <wx/dcps.h>
3537 #include <wx/metafile.h>
3540 #include <wx/graphics.h>
3543 #if !wxUSE_GRAPHICS_CONTEXT
3544 // C++ stub classes for platforms that don't have wxGraphicsContext yet.
3546 class wxGraphicsPath
3550 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3551 PyErr_SetString(PyExc_NotImplementedError
,
3552 "wxGraphicsPath is not available on this platform.");
3553 wxPyEndBlockThreads(blocked
);
3555 virtual ~wxGraphicsPath() {}
3557 void MoveToPoint( wxDouble
, wxDouble
) {}
3558 void AddLineToPoint( wxDouble
, wxDouble
) {}
3559 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3560 void CloseSubpath() {}
3561 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3562 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3564 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3565 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3566 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3567 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3569 wxPoint2DDouble
GetCurrentPoint() { return wxPoint2DDouble(0,0); }
3570 void MoveToPoint( const wxPoint2DDouble
& ) {}
3571 void AddLineToPoint( const wxPoint2DDouble
&) {}
3572 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3573 void AddArc( const wxPoint2DDouble
&, wxDouble
, wxDouble
, wxDouble
, bool) {}
3577 class wxGraphicsContext
3580 wxGraphicsContext() {
3581 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3582 PyErr_SetString(PyExc_NotImplementedError
,
3583 "wxGraphicsContext is not available on this platform.");
3584 wxPyEndBlockThreads(blocked
);
3586 virtual ~wxGraphicsContext() {}
3588 static wxGraphicsContext
* Create( const wxWindowDC
&) {
3589 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3590 PyErr_SetString(PyExc_NotImplementedError
,
3591 "wxGraphicsPath is not available on this platform.");
3592 wxPyEndBlockThreads(blocked
);
3596 wxGraphicsPath
* CreatePath() { return NULL
; }
3599 void Clip( const wxRegion
& ) {}
3600 void Translate( wxDouble
, wxDouble
) {}
3601 void Scale( wxDouble
, wxDouble
) {}
3602 void Rotate( wxDouble
) {}
3603 void SetPen( const wxPen
& ) {}
3604 void SetBrush( const wxBrush
& ) {}
3605 void SetLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3606 const wxColour
&, const wxColour
&) {}
3607 void SetRadialGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3608 const wxColour
&, const wxColour
&) {}
3609 void SetFont( const wxFont
& ) {}
3610 void SetTextColor( const wxColour
& ) {}
3611 void StrokePath( const wxGraphicsPath
* ) {}
3612 void FillPath( const wxGraphicsPath
*, int ) {}
3613 void DrawPath( const wxGraphicsPath
*, int ) {}
3614 void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3615 void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3616 void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3617 wxDouble
*, wxDouble
* ) const {}
3618 void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3619 void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3620 void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3621 void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3622 void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3623 void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3624 void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3625 void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3626 void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3627 void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3631 class wxGCDC
: public wxWindowDC
3634 wxGCDC(const wxWindowDC
&) {
3635 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3636 PyErr_SetString(PyExc_NotImplementedError
,
3637 "wxGCDC is not available on this platform.");
3638 wxPyEndBlockThreads(blocked
);
3642 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3643 PyErr_SetString(PyExc_NotImplementedError
,
3644 "wxGCDC is not available on this platform.");
3645 wxPyEndBlockThreads(blocked
);
3648 virtual ~wxGCDC() {}
3650 wxGraphicsContext
* GetGraphicContext() { return NULL
; }
3655 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3656 wxArrayDouble widths
;
3657 self
->GetPartialTextExtents(text
, widths
);
3660 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3661 size_t c1
, c2
, count
;
3662 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3663 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3665 if ( beginP
!= NULL
&& endP
!= NULL
)
3667 count
= wxMin(c1
, c2
);
3668 self
->StrokeLines(count
, beginP
, endP
);
3674 #include "wx/dcgraph.h"
3678 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3679 self
->AddColour(name
, wxColour(red
, green
, blue
));
3682 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3683 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3684 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3685 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3688 #include <wx/effects.h>
3691 #include "wx/renderer.h"
3694 SWIGINTERNINLINE PyObject
*
3695 SWIG_From_bool (bool value
)
3697 return PyBool_FromLong(value
? 1 : 0);
3701 #include "wx/wxPython/pseudodc.h"
3703 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3705 self
->GetIdBounds(id
, rect
);
3711 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3712 PyObject
*resultobj
= 0;
3713 wxGDIObject
*result
= 0 ;
3715 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3717 if (!wxPyCheckForApp()) SWIG_fail
;
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 result
= (wxGDIObject
*)new wxGDIObject();
3720 wxPyEndAllowThreads(__tstate
);
3721 if (PyErr_Occurred()) SWIG_fail
;
3723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3730 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3731 PyObject
*resultobj
= 0;
3732 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3735 PyObject
*swig_obj
[1] ;
3737 if (!args
) SWIG_fail
;
3739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3740 if (!SWIG_IsOK(res1
)) {
3741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3743 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3748 wxPyEndAllowThreads(__tstate
);
3749 if (PyErr_Occurred()) SWIG_fail
;
3751 resultobj
= SWIG_Py_Void();
3758 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3759 PyObject
*resultobj
= 0;
3760 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3764 PyObject
*swig_obj
[1] ;
3766 if (!args
) SWIG_fail
;
3768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3769 if (!SWIG_IsOK(res1
)) {
3770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3772 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3775 result
= (bool)(arg1
)->IsNull();
3776 wxPyEndAllowThreads(__tstate
);
3777 if (PyErr_Occurred()) SWIG_fail
;
3780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3788 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3790 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3791 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3792 return SWIG_Py_Void();
3795 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3796 return SWIG_Python_InitShadowInstance(args
);
3799 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
*resultobj
= 0;
3801 byte arg1
= (byte
) 0 ;
3802 byte arg2
= (byte
) 0 ;
3803 byte arg3
= (byte
) 0 ;
3804 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3805 wxColour
*result
= 0 ;
3806 unsigned char val1
;
3808 unsigned char val2
;
3810 unsigned char val3
;
3812 unsigned char val4
;
3814 PyObject
* obj0
= 0 ;
3815 PyObject
* obj1
= 0 ;
3816 PyObject
* obj2
= 0 ;
3817 PyObject
* obj3
= 0 ;
3818 char * kwnames
[] = {
3819 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3824 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3825 if (!SWIG_IsOK(ecode1
)) {
3826 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3828 arg1
= static_cast< byte
>(val1
);
3831 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3832 if (!SWIG_IsOK(ecode2
)) {
3833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3835 arg2
= static_cast< byte
>(val2
);
3838 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3839 if (!SWIG_IsOK(ecode3
)) {
3840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3842 arg3
= static_cast< byte
>(val3
);
3845 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3846 if (!SWIG_IsOK(ecode4
)) {
3847 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3849 arg4
= static_cast< byte
>(val4
);
3852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3853 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3854 wxPyEndAllowThreads(__tstate
);
3855 if (PyErr_Occurred()) SWIG_fail
;
3857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3864 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
*resultobj
= 0;
3866 wxString
*arg1
= 0 ;
3867 wxColour
*result
= 0 ;
3868 bool temp1
= false ;
3869 PyObject
* obj0
= 0 ;
3870 char * kwnames
[] = {
3871 (char *) "colorName", NULL
3874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3876 arg1
= wxString_in_helper(obj0
);
3877 if (arg1
== NULL
) SWIG_fail
;
3881 if (!wxPyCheckForApp()) SWIG_fail
;
3882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3883 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3884 wxPyEndAllowThreads(__tstate
);
3885 if (PyErr_Occurred()) SWIG_fail
;
3887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3902 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
*resultobj
= 0;
3904 unsigned long arg1
;
3905 wxColour
*result
= 0 ;
3906 unsigned long val1
;
3908 PyObject
* obj0
= 0 ;
3909 char * kwnames
[] = {
3910 (char *) "colRGB", NULL
3913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3914 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3915 if (!SWIG_IsOK(ecode1
)) {
3916 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3918 arg1
= static_cast< unsigned long >(val1
);
3920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3921 result
= (wxColour
*)new wxColour(arg1
);
3922 wxPyEndAllowThreads(__tstate
);
3923 if (PyErr_Occurred()) SWIG_fail
;
3925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3932 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3933 PyObject
*resultobj
= 0;
3934 wxColour
*arg1
= (wxColour
*) 0 ;
3937 PyObject
*swig_obj
[1] ;
3939 if (!args
) SWIG_fail
;
3941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3942 if (!SWIG_IsOK(res1
)) {
3943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3945 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3950 wxPyEndAllowThreads(__tstate
);
3951 if (PyErr_Occurred()) SWIG_fail
;
3953 resultobj
= SWIG_Py_Void();
3960 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3961 PyObject
*resultobj
= 0;
3962 wxColour
*arg1
= (wxColour
*) 0 ;
3966 PyObject
*swig_obj
[1] ;
3968 if (!args
) SWIG_fail
;
3970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3971 if (!SWIG_IsOK(res1
)) {
3972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3974 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 result
= (byte
)(arg1
)->Red();
3978 wxPyEndAllowThreads(__tstate
);
3979 if (PyErr_Occurred()) SWIG_fail
;
3981 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3988 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3989 PyObject
*resultobj
= 0;
3990 wxColour
*arg1
= (wxColour
*) 0 ;
3994 PyObject
*swig_obj
[1] ;
3996 if (!args
) SWIG_fail
;
3998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3999 if (!SWIG_IsOK(res1
)) {
4000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4002 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4005 result
= (byte
)(arg1
)->Green();
4006 wxPyEndAllowThreads(__tstate
);
4007 if (PyErr_Occurred()) SWIG_fail
;
4009 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4016 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4017 PyObject
*resultobj
= 0;
4018 wxColour
*arg1
= (wxColour
*) 0 ;
4022 PyObject
*swig_obj
[1] ;
4024 if (!args
) SWIG_fail
;
4026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4027 if (!SWIG_IsOK(res1
)) {
4028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4030 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 result
= (byte
)(arg1
)->Blue();
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4037 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4044 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4045 PyObject
*resultobj
= 0;
4046 wxColour
*arg1
= (wxColour
*) 0 ;
4050 PyObject
*swig_obj
[1] ;
4052 if (!args
) SWIG_fail
;
4054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4055 if (!SWIG_IsOK(res1
)) {
4056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4058 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4061 result
= (byte
)(arg1
)->Alpha();
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4065 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4072 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4073 PyObject
*resultobj
= 0;
4074 wxColour
*arg1
= (wxColour
*) 0 ;
4078 PyObject
*swig_obj
[1] ;
4080 if (!args
) SWIG_fail
;
4082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4083 if (!SWIG_IsOK(res1
)) {
4084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4086 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 result
= (bool)(arg1
)->IsOk();
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) SWIG_fail
;
4094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4102 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
*resultobj
= 0;
4104 wxColour
*arg1
= (wxColour
*) 0 ;
4108 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4111 unsigned char val2
;
4113 unsigned char val3
;
4115 unsigned char val4
;
4117 unsigned char val5
;
4119 PyObject
* obj0
= 0 ;
4120 PyObject
* obj1
= 0 ;
4121 PyObject
* obj2
= 0 ;
4122 PyObject
* obj3
= 0 ;
4123 PyObject
* obj4
= 0 ;
4124 char * kwnames
[] = {
4125 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4130 if (!SWIG_IsOK(res1
)) {
4131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4133 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4134 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4135 if (!SWIG_IsOK(ecode2
)) {
4136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4138 arg2
= static_cast< byte
>(val2
);
4139 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4140 if (!SWIG_IsOK(ecode3
)) {
4141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4143 arg3
= static_cast< byte
>(val3
);
4144 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4145 if (!SWIG_IsOK(ecode4
)) {
4146 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4148 arg4
= static_cast< byte
>(val4
);
4150 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4151 if (!SWIG_IsOK(ecode5
)) {
4152 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4154 arg5
= static_cast< byte
>(val5
);
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4158 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4159 wxPyEndAllowThreads(__tstate
);
4160 if (PyErr_Occurred()) SWIG_fail
;
4162 resultobj
= SWIG_Py_Void();
4169 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
*resultobj
= 0;
4171 wxColour
*arg1
= (wxColour
*) 0 ;
4172 unsigned long arg2
;
4175 unsigned long val2
;
4177 PyObject
* obj0
= 0 ;
4178 PyObject
* obj1
= 0 ;
4179 char * kwnames
[] = {
4180 (char *) "self",(char *) "colRGB", NULL
4183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4185 if (!SWIG_IsOK(res1
)) {
4186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4188 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4189 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4190 if (!SWIG_IsOK(ecode2
)) {
4191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4193 arg2
= static_cast< unsigned long >(val2
);
4195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4197 wxPyEndAllowThreads(__tstate
);
4198 if (PyErr_Occurred()) SWIG_fail
;
4200 resultobj
= SWIG_Py_Void();
4207 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4208 PyObject
*resultobj
= 0;
4209 wxColour
*arg1
= (wxColour
*) 0 ;
4210 wxString
*arg2
= 0 ;
4213 bool temp2
= false ;
4214 PyObject
* obj0
= 0 ;
4215 PyObject
* obj1
= 0 ;
4216 char * kwnames
[] = {
4217 (char *) "self",(char *) "colourName", NULL
4220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4222 if (!SWIG_IsOK(res1
)) {
4223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4225 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4227 arg2
= wxString_in_helper(obj1
);
4228 if (arg2
== NULL
) SWIG_fail
;
4232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4233 (arg1
)->Set((wxString
const &)*arg2
);
4234 wxPyEndAllowThreads(__tstate
);
4235 if (PyErr_Occurred()) SWIG_fail
;
4237 resultobj
= SWIG_Py_Void();
4252 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4253 PyObject
*resultobj
= 0;
4254 wxColour
*arg1
= (wxColour
*) 0 ;
4255 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4261 PyObject
* obj0
= 0 ;
4262 PyObject
* obj1
= 0 ;
4263 char * kwnames
[] = {
4264 (char *) "self",(char *) "flags", NULL
4267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4269 if (!SWIG_IsOK(res1
)) {
4270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4272 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4274 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4275 if (!SWIG_IsOK(ecode2
)) {
4276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4278 arg2
= static_cast< long >(val2
);
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4282 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4283 wxPyEndAllowThreads(__tstate
);
4284 if (PyErr_Occurred()) SWIG_fail
;
4288 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4290 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4299 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4300 PyObject
*resultobj
= 0;
4301 wxColour
*arg1
= (wxColour
*) 0 ;
4305 PyObject
*swig_obj
[1] ;
4307 if (!args
) SWIG_fail
;
4309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4310 if (!SWIG_IsOK(res1
)) {
4311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4313 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4316 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4317 wxPyEndAllowThreads(__tstate
);
4318 if (PyErr_Occurred()) SWIG_fail
;
4320 resultobj
= SWIG_From_long(static_cast< long >(result
));
4327 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
*resultobj
= 0;
4329 wxColour
*arg1
= (wxColour
*) 0 ;
4330 PyObject
*arg2
= (PyObject
*) 0 ;
4334 PyObject
* obj0
= 0 ;
4335 PyObject
* obj1
= 0 ;
4336 char * kwnames
[] = {
4337 (char *) "self",(char *) "other", NULL
4340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4342 if (!SWIG_IsOK(res1
)) {
4343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4345 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4348 result
= (bool)wxColour___eq__(arg1
,arg2
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4360 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
= 0;
4362 wxColour
*arg1
= (wxColour
*) 0 ;
4363 PyObject
*arg2
= (PyObject
*) 0 ;
4367 PyObject
* obj0
= 0 ;
4368 PyObject
* obj1
= 0 ;
4369 char * kwnames
[] = {
4370 (char *) "self",(char *) "other", NULL
4373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4375 if (!SWIG_IsOK(res1
)) {
4376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4378 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4381 result
= (bool)wxColour___ne__(arg1
,arg2
);
4382 if (PyErr_Occurred()) SWIG_fail
;
4385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4393 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
*resultobj
= 0;
4395 wxColour
*arg1
= (wxColour
*) 0 ;
4396 bool arg2
= (bool) false ;
4397 PyObject
*result
= 0 ;
4402 PyObject
* obj0
= 0 ;
4403 PyObject
* obj1
= 0 ;
4404 char * kwnames
[] = {
4405 (char *) "self",(char *) "includeAlpha", NULL
4408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4410 if (!SWIG_IsOK(res1
)) {
4411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4413 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4415 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4416 if (!SWIG_IsOK(ecode2
)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4419 arg2
= static_cast< bool >(val2
);
4422 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4423 if (PyErr_Occurred()) SWIG_fail
;
4432 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4433 PyObject
*resultobj
= 0;
4434 wxColour
*arg1
= (wxColour
*) 0 ;
4435 unsigned long result
;
4438 PyObject
*swig_obj
[1] ;
4440 if (!args
) SWIG_fail
;
4442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4443 if (!SWIG_IsOK(res1
)) {
4444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4446 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4448 result
= (unsigned long)wxColour_GetRGB(arg1
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4451 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4458 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4460 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4461 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4462 return SWIG_Py_Void();
4465 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4466 return SWIG_Python_InitShadowInstance(args
);
4469 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
*resultobj
= 0;
4472 unsigned char *arg2
= (unsigned char *) 0 ;
4473 unsigned char *arg3
= (unsigned char *) 0 ;
4474 unsigned char *arg4
= (unsigned char *) 0 ;
4475 wxPalette
*result
= 0 ;
4484 PyObject
* obj0
= 0 ;
4485 PyObject
* obj1
= 0 ;
4486 PyObject
* obj2
= 0 ;
4487 PyObject
* obj3
= 0 ;
4488 char * kwnames
[] = {
4489 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4493 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4494 if (!SWIG_IsOK(ecode1
)) {
4495 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4497 arg1
= static_cast< int >(val1
);
4498 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4499 if (!SWIG_IsOK(res2
)) {
4500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4502 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4503 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4504 if (!SWIG_IsOK(res3
)) {
4505 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4507 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4508 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4509 if (!SWIG_IsOK(res4
)) {
4510 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4512 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4514 if (!wxPyCheckForApp()) SWIG_fail
;
4515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4516 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4517 wxPyEndAllowThreads(__tstate
);
4518 if (PyErr_Occurred()) SWIG_fail
;
4520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4527 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4528 PyObject
*resultobj
= 0;
4529 wxPalette
*arg1
= (wxPalette
*) 0 ;
4532 PyObject
*swig_obj
[1] ;
4534 if (!args
) SWIG_fail
;
4536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4537 if (!SWIG_IsOK(res1
)) {
4538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4540 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4545 wxPyEndAllowThreads(__tstate
);
4546 if (PyErr_Occurred()) SWIG_fail
;
4548 resultobj
= SWIG_Py_Void();
4555 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
*resultobj
= 0;
4557 wxPalette
*arg1
= (wxPalette
*) 0 ;
4564 unsigned char val2
;
4566 unsigned char val3
;
4568 unsigned char val4
;
4570 PyObject
* obj0
= 0 ;
4571 PyObject
* obj1
= 0 ;
4572 PyObject
* obj2
= 0 ;
4573 PyObject
* obj3
= 0 ;
4574 char * kwnames
[] = {
4575 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4580 if (!SWIG_IsOK(res1
)) {
4581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4583 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4584 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4585 if (!SWIG_IsOK(ecode2
)) {
4586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4588 arg2
= static_cast< byte
>(val2
);
4589 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4590 if (!SWIG_IsOK(ecode3
)) {
4591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4593 arg3
= static_cast< byte
>(val3
);
4594 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4595 if (!SWIG_IsOK(ecode4
)) {
4596 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4598 arg4
= static_cast< byte
>(val4
);
4600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4601 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) SWIG_fail
;
4605 resultobj
= SWIG_From_int(static_cast< int >(result
));
4612 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4613 PyObject
*resultobj
= 0;
4614 wxPalette
*arg1
= (wxPalette
*) 0 ;
4616 byte
*arg3
= (byte
*) 0 ;
4617 byte
*arg4
= (byte
*) 0 ;
4618 byte
*arg5
= (byte
*) 0 ;
4625 int res3
= SWIG_TMPOBJ
;
4627 int res4
= SWIG_TMPOBJ
;
4629 int res5
= SWIG_TMPOBJ
;
4630 PyObject
* obj0
= 0 ;
4631 PyObject
* obj1
= 0 ;
4632 char * kwnames
[] = {
4633 (char *) "self",(char *) "pixel", NULL
4639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4641 if (!SWIG_IsOK(res1
)) {
4642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4644 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4645 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4646 if (!SWIG_IsOK(ecode2
)) {
4647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4649 arg2
= static_cast< int >(val2
);
4651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4652 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4653 wxPyEndAllowThreads(__tstate
);
4654 if (PyErr_Occurred()) SWIG_fail
;
4657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4659 if (SWIG_IsTmpObj(res3
)) {
4660 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4662 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4663 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4665 if (SWIG_IsTmpObj(res4
)) {
4666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4668 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4669 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4671 if (SWIG_IsTmpObj(res5
)) {
4672 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4674 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4675 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4683 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4684 PyObject
*resultobj
= 0;
4685 wxPalette
*arg1
= (wxPalette
*) 0 ;
4689 PyObject
*swig_obj
[1] ;
4691 if (!args
) SWIG_fail
;
4693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4694 if (!SWIG_IsOK(res1
)) {
4695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4697 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4701 wxPyEndAllowThreads(__tstate
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4704 resultobj
= SWIG_From_int(static_cast< int >(result
));
4711 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4712 PyObject
*resultobj
= 0;
4713 wxPalette
*arg1
= (wxPalette
*) 0 ;
4717 PyObject
*swig_obj
[1] ;
4719 if (!args
) SWIG_fail
;
4721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4722 if (!SWIG_IsOK(res1
)) {
4723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4725 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4728 result
= (bool)(arg1
)->IsOk();
4729 wxPyEndAllowThreads(__tstate
);
4730 if (PyErr_Occurred()) SWIG_fail
;
4733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4741 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4743 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4744 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4745 return SWIG_Py_Void();
4748 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4749 return SWIG_Python_InitShadowInstance(args
);
4752 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4753 PyObject
*resultobj
= 0;
4754 wxColour
*arg1
= 0 ;
4755 int arg2
= (int) 1 ;
4756 int arg3
= (int) wxSOLID
;
4763 PyObject
* obj0
= 0 ;
4764 PyObject
* obj1
= 0 ;
4765 PyObject
* obj2
= 0 ;
4766 char * kwnames
[] = {
4767 (char *) "colour",(char *) "width",(char *) "style", NULL
4770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4773 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4777 if (!SWIG_IsOK(ecode2
)) {
4778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4780 arg2
= static_cast< int >(val2
);
4783 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4784 if (!SWIG_IsOK(ecode3
)) {
4785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4787 arg3
= static_cast< int >(val3
);
4790 if (!wxPyCheckForApp()) SWIG_fail
;
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4803 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4804 PyObject
*resultobj
= 0;
4805 wxPen
*arg1
= (wxPen
*) 0 ;
4808 PyObject
*swig_obj
[1] ;
4810 if (!args
) SWIG_fail
;
4812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4813 if (!SWIG_IsOK(res1
)) {
4814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4816 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4821 wxPyEndAllowThreads(__tstate
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4824 resultobj
= SWIG_Py_Void();
4831 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4832 PyObject
*resultobj
= 0;
4833 wxPen
*arg1
= (wxPen
*) 0 ;
4837 PyObject
*swig_obj
[1] ;
4839 if (!args
) SWIG_fail
;
4841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4842 if (!SWIG_IsOK(res1
)) {
4843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4845 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 result
= (int)(arg1
)->GetCap();
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4852 resultobj
= SWIG_From_int(static_cast< int >(result
));
4859 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4860 PyObject
*resultobj
= 0;
4861 wxPen
*arg1
= (wxPen
*) 0 ;
4865 PyObject
*swig_obj
[1] ;
4867 if (!args
) SWIG_fail
;
4869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4870 if (!SWIG_IsOK(res1
)) {
4871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4873 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4876 result
= (arg1
)->GetColour();
4877 wxPyEndAllowThreads(__tstate
);
4878 if (PyErr_Occurred()) SWIG_fail
;
4880 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4887 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4888 PyObject
*resultobj
= 0;
4889 wxPen
*arg1
= (wxPen
*) 0 ;
4893 PyObject
*swig_obj
[1] ;
4895 if (!args
) SWIG_fail
;
4897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4898 if (!SWIG_IsOK(res1
)) {
4899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4901 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 result
= (int)(arg1
)->GetJoin();
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4908 resultobj
= SWIG_From_int(static_cast< int >(result
));
4915 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4916 PyObject
*resultobj
= 0;
4917 wxPen
*arg1
= (wxPen
*) 0 ;
4921 PyObject
*swig_obj
[1] ;
4923 if (!args
) SWIG_fail
;
4925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4926 if (!SWIG_IsOK(res1
)) {
4927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4929 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4932 result
= (int)(arg1
)->GetStyle();
4933 wxPyEndAllowThreads(__tstate
);
4934 if (PyErr_Occurred()) SWIG_fail
;
4936 resultobj
= SWIG_From_int(static_cast< int >(result
));
4943 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4944 PyObject
*resultobj
= 0;
4945 wxPen
*arg1
= (wxPen
*) 0 ;
4949 PyObject
*swig_obj
[1] ;
4951 if (!args
) SWIG_fail
;
4953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4954 if (!SWIG_IsOK(res1
)) {
4955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4957 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4960 result
= (int)(arg1
)->GetWidth();
4961 wxPyEndAllowThreads(__tstate
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4964 resultobj
= SWIG_From_int(static_cast< int >(result
));
4971 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4972 PyObject
*resultobj
= 0;
4973 wxPen
*arg1
= (wxPen
*) 0 ;
4977 PyObject
*swig_obj
[1] ;
4979 if (!args
) SWIG_fail
;
4981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4982 if (!SWIG_IsOK(res1
)) {
4983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
4985 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4988 result
= (bool)(arg1
)->IsOk();
4989 wxPyEndAllowThreads(__tstate
);
4990 if (PyErr_Occurred()) SWIG_fail
;
4993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5001 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5002 PyObject
*resultobj
= 0;
5003 wxPen
*arg1
= (wxPen
*) 0 ;
5009 PyObject
* obj0
= 0 ;
5010 PyObject
* obj1
= 0 ;
5011 char * kwnames
[] = {
5012 (char *) "self",(char *) "cap_style", NULL
5015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5017 if (!SWIG_IsOK(res1
)) {
5018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5020 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5022 if (!SWIG_IsOK(ecode2
)) {
5023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5025 arg2
= static_cast< int >(val2
);
5027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5028 (arg1
)->SetCap(arg2
);
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5032 resultobj
= SWIG_Py_Void();
5039 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
*resultobj
= 0;
5041 wxPen
*arg1
= (wxPen
*) 0 ;
5042 wxColour
*arg2
= 0 ;
5046 PyObject
* obj0
= 0 ;
5047 PyObject
* obj1
= 0 ;
5048 char * kwnames
[] = {
5049 (char *) "self",(char *) "colour", NULL
5052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5054 if (!SWIG_IsOK(res1
)) {
5055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5057 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5060 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5064 (arg1
)->SetColour(*arg2
);
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5068 resultobj
= SWIG_Py_Void();
5075 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5076 PyObject
*resultobj
= 0;
5077 wxPen
*arg1
= (wxPen
*) 0 ;
5083 PyObject
* obj0
= 0 ;
5084 PyObject
* obj1
= 0 ;
5085 char * kwnames
[] = {
5086 (char *) "self",(char *) "join_style", NULL
5089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5091 if (!SWIG_IsOK(res1
)) {
5092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5094 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5096 if (!SWIG_IsOK(ecode2
)) {
5097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5099 arg2
= static_cast< int >(val2
);
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 (arg1
)->SetJoin(arg2
);
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5106 resultobj
= SWIG_Py_Void();
5113 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
*resultobj
= 0;
5115 wxPen
*arg1
= (wxPen
*) 0 ;
5121 PyObject
* obj0
= 0 ;
5122 PyObject
* obj1
= 0 ;
5123 char * kwnames
[] = {
5124 (char *) "self",(char *) "style", NULL
5127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5129 if (!SWIG_IsOK(res1
)) {
5130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5132 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5134 if (!SWIG_IsOK(ecode2
)) {
5135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5137 arg2
= static_cast< int >(val2
);
5139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5140 (arg1
)->SetStyle(arg2
);
5141 wxPyEndAllowThreads(__tstate
);
5142 if (PyErr_Occurred()) SWIG_fail
;
5144 resultobj
= SWIG_Py_Void();
5151 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5152 PyObject
*resultobj
= 0;
5153 wxPen
*arg1
= (wxPen
*) 0 ;
5159 PyObject
* obj0
= 0 ;
5160 PyObject
* obj1
= 0 ;
5161 char * kwnames
[] = {
5162 (char *) "self",(char *) "width", NULL
5165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5167 if (!SWIG_IsOK(res1
)) {
5168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5170 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5172 if (!SWIG_IsOK(ecode2
)) {
5173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5175 arg2
= static_cast< int >(val2
);
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 (arg1
)->SetWidth(arg2
);
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5182 resultobj
= SWIG_Py_Void();
5189 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
*resultobj
= 0;
5191 wxPen
*arg1
= (wxPen
*) 0 ;
5193 wxDash
*arg3
= (wxDash
*) 0 ;
5196 PyObject
* obj0
= 0 ;
5197 PyObject
* obj1
= 0 ;
5198 char * kwnames
[] = {
5199 (char *) "self",(char *) "dashes", NULL
5202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5204 if (!SWIG_IsOK(res1
)) {
5205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5207 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5209 arg2
= PyList_Size(obj1
);
5210 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5211 if (arg3
== NULL
) SWIG_fail
;
5214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5215 (arg1
)->SetDashes(arg2
,arg3
);
5216 wxPyEndAllowThreads(__tstate
);
5217 if (PyErr_Occurred()) SWIG_fail
;
5219 resultobj
= SWIG_Py_Void();
5221 if (arg3
) delete [] arg3
;
5226 if (arg3
) delete [] arg3
;
5232 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5233 PyObject
*resultobj
= 0;
5234 wxPen
*arg1
= (wxPen
*) 0 ;
5235 PyObject
*result
= 0 ;
5238 PyObject
*swig_obj
[1] ;
5240 if (!args
) SWIG_fail
;
5242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5243 if (!SWIG_IsOK(res1
)) {
5244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5246 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5249 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5250 wxPyEndAllowThreads(__tstate
);
5251 if (PyErr_Occurred()) SWIG_fail
;
5260 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
*resultobj
= 0;
5262 wxPen
*arg1
= (wxPen
*) 0 ;
5263 PyObject
*arg2
= (PyObject
*) 0 ;
5264 PyObject
*arg3
= (PyObject
*) 0 ;
5267 PyObject
* obj0
= 0 ;
5268 PyObject
* obj1
= 0 ;
5269 PyObject
* obj2
= 0 ;
5270 char * kwnames
[] = {
5271 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5276 if (!SWIG_IsOK(res1
)) {
5277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5279 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5284 wxPen__SetDashes(arg1
,arg2
,arg3
);
5285 wxPyEndAllowThreads(__tstate
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5288 resultobj
= SWIG_Py_Void();
5295 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5296 PyObject
*resultobj
= 0;
5297 wxPen
*arg1
= (wxPen
*) 0 ;
5301 PyObject
*swig_obj
[1] ;
5303 if (!args
) SWIG_fail
;
5305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5306 if (!SWIG_IsOK(res1
)) {
5307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5309 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5312 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) SWIG_fail
;
5316 resultobj
= SWIG_From_int(static_cast< int >(result
));
5323 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5324 PyObject
*resultobj
= 0;
5325 wxPen
*arg1
= (wxPen
*) 0 ;
5326 wxBitmap
*result
= 0 ;
5329 PyObject
*swig_obj
[1] ;
5331 if (!args
) SWIG_fail
;
5333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5334 if (!SWIG_IsOK(res1
)) {
5335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5337 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5340 result
= (wxBitmap
*)(arg1
)->GetStipple();
5341 wxPyEndAllowThreads(__tstate
);
5342 if (PyErr_Occurred()) SWIG_fail
;
5344 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5351 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5352 PyObject
*resultobj
= 0;
5353 wxPen
*arg1
= (wxPen
*) 0 ;
5354 wxBitmap
*arg2
= 0 ;
5359 PyObject
* obj0
= 0 ;
5360 PyObject
* obj1
= 0 ;
5361 char * kwnames
[] = {
5362 (char *) "self",(char *) "stipple", NULL
5365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5367 if (!SWIG_IsOK(res1
)) {
5368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5370 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5371 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
5372 if (!SWIG_IsOK(res2
)) {
5373 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5378 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 (arg1
)->SetStipple(*arg2
);
5382 wxPyEndAllowThreads(__tstate
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5385 resultobj
= SWIG_Py_Void();
5392 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
*resultobj
= 0;
5394 wxPen
*arg1
= (wxPen
*) 0 ;
5395 wxPen
*arg2
= (wxPen
*) 0 ;
5401 PyObject
* obj0
= 0 ;
5402 PyObject
* obj1
= 0 ;
5403 char * kwnames
[] = {
5404 (char *) "self",(char *) "other", NULL
5407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5409 if (!SWIG_IsOK(res1
)) {
5410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5412 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5413 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5414 if (!SWIG_IsOK(res2
)) {
5415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5417 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5433 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5434 PyObject
*resultobj
= 0;
5435 wxPen
*arg1
= (wxPen
*) 0 ;
5436 wxPen
*arg2
= (wxPen
*) 0 ;
5442 PyObject
* obj0
= 0 ;
5443 PyObject
* obj1
= 0 ;
5444 char * kwnames
[] = {
5445 (char *) "self",(char *) "other", NULL
5448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5450 if (!SWIG_IsOK(res1
)) {
5451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5453 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5454 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5455 if (!SWIG_IsOK(res2
)) {
5456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5458 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5461 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5474 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5476 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5477 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5478 return SWIG_Py_Void();
5481 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5482 return SWIG_Python_InitShadowInstance(args
);
5485 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5486 PyObject
*resultobj
= 0;
5487 wxColour
*arg1
= 0 ;
5488 int arg2
= (int) wxSOLID
;
5489 wxBrush
*result
= 0 ;
5493 PyObject
* obj0
= 0 ;
5494 PyObject
* obj1
= 0 ;
5495 char * kwnames
[] = {
5496 (char *) "colour",(char *) "style", NULL
5499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5502 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5506 if (!SWIG_IsOK(ecode2
)) {
5507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5509 arg2
= static_cast< int >(val2
);
5512 if (!wxPyCheckForApp()) SWIG_fail
;
5513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5514 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5515 wxPyEndAllowThreads(__tstate
);
5516 if (PyErr_Occurred()) SWIG_fail
;
5518 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5525 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5526 PyObject
*resultobj
= 0;
5527 wxBitmap
*arg1
= 0 ;
5528 wxBrush
*result
= 0 ;
5531 PyObject
* obj0
= 0 ;
5532 char * kwnames
[] = {
5533 (char *) "stippleBitmap", NULL
5536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5537 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5538 if (!SWIG_IsOK(res1
)) {
5539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5544 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5546 if (!wxPyCheckForApp()) SWIG_fail
;
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5549 wxPyEndAllowThreads(__tstate
);
5550 if (PyErr_Occurred()) SWIG_fail
;
5552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5559 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5560 PyObject
*resultobj
= 0;
5561 wxBrush
*arg1
= (wxBrush
*) 0 ;
5564 PyObject
*swig_obj
[1] ;
5566 if (!args
) SWIG_fail
;
5568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5569 if (!SWIG_IsOK(res1
)) {
5570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5572 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5580 resultobj
= SWIG_Py_Void();
5587 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
*resultobj
= 0;
5589 wxBrush
*arg1
= (wxBrush
*) 0 ;
5590 wxColour
*arg2
= 0 ;
5594 PyObject
* obj0
= 0 ;
5595 PyObject
* obj1
= 0 ;
5596 char * kwnames
[] = {
5597 (char *) "self",(char *) "col", NULL
5600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",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_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5605 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5608 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5612 (arg1
)->SetColour((wxColour
const &)*arg2
);
5613 wxPyEndAllowThreads(__tstate
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5616 resultobj
= SWIG_Py_Void();
5623 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5624 PyObject
*resultobj
= 0;
5625 wxBrush
*arg1
= (wxBrush
*) 0 ;
5631 PyObject
* obj0
= 0 ;
5632 PyObject
* obj1
= 0 ;
5633 char * kwnames
[] = {
5634 (char *) "self",(char *) "style", NULL
5637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5639 if (!SWIG_IsOK(res1
)) {
5640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5642 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5644 if (!SWIG_IsOK(ecode2
)) {
5645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5647 arg2
= static_cast< int >(val2
);
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 (arg1
)->SetStyle(arg2
);
5651 wxPyEndAllowThreads(__tstate
);
5652 if (PyErr_Occurred()) SWIG_fail
;
5654 resultobj
= SWIG_Py_Void();
5661 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5662 PyObject
*resultobj
= 0;
5663 wxBrush
*arg1
= (wxBrush
*) 0 ;
5664 wxBitmap
*arg2
= 0 ;
5669 PyObject
* obj0
= 0 ;
5670 PyObject
* obj1
= 0 ;
5671 char * kwnames
[] = {
5672 (char *) "self",(char *) "stipple", NULL
5675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5677 if (!SWIG_IsOK(res1
)) {
5678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5680 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5681 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5682 if (!SWIG_IsOK(res2
)) {
5683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5688 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5691 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5692 wxPyEndAllowThreads(__tstate
);
5693 if (PyErr_Occurred()) SWIG_fail
;
5695 resultobj
= SWIG_Py_Void();
5702 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5703 PyObject
*resultobj
= 0;
5704 wxBrush
*arg1
= (wxBrush
*) 0 ;
5708 PyObject
*swig_obj
[1] ;
5710 if (!args
) SWIG_fail
;
5712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5713 if (!SWIG_IsOK(res1
)) {
5714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5716 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 result
= ((wxBrush
const *)arg1
)->GetColour();
5720 wxPyEndAllowThreads(__tstate
);
5721 if (PyErr_Occurred()) SWIG_fail
;
5723 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5730 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5731 PyObject
*resultobj
= 0;
5732 wxBrush
*arg1
= (wxBrush
*) 0 ;
5736 PyObject
*swig_obj
[1] ;
5738 if (!args
) SWIG_fail
;
5740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5741 if (!SWIG_IsOK(res1
)) {
5742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5744 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5751 resultobj
= SWIG_From_int(static_cast< int >(result
));
5758 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5759 PyObject
*resultobj
= 0;
5760 wxBrush
*arg1
= (wxBrush
*) 0 ;
5761 wxBitmap
*result
= 0 ;
5764 PyObject
*swig_obj
[1] ;
5766 if (!args
) SWIG_fail
;
5768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5769 if (!SWIG_IsOK(res1
)) {
5770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5772 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5775 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5776 wxPyEndAllowThreads(__tstate
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5786 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5787 PyObject
*resultobj
= 0;
5788 wxBrush
*arg1
= (wxBrush
*) 0 ;
5792 PyObject
*swig_obj
[1] ;
5794 if (!args
) SWIG_fail
;
5796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5797 if (!SWIG_IsOK(res1
)) {
5798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5800 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5803 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5804 wxPyEndAllowThreads(__tstate
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5816 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5817 PyObject
*resultobj
= 0;
5818 wxBrush
*arg1
= (wxBrush
*) 0 ;
5822 PyObject
*swig_obj
[1] ;
5824 if (!args
) SWIG_fail
;
5826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5827 if (!SWIG_IsOK(res1
)) {
5828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
5830 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5833 result
= (bool)(arg1
)->IsOk();
5834 wxPyEndAllowThreads(__tstate
);
5835 if (PyErr_Occurred()) SWIG_fail
;
5838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5846 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5848 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5849 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5850 return SWIG_Py_Void();
5853 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5854 return SWIG_Python_InitShadowInstance(args
);
5857 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
*resultobj
= 0;
5859 wxString
*arg1
= 0 ;
5860 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5861 wxBitmap
*result
= 0 ;
5862 bool temp1
= false ;
5865 PyObject
* obj0
= 0 ;
5866 PyObject
* obj1
= 0 ;
5867 char * kwnames
[] = {
5868 (char *) "name",(char *) "type", NULL
5871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5873 arg1
= wxString_in_helper(obj0
);
5874 if (arg1
== NULL
) SWIG_fail
;
5878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5879 if (!SWIG_IsOK(ecode2
)) {
5880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5882 arg2
= static_cast< wxBitmapType
>(val2
);
5885 if (!wxPyCheckForApp()) SWIG_fail
;
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5906 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5907 PyObject
*resultobj
= 0;
5908 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5911 PyObject
*swig_obj
[1] ;
5913 if (!args
) SWIG_fail
;
5915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5916 if (!SWIG_IsOK(res1
)) {
5917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5919 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5925 resultobj
= SWIG_Py_Void();
5932 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
*resultobj
= 0;
5936 int arg3
= (int) -1 ;
5937 wxBitmap
*result
= 0 ;
5944 PyObject
* obj0
= 0 ;
5945 PyObject
* obj1
= 0 ;
5946 PyObject
* obj2
= 0 ;
5947 char * kwnames
[] = {
5948 (char *) "width",(char *) "height",(char *) "depth", NULL
5951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5952 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5953 if (!SWIG_IsOK(ecode1
)) {
5954 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5956 arg1
= static_cast< int >(val1
);
5957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5958 if (!SWIG_IsOK(ecode2
)) {
5959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5961 arg2
= static_cast< int >(val2
);
5963 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5964 if (!SWIG_IsOK(ecode3
)) {
5965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5967 arg3
= static_cast< int >(val3
);
5970 if (!wxPyCheckForApp()) SWIG_fail
;
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5972 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5983 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
*resultobj
= 0;
5986 wxBitmap
*result
= 0 ;
5989 PyObject
* obj0
= 0 ;
5990 char * kwnames
[] = {
5991 (char *) "icon", NULL
5994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5995 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5996 if (!SWIG_IsOK(res1
)) {
5997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6000 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6002 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6004 if (!wxPyCheckForApp()) SWIG_fail
;
6005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6006 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6007 wxPyEndAllowThreads(__tstate
);
6008 if (PyErr_Occurred()) SWIG_fail
;
6010 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6017 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6018 PyObject
*resultobj
= 0;
6020 int arg2
= (int) -1 ;
6021 wxBitmap
*result
= 0 ;
6026 PyObject
* obj0
= 0 ;
6027 PyObject
* obj1
= 0 ;
6028 char * kwnames
[] = {
6029 (char *) "image",(char *) "depth", NULL
6032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6033 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6034 if (!SWIG_IsOK(res1
)) {
6035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6038 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6040 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6042 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6043 if (!SWIG_IsOK(ecode2
)) {
6044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6046 arg2
= static_cast< int >(val2
);
6049 if (!wxPyCheckForApp()) SWIG_fail
;
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6052 wxPyEndAllowThreads(__tstate
);
6053 if (PyErr_Occurred()) SWIG_fail
;
6055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6062 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
*resultobj
= 0;
6064 PyObject
*arg1
= (PyObject
*) 0 ;
6065 wxBitmap
*result
= 0 ;
6066 PyObject
* obj0
= 0 ;
6067 char * kwnames
[] = {
6068 (char *) "listOfStrings", NULL
6071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6074 if (!wxPyCheckForApp()) SWIG_fail
;
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6077 wxPyEndAllowThreads(__tstate
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6087 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6088 PyObject
*resultobj
= 0;
6089 PyObject
*arg1
= (PyObject
*) 0 ;
6092 int arg4
= (int) 1 ;
6093 wxBitmap
*result
= 0 ;
6100 PyObject
* obj0
= 0 ;
6101 PyObject
* obj1
= 0 ;
6102 PyObject
* obj2
= 0 ;
6103 PyObject
* obj3
= 0 ;
6104 char * kwnames
[] = {
6105 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6111 if (!SWIG_IsOK(ecode2
)) {
6112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6114 arg2
= static_cast< int >(val2
);
6115 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6116 if (!SWIG_IsOK(ecode3
)) {
6117 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6119 arg3
= static_cast< int >(val3
);
6121 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6122 if (!SWIG_IsOK(ecode4
)) {
6123 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6125 arg4
= static_cast< int >(val4
);
6128 if (!wxPyCheckForApp()) SWIG_fail
;
6129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6130 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6131 wxPyEndAllowThreads(__tstate
);
6132 if (PyErr_Occurred()) SWIG_fail
;
6134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6141 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6142 PyObject
*resultobj
= 0;
6143 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6147 PyObject
*swig_obj
[1] ;
6149 if (!args
) SWIG_fail
;
6151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6152 if (!SWIG_IsOK(res1
)) {
6153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6155 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6157 result
= (long)(arg1
)->GetHandle();
6158 if (PyErr_Occurred()) SWIG_fail
;
6160 resultobj
= SWIG_From_long(static_cast< long >(result
));
6167 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6168 PyObject
*resultobj
= 0;
6169 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6175 PyObject
* obj0
= 0 ;
6176 PyObject
* obj1
= 0 ;
6177 char * kwnames
[] = {
6178 (char *) "self",(char *) "handle", NULL
6181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6183 if (!SWIG_IsOK(res1
)) {
6184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6186 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6187 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6188 if (!SWIG_IsOK(ecode2
)) {
6189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
6191 arg2
= static_cast< long >(val2
);
6193 wxBitmap_SetHandle(arg1
,arg2
);
6194 if (PyErr_Occurred()) SWIG_fail
;
6196 resultobj
= SWIG_Py_Void();
6203 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6204 PyObject
*resultobj
= 0;
6205 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6209 PyObject
*swig_obj
[1] ;
6211 if (!args
) SWIG_fail
;
6213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6214 if (!SWIG_IsOK(res1
)) {
6215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6217 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6219 result
= (bool)(arg1
)->IsOk();
6220 if (PyErr_Occurred()) SWIG_fail
;
6223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6231 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6232 PyObject
*resultobj
= 0;
6233 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6237 PyObject
*swig_obj
[1] ;
6239 if (!args
) SWIG_fail
;
6241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6242 if (!SWIG_IsOK(res1
)) {
6243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6245 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6247 result
= (int)(arg1
)->GetWidth();
6248 if (PyErr_Occurred()) SWIG_fail
;
6250 resultobj
= SWIG_From_int(static_cast< int >(result
));
6257 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6258 PyObject
*resultobj
= 0;
6259 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6263 PyObject
*swig_obj
[1] ;
6265 if (!args
) SWIG_fail
;
6267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6268 if (!SWIG_IsOK(res1
)) {
6269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6271 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6273 result
= (int)(arg1
)->GetHeight();
6274 if (PyErr_Occurred()) SWIG_fail
;
6276 resultobj
= SWIG_From_int(static_cast< int >(result
));
6283 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6284 PyObject
*resultobj
= 0;
6285 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6289 PyObject
*swig_obj
[1] ;
6291 if (!args
) SWIG_fail
;
6293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6294 if (!SWIG_IsOK(res1
)) {
6295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6297 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6299 result
= (int)(arg1
)->GetDepth();
6300 if (PyErr_Occurred()) SWIG_fail
;
6302 resultobj
= SWIG_From_int(static_cast< int >(result
));
6309 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6310 PyObject
*resultobj
= 0;
6311 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6315 PyObject
*swig_obj
[1] ;
6317 if (!args
) SWIG_fail
;
6319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6320 if (!SWIG_IsOK(res1
)) {
6321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6323 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6325 result
= wxBitmap_GetSize(arg1
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6328 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6335 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6336 PyObject
*resultobj
= 0;
6337 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6338 SwigValueWrapper
<wxImage
> result
;
6341 PyObject
*swig_obj
[1] ;
6343 if (!args
) SWIG_fail
;
6345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6346 if (!SWIG_IsOK(res1
)) {
6347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6349 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6351 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6352 if (PyErr_Occurred()) SWIG_fail
;
6354 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6361 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6362 PyObject
*resultobj
= 0;
6363 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6364 wxMask
*result
= 0 ;
6367 PyObject
*swig_obj
[1] ;
6369 if (!args
) SWIG_fail
;
6371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6372 if (!SWIG_IsOK(res1
)) {
6373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6375 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6377 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6378 if (PyErr_Occurred()) SWIG_fail
;
6380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6387 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6388 PyObject
*resultobj
= 0;
6389 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6390 wxMask
*arg2
= (wxMask
*) 0 ;
6394 PyObject
* obj0
= 0 ;
6395 PyObject
* obj1
= 0 ;
6396 char * kwnames
[] = {
6397 (char *) "self",(char *) "mask", NULL
6400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6402 if (!SWIG_IsOK(res1
)) {
6403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6405 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6406 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6407 if (!SWIG_IsOK(res2
)) {
6408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6411 (arg1
)->SetMask(arg2
);
6412 if (PyErr_Occurred()) SWIG_fail
;
6414 resultobj
= SWIG_Py_Void();
6421 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6422 PyObject
*resultobj
= 0;
6423 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6424 wxColour
*arg2
= 0 ;
6428 PyObject
* obj0
= 0 ;
6429 PyObject
* obj1
= 0 ;
6430 char * kwnames
[] = {
6431 (char *) "self",(char *) "colour", NULL
6434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6436 if (!SWIG_IsOK(res1
)) {
6437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6439 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6442 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6445 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6448 resultobj
= SWIG_Py_Void();
6455 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
= 0;
6457 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6459 SwigValueWrapper
<wxBitmap
> result
;
6463 PyObject
* obj0
= 0 ;
6464 PyObject
* obj1
= 0 ;
6465 char * kwnames
[] = {
6466 (char *) "self",(char *) "rect", NULL
6469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6471 if (!SWIG_IsOK(res1
)) {
6472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6474 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6477 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6480 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6483 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6490 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
*resultobj
= 0;
6492 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6493 wxString
*arg2
= 0 ;
6495 wxPalette
*arg4
= (wxPalette
*) NULL
;
6499 bool temp2
= false ;
6504 PyObject
* obj0
= 0 ;
6505 PyObject
* obj1
= 0 ;
6506 PyObject
* obj2
= 0 ;
6507 PyObject
* obj3
= 0 ;
6508 char * kwnames
[] = {
6509 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6514 if (!SWIG_IsOK(res1
)) {
6515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6517 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6519 arg2
= wxString_in_helper(obj1
);
6520 if (arg2
== NULL
) SWIG_fail
;
6523 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6524 if (!SWIG_IsOK(ecode3
)) {
6525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6527 arg3
= static_cast< wxBitmapType
>(val3
);
6529 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6530 if (!SWIG_IsOK(res4
)) {
6531 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6533 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6536 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6537 if (PyErr_Occurred()) SWIG_fail
;
6540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6556 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
*resultobj
= 0;
6558 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6559 wxString
*arg2
= 0 ;
6564 bool temp2
= false ;
6567 PyObject
* obj0
= 0 ;
6568 PyObject
* obj1
= 0 ;
6569 PyObject
* obj2
= 0 ;
6570 char * kwnames
[] = {
6571 (char *) "self",(char *) "name",(char *) "type", NULL
6574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6576 if (!SWIG_IsOK(res1
)) {
6577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6579 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6581 arg2
= wxString_in_helper(obj1
);
6582 if (arg2
== NULL
) SWIG_fail
;
6585 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6586 if (!SWIG_IsOK(ecode3
)) {
6587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6589 arg3
= static_cast< wxBitmapType
>(val3
);
6591 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6592 if (PyErr_Occurred()) SWIG_fail
;
6595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6611 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6612 PyObject
*resultobj
= 0;
6613 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6614 wxPalette
*result
= 0 ;
6617 PyObject
*swig_obj
[1] ;
6619 if (!args
) SWIG_fail
;
6621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6622 if (!SWIG_IsOK(res1
)) {
6623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6625 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6627 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6628 if (PyErr_Occurred()) SWIG_fail
;
6630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6637 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
*resultobj
= 0;
6639 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6640 wxPalette
*arg2
= 0 ;
6645 PyObject
* obj0
= 0 ;
6646 PyObject
* obj1
= 0 ;
6647 char * kwnames
[] = {
6648 (char *) "self",(char *) "palette", NULL
6651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6653 if (!SWIG_IsOK(res1
)) {
6654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6656 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6657 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6658 if (!SWIG_IsOK(res2
)) {
6659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6662 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6664 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6666 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6669 resultobj
= SWIG_Py_Void();
6676 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
*resultobj
= 0;
6678 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6685 PyObject
* obj0
= 0 ;
6686 PyObject
* obj1
= 0 ;
6687 char * kwnames
[] = {
6688 (char *) "self",(char *) "icon", NULL
6691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6693 if (!SWIG_IsOK(res1
)) {
6694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6696 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6697 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6698 if (!SWIG_IsOK(res2
)) {
6699 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6702 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6704 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6706 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6707 if (PyErr_Occurred()) SWIG_fail
;
6710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6718 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6719 PyObject
*resultobj
= 0;
6720 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6726 PyObject
* obj0
= 0 ;
6727 PyObject
* obj1
= 0 ;
6728 char * kwnames
[] = {
6729 (char *) "self",(char *) "height", NULL
6732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6734 if (!SWIG_IsOK(res1
)) {
6735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6737 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6739 if (!SWIG_IsOK(ecode2
)) {
6740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6742 arg2
= static_cast< int >(val2
);
6744 (arg1
)->SetHeight(arg2
);
6745 if (PyErr_Occurred()) SWIG_fail
;
6747 resultobj
= SWIG_Py_Void();
6754 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6755 PyObject
*resultobj
= 0;
6756 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6762 PyObject
* obj0
= 0 ;
6763 PyObject
* obj1
= 0 ;
6764 char * kwnames
[] = {
6765 (char *) "self",(char *) "width", NULL
6768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6770 if (!SWIG_IsOK(res1
)) {
6771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6773 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6775 if (!SWIG_IsOK(ecode2
)) {
6776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6778 arg2
= static_cast< int >(val2
);
6780 (arg1
)->SetWidth(arg2
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6783 resultobj
= SWIG_Py_Void();
6790 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
*resultobj
= 0;
6792 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6798 PyObject
* obj0
= 0 ;
6799 PyObject
* obj1
= 0 ;
6800 char * kwnames
[] = {
6801 (char *) "self",(char *) "depth", NULL
6804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6806 if (!SWIG_IsOK(res1
)) {
6807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6809 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6811 if (!SWIG_IsOK(ecode2
)) {
6812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6814 arg2
= static_cast< int >(val2
);
6816 (arg1
)->SetDepth(arg2
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6819 resultobj
= SWIG_Py_Void();
6826 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6827 PyObject
*resultobj
= 0;
6828 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6833 PyObject
* obj0
= 0 ;
6834 PyObject
* obj1
= 0 ;
6835 char * kwnames
[] = {
6836 (char *) "self",(char *) "size", NULL
6839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6841 if (!SWIG_IsOK(res1
)) {
6842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6844 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6847 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6850 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6851 if (PyErr_Occurred()) SWIG_fail
;
6853 resultobj
= SWIG_Py_Void();
6860 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6861 PyObject
*resultobj
= 0;
6862 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6863 wxCursor
*arg2
= 0 ;
6869 PyObject
* obj0
= 0 ;
6870 PyObject
* obj1
= 0 ;
6871 char * kwnames
[] = {
6872 (char *) "self",(char *) "cursor", NULL
6875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6877 if (!SWIG_IsOK(res1
)) {
6878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
6880 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6881 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
6882 if (!SWIG_IsOK(res2
)) {
6883 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6886 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6888 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
6890 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
6891 if (PyErr_Occurred()) SWIG_fail
;
6894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6902 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
*resultobj
= 0;
6904 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6905 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6911 PyObject
* obj0
= 0 ;
6912 PyObject
* obj1
= 0 ;
6913 char * kwnames
[] = {
6914 (char *) "self",(char *) "other", NULL
6917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6919 if (!SWIG_IsOK(res1
)) {
6920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6922 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6923 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6924 if (!SWIG_IsOK(res2
)) {
6925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6927 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6929 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6941 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6942 PyObject
*resultobj
= 0;
6943 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6944 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6950 PyObject
* obj0
= 0 ;
6951 PyObject
* obj1
= 0 ;
6952 char * kwnames
[] = {
6953 (char *) "self",(char *) "other", NULL
6956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6958 if (!SWIG_IsOK(res1
)) {
6959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6961 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6962 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6963 if (!SWIG_IsOK(res2
)) {
6964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6966 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6968 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6980 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6982 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6983 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6984 return SWIG_Py_Void();
6987 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6988 return SWIG_Python_InitShadowInstance(args
);
6991 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
*resultobj
= 0;
6999 wxBitmap
*result
= 0 ;
7006 PyObject
* obj0
= 0 ;
7007 PyObject
* obj1
= 0 ;
7008 PyObject
* obj2
= 0 ;
7009 PyObject
* obj3
= 0 ;
7010 char * kwnames
[] = {
7011 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7015 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7016 if (!SWIG_IsOK(ecode1
)) {
7017 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7019 arg1
= static_cast< int >(val1
);
7020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7021 if (!SWIG_IsOK(ecode2
)) {
7022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7024 arg2
= static_cast< int >(val2
);
7026 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7030 if (obj3
!= Py_None
) {
7031 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7036 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7046 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
*resultobj
= 0;
7052 wxBitmap
*result
= 0 ;
7058 PyObject
* obj0
= 0 ;
7059 PyObject
* obj1
= 0 ;
7060 PyObject
* obj2
= 0 ;
7061 char * kwnames
[] = {
7062 (char *) "width",(char *) "height",(char *) "data", NULL
7065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7066 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7067 if (!SWIG_IsOK(ecode1
)) {
7068 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7070 arg1
= static_cast< int >(val1
);
7071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7072 if (!SWIG_IsOK(ecode2
)) {
7073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7075 arg2
= static_cast< int >(val2
);
7077 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7081 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7082 if (PyErr_Occurred()) SWIG_fail
;
7084 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7091 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7092 PyObject
*resultobj
= 0;
7097 wxBitmap
*result
= 0 ;
7103 PyObject
* obj0
= 0 ;
7104 PyObject
* obj1
= 0 ;
7105 PyObject
* obj2
= 0 ;
7106 char * kwnames
[] = {
7107 (char *) "width",(char *) "height",(char *) "data", NULL
7110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7111 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7112 if (!SWIG_IsOK(ecode1
)) {
7113 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7115 arg1
= static_cast< int >(val1
);
7116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7117 if (!SWIG_IsOK(ecode2
)) {
7118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7120 arg2
= static_cast< int >(val2
);
7122 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7126 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7127 if (PyErr_Occurred()) SWIG_fail
;
7129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7136 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7137 PyObject
*resultobj
= 0;
7138 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7142 PyObject
*swig_obj
[1] ;
7144 if (!args
) SWIG_fail
;
7146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7147 if (!SWIG_IsOK(res1
)) {
7148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7150 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7152 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7153 if (PyErr_Occurred()) SWIG_fail
;
7155 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7162 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7163 PyObject
*resultobj
= 0;
7164 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7168 PyObject
*swig_obj
[1] ;
7170 if (!args
) SWIG_fail
;
7172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7173 if (!SWIG_IsOK(res1
)) {
7174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7176 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7178 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7179 if (PyErr_Occurred()) SWIG_fail
;
7181 resultobj
= SWIG_From_int(static_cast< int >(result
));
7188 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7189 PyObject
*resultobj
= 0;
7190 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7194 PyObject
*swig_obj
[1] ;
7196 if (!args
) SWIG_fail
;
7198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7199 if (!SWIG_IsOK(res1
)) {
7200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7202 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7204 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7205 if (PyErr_Occurred()) SWIG_fail
;
7207 resultobj
= SWIG_From_int(static_cast< int >(result
));
7214 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7215 PyObject
*resultobj
= 0;
7216 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7220 PyObject
*swig_obj
[1] ;
7222 if (!args
) SWIG_fail
;
7224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7225 if (!SWIG_IsOK(res1
)) {
7226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7228 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7230 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7231 if (PyErr_Occurred()) SWIG_fail
;
7233 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7240 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7241 PyObject
*resultobj
= 0;
7242 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7246 PyObject
*swig_obj
[1] ;
7248 if (!args
) SWIG_fail
;
7250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7251 if (!SWIG_IsOK(res1
)) {
7252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7254 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7256 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7257 if (PyErr_Occurred()) SWIG_fail
;
7259 resultobj
= SWIG_From_int(static_cast< int >(result
));
7266 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7268 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7269 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7270 return SWIG_Py_Void();
7273 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7274 PyObject
*resultobj
= 0;
7275 wxBitmap
*arg1
= 0 ;
7276 wxNativePixelData
*result
= 0 ;
7280 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7282 if (!SWIG_IsOK(res1
)) {
7283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7288 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7290 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7291 if (PyErr_Occurred()) SWIG_fail
;
7293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7300 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7301 PyObject
*resultobj
= 0;
7302 wxBitmap
*arg1
= 0 ;
7304 wxNativePixelData
*result
= 0 ;
7309 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7311 if (!SWIG_IsOK(res1
)) {
7312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7315 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7317 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7320 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7323 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7324 if (PyErr_Occurred()) SWIG_fail
;
7326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7333 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7334 PyObject
*resultobj
= 0;
7335 wxBitmap
*arg1
= 0 ;
7338 wxNativePixelData
*result
= 0 ;
7344 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7346 if (!SWIG_IsOK(res1
)) {
7347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7350 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7352 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7355 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7359 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7362 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7372 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7376 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7379 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7382 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7385 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7389 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7394 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7395 PyObject
*resultobj
= 0;
7396 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7399 PyObject
*swig_obj
[1] ;
7401 if (!args
) SWIG_fail
;
7403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7404 if (!SWIG_IsOK(res1
)) {
7405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7407 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7411 if (PyErr_Occurred()) SWIG_fail
;
7413 resultobj
= SWIG_Py_Void();
7420 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7421 PyObject
*resultobj
= 0;
7422 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7423 wxNativePixelData_Accessor result
;
7426 PyObject
*swig_obj
[1] ;
7428 if (!args
) SWIG_fail
;
7430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7431 if (!SWIG_IsOK(res1
)) {
7432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7434 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7436 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7437 if (PyErr_Occurred()) SWIG_fail
;
7439 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7446 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7447 PyObject
*resultobj
= 0;
7448 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7451 PyObject
*swig_obj
[1] ;
7453 if (!args
) SWIG_fail
;
7455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7456 if (!SWIG_IsOK(res1
)) {
7457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7459 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7464 resultobj
= SWIG_Py_Void();
7471 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7472 PyObject
*resultobj
= 0;
7473 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7477 PyObject
*swig_obj
[1] ;
7479 if (!args
) SWIG_fail
;
7481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7482 if (!SWIG_IsOK(res1
)) {
7483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7485 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7487 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7499 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7501 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7502 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7503 return SWIG_Py_Void();
7506 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7507 return SWIG_Python_InitShadowInstance(args
);
7510 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7511 PyObject
*resultobj
= 0;
7512 wxNativePixelData
*arg1
= 0 ;
7513 wxNativePixelData_Accessor
*result
= 0 ;
7517 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7519 if (!SWIG_IsOK(res1
)) {
7520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7525 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7527 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7537 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7538 PyObject
*resultobj
= 0;
7539 wxBitmap
*arg1
= 0 ;
7540 wxNativePixelData
*arg2
= 0 ;
7541 wxNativePixelData_Accessor
*result
= 0 ;
7547 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7549 if (!SWIG_IsOK(res1
)) {
7550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7553 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7555 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7556 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7557 if (!SWIG_IsOK(res2
)) {
7558 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7563 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7565 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7568 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7575 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7576 PyObject
*resultobj
= 0;
7577 wxNativePixelData_Accessor
*result
= 0 ;
7579 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7581 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7582 if (PyErr_Occurred()) SWIG_fail
;
7584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7591 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7595 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7598 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7601 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7604 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7608 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7613 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7614 PyObject
*resultobj
= 0;
7615 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7618 PyObject
*swig_obj
[1] ;
7620 if (!args
) SWIG_fail
;
7622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7623 if (!SWIG_IsOK(res1
)) {
7624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7626 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7630 if (PyErr_Occurred()) SWIG_fail
;
7632 resultobj
= SWIG_Py_Void();
7639 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
*resultobj
= 0;
7641 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7642 wxNativePixelData
*arg2
= 0 ;
7647 PyObject
* obj0
= 0 ;
7648 PyObject
* obj1
= 0 ;
7649 char * kwnames
[] = {
7650 (char *) "self",(char *) "data", NULL
7653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7655 if (!SWIG_IsOK(res1
)) {
7656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7658 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7659 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7660 if (!SWIG_IsOK(res2
)) {
7661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7666 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7668 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7669 if (PyErr_Occurred()) SWIG_fail
;
7671 resultobj
= SWIG_Py_Void();
7678 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7679 PyObject
*resultobj
= 0;
7680 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7684 PyObject
*swig_obj
[1] ;
7686 if (!args
) SWIG_fail
;
7688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7689 if (!SWIG_IsOK(res1
)) {
7690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7692 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7694 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7695 if (PyErr_Occurred()) SWIG_fail
;
7698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7706 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7707 PyObject
*resultobj
= 0;
7708 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7711 PyObject
*swig_obj
[1] ;
7713 if (!args
) SWIG_fail
;
7715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7716 if (!SWIG_IsOK(res1
)) {
7717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7719 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7721 wxNativePixelData_Accessor_nextPixel(arg1
);
7722 if (PyErr_Occurred()) SWIG_fail
;
7724 resultobj
= SWIG_Py_Void();
7731 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7732 PyObject
*resultobj
= 0;
7733 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7734 wxNativePixelData
*arg2
= 0 ;
7745 PyObject
* obj0
= 0 ;
7746 PyObject
* obj1
= 0 ;
7747 PyObject
* obj2
= 0 ;
7748 PyObject
* obj3
= 0 ;
7749 char * kwnames
[] = {
7750 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7755 if (!SWIG_IsOK(res1
)) {
7756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7758 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7759 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7760 if (!SWIG_IsOK(res2
)) {
7761 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7764 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7766 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7767 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7768 if (!SWIG_IsOK(ecode3
)) {
7769 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7771 arg3
= static_cast< int >(val3
);
7772 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7773 if (!SWIG_IsOK(ecode4
)) {
7774 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7776 arg4
= static_cast< int >(val4
);
7778 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7781 resultobj
= SWIG_Py_Void();
7788 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7789 PyObject
*resultobj
= 0;
7790 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7791 wxNativePixelData
*arg2
= 0 ;
7799 PyObject
* obj0
= 0 ;
7800 PyObject
* obj1
= 0 ;
7801 PyObject
* obj2
= 0 ;
7802 char * kwnames
[] = {
7803 (char *) "self",(char *) "data",(char *) "x", NULL
7806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7808 if (!SWIG_IsOK(res1
)) {
7809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7811 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7812 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7813 if (!SWIG_IsOK(res2
)) {
7814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7819 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7820 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7821 if (!SWIG_IsOK(ecode3
)) {
7822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7824 arg3
= static_cast< int >(val3
);
7826 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7829 resultobj
= SWIG_Py_Void();
7836 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7837 PyObject
*resultobj
= 0;
7838 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7839 wxNativePixelData
*arg2
= 0 ;
7847 PyObject
* obj0
= 0 ;
7848 PyObject
* obj1
= 0 ;
7849 PyObject
* obj2
= 0 ;
7850 char * kwnames
[] = {
7851 (char *) "self",(char *) "data",(char *) "y", NULL
7854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7856 if (!SWIG_IsOK(res1
)) {
7857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7859 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7860 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7861 if (!SWIG_IsOK(res2
)) {
7862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7865 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7867 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7868 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7869 if (!SWIG_IsOK(ecode3
)) {
7870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7872 arg3
= static_cast< int >(val3
);
7874 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7877 resultobj
= SWIG_Py_Void();
7884 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7885 PyObject
*resultobj
= 0;
7886 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7887 wxNativePixelData
*arg2
= 0 ;
7898 PyObject
* obj0
= 0 ;
7899 PyObject
* obj1
= 0 ;
7900 PyObject
* obj2
= 0 ;
7901 PyObject
* obj3
= 0 ;
7902 char * kwnames
[] = {
7903 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7908 if (!SWIG_IsOK(res1
)) {
7909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7911 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7912 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7913 if (!SWIG_IsOK(res2
)) {
7914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7919 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7920 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7921 if (!SWIG_IsOK(ecode3
)) {
7922 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7924 arg3
= static_cast< int >(val3
);
7925 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7926 if (!SWIG_IsOK(ecode4
)) {
7927 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7929 arg4
= static_cast< int >(val4
);
7931 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7932 if (PyErr_Occurred()) SWIG_fail
;
7934 resultobj
= SWIG_Py_Void();
7941 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7942 PyObject
*resultobj
= 0;
7943 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7949 unsigned char val2
;
7951 unsigned char val3
;
7953 unsigned char val4
;
7955 PyObject
* obj0
= 0 ;
7956 PyObject
* obj1
= 0 ;
7957 PyObject
* obj2
= 0 ;
7958 PyObject
* obj3
= 0 ;
7959 char * kwnames
[] = {
7960 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7965 if (!SWIG_IsOK(res1
)) {
7966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7968 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7969 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7970 if (!SWIG_IsOK(ecode2
)) {
7971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7973 arg2
= static_cast< byte
>(val2
);
7974 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7975 if (!SWIG_IsOK(ecode3
)) {
7976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7978 arg3
= static_cast< byte
>(val3
);
7979 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7980 if (!SWIG_IsOK(ecode4
)) {
7981 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7983 arg4
= static_cast< byte
>(val4
);
7985 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7988 resultobj
= SWIG_Py_Void();
7995 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7996 PyObject
*resultobj
= 0;
7997 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7998 PyObject
*result
= 0 ;
8001 PyObject
*swig_obj
[1] ;
8003 if (!args
) SWIG_fail
;
8005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8006 if (!SWIG_IsOK(res1
)) {
8007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8009 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8011 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8012 if (PyErr_Occurred()) SWIG_fail
;
8021 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8023 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8024 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8025 return SWIG_Py_Void();
8028 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8029 return SWIG_Python_InitShadowInstance(args
);
8032 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8033 PyObject
*resultobj
= 0;
8034 wxBitmap
*arg1
= 0 ;
8035 wxAlphaPixelData
*result
= 0 ;
8039 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8041 if (!SWIG_IsOK(res1
)) {
8042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8045 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8047 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8049 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8052 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8059 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8060 PyObject
*resultobj
= 0;
8061 wxBitmap
*arg1
= 0 ;
8063 wxAlphaPixelData
*result
= 0 ;
8068 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8070 if (!SWIG_IsOK(res1
)) {
8071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8076 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8079 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8082 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8083 if (PyErr_Occurred()) SWIG_fail
;
8085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8092 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8093 PyObject
*resultobj
= 0;
8094 wxBitmap
*arg1
= 0 ;
8097 wxAlphaPixelData
*result
= 0 ;
8103 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8105 if (!SWIG_IsOK(res1
)) {
8106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8109 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8111 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8114 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8118 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8121 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8131 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8135 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8138 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8141 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8144 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8148 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8153 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8154 PyObject
*resultobj
= 0;
8155 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8158 PyObject
*swig_obj
[1] ;
8160 if (!args
) SWIG_fail
;
8162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8163 if (!SWIG_IsOK(res1
)) {
8164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8166 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8170 if (PyErr_Occurred()) SWIG_fail
;
8172 resultobj
= SWIG_Py_Void();
8179 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8180 PyObject
*resultobj
= 0;
8181 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8182 wxAlphaPixelData_Accessor result
;
8185 PyObject
*swig_obj
[1] ;
8187 if (!args
) SWIG_fail
;
8189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8190 if (!SWIG_IsOK(res1
)) {
8191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8193 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8195 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8196 if (PyErr_Occurred()) SWIG_fail
;
8198 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8205 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8206 PyObject
*resultobj
= 0;
8207 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8210 PyObject
*swig_obj
[1] ;
8212 if (!args
) SWIG_fail
;
8214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8215 if (!SWIG_IsOK(res1
)) {
8216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8218 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8223 resultobj
= SWIG_Py_Void();
8230 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8231 PyObject
*resultobj
= 0;
8232 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8236 PyObject
*swig_obj
[1] ;
8238 if (!args
) SWIG_fail
;
8240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8241 if (!SWIG_IsOK(res1
)) {
8242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8244 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8246 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8247 if (PyErr_Occurred()) SWIG_fail
;
8250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8258 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8260 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8261 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8262 return SWIG_Py_Void();
8265 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8266 return SWIG_Python_InitShadowInstance(args
);
8269 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8270 PyObject
*resultobj
= 0;
8271 wxAlphaPixelData
*arg1
= 0 ;
8272 wxAlphaPixelData_Accessor
*result
= 0 ;
8276 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8278 if (!SWIG_IsOK(res1
)) {
8279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8282 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8284 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8286 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8287 if (PyErr_Occurred()) SWIG_fail
;
8289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8296 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8297 PyObject
*resultobj
= 0;
8298 wxBitmap
*arg1
= 0 ;
8299 wxAlphaPixelData
*arg2
= 0 ;
8300 wxAlphaPixelData_Accessor
*result
= 0 ;
8306 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8308 if (!SWIG_IsOK(res1
)) {
8309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8312 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8314 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8315 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8316 if (!SWIG_IsOK(res2
)) {
8317 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8320 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8322 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8324 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8325 if (PyErr_Occurred()) SWIG_fail
;
8327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8334 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8335 PyObject
*resultobj
= 0;
8336 wxAlphaPixelData_Accessor
*result
= 0 ;
8338 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8340 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8341 if (PyErr_Occurred()) SWIG_fail
;
8343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8350 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8354 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8357 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8360 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8363 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8367 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8372 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8373 PyObject
*resultobj
= 0;
8374 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8377 PyObject
*swig_obj
[1] ;
8379 if (!args
) SWIG_fail
;
8381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8382 if (!SWIG_IsOK(res1
)) {
8383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8385 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8391 resultobj
= SWIG_Py_Void();
8398 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8399 PyObject
*resultobj
= 0;
8400 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8401 wxAlphaPixelData
*arg2
= 0 ;
8406 PyObject
* obj0
= 0 ;
8407 PyObject
* obj1
= 0 ;
8408 char * kwnames
[] = {
8409 (char *) "self",(char *) "data", NULL
8412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8414 if (!SWIG_IsOK(res1
)) {
8415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8417 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8418 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8419 if (!SWIG_IsOK(res2
)) {
8420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8423 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8425 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8427 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8428 if (PyErr_Occurred()) SWIG_fail
;
8430 resultobj
= SWIG_Py_Void();
8437 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8438 PyObject
*resultobj
= 0;
8439 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8443 PyObject
*swig_obj
[1] ;
8445 if (!args
) SWIG_fail
;
8447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8448 if (!SWIG_IsOK(res1
)) {
8449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8451 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8453 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8454 if (PyErr_Occurred()) SWIG_fail
;
8457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8465 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8466 PyObject
*resultobj
= 0;
8467 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8470 PyObject
*swig_obj
[1] ;
8472 if (!args
) SWIG_fail
;
8474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8475 if (!SWIG_IsOK(res1
)) {
8476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8478 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8480 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8483 resultobj
= SWIG_Py_Void();
8490 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
*resultobj
= 0;
8492 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8493 wxAlphaPixelData
*arg2
= 0 ;
8504 PyObject
* obj0
= 0 ;
8505 PyObject
* obj1
= 0 ;
8506 PyObject
* obj2
= 0 ;
8507 PyObject
* obj3
= 0 ;
8508 char * kwnames
[] = {
8509 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8514 if (!SWIG_IsOK(res1
)) {
8515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8517 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8518 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8519 if (!SWIG_IsOK(res2
)) {
8520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8525 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8526 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8527 if (!SWIG_IsOK(ecode3
)) {
8528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8530 arg3
= static_cast< int >(val3
);
8531 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8532 if (!SWIG_IsOK(ecode4
)) {
8533 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8535 arg4
= static_cast< int >(val4
);
8537 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8538 if (PyErr_Occurred()) SWIG_fail
;
8540 resultobj
= SWIG_Py_Void();
8547 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
*resultobj
= 0;
8549 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8550 wxAlphaPixelData
*arg2
= 0 ;
8558 PyObject
* obj0
= 0 ;
8559 PyObject
* obj1
= 0 ;
8560 PyObject
* obj2
= 0 ;
8561 char * kwnames
[] = {
8562 (char *) "self",(char *) "data",(char *) "x", NULL
8565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8567 if (!SWIG_IsOK(res1
)) {
8568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8570 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8571 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8572 if (!SWIG_IsOK(res2
)) {
8573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8578 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8579 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8580 if (!SWIG_IsOK(ecode3
)) {
8581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8583 arg3
= static_cast< int >(val3
);
8585 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8588 resultobj
= SWIG_Py_Void();
8595 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8596 PyObject
*resultobj
= 0;
8597 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8598 wxAlphaPixelData
*arg2
= 0 ;
8606 PyObject
* obj0
= 0 ;
8607 PyObject
* obj1
= 0 ;
8608 PyObject
* obj2
= 0 ;
8609 char * kwnames
[] = {
8610 (char *) "self",(char *) "data",(char *) "y", NULL
8613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8615 if (!SWIG_IsOK(res1
)) {
8616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8618 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8619 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8620 if (!SWIG_IsOK(res2
)) {
8621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8626 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8627 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8628 if (!SWIG_IsOK(ecode3
)) {
8629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8631 arg3
= static_cast< int >(val3
);
8633 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8636 resultobj
= SWIG_Py_Void();
8643 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8644 PyObject
*resultobj
= 0;
8645 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8646 wxAlphaPixelData
*arg2
= 0 ;
8657 PyObject
* obj0
= 0 ;
8658 PyObject
* obj1
= 0 ;
8659 PyObject
* obj2
= 0 ;
8660 PyObject
* obj3
= 0 ;
8661 char * kwnames
[] = {
8662 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8667 if (!SWIG_IsOK(res1
)) {
8668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8670 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8671 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8672 if (!SWIG_IsOK(res2
)) {
8673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8678 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8679 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8680 if (!SWIG_IsOK(ecode3
)) {
8681 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8683 arg3
= static_cast< int >(val3
);
8684 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8685 if (!SWIG_IsOK(ecode4
)) {
8686 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8688 arg4
= static_cast< int >(val4
);
8690 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8693 resultobj
= SWIG_Py_Void();
8700 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8701 PyObject
*resultobj
= 0;
8702 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8709 unsigned char val2
;
8711 unsigned char val3
;
8713 unsigned char val4
;
8715 unsigned char val5
;
8717 PyObject
* obj0
= 0 ;
8718 PyObject
* obj1
= 0 ;
8719 PyObject
* obj2
= 0 ;
8720 PyObject
* obj3
= 0 ;
8721 PyObject
* obj4
= 0 ;
8722 char * kwnames
[] = {
8723 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8728 if (!SWIG_IsOK(res1
)) {
8729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8731 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8732 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8733 if (!SWIG_IsOK(ecode2
)) {
8734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8736 arg2
= static_cast< byte
>(val2
);
8737 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8738 if (!SWIG_IsOK(ecode3
)) {
8739 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8741 arg3
= static_cast< byte
>(val3
);
8742 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8743 if (!SWIG_IsOK(ecode4
)) {
8744 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8746 arg4
= static_cast< byte
>(val4
);
8747 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8748 if (!SWIG_IsOK(ecode5
)) {
8749 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8751 arg5
= static_cast< byte
>(val5
);
8753 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8756 resultobj
= SWIG_Py_Void();
8763 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8764 PyObject
*resultobj
= 0;
8765 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8766 PyObject
*result
= 0 ;
8769 PyObject
*swig_obj
[1] ;
8771 if (!args
) SWIG_fail
;
8773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8774 if (!SWIG_IsOK(res1
)) {
8775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8777 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8779 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8789 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8791 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8792 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8793 return SWIG_Py_Void();
8796 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8797 return SWIG_Python_InitShadowInstance(args
);
8800 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
*resultobj
= 0;
8802 wxBitmap
*arg1
= 0 ;
8803 wxColour
const &arg2_defvalue
= wxNullColour
;
8804 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8805 wxMask
*result
= 0 ;
8809 PyObject
* obj0
= 0 ;
8810 PyObject
* obj1
= 0 ;
8811 char * kwnames
[] = {
8812 (char *) "bitmap",(char *) "colour", NULL
8815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8816 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8817 if (!SWIG_IsOK(res1
)) {
8818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8821 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8823 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8827 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8831 if (!wxPyCheckForApp()) SWIG_fail
;
8832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8833 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8834 wxPyEndAllowThreads(__tstate
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8844 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8845 PyObject
*resultobj
= 0;
8846 wxMask
*arg1
= (wxMask
*) 0 ;
8849 PyObject
*swig_obj
[1] ;
8851 if (!args
) SWIG_fail
;
8853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8854 if (!SWIG_IsOK(res1
)) {
8855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8857 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8861 if (PyErr_Occurred()) SWIG_fail
;
8863 resultobj
= SWIG_Py_Void();
8870 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8872 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8873 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8874 return SWIG_Py_Void();
8877 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8878 return SWIG_Python_InitShadowInstance(args
);
8881 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8882 PyObject
*resultobj
= 0;
8883 wxString
*arg1
= 0 ;
8885 int arg3
= (int) -1 ;
8886 int arg4
= (int) -1 ;
8887 wxIcon
*result
= 0 ;
8888 bool temp1
= false ;
8895 PyObject
* obj0
= 0 ;
8896 PyObject
* obj1
= 0 ;
8897 PyObject
* obj2
= 0 ;
8898 PyObject
* obj3
= 0 ;
8899 char * kwnames
[] = {
8900 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8905 arg1
= wxString_in_helper(obj0
);
8906 if (arg1
== NULL
) SWIG_fail
;
8909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8910 if (!SWIG_IsOK(ecode2
)) {
8911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8913 arg2
= static_cast< wxBitmapType
>(val2
);
8915 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8916 if (!SWIG_IsOK(ecode3
)) {
8917 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8919 arg3
= static_cast< int >(val3
);
8922 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8923 if (!SWIG_IsOK(ecode4
)) {
8924 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8926 arg4
= static_cast< int >(val4
);
8929 if (!wxPyCheckForApp()) SWIG_fail
;
8930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8931 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) SWIG_fail
;
8935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8950 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8951 PyObject
*resultobj
= 0;
8952 wxIcon
*arg1
= (wxIcon
*) 0 ;
8955 PyObject
*swig_obj
[1] ;
8957 if (!args
) SWIG_fail
;
8959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8960 if (!SWIG_IsOK(res1
)) {
8961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8963 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 wxPyEndAllowThreads(__tstate
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8971 resultobj
= SWIG_Py_Void();
8978 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8979 PyObject
*resultobj
= 0;
8980 wxIcon
*result
= 0 ;
8982 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8984 if (!wxPyCheckForApp()) SWIG_fail
;
8985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8986 result
= (wxIcon
*)new wxIcon();
8987 wxPyEndAllowThreads(__tstate
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8997 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
*resultobj
= 0;
8999 wxIconLocation
*arg1
= 0 ;
9000 wxIcon
*result
= 0 ;
9003 PyObject
* obj0
= 0 ;
9004 char * kwnames
[] = {
9005 (char *) "loc", NULL
9008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9009 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9010 if (!SWIG_IsOK(res1
)) {
9011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9016 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9018 if (!wxPyCheckForApp()) SWIG_fail
;
9019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9020 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9031 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9032 PyObject
*resultobj
= 0;
9033 wxBitmap
*arg1
= 0 ;
9034 wxIcon
*result
= 0 ;
9037 PyObject
* obj0
= 0 ;
9038 char * kwnames
[] = {
9039 (char *) "bmp", NULL
9042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9043 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9044 if (!SWIG_IsOK(res1
)) {
9045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9048 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9050 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9052 if (!wxPyCheckForApp()) SWIG_fail
;
9053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9055 wxPyEndAllowThreads(__tstate
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9065 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9066 PyObject
*resultobj
= 0;
9067 PyObject
*arg1
= (PyObject
*) 0 ;
9068 wxIcon
*result
= 0 ;
9069 PyObject
* obj0
= 0 ;
9070 char * kwnames
[] = {
9071 (char *) "listOfStrings", NULL
9074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9077 if (!wxPyCheckForApp()) SWIG_fail
;
9078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9079 result
= (wxIcon
*)new_wxIcon(arg1
);
9080 wxPyEndAllowThreads(__tstate
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9090 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9091 PyObject
*resultobj
= 0;
9092 wxIcon
*arg1
= (wxIcon
*) 0 ;
9093 wxString
*arg2
= 0 ;
9098 bool temp2
= false ;
9101 PyObject
* obj0
= 0 ;
9102 PyObject
* obj1
= 0 ;
9103 PyObject
* obj2
= 0 ;
9104 char * kwnames
[] = {
9105 (char *) "self",(char *) "name",(char *) "type", NULL
9108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9110 if (!SWIG_IsOK(res1
)) {
9111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9113 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9115 arg2
= wxString_in_helper(obj1
);
9116 if (arg2
== NULL
) SWIG_fail
;
9119 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9120 if (!SWIG_IsOK(ecode3
)) {
9121 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9123 arg3
= static_cast< wxBitmapType
>(val3
);
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9126 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9127 wxPyEndAllowThreads(__tstate
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9147 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9148 PyObject
*resultobj
= 0;
9149 wxIcon
*arg1
= (wxIcon
*) 0 ;
9153 PyObject
*swig_obj
[1] ;
9155 if (!args
) SWIG_fail
;
9157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9158 if (!SWIG_IsOK(res1
)) {
9159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9161 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9164 result
= (long)(arg1
)->GetHandle();
9165 wxPyEndAllowThreads(__tstate
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9168 resultobj
= SWIG_From_long(static_cast< long >(result
));
9175 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
= 0;
9177 wxIcon
*arg1
= (wxIcon
*) 0 ;
9183 PyObject
* obj0
= 0 ;
9184 PyObject
* obj1
= 0 ;
9185 char * kwnames
[] = {
9186 (char *) "self",(char *) "handle", NULL
9189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9191 if (!SWIG_IsOK(res1
)) {
9192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9194 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9195 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9196 if (!SWIG_IsOK(ecode2
)) {
9197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9199 arg2
= static_cast< long >(val2
);
9201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9202 wxIcon_SetHandle(arg1
,arg2
);
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9206 resultobj
= SWIG_Py_Void();
9213 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9214 PyObject
*resultobj
= 0;
9215 wxIcon
*arg1
= (wxIcon
*) 0 ;
9219 PyObject
*swig_obj
[1] ;
9221 if (!args
) SWIG_fail
;
9223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9224 if (!SWIG_IsOK(res1
)) {
9225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9227 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9230 result
= (bool)(arg1
)->IsOk();
9231 wxPyEndAllowThreads(__tstate
);
9232 if (PyErr_Occurred()) SWIG_fail
;
9235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9243 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9244 PyObject
*resultobj
= 0;
9245 wxIcon
*arg1
= (wxIcon
*) 0 ;
9249 PyObject
*swig_obj
[1] ;
9251 if (!args
) SWIG_fail
;
9253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9254 if (!SWIG_IsOK(res1
)) {
9255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9257 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9260 result
= (int)(arg1
)->GetWidth();
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9264 resultobj
= SWIG_From_int(static_cast< int >(result
));
9271 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9272 PyObject
*resultobj
= 0;
9273 wxIcon
*arg1
= (wxIcon
*) 0 ;
9277 PyObject
*swig_obj
[1] ;
9279 if (!args
) SWIG_fail
;
9281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9282 if (!SWIG_IsOK(res1
)) {
9283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9285 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 result
= (int)(arg1
)->GetHeight();
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9292 resultobj
= SWIG_From_int(static_cast< int >(result
));
9299 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9300 PyObject
*resultobj
= 0;
9301 wxIcon
*arg1
= (wxIcon
*) 0 ;
9305 PyObject
*swig_obj
[1] ;
9307 if (!args
) SWIG_fail
;
9309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9310 if (!SWIG_IsOK(res1
)) {
9311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9313 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 result
= (int)(arg1
)->GetDepth();
9317 wxPyEndAllowThreads(__tstate
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9320 resultobj
= SWIG_From_int(static_cast< int >(result
));
9327 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9328 PyObject
*resultobj
= 0;
9329 wxIcon
*arg1
= (wxIcon
*) 0 ;
9335 PyObject
* obj0
= 0 ;
9336 PyObject
* obj1
= 0 ;
9337 char * kwnames
[] = {
9338 (char *) "self",(char *) "w", NULL
9341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9343 if (!SWIG_IsOK(res1
)) {
9344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9346 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9348 if (!SWIG_IsOK(ecode2
)) {
9349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9351 arg2
= static_cast< int >(val2
);
9353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9354 (arg1
)->SetWidth(arg2
);
9355 wxPyEndAllowThreads(__tstate
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9358 resultobj
= SWIG_Py_Void();
9365 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9366 PyObject
*resultobj
= 0;
9367 wxIcon
*arg1
= (wxIcon
*) 0 ;
9373 PyObject
* obj0
= 0 ;
9374 PyObject
* obj1
= 0 ;
9375 char * kwnames
[] = {
9376 (char *) "self",(char *) "h", NULL
9379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9381 if (!SWIG_IsOK(res1
)) {
9382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9384 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9386 if (!SWIG_IsOK(ecode2
)) {
9387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9389 arg2
= static_cast< int >(val2
);
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 (arg1
)->SetHeight(arg2
);
9393 wxPyEndAllowThreads(__tstate
);
9394 if (PyErr_Occurred()) SWIG_fail
;
9396 resultobj
= SWIG_Py_Void();
9403 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9404 PyObject
*resultobj
= 0;
9405 wxIcon
*arg1
= (wxIcon
*) 0 ;
9411 PyObject
* obj0
= 0 ;
9412 PyObject
* obj1
= 0 ;
9413 char * kwnames
[] = {
9414 (char *) "self",(char *) "d", NULL
9417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9419 if (!SWIG_IsOK(res1
)) {
9420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9422 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9424 if (!SWIG_IsOK(ecode2
)) {
9425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9427 arg2
= static_cast< int >(val2
);
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 (arg1
)->SetDepth(arg2
);
9431 wxPyEndAllowThreads(__tstate
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9434 resultobj
= SWIG_Py_Void();
9441 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9442 PyObject
*resultobj
= 0;
9443 wxIcon
*arg1
= (wxIcon
*) 0 ;
9448 PyObject
* obj0
= 0 ;
9449 PyObject
* obj1
= 0 ;
9450 char * kwnames
[] = {
9451 (char *) "self",(char *) "size", NULL
9454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9456 if (!SWIG_IsOK(res1
)) {
9457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9459 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9462 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9466 (arg1
)->SetSize((wxSize
const &)*arg2
);
9467 wxPyEndAllowThreads(__tstate
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9470 resultobj
= SWIG_Py_Void();
9477 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9478 PyObject
*resultobj
= 0;
9479 wxIcon
*arg1
= (wxIcon
*) 0 ;
9480 wxBitmap
*arg2
= 0 ;
9485 PyObject
* obj0
= 0 ;
9486 PyObject
* obj1
= 0 ;
9487 char * kwnames
[] = {
9488 (char *) "self",(char *) "bmp", NULL
9491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9493 if (!SWIG_IsOK(res1
)) {
9494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9496 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9497 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9498 if (!SWIG_IsOK(res2
)) {
9499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9502 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9504 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9511 resultobj
= SWIG_Py_Void();
9518 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9520 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9521 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9522 return SWIG_Py_Void();
9525 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9526 return SWIG_Python_InitShadowInstance(args
);
9529 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
= 0;
9531 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9532 int arg2
= (int) 0 ;
9533 wxIconLocation
*result
= 0 ;
9534 bool temp1
= false ;
9537 PyObject
* obj0
= 0 ;
9538 PyObject
* obj1
= 0 ;
9539 char * kwnames
[] = {
9540 (char *) "filename",(char *) "num", NULL
9543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9546 arg1
= wxString_in_helper(obj0
);
9547 if (arg1
== NULL
) SWIG_fail
;
9552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9553 if (!SWIG_IsOK(ecode2
)) {
9554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9556 arg2
= static_cast< int >(val2
);
9559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9560 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9561 wxPyEndAllowThreads(__tstate
);
9562 if (PyErr_Occurred()) SWIG_fail
;
9564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9579 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9580 PyObject
*resultobj
= 0;
9581 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9584 PyObject
*swig_obj
[1] ;
9586 if (!args
) SWIG_fail
;
9588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9589 if (!SWIG_IsOK(res1
)) {
9590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9592 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9597 wxPyEndAllowThreads(__tstate
);
9598 if (PyErr_Occurred()) SWIG_fail
;
9600 resultobj
= SWIG_Py_Void();
9607 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9608 PyObject
*resultobj
= 0;
9609 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9613 PyObject
*swig_obj
[1] ;
9615 if (!args
) SWIG_fail
;
9617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9618 if (!SWIG_IsOK(res1
)) {
9619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9621 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9624 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9625 wxPyEndAllowThreads(__tstate
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9637 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9638 PyObject
*resultobj
= 0;
9639 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9640 wxString
*arg2
= 0 ;
9643 bool temp2
= false ;
9644 PyObject
* obj0
= 0 ;
9645 PyObject
* obj1
= 0 ;
9646 char * kwnames
[] = {
9647 (char *) "self",(char *) "filename", NULL
9650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9652 if (!SWIG_IsOK(res1
)) {
9653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9655 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9657 arg2
= wxString_in_helper(obj1
);
9658 if (arg2
== NULL
) SWIG_fail
;
9662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9663 (arg1
)->SetFileName((wxString
const &)*arg2
);
9664 wxPyEndAllowThreads(__tstate
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9667 resultobj
= SWIG_Py_Void();
9682 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9683 PyObject
*resultobj
= 0;
9684 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9685 wxString
*result
= 0 ;
9688 PyObject
*swig_obj
[1] ;
9690 if (!args
) SWIG_fail
;
9692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9693 if (!SWIG_IsOK(res1
)) {
9694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9696 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9701 result
= (wxString
*) &_result_ref
;
9703 wxPyEndAllowThreads(__tstate
);
9704 if (PyErr_Occurred()) SWIG_fail
;
9708 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9710 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9719 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9720 PyObject
*resultobj
= 0;
9721 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9727 PyObject
* obj0
= 0 ;
9728 PyObject
* obj1
= 0 ;
9729 char * kwnames
[] = {
9730 (char *) "self",(char *) "num", NULL
9733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9735 if (!SWIG_IsOK(res1
)) {
9736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9738 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9740 if (!SWIG_IsOK(ecode2
)) {
9741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9743 arg2
= static_cast< int >(val2
);
9745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9746 wxIconLocation_SetIndex(arg1
,arg2
);
9747 wxPyEndAllowThreads(__tstate
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9750 resultobj
= SWIG_Py_Void();
9757 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9758 PyObject
*resultobj
= 0;
9759 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9763 PyObject
*swig_obj
[1] ;
9765 if (!args
) SWIG_fail
;
9767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9768 if (!SWIG_IsOK(res1
)) {
9769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9771 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9774 result
= (int)wxIconLocation_GetIndex(arg1
);
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) SWIG_fail
;
9778 resultobj
= SWIG_From_int(static_cast< int >(result
));
9785 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9787 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9788 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9789 return SWIG_Py_Void();
9792 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9793 return SWIG_Python_InitShadowInstance(args
);
9796 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9797 PyObject
*resultobj
= 0;
9798 wxIconBundle
*result
= 0 ;
9800 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9803 result
= (wxIconBundle
*)new wxIconBundle();
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) SWIG_fail
;
9807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9814 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9815 PyObject
*resultobj
= 0;
9816 wxString
*arg1
= 0 ;
9818 wxIconBundle
*result
= 0 ;
9819 bool temp1
= false ;
9822 PyObject
* obj0
= 0 ;
9823 PyObject
* obj1
= 0 ;
9824 char * kwnames
[] = {
9825 (char *) "file",(char *) "type", NULL
9828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9830 arg1
= wxString_in_helper(obj0
);
9831 if (arg1
== NULL
) SWIG_fail
;
9834 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9835 if (!SWIG_IsOK(ecode2
)) {
9836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9838 arg2
= static_cast< long >(val2
);
9840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9841 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9842 wxPyEndAllowThreads(__tstate
);
9843 if (PyErr_Occurred()) SWIG_fail
;
9845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9860 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
= 0;
9863 wxIconBundle
*result
= 0 ;
9866 PyObject
* obj0
= 0 ;
9867 char * kwnames
[] = {
9868 (char *) "icon", NULL
9871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9872 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9873 if (!SWIG_IsOK(res1
)) {
9874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9877 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9879 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9882 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9883 wxPyEndAllowThreads(__tstate
);
9884 if (PyErr_Occurred()) SWIG_fail
;
9886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9893 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9894 PyObject
*resultobj
= 0;
9895 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9898 PyObject
*swig_obj
[1] ;
9900 if (!args
) SWIG_fail
;
9902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9903 if (!SWIG_IsOK(res1
)) {
9904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9906 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9914 resultobj
= SWIG_Py_Void();
9921 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
= 0;
9923 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9929 PyObject
* obj0
= 0 ;
9930 PyObject
* obj1
= 0 ;
9931 char * kwnames
[] = {
9932 (char *) "self",(char *) "icon", NULL
9935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9937 if (!SWIG_IsOK(res1
)) {
9938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9940 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9941 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9942 if (!SWIG_IsOK(res2
)) {
9943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9948 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9951 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9952 wxPyEndAllowThreads(__tstate
);
9953 if (PyErr_Occurred()) SWIG_fail
;
9955 resultobj
= SWIG_Py_Void();
9962 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9963 PyObject
*resultobj
= 0;
9964 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9965 wxString
*arg2
= 0 ;
9969 bool temp2
= false ;
9972 PyObject
* obj0
= 0 ;
9973 PyObject
* obj1
= 0 ;
9974 PyObject
* obj2
= 0 ;
9975 char * kwnames
[] = {
9976 (char *) "self",(char *) "file",(char *) "type", NULL
9979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9981 if (!SWIG_IsOK(res1
)) {
9982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9984 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9986 arg2
= wxString_in_helper(obj1
);
9987 if (arg2
== NULL
) SWIG_fail
;
9990 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9991 if (!SWIG_IsOK(ecode3
)) {
9992 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9994 arg3
= static_cast< long >(val3
);
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9997 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9998 wxPyEndAllowThreads(__tstate
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10001 resultobj
= SWIG_Py_Void();
10016 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10017 PyObject
*resultobj
= 0;
10018 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10020 wxIcon
*result
= 0 ;
10024 PyObject
* obj0
= 0 ;
10025 PyObject
* obj1
= 0 ;
10026 char * kwnames
[] = {
10027 (char *) "self",(char *) "size", NULL
10030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10032 if (!SWIG_IsOK(res1
)) {
10033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10035 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10038 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10044 result
= (wxIcon
*) &_result_ref
;
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10050 wxIcon
* resultptr
= new wxIcon(*result
);
10051 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10059 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10061 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10062 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10063 return SWIG_Py_Void();
10066 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10067 return SWIG_Python_InitShadowInstance(args
);
10070 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10071 PyObject
*resultobj
= 0;
10072 wxString
*arg1
= 0 ;
10074 int arg3
= (int) 0 ;
10075 int arg4
= (int) 0 ;
10076 wxCursor
*result
= 0 ;
10077 bool temp1
= false ;
10084 PyObject
* obj0
= 0 ;
10085 PyObject
* obj1
= 0 ;
10086 PyObject
* obj2
= 0 ;
10087 PyObject
* obj3
= 0 ;
10088 char * kwnames
[] = {
10089 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10094 arg1
= wxString_in_helper(obj0
);
10095 if (arg1
== NULL
) SWIG_fail
;
10098 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10099 if (!SWIG_IsOK(ecode2
)) {
10100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10102 arg2
= static_cast< long >(val2
);
10104 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10105 if (!SWIG_IsOK(ecode3
)) {
10106 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10108 arg3
= static_cast< int >(val3
);
10111 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10112 if (!SWIG_IsOK(ecode4
)) {
10113 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10115 arg4
= static_cast< int >(val4
);
10118 if (!wxPyCheckForApp()) SWIG_fail
;
10119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10120 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10121 wxPyEndAllowThreads(__tstate
);
10122 if (PyErr_Occurred()) SWIG_fail
;
10124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10139 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10140 PyObject
*resultobj
= 0;
10141 wxCursor
*arg1
= (wxCursor
*) 0 ;
10144 PyObject
*swig_obj
[1] ;
10146 if (!args
) SWIG_fail
;
10147 swig_obj
[0] = args
;
10148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10149 if (!SWIG_IsOK(res1
)) {
10150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10152 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 wxPyEndAllowThreads(__tstate
);
10158 if (PyErr_Occurred()) SWIG_fail
;
10160 resultobj
= SWIG_Py_Void();
10167 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10168 PyObject
*resultobj
= 0;
10170 wxCursor
*result
= 0 ;
10173 PyObject
* obj0
= 0 ;
10174 char * kwnames
[] = {
10175 (char *) "id", NULL
10178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10179 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10180 if (!SWIG_IsOK(ecode1
)) {
10181 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10183 arg1
= static_cast< int >(val1
);
10185 if (!wxPyCheckForApp()) SWIG_fail
;
10186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10187 result
= (wxCursor
*)new wxCursor(arg1
);
10188 wxPyEndAllowThreads(__tstate
);
10189 if (PyErr_Occurred()) SWIG_fail
;
10191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10198 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10199 PyObject
*resultobj
= 0;
10200 wxImage
*arg1
= 0 ;
10201 wxCursor
*result
= 0 ;
10204 PyObject
* obj0
= 0 ;
10205 char * kwnames
[] = {
10206 (char *) "image", NULL
10209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10210 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10211 if (!SWIG_IsOK(res1
)) {
10212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10217 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10219 if (!wxPyCheckForApp()) SWIG_fail
;
10220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10221 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10222 wxPyEndAllowThreads(__tstate
);
10223 if (PyErr_Occurred()) SWIG_fail
;
10225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10232 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10233 PyObject
*resultobj
= 0;
10234 wxCursor
*arg1
= (wxCursor
*) 0 ;
10238 PyObject
*swig_obj
[1] ;
10240 if (!args
) SWIG_fail
;
10241 swig_obj
[0] = args
;
10242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10243 if (!SWIG_IsOK(res1
)) {
10244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10246 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 result
= (long)(arg1
)->GetHandle();
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10253 resultobj
= SWIG_From_long(static_cast< long >(result
));
10260 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10261 PyObject
*resultobj
= 0;
10262 wxCursor
*arg1
= (wxCursor
*) 0 ;
10268 PyObject
* obj0
= 0 ;
10269 PyObject
* obj1
= 0 ;
10270 char * kwnames
[] = {
10271 (char *) "self",(char *) "handle", NULL
10274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10276 if (!SWIG_IsOK(res1
)) {
10277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10279 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10280 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10281 if (!SWIG_IsOK(ecode2
)) {
10282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10284 arg2
= static_cast< long >(val2
);
10286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10287 wxCursor_SetHandle(arg1
,arg2
);
10288 wxPyEndAllowThreads(__tstate
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10291 resultobj
= SWIG_Py_Void();
10298 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10299 PyObject
*resultobj
= 0;
10300 wxCursor
*arg1
= (wxCursor
*) 0 ;
10304 PyObject
*swig_obj
[1] ;
10306 if (!args
) SWIG_fail
;
10307 swig_obj
[0] = args
;
10308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10309 if (!SWIG_IsOK(res1
)) {
10310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10312 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10315 result
= (bool)(arg1
)->IsOk();
10316 wxPyEndAllowThreads(__tstate
);
10317 if (PyErr_Occurred()) SWIG_fail
;
10320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10328 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10329 PyObject
*resultobj
= 0;
10330 wxCursor
*arg1
= (wxCursor
*) 0 ;
10334 PyObject
*swig_obj
[1] ;
10336 if (!args
) SWIG_fail
;
10337 swig_obj
[0] = args
;
10338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10339 if (!SWIG_IsOK(res1
)) {
10340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10342 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10345 result
= (int)(arg1
)->GetWidth();
10346 wxPyEndAllowThreads(__tstate
);
10347 if (PyErr_Occurred()) SWIG_fail
;
10349 resultobj
= SWIG_From_int(static_cast< int >(result
));
10356 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10357 PyObject
*resultobj
= 0;
10358 wxCursor
*arg1
= (wxCursor
*) 0 ;
10362 PyObject
*swig_obj
[1] ;
10364 if (!args
) SWIG_fail
;
10365 swig_obj
[0] = args
;
10366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10367 if (!SWIG_IsOK(res1
)) {
10368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10370 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 result
= (int)(arg1
)->GetHeight();
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10377 resultobj
= SWIG_From_int(static_cast< int >(result
));
10384 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10385 PyObject
*resultobj
= 0;
10386 wxCursor
*arg1
= (wxCursor
*) 0 ;
10390 PyObject
*swig_obj
[1] ;
10392 if (!args
) SWIG_fail
;
10393 swig_obj
[0] = args
;
10394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10395 if (!SWIG_IsOK(res1
)) {
10396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10398 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10401 result
= (int)(arg1
)->GetDepth();
10402 wxPyEndAllowThreads(__tstate
);
10403 if (PyErr_Occurred()) SWIG_fail
;
10405 resultobj
= SWIG_From_int(static_cast< int >(result
));
10412 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10413 PyObject
*resultobj
= 0;
10414 wxCursor
*arg1
= (wxCursor
*) 0 ;
10420 PyObject
* obj0
= 0 ;
10421 PyObject
* obj1
= 0 ;
10422 char * kwnames
[] = {
10423 (char *) "self",(char *) "w", NULL
10426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10428 if (!SWIG_IsOK(res1
)) {
10429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10431 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10433 if (!SWIG_IsOK(ecode2
)) {
10434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10436 arg2
= static_cast< int >(val2
);
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 (arg1
)->SetWidth(arg2
);
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10443 resultobj
= SWIG_Py_Void();
10450 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
*resultobj
= 0;
10452 wxCursor
*arg1
= (wxCursor
*) 0 ;
10458 PyObject
* obj0
= 0 ;
10459 PyObject
* obj1
= 0 ;
10460 char * kwnames
[] = {
10461 (char *) "self",(char *) "h", NULL
10464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10466 if (!SWIG_IsOK(res1
)) {
10467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10469 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10471 if (!SWIG_IsOK(ecode2
)) {
10472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
10474 arg2
= static_cast< int >(val2
);
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 (arg1
)->SetHeight(arg2
);
10478 wxPyEndAllowThreads(__tstate
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10481 resultobj
= SWIG_Py_Void();
10488 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10489 PyObject
*resultobj
= 0;
10490 wxCursor
*arg1
= (wxCursor
*) 0 ;
10496 PyObject
* obj0
= 0 ;
10497 PyObject
* obj1
= 0 ;
10498 char * kwnames
[] = {
10499 (char *) "self",(char *) "d", NULL
10502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10504 if (!SWIG_IsOK(res1
)) {
10505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10507 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10509 if (!SWIG_IsOK(ecode2
)) {
10510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
10512 arg2
= static_cast< int >(val2
);
10514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 (arg1
)->SetDepth(arg2
);
10516 wxPyEndAllowThreads(__tstate
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10519 resultobj
= SWIG_Py_Void();
10526 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10527 PyObject
*resultobj
= 0;
10528 wxCursor
*arg1
= (wxCursor
*) 0 ;
10533 PyObject
* obj0
= 0 ;
10534 PyObject
* obj1
= 0 ;
10535 char * kwnames
[] = {
10536 (char *) "self",(char *) "size", NULL
10539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10541 if (!SWIG_IsOK(res1
)) {
10542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
10544 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10547 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 (arg1
)->SetSize((wxSize
const &)*arg2
);
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10555 resultobj
= SWIG_Py_Void();
10562 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10564 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10565 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10566 return SWIG_Py_Void();
10569 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10570 return SWIG_Python_InitShadowInstance(args
);
10573 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10574 PyObject
*resultobj
= 0;
10575 int arg1
= (int) 0 ;
10576 int arg2
= (int) 0 ;
10577 int arg3
= (int) 0 ;
10578 int arg4
= (int) 0 ;
10579 wxRegion
*result
= 0 ;
10588 PyObject
* obj0
= 0 ;
10589 PyObject
* obj1
= 0 ;
10590 PyObject
* obj2
= 0 ;
10591 PyObject
* obj3
= 0 ;
10592 char * kwnames
[] = {
10593 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10598 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10599 if (!SWIG_IsOK(ecode1
)) {
10600 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10602 arg1
= static_cast< int >(val1
);
10605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10606 if (!SWIG_IsOK(ecode2
)) {
10607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10609 arg2
= static_cast< int >(val2
);
10612 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10613 if (!SWIG_IsOK(ecode3
)) {
10614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10616 arg3
= static_cast< int >(val3
);
10619 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10620 if (!SWIG_IsOK(ecode4
)) {
10621 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10623 arg4
= static_cast< int >(val4
);
10626 if (!wxPyCheckForApp()) SWIG_fail
;
10627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10628 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10629 wxPyEndAllowThreads(__tstate
);
10630 if (PyErr_Occurred()) SWIG_fail
;
10632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10639 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10640 PyObject
*resultobj
= 0;
10641 wxBitmap
*arg1
= 0 ;
10642 wxRegion
*result
= 0 ;
10645 PyObject
* obj0
= 0 ;
10646 char * kwnames
[] = {
10647 (char *) "bmp", NULL
10650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10651 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10652 if (!SWIG_IsOK(res1
)) {
10653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10656 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10658 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10660 if (!wxPyCheckForApp()) SWIG_fail
;
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10663 wxPyEndAllowThreads(__tstate
);
10664 if (PyErr_Occurred()) SWIG_fail
;
10666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10673 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10674 PyObject
*resultobj
= 0;
10675 wxBitmap
*arg1
= 0 ;
10676 wxColour
*arg2
= 0 ;
10677 int arg3
= (int) 0 ;
10678 wxRegion
*result
= 0 ;
10684 PyObject
* obj0
= 0 ;
10685 PyObject
* obj1
= 0 ;
10686 PyObject
* obj2
= 0 ;
10687 char * kwnames
[] = {
10688 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10692 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10693 if (!SWIG_IsOK(res1
)) {
10694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10699 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10702 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10705 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10706 if (!SWIG_IsOK(ecode3
)) {
10707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10709 arg3
= static_cast< int >(val3
);
10712 if (!wxPyCheckForApp()) SWIG_fail
;
10713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10714 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10725 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10726 PyObject
*resultobj
= 0;
10728 wxPoint
*arg2
= (wxPoint
*) 0 ;
10729 int arg3
= (int) wxWINDING_RULE
;
10730 wxRegion
*result
= 0 ;
10733 PyObject
* obj0
= 0 ;
10734 PyObject
* obj1
= 0 ;
10735 char * kwnames
[] = {
10736 (char *) "points",(char *) "fillStyle", NULL
10739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10741 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10742 if (arg2
== NULL
) SWIG_fail
;
10745 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10746 if (!SWIG_IsOK(ecode3
)) {
10747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10749 arg3
= static_cast< int >(val3
);
10752 if (!wxPyCheckForApp()) SWIG_fail
;
10753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10754 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10760 if (arg2
) delete [] arg2
;
10765 if (arg2
) delete [] arg2
;
10771 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10772 PyObject
*resultobj
= 0;
10773 wxRegion
*arg1
= (wxRegion
*) 0 ;
10776 PyObject
*swig_obj
[1] ;
10778 if (!args
) SWIG_fail
;
10779 swig_obj
[0] = args
;
10780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10781 if (!SWIG_IsOK(res1
)) {
10782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10784 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10789 wxPyEndAllowThreads(__tstate
);
10790 if (PyErr_Occurred()) SWIG_fail
;
10792 resultobj
= SWIG_Py_Void();
10799 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10800 PyObject
*resultobj
= 0;
10801 wxRegion
*arg1
= (wxRegion
*) 0 ;
10804 PyObject
*swig_obj
[1] ;
10806 if (!args
) SWIG_fail
;
10807 swig_obj
[0] = args
;
10808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10809 if (!SWIG_IsOK(res1
)) {
10810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10812 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10819 resultobj
= SWIG_Py_Void();
10826 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
= 0;
10828 wxRegion
*arg1
= (wxRegion
*) 0 ;
10838 PyObject
* obj0
= 0 ;
10839 PyObject
* obj1
= 0 ;
10840 PyObject
* obj2
= 0 ;
10841 char * kwnames
[] = {
10842 (char *) "self",(char *) "x",(char *) "y", NULL
10845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10847 if (!SWIG_IsOK(res1
)) {
10848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10850 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10852 if (!SWIG_IsOK(ecode2
)) {
10853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10855 arg2
= static_cast< int >(val2
);
10856 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10857 if (!SWIG_IsOK(ecode3
)) {
10858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10860 arg3
= static_cast< int >(val3
);
10862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10863 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10864 wxPyEndAllowThreads(__tstate
);
10865 if (PyErr_Occurred()) SWIG_fail
;
10868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10876 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10877 PyObject
*resultobj
= 0;
10878 wxRegion
*arg1
= (wxRegion
*) 0 ;
10881 wxRegionContain result
;
10888 PyObject
* obj0
= 0 ;
10889 PyObject
* obj1
= 0 ;
10890 PyObject
* obj2
= 0 ;
10891 char * kwnames
[] = {
10892 (char *) "self",(char *) "x",(char *) "y", NULL
10895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10897 if (!SWIG_IsOK(res1
)) {
10898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10900 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10902 if (!SWIG_IsOK(ecode2
)) {
10903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10905 arg2
= static_cast< int >(val2
);
10906 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10907 if (!SWIG_IsOK(ecode3
)) {
10908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10910 arg3
= static_cast< int >(val3
);
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10914 wxPyEndAllowThreads(__tstate
);
10915 if (PyErr_Occurred()) SWIG_fail
;
10917 resultobj
= SWIG_From_int(static_cast< int >(result
));
10924 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10925 PyObject
*resultobj
= 0;
10926 wxRegion
*arg1
= (wxRegion
*) 0 ;
10927 wxPoint
*arg2
= 0 ;
10928 wxRegionContain result
;
10932 PyObject
* obj0
= 0 ;
10933 PyObject
* obj1
= 0 ;
10934 char * kwnames
[] = {
10935 (char *) "self",(char *) "pt", NULL
10938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10940 if (!SWIG_IsOK(res1
)) {
10941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10943 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10946 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10950 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10951 wxPyEndAllowThreads(__tstate
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10954 resultobj
= SWIG_From_int(static_cast< int >(result
));
10961 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10962 PyObject
*resultobj
= 0;
10963 wxRegion
*arg1
= (wxRegion
*) 0 ;
10965 wxRegionContain result
;
10969 PyObject
* obj0
= 0 ;
10970 PyObject
* obj1
= 0 ;
10971 char * kwnames
[] = {
10972 (char *) "self",(char *) "rect", NULL
10975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10977 if (!SWIG_IsOK(res1
)) {
10978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10980 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10983 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10987 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10991 resultobj
= SWIG_From_int(static_cast< int >(result
));
10998 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10999 PyObject
*resultobj
= 0;
11000 wxRegion
*arg1
= (wxRegion
*) 0 ;
11005 wxRegionContain result
;
11016 PyObject
* obj0
= 0 ;
11017 PyObject
* obj1
= 0 ;
11018 PyObject
* obj2
= 0 ;
11019 PyObject
* obj3
= 0 ;
11020 PyObject
* obj4
= 0 ;
11021 char * kwnames
[] = {
11022 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11027 if (!SWIG_IsOK(res1
)) {
11028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
11030 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11032 if (!SWIG_IsOK(ecode2
)) {
11033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
11035 arg2
= static_cast< int >(val2
);
11036 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11037 if (!SWIG_IsOK(ecode3
)) {
11038 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
11040 arg3
= static_cast< int >(val3
);
11041 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11042 if (!SWIG_IsOK(ecode4
)) {
11043 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
11045 arg4
= static_cast< int >(val4
);
11046 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11047 if (!SWIG_IsOK(ecode5
)) {
11048 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
11050 arg5
= static_cast< int >(val5
);
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11057 resultobj
= SWIG_From_int(static_cast< int >(result
));
11064 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11065 PyObject
*resultobj
= 0;
11066 wxRegion
*arg1
= (wxRegion
*) 0 ;
11070 PyObject
*swig_obj
[1] ;
11072 if (!args
) SWIG_fail
;
11073 swig_obj
[0] = args
;
11074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11075 if (!SWIG_IsOK(res1
)) {
11076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
11078 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11081 result
= (arg1
)->GetBox();
11082 wxPyEndAllowThreads(__tstate
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11085 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11092 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11093 PyObject
*resultobj
= 0;
11094 wxRegion
*arg1
= (wxRegion
*) 0 ;
11110 PyObject
* obj0
= 0 ;
11111 PyObject
* obj1
= 0 ;
11112 PyObject
* obj2
= 0 ;
11113 PyObject
* obj3
= 0 ;
11114 PyObject
* obj4
= 0 ;
11115 char * kwnames
[] = {
11116 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11121 if (!SWIG_IsOK(res1
)) {
11122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11124 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11126 if (!SWIG_IsOK(ecode2
)) {
11127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11129 arg2
= static_cast< int >(val2
);
11130 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11131 if (!SWIG_IsOK(ecode3
)) {
11132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11134 arg3
= static_cast< int >(val3
);
11135 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11136 if (!SWIG_IsOK(ecode4
)) {
11137 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11139 arg4
= static_cast< int >(val4
);
11140 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11141 if (!SWIG_IsOK(ecode5
)) {
11142 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11144 arg5
= static_cast< int >(val5
);
11146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11147 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11148 wxPyEndAllowThreads(__tstate
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11160 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11161 PyObject
*resultobj
= 0;
11162 wxRegion
*arg1
= (wxRegion
*) 0 ;
11168 PyObject
* obj0
= 0 ;
11169 PyObject
* obj1
= 0 ;
11170 char * kwnames
[] = {
11171 (char *) "self",(char *) "rect", NULL
11174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11176 if (!SWIG_IsOK(res1
)) {
11177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11179 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11182 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11199 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11200 PyObject
*resultobj
= 0;
11201 wxRegion
*arg1
= (wxRegion
*) 0 ;
11202 wxRegion
*arg2
= 0 ;
11208 PyObject
* obj0
= 0 ;
11209 PyObject
* obj1
= 0 ;
11210 char * kwnames
[] = {
11211 (char *) "self",(char *) "region", NULL
11214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11216 if (!SWIG_IsOK(res1
)) {
11217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11219 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11220 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11221 if (!SWIG_IsOK(res2
)) {
11222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11225 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11227 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11230 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11231 wxPyEndAllowThreads(__tstate
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11243 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11244 PyObject
*resultobj
= 0;
11245 wxRegion
*arg1
= (wxRegion
*) 0 ;
11249 PyObject
*swig_obj
[1] ;
11251 if (!args
) SWIG_fail
;
11252 swig_obj
[0] = args
;
11253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11254 if (!SWIG_IsOK(res1
)) {
11255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11257 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11260 result
= (bool)(arg1
)->IsEmpty();
11261 wxPyEndAllowThreads(__tstate
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11273 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11274 PyObject
*resultobj
= 0;
11275 wxRegion
*arg1
= (wxRegion
*) 0 ;
11276 wxRegion
*arg2
= 0 ;
11282 PyObject
* obj0
= 0 ;
11283 PyObject
* obj1
= 0 ;
11284 char * kwnames
[] = {
11285 (char *) "self",(char *) "region", NULL
11288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11290 if (!SWIG_IsOK(res1
)) {
11291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11293 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11294 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11295 if (!SWIG_IsOK(res2
)) {
11296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11299 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11301 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11304 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11305 wxPyEndAllowThreads(__tstate
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11317 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11318 PyObject
*resultobj
= 0;
11319 wxRegion
*arg1
= (wxRegion
*) 0 ;
11335 PyObject
* obj0
= 0 ;
11336 PyObject
* obj1
= 0 ;
11337 PyObject
* obj2
= 0 ;
11338 PyObject
* obj3
= 0 ;
11339 PyObject
* obj4
= 0 ;
11340 char * kwnames
[] = {
11341 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11346 if (!SWIG_IsOK(res1
)) {
11347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11349 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11351 if (!SWIG_IsOK(ecode2
)) {
11352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11354 arg2
= static_cast< int >(val2
);
11355 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11356 if (!SWIG_IsOK(ecode3
)) {
11357 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11359 arg3
= static_cast< int >(val3
);
11360 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11361 if (!SWIG_IsOK(ecode4
)) {
11362 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11364 arg4
= static_cast< int >(val4
);
11365 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11366 if (!SWIG_IsOK(ecode5
)) {
11367 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11369 arg5
= static_cast< int >(val5
);
11371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11372 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11373 wxPyEndAllowThreads(__tstate
);
11374 if (PyErr_Occurred()) SWIG_fail
;
11377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11385 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11386 PyObject
*resultobj
= 0;
11387 wxRegion
*arg1
= (wxRegion
*) 0 ;
11393 PyObject
* obj0
= 0 ;
11394 PyObject
* obj1
= 0 ;
11395 char * kwnames
[] = {
11396 (char *) "self",(char *) "rect", NULL
11399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11401 if (!SWIG_IsOK(res1
)) {
11402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11404 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11407 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11412 wxPyEndAllowThreads(__tstate
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11424 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11425 PyObject
*resultobj
= 0;
11426 wxRegion
*arg1
= (wxRegion
*) 0 ;
11427 wxRegion
*arg2
= 0 ;
11433 PyObject
* obj0
= 0 ;
11434 PyObject
* obj1
= 0 ;
11435 char * kwnames
[] = {
11436 (char *) "self",(char *) "region", NULL
11439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11441 if (!SWIG_IsOK(res1
)) {
11442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11444 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11445 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11446 if (!SWIG_IsOK(res2
)) {
11447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11452 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11455 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11456 wxPyEndAllowThreads(__tstate
);
11457 if (PyErr_Occurred()) SWIG_fail
;
11460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11468 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11469 PyObject
*resultobj
= 0;
11470 wxRegion
*arg1
= (wxRegion
*) 0 ;
11486 PyObject
* obj0
= 0 ;
11487 PyObject
* obj1
= 0 ;
11488 PyObject
* obj2
= 0 ;
11489 PyObject
* obj3
= 0 ;
11490 PyObject
* obj4
= 0 ;
11491 char * kwnames
[] = {
11492 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11497 if (!SWIG_IsOK(res1
)) {
11498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11500 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11502 if (!SWIG_IsOK(ecode2
)) {
11503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11505 arg2
= static_cast< int >(val2
);
11506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11507 if (!SWIG_IsOK(ecode3
)) {
11508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11510 arg3
= static_cast< int >(val3
);
11511 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11512 if (!SWIG_IsOK(ecode4
)) {
11513 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11515 arg4
= static_cast< int >(val4
);
11516 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11517 if (!SWIG_IsOK(ecode5
)) {
11518 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11520 arg5
= static_cast< int >(val5
);
11522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11523 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11524 wxPyEndAllowThreads(__tstate
);
11525 if (PyErr_Occurred()) SWIG_fail
;
11528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11536 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11537 PyObject
*resultobj
= 0;
11538 wxRegion
*arg1
= (wxRegion
*) 0 ;
11544 PyObject
* obj0
= 0 ;
11545 PyObject
* obj1
= 0 ;
11546 char * kwnames
[] = {
11547 (char *) "self",(char *) "rect", NULL
11550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11552 if (!SWIG_IsOK(res1
)) {
11553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11555 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11558 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11562 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11563 wxPyEndAllowThreads(__tstate
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11575 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11576 PyObject
*resultobj
= 0;
11577 wxRegion
*arg1
= (wxRegion
*) 0 ;
11578 wxRegion
*arg2
= 0 ;
11584 PyObject
* obj0
= 0 ;
11585 PyObject
* obj1
= 0 ;
11586 char * kwnames
[] = {
11587 (char *) "self",(char *) "region", NULL
11590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11592 if (!SWIG_IsOK(res1
)) {
11593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11595 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11596 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11597 if (!SWIG_IsOK(res2
)) {
11598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11603 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11606 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11607 wxPyEndAllowThreads(__tstate
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11619 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11620 PyObject
*resultobj
= 0;
11621 wxRegion
*arg1
= (wxRegion
*) 0 ;
11637 PyObject
* obj0
= 0 ;
11638 PyObject
* obj1
= 0 ;
11639 PyObject
* obj2
= 0 ;
11640 PyObject
* obj3
= 0 ;
11641 PyObject
* obj4
= 0 ;
11642 char * kwnames
[] = {
11643 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11648 if (!SWIG_IsOK(res1
)) {
11649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11651 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11653 if (!SWIG_IsOK(ecode2
)) {
11654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11656 arg2
= static_cast< int >(val2
);
11657 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11658 if (!SWIG_IsOK(ecode3
)) {
11659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11661 arg3
= static_cast< int >(val3
);
11662 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11663 if (!SWIG_IsOK(ecode4
)) {
11664 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11666 arg4
= static_cast< int >(val4
);
11667 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11668 if (!SWIG_IsOK(ecode5
)) {
11669 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11671 arg5
= static_cast< int >(val5
);
11673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11674 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11675 wxPyEndAllowThreads(__tstate
);
11676 if (PyErr_Occurred()) SWIG_fail
;
11679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11687 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11688 PyObject
*resultobj
= 0;
11689 wxRegion
*arg1
= (wxRegion
*) 0 ;
11695 PyObject
* obj0
= 0 ;
11696 PyObject
* obj1
= 0 ;
11697 char * kwnames
[] = {
11698 (char *) "self",(char *) "rect", NULL
11701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11703 if (!SWIG_IsOK(res1
)) {
11704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11706 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11709 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11713 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11714 wxPyEndAllowThreads(__tstate
);
11715 if (PyErr_Occurred()) SWIG_fail
;
11718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11726 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11727 PyObject
*resultobj
= 0;
11728 wxRegion
*arg1
= (wxRegion
*) 0 ;
11729 wxRegion
*arg2
= 0 ;
11735 PyObject
* obj0
= 0 ;
11736 PyObject
* obj1
= 0 ;
11737 char * kwnames
[] = {
11738 (char *) "self",(char *) "region", NULL
11741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11743 if (!SWIG_IsOK(res1
)) {
11744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11746 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11747 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11748 if (!SWIG_IsOK(res2
)) {
11749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11754 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11757 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11758 wxPyEndAllowThreads(__tstate
);
11759 if (PyErr_Occurred()) SWIG_fail
;
11762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11770 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11771 PyObject
*resultobj
= 0;
11772 wxRegion
*arg1
= (wxRegion
*) 0 ;
11773 SwigValueWrapper
<wxBitmap
> result
;
11776 PyObject
*swig_obj
[1] ;
11778 if (!args
) SWIG_fail
;
11779 swig_obj
[0] = args
;
11780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11781 if (!SWIG_IsOK(res1
)) {
11782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11784 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11787 result
= (arg1
)->ConvertToBitmap();
11788 wxPyEndAllowThreads(__tstate
);
11789 if (PyErr_Occurred()) SWIG_fail
;
11791 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11798 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11799 PyObject
*resultobj
= 0;
11800 wxRegion
*arg1
= (wxRegion
*) 0 ;
11801 wxBitmap
*arg2
= 0 ;
11807 PyObject
* obj0
= 0 ;
11808 PyObject
* obj1
= 0 ;
11809 char * kwnames
[] = {
11810 (char *) "self",(char *) "bmp", NULL
11813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11815 if (!SWIG_IsOK(res1
)) {
11816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11818 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11819 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11820 if (!SWIG_IsOK(res2
)) {
11821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11824 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11826 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11829 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11830 wxPyEndAllowThreads(__tstate
);
11831 if (PyErr_Occurred()) SWIG_fail
;
11834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11842 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11843 PyObject
*resultobj
= 0;
11844 wxRegion
*arg1
= (wxRegion
*) 0 ;
11845 wxBitmap
*arg2
= 0 ;
11846 wxColour
*arg3
= 0 ;
11847 int arg4
= (int) 0 ;
11856 PyObject
* obj0
= 0 ;
11857 PyObject
* obj1
= 0 ;
11858 PyObject
* obj2
= 0 ;
11859 PyObject
* obj3
= 0 ;
11860 char * kwnames
[] = {
11861 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11866 if (!SWIG_IsOK(res1
)) {
11867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11869 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11870 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11871 if (!SWIG_IsOK(res2
)) {
11872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11875 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11877 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11880 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11883 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11884 if (!SWIG_IsOK(ecode4
)) {
11885 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11887 arg4
= static_cast< int >(val4
);
11890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11891 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11892 wxPyEndAllowThreads(__tstate
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11904 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11906 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11907 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11908 return SWIG_Py_Void();
11911 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11912 return SWIG_Python_InitShadowInstance(args
);
11915 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11916 PyObject
*resultobj
= 0;
11917 wxRegion
*arg1
= 0 ;
11918 wxRegionIterator
*result
= 0 ;
11921 PyObject
* obj0
= 0 ;
11922 char * kwnames
[] = {
11923 (char *) "region", NULL
11926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11927 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11928 if (!SWIG_IsOK(res1
)) {
11929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11932 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11934 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11936 if (!wxPyCheckForApp()) SWIG_fail
;
11937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11938 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11939 wxPyEndAllowThreads(__tstate
);
11940 if (PyErr_Occurred()) SWIG_fail
;
11942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11949 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11950 PyObject
*resultobj
= 0;
11951 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11954 PyObject
*swig_obj
[1] ;
11956 if (!args
) SWIG_fail
;
11957 swig_obj
[0] = args
;
11958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11959 if (!SWIG_IsOK(res1
)) {
11960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11962 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11967 wxPyEndAllowThreads(__tstate
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11970 resultobj
= SWIG_Py_Void();
11977 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11978 PyObject
*resultobj
= 0;
11979 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11983 PyObject
*swig_obj
[1] ;
11985 if (!args
) SWIG_fail
;
11986 swig_obj
[0] = args
;
11987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11988 if (!SWIG_IsOK(res1
)) {
11989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11991 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11994 result
= (int)(arg1
)->GetX();
11995 wxPyEndAllowThreads(__tstate
);
11996 if (PyErr_Occurred()) SWIG_fail
;
11998 resultobj
= SWIG_From_int(static_cast< int >(result
));
12005 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12006 PyObject
*resultobj
= 0;
12007 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12011 PyObject
*swig_obj
[1] ;
12013 if (!args
) SWIG_fail
;
12014 swig_obj
[0] = args
;
12015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12016 if (!SWIG_IsOK(res1
)) {
12017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12019 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12022 result
= (int)(arg1
)->GetY();
12023 wxPyEndAllowThreads(__tstate
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12026 resultobj
= SWIG_From_int(static_cast< int >(result
));
12033 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12034 PyObject
*resultobj
= 0;
12035 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12039 PyObject
*swig_obj
[1] ;
12041 if (!args
) SWIG_fail
;
12042 swig_obj
[0] = args
;
12043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12044 if (!SWIG_IsOK(res1
)) {
12045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12047 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12050 result
= (int)(arg1
)->GetW();
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12054 resultobj
= SWIG_From_int(static_cast< int >(result
));
12061 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12062 PyObject
*resultobj
= 0;
12063 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12067 PyObject
*swig_obj
[1] ;
12069 if (!args
) SWIG_fail
;
12070 swig_obj
[0] = args
;
12071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12072 if (!SWIG_IsOK(res1
)) {
12073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12075 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 result
= (int)(arg1
)->GetWidth();
12079 wxPyEndAllowThreads(__tstate
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12082 resultobj
= SWIG_From_int(static_cast< int >(result
));
12089 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12090 PyObject
*resultobj
= 0;
12091 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12095 PyObject
*swig_obj
[1] ;
12097 if (!args
) SWIG_fail
;
12098 swig_obj
[0] = args
;
12099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12100 if (!SWIG_IsOK(res1
)) {
12101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12103 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12106 result
= (int)(arg1
)->GetH();
12107 wxPyEndAllowThreads(__tstate
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12110 resultobj
= SWIG_From_int(static_cast< int >(result
));
12117 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12118 PyObject
*resultobj
= 0;
12119 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12123 PyObject
*swig_obj
[1] ;
12125 if (!args
) SWIG_fail
;
12126 swig_obj
[0] = args
;
12127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12128 if (!SWIG_IsOK(res1
)) {
12129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12131 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12134 result
= (int)(arg1
)->GetHeight();
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12138 resultobj
= SWIG_From_int(static_cast< int >(result
));
12145 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12146 PyObject
*resultobj
= 0;
12147 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12151 PyObject
*swig_obj
[1] ;
12153 if (!args
) SWIG_fail
;
12154 swig_obj
[0] = args
;
12155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12156 if (!SWIG_IsOK(res1
)) {
12157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12159 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12162 result
= (arg1
)->GetRect();
12163 wxPyEndAllowThreads(__tstate
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12166 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12173 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12174 PyObject
*resultobj
= 0;
12175 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12179 PyObject
*swig_obj
[1] ;
12181 if (!args
) SWIG_fail
;
12182 swig_obj
[0] = args
;
12183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12184 if (!SWIG_IsOK(res1
)) {
12185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12187 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12190 result
= (bool)(arg1
)->HaveRects();
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12203 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12204 PyObject
*resultobj
= 0;
12205 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12208 PyObject
*swig_obj
[1] ;
12210 if (!args
) SWIG_fail
;
12211 swig_obj
[0] = args
;
12212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12213 if (!SWIG_IsOK(res1
)) {
12214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12216 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12223 resultobj
= SWIG_Py_Void();
12230 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12231 PyObject
*resultobj
= 0;
12232 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12235 PyObject
*swig_obj
[1] ;
12237 if (!args
) SWIG_fail
;
12238 swig_obj
[0] = args
;
12239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12240 if (!SWIG_IsOK(res1
)) {
12241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12243 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12246 wxRegionIterator_Next(arg1
);
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12250 resultobj
= SWIG_Py_Void();
12257 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12258 PyObject
*resultobj
= 0;
12259 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12263 PyObject
*swig_obj
[1] ;
12265 if (!args
) SWIG_fail
;
12266 swig_obj
[0] = args
;
12267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12268 if (!SWIG_IsOK(res1
)) {
12269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12271 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12274 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12275 wxPyEndAllowThreads(__tstate
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12287 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12289 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12290 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12291 return SWIG_Py_Void();
12294 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12295 return SWIG_Python_InitShadowInstance(args
);
12298 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12299 PyObject
*resultobj
= 0;
12300 wxNativeFontInfo
*result
= 0 ;
12302 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12305 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12306 wxPyEndAllowThreads(__tstate
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12316 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12317 PyObject
*resultobj
= 0;
12318 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12321 PyObject
*swig_obj
[1] ;
12323 if (!args
) SWIG_fail
;
12324 swig_obj
[0] = args
;
12325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12326 if (!SWIG_IsOK(res1
)) {
12327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12329 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12334 wxPyEndAllowThreads(__tstate
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12337 resultobj
= SWIG_Py_Void();
12344 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12345 PyObject
*resultobj
= 0;
12346 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12349 PyObject
*swig_obj
[1] ;
12351 if (!args
) SWIG_fail
;
12352 swig_obj
[0] = args
;
12353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12354 if (!SWIG_IsOK(res1
)) {
12355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12357 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12361 wxPyEndAllowThreads(__tstate
);
12362 if (PyErr_Occurred()) SWIG_fail
;
12364 resultobj
= SWIG_Py_Void();
12371 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
*resultobj
= 0;
12373 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12379 PyObject
* obj0
= 0 ;
12380 PyObject
* obj1
= 0 ;
12381 char * kwnames
[] = {
12382 (char *) "self",(char *) "font", NULL
12385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12387 if (!SWIG_IsOK(res1
)) {
12388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12390 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12391 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12392 if (!SWIG_IsOK(res2
)) {
12393 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12398 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12401 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12402 wxPyEndAllowThreads(__tstate
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12405 resultobj
= SWIG_Py_Void();
12412 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12413 PyObject
*resultobj
= 0;
12414 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12418 PyObject
*swig_obj
[1] ;
12420 if (!args
) SWIG_fail
;
12421 swig_obj
[0] = args
;
12422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12423 if (!SWIG_IsOK(res1
)) {
12424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12426 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12429 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 resultobj
= SWIG_From_int(static_cast< int >(result
));
12440 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12441 PyObject
*resultobj
= 0;
12442 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12446 PyObject
*swig_obj
[1] ;
12448 if (!args
) SWIG_fail
;
12449 swig_obj
[0] = args
;
12450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12451 if (!SWIG_IsOK(res1
)) {
12452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12454 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12457 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12458 wxPyEndAllowThreads(__tstate
);
12459 if (PyErr_Occurred()) SWIG_fail
;
12461 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12468 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12469 PyObject
*resultobj
= 0;
12470 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12471 wxFontStyle result
;
12474 PyObject
*swig_obj
[1] ;
12476 if (!args
) SWIG_fail
;
12477 swig_obj
[0] = args
;
12478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12479 if (!SWIG_IsOK(res1
)) {
12480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12482 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12485 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12486 wxPyEndAllowThreads(__tstate
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12489 resultobj
= SWIG_From_int(static_cast< int >(result
));
12496 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12497 PyObject
*resultobj
= 0;
12498 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12499 wxFontWeight result
;
12502 PyObject
*swig_obj
[1] ;
12504 if (!args
) SWIG_fail
;
12505 swig_obj
[0] = args
;
12506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12507 if (!SWIG_IsOK(res1
)) {
12508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12510 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12513 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12514 wxPyEndAllowThreads(__tstate
);
12515 if (PyErr_Occurred()) SWIG_fail
;
12517 resultobj
= SWIG_From_int(static_cast< int >(result
));
12524 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12525 PyObject
*resultobj
= 0;
12526 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12530 PyObject
*swig_obj
[1] ;
12532 if (!args
) SWIG_fail
;
12533 swig_obj
[0] = args
;
12534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12535 if (!SWIG_IsOK(res1
)) {
12536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12538 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12541 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12542 wxPyEndAllowThreads(__tstate
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12554 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12555 PyObject
*resultobj
= 0;
12556 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12560 PyObject
*swig_obj
[1] ;
12562 if (!args
) SWIG_fail
;
12563 swig_obj
[0] = args
;
12564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12565 if (!SWIG_IsOK(res1
)) {
12566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12568 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12571 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12572 wxPyEndAllowThreads(__tstate
);
12573 if (PyErr_Occurred()) SWIG_fail
;
12577 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12579 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12588 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12589 PyObject
*resultobj
= 0;
12590 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12591 wxFontFamily result
;
12594 PyObject
*swig_obj
[1] ;
12596 if (!args
) SWIG_fail
;
12597 swig_obj
[0] = args
;
12598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12599 if (!SWIG_IsOK(res1
)) {
12600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12602 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12605 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12606 wxPyEndAllowThreads(__tstate
);
12607 if (PyErr_Occurred()) SWIG_fail
;
12609 resultobj
= SWIG_From_int(static_cast< int >(result
));
12616 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12617 PyObject
*resultobj
= 0;
12618 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12619 wxFontEncoding result
;
12622 PyObject
*swig_obj
[1] ;
12624 if (!args
) SWIG_fail
;
12625 swig_obj
[0] = args
;
12626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12627 if (!SWIG_IsOK(res1
)) {
12628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12630 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12633 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12634 wxPyEndAllowThreads(__tstate
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12637 resultobj
= SWIG_From_int(static_cast< int >(result
));
12644 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12645 PyObject
*resultobj
= 0;
12646 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12652 PyObject
* obj0
= 0 ;
12653 PyObject
* obj1
= 0 ;
12654 char * kwnames
[] = {
12655 (char *) "self",(char *) "pointsize", NULL
12658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12660 if (!SWIG_IsOK(res1
)) {
12661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12663 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12665 if (!SWIG_IsOK(ecode2
)) {
12666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12668 arg2
= static_cast< int >(val2
);
12670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12671 (arg1
)->SetPointSize(arg2
);
12672 wxPyEndAllowThreads(__tstate
);
12673 if (PyErr_Occurred()) SWIG_fail
;
12675 resultobj
= SWIG_Py_Void();
12682 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12683 PyObject
*resultobj
= 0;
12684 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12689 PyObject
* obj0
= 0 ;
12690 PyObject
* obj1
= 0 ;
12691 char * kwnames
[] = {
12692 (char *) "self",(char *) "pixelSize", NULL
12695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12697 if (!SWIG_IsOK(res1
)) {
12698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12700 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12703 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12707 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12711 resultobj
= SWIG_Py_Void();
12718 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12719 PyObject
*resultobj
= 0;
12720 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12726 PyObject
* obj0
= 0 ;
12727 PyObject
* obj1
= 0 ;
12728 char * kwnames
[] = {
12729 (char *) "self",(char *) "style", NULL
12732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12734 if (!SWIG_IsOK(res1
)) {
12735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12737 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12739 if (!SWIG_IsOK(ecode2
)) {
12740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12742 arg2
= static_cast< wxFontStyle
>(val2
);
12744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12745 (arg1
)->SetStyle(arg2
);
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12749 resultobj
= SWIG_Py_Void();
12756 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12757 PyObject
*resultobj
= 0;
12758 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12759 wxFontWeight arg2
;
12764 PyObject
* obj0
= 0 ;
12765 PyObject
* obj1
= 0 ;
12766 char * kwnames
[] = {
12767 (char *) "self",(char *) "weight", NULL
12770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12772 if (!SWIG_IsOK(res1
)) {
12773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12775 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12777 if (!SWIG_IsOK(ecode2
)) {
12778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12780 arg2
= static_cast< wxFontWeight
>(val2
);
12782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12783 (arg1
)->SetWeight(arg2
);
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12787 resultobj
= SWIG_Py_Void();
12794 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12795 PyObject
*resultobj
= 0;
12796 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12802 PyObject
* obj0
= 0 ;
12803 PyObject
* obj1
= 0 ;
12804 char * kwnames
[] = {
12805 (char *) "self",(char *) "underlined", NULL
12808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12810 if (!SWIG_IsOK(res1
)) {
12811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12813 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12814 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12815 if (!SWIG_IsOK(ecode2
)) {
12816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12818 arg2
= static_cast< bool >(val2
);
12820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12821 (arg1
)->SetUnderlined(arg2
);
12822 wxPyEndAllowThreads(__tstate
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12825 resultobj
= SWIG_Py_Void();
12832 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12833 PyObject
*resultobj
= 0;
12834 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12839 PyObject
* obj0
= 0 ;
12840 PyObject
* obj1
= 0 ;
12841 char * kwnames
[] = {
12842 (char *) "self",(char *) "facename", NULL
12845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12847 if (!SWIG_IsOK(res1
)) {
12848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12850 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12852 wxString
* sptr
= wxString_in_helper(obj1
);
12853 if (sptr
== NULL
) SWIG_fail
;
12858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12859 result
= (bool)(arg1
)->SetFaceName(arg2
);
12860 wxPyEndAllowThreads(__tstate
);
12861 if (PyErr_Occurred()) SWIG_fail
;
12864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12872 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12873 PyObject
*resultobj
= 0;
12874 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12875 wxFontFamily arg2
;
12880 PyObject
* obj0
= 0 ;
12881 PyObject
* obj1
= 0 ;
12882 char * kwnames
[] = {
12883 (char *) "self",(char *) "family", NULL
12886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12888 if (!SWIG_IsOK(res1
)) {
12889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12891 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12893 if (!SWIG_IsOK(ecode2
)) {
12894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12896 arg2
= static_cast< wxFontFamily
>(val2
);
12898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12899 (arg1
)->SetFamily(arg2
);
12900 wxPyEndAllowThreads(__tstate
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12903 resultobj
= SWIG_Py_Void();
12910 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12911 PyObject
*resultobj
= 0;
12912 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12913 wxFontEncoding arg2
;
12918 PyObject
* obj0
= 0 ;
12919 PyObject
* obj1
= 0 ;
12920 char * kwnames
[] = {
12921 (char *) "self",(char *) "encoding", NULL
12924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12926 if (!SWIG_IsOK(res1
)) {
12927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12929 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12931 if (!SWIG_IsOK(ecode2
)) {
12932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12934 arg2
= static_cast< wxFontEncoding
>(val2
);
12936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12937 (arg1
)->SetEncoding(arg2
);
12938 wxPyEndAllowThreads(__tstate
);
12939 if (PyErr_Occurred()) SWIG_fail
;
12941 resultobj
= SWIG_Py_Void();
12948 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12949 PyObject
*resultobj
= 0;
12950 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12951 wxString
*arg2
= 0 ;
12955 bool temp2
= false ;
12956 PyObject
* obj0
= 0 ;
12957 PyObject
* obj1
= 0 ;
12958 char * kwnames
[] = {
12959 (char *) "self",(char *) "s", NULL
12962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12964 if (!SWIG_IsOK(res1
)) {
12965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12967 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12969 arg2
= wxString_in_helper(obj1
);
12970 if (arg2
== NULL
) SWIG_fail
;
12974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12975 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12976 wxPyEndAllowThreads(__tstate
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12996 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12997 PyObject
*resultobj
= 0;
12998 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13002 PyObject
*swig_obj
[1] ;
13004 if (!args
) SWIG_fail
;
13005 swig_obj
[0] = args
;
13006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13007 if (!SWIG_IsOK(res1
)) {
13008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13010 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13013 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13019 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13021 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13030 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13031 PyObject
*resultobj
= 0;
13032 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13036 PyObject
*swig_obj
[1] ;
13038 if (!args
) SWIG_fail
;
13039 swig_obj
[0] = args
;
13040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13041 if (!SWIG_IsOK(res1
)) {
13042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13044 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13047 result
= wxNativeFontInfo___str__(arg1
);
13048 wxPyEndAllowThreads(__tstate
);
13049 if (PyErr_Occurred()) SWIG_fail
;
13053 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13055 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13064 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13065 PyObject
*resultobj
= 0;
13066 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13067 wxString
*arg2
= 0 ;
13071 bool temp2
= false ;
13072 PyObject
* obj0
= 0 ;
13073 PyObject
* obj1
= 0 ;
13074 char * kwnames
[] = {
13075 (char *) "self",(char *) "s", NULL
13078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13080 if (!SWIG_IsOK(res1
)) {
13081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13083 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13085 arg2
= wxString_in_helper(obj1
);
13086 if (arg2
== NULL
) SWIG_fail
;
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
13092 wxPyEndAllowThreads(__tstate
);
13093 if (PyErr_Occurred()) SWIG_fail
;
13096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13112 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13113 PyObject
*resultobj
= 0;
13114 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13118 PyObject
*swig_obj
[1] ;
13120 if (!args
) SWIG_fail
;
13121 swig_obj
[0] = args
;
13122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13123 if (!SWIG_IsOK(res1
)) {
13124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13126 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13129 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
13130 wxPyEndAllowThreads(__tstate
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13135 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13137 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13146 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13148 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13149 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13150 return SWIG_Py_Void();
13153 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13154 return SWIG_Python_InitShadowInstance(args
);
13157 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13158 PyObject
*resultobj
= 0;
13159 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13160 wxString
*arg2
= (wxString
*) 0 ;
13163 bool temp2
= false ;
13164 PyObject
*swig_obj
[2] ;
13166 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13168 if (!SWIG_IsOK(res1
)) {
13169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13171 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13173 arg2
= wxString_in_helper(swig_obj
[1]);
13174 if (arg2
== NULL
) SWIG_fail
;
13177 if (arg1
) (arg1
)->facename
= *arg2
;
13179 resultobj
= SWIG_Py_Void();
13194 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13195 PyObject
*resultobj
= 0;
13196 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13197 wxString
*result
= 0 ;
13200 PyObject
*swig_obj
[1] ;
13202 if (!args
) SWIG_fail
;
13203 swig_obj
[0] = args
;
13204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13205 if (!SWIG_IsOK(res1
)) {
13206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13208 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13209 result
= (wxString
*)& ((arg1
)->facename
);
13212 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13214 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13223 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13224 PyObject
*resultobj
= 0;
13225 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13226 wxFontEncoding arg2
;
13231 PyObject
*swig_obj
[2] ;
13233 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13235 if (!SWIG_IsOK(res1
)) {
13236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13238 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13239 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13240 if (!SWIG_IsOK(ecode2
)) {
13241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13243 arg2
= static_cast< wxFontEncoding
>(val2
);
13244 if (arg1
) (arg1
)->encoding
= arg2
;
13246 resultobj
= SWIG_Py_Void();
13253 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13254 PyObject
*resultobj
= 0;
13255 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13256 wxFontEncoding result
;
13259 PyObject
*swig_obj
[1] ;
13261 if (!args
) SWIG_fail
;
13262 swig_obj
[0] = args
;
13263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13264 if (!SWIG_IsOK(res1
)) {
13265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13267 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13268 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13269 resultobj
= SWIG_From_int(static_cast< int >(result
));
13276 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13277 PyObject
*resultobj
= 0;
13278 wxNativeEncodingInfo
*result
= 0 ;
13280 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13283 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13284 wxPyEndAllowThreads(__tstate
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13294 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13295 PyObject
*resultobj
= 0;
13296 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13299 PyObject
*swig_obj
[1] ;
13301 if (!args
) SWIG_fail
;
13302 swig_obj
[0] = args
;
13303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13304 if (!SWIG_IsOK(res1
)) {
13305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13307 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13312 wxPyEndAllowThreads(__tstate
);
13313 if (PyErr_Occurred()) SWIG_fail
;
13315 resultobj
= SWIG_Py_Void();
13322 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13323 PyObject
*resultobj
= 0;
13324 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13325 wxString
*arg2
= 0 ;
13329 bool temp2
= false ;
13330 PyObject
* obj0
= 0 ;
13331 PyObject
* obj1
= 0 ;
13332 char * kwnames
[] = {
13333 (char *) "self",(char *) "s", NULL
13336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13338 if (!SWIG_IsOK(res1
)) {
13339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13341 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13343 arg2
= wxString_in_helper(obj1
);
13344 if (arg2
== NULL
) SWIG_fail
;
13348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13349 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13350 wxPyEndAllowThreads(__tstate
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13370 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13371 PyObject
*resultobj
= 0;
13372 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13376 PyObject
*swig_obj
[1] ;
13378 if (!args
) SWIG_fail
;
13379 swig_obj
[0] = args
;
13380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13381 if (!SWIG_IsOK(res1
)) {
13382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13384 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13387 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13388 wxPyEndAllowThreads(__tstate
);
13389 if (PyErr_Occurred()) SWIG_fail
;
13393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13404 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13407 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13408 return SWIG_Py_Void();
13411 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13412 return SWIG_Python_InitShadowInstance(args
);
13415 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13416 PyObject
*resultobj
= 0;
13417 wxFontEncoding arg1
;
13418 wxNativeEncodingInfo
*result
= 0 ;
13421 PyObject
* obj0
= 0 ;
13422 char * kwnames
[] = {
13423 (char *) "encoding", NULL
13426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13427 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13428 if (!SWIG_IsOK(ecode1
)) {
13429 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13431 arg1
= static_cast< wxFontEncoding
>(val1
);
13433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13434 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13435 wxPyEndAllowThreads(__tstate
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13445 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13446 PyObject
*resultobj
= 0;
13447 wxNativeEncodingInfo
*arg1
= 0 ;
13451 PyObject
* obj0
= 0 ;
13452 char * kwnames
[] = {
13453 (char *) "info", NULL
13456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13457 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13458 if (!SWIG_IsOK(res1
)) {
13459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13462 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13464 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13467 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13468 wxPyEndAllowThreads(__tstate
);
13469 if (PyErr_Occurred()) SWIG_fail
;
13472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13480 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13481 PyObject
*resultobj
= 0;
13482 wxFontMapper
*result
= 0 ;
13484 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13487 result
= (wxFontMapper
*)new wxFontMapper();
13488 wxPyEndAllowThreads(__tstate
);
13489 if (PyErr_Occurred()) SWIG_fail
;
13491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13498 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13499 PyObject
*resultobj
= 0;
13500 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13503 PyObject
*swig_obj
[1] ;
13505 if (!args
) SWIG_fail
;
13506 swig_obj
[0] = args
;
13507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13508 if (!SWIG_IsOK(res1
)) {
13509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13511 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13516 wxPyEndAllowThreads(__tstate
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13519 resultobj
= SWIG_Py_Void();
13526 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13527 PyObject
*resultobj
= 0;
13528 wxFontMapper
*result
= 0 ;
13530 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13533 result
= (wxFontMapper
*)wxFontMapper::Get();
13534 wxPyEndAllowThreads(__tstate
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13544 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13545 PyObject
*resultobj
= 0;
13546 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13547 wxFontMapper
*result
= 0 ;
13550 PyObject
* obj0
= 0 ;
13551 char * kwnames
[] = {
13552 (char *) "mapper", NULL
13555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13557 if (!SWIG_IsOK(res1
)) {
13558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13560 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13563 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13564 wxPyEndAllowThreads(__tstate
);
13565 if (PyErr_Occurred()) SWIG_fail
;
13567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13574 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13575 PyObject
*resultobj
= 0;
13576 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13577 wxString
*arg2
= 0 ;
13578 bool arg3
= (bool) true ;
13579 wxFontEncoding result
;
13582 bool temp2
= false ;
13585 PyObject
* obj0
= 0 ;
13586 PyObject
* obj1
= 0 ;
13587 PyObject
* obj2
= 0 ;
13588 char * kwnames
[] = {
13589 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13594 if (!SWIG_IsOK(res1
)) {
13595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13597 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13599 arg2
= wxString_in_helper(obj1
);
13600 if (arg2
== NULL
) SWIG_fail
;
13604 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13605 if (!SWIG_IsOK(ecode3
)) {
13606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13608 arg3
= static_cast< bool >(val3
);
13611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13612 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13613 wxPyEndAllowThreads(__tstate
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13616 resultobj
= SWIG_From_int(static_cast< int >(result
));
13631 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13632 PyObject
*resultobj
= 0;
13635 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13642 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13649 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13650 PyObject
*resultobj
= 0;
13652 wxFontEncoding result
;
13655 PyObject
* obj0
= 0 ;
13656 char * kwnames
[] = {
13660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13661 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13662 if (!SWIG_IsOK(ecode1
)) {
13663 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13665 arg1
= static_cast< size_t >(val1
);
13667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13668 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13669 wxPyEndAllowThreads(__tstate
);
13670 if (PyErr_Occurred()) SWIG_fail
;
13672 resultobj
= SWIG_From_int(static_cast< int >(result
));
13679 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13680 PyObject
*resultobj
= 0;
13681 wxFontEncoding arg1
;
13685 PyObject
* obj0
= 0 ;
13686 char * kwnames
[] = {
13687 (char *) "encoding", NULL
13690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13691 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13692 if (!SWIG_IsOK(ecode1
)) {
13693 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13695 arg1
= static_cast< wxFontEncoding
>(val1
);
13697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13698 result
= wxFontMapper::GetEncodingName(arg1
);
13699 wxPyEndAllowThreads(__tstate
);
13700 if (PyErr_Occurred()) SWIG_fail
;
13704 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13706 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13715 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13716 PyObject
*resultobj
= 0;
13717 wxFontEncoding arg1
;
13721 PyObject
* obj0
= 0 ;
13722 char * kwnames
[] = {
13723 (char *) "encoding", NULL
13726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13727 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13728 if (!SWIG_IsOK(ecode1
)) {
13729 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13731 arg1
= static_cast< wxFontEncoding
>(val1
);
13733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13734 result
= wxFontMapper::GetEncodingDescription(arg1
);
13735 wxPyEndAllowThreads(__tstate
);
13736 if (PyErr_Occurred()) SWIG_fail
;
13740 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13742 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13751 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13752 PyObject
*resultobj
= 0;
13753 wxString
*arg1
= 0 ;
13754 wxFontEncoding result
;
13755 bool temp1
= false ;
13756 PyObject
* obj0
= 0 ;
13757 char * kwnames
[] = {
13758 (char *) "name", NULL
13761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13763 arg1
= wxString_in_helper(obj0
);
13764 if (arg1
== NULL
) SWIG_fail
;
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13770 wxPyEndAllowThreads(__tstate
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13773 resultobj
= SWIG_From_int(static_cast< int >(result
));
13788 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13789 PyObject
*resultobj
= 0;
13790 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13791 wxString
*arg2
= 0 ;
13794 bool temp2
= false ;
13795 PyObject
* obj0
= 0 ;
13796 PyObject
* obj1
= 0 ;
13797 char * kwnames
[] = {
13798 (char *) "self",(char *) "prefix", NULL
13801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13803 if (!SWIG_IsOK(res1
)) {
13804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13806 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13808 arg2
= wxString_in_helper(obj1
);
13809 if (arg2
== NULL
) SWIG_fail
;
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13814 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13815 wxPyEndAllowThreads(__tstate
);
13816 if (PyErr_Occurred()) SWIG_fail
;
13818 resultobj
= SWIG_Py_Void();
13833 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13834 PyObject
*resultobj
= 0;
13837 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13840 result
= wxFontMapper::GetDefaultConfigPath();
13841 wxPyEndAllowThreads(__tstate
);
13842 if (PyErr_Occurred()) SWIG_fail
;
13846 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13848 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13857 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13858 PyObject
*resultobj
= 0;
13859 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13860 wxFontEncoding arg2
;
13861 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13862 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13863 bool arg4
= (bool) true ;
13864 PyObject
*result
= 0 ;
13869 bool temp3
= false ;
13872 PyObject
* obj0
= 0 ;
13873 PyObject
* obj1
= 0 ;
13874 PyObject
* obj2
= 0 ;
13875 PyObject
* obj3
= 0 ;
13876 char * kwnames
[] = {
13877 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13882 if (!SWIG_IsOK(res1
)) {
13883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13885 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13887 if (!SWIG_IsOK(ecode2
)) {
13888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13890 arg2
= static_cast< wxFontEncoding
>(val2
);
13893 arg3
= wxString_in_helper(obj2
);
13894 if (arg3
== NULL
) SWIG_fail
;
13899 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13900 if (!SWIG_IsOK(ecode4
)) {
13901 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13903 arg4
= static_cast< bool >(val4
);
13906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13907 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13908 wxPyEndAllowThreads(__tstate
);
13909 if (PyErr_Occurred()) SWIG_fail
;
13911 resultobj
= result
;
13926 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13927 PyObject
*resultobj
= 0;
13928 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13929 wxFontEncoding arg2
;
13930 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13931 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13937 bool temp3
= false ;
13938 PyObject
* obj0
= 0 ;
13939 PyObject
* obj1
= 0 ;
13940 PyObject
* obj2
= 0 ;
13941 char * kwnames
[] = {
13942 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13947 if (!SWIG_IsOK(res1
)) {
13948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13950 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13952 if (!SWIG_IsOK(ecode2
)) {
13953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13955 arg2
= static_cast< wxFontEncoding
>(val2
);
13958 arg3
= wxString_in_helper(obj2
);
13959 if (arg3
== NULL
) SWIG_fail
;
13964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13965 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13966 wxPyEndAllowThreads(__tstate
);
13967 if (PyErr_Occurred()) SWIG_fail
;
13970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13986 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13987 PyObject
*resultobj
= 0;
13988 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13989 wxWindow
*arg2
= (wxWindow
*) 0 ;
13994 PyObject
* obj0
= 0 ;
13995 PyObject
* obj1
= 0 ;
13996 char * kwnames
[] = {
13997 (char *) "self",(char *) "parent", NULL
14000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14002 if (!SWIG_IsOK(res1
)) {
14003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14005 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14006 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14007 if (!SWIG_IsOK(res2
)) {
14008 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
14010 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14013 (arg1
)->SetDialogParent(arg2
);
14014 wxPyEndAllowThreads(__tstate
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14017 resultobj
= SWIG_Py_Void();
14024 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14025 PyObject
*resultobj
= 0;
14026 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14027 wxString
*arg2
= 0 ;
14030 bool temp2
= false ;
14031 PyObject
* obj0
= 0 ;
14032 PyObject
* obj1
= 0 ;
14033 char * kwnames
[] = {
14034 (char *) "self",(char *) "title", NULL
14037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14039 if (!SWIG_IsOK(res1
)) {
14040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14042 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14044 arg2
= wxString_in_helper(obj1
);
14045 if (arg2
== NULL
) SWIG_fail
;
14049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14050 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
14051 wxPyEndAllowThreads(__tstate
);
14052 if (PyErr_Occurred()) SWIG_fail
;
14054 resultobj
= SWIG_Py_Void();
14069 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14071 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14072 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
14073 return SWIG_Py_Void();
14076 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14077 return SWIG_Python_InitShadowInstance(args
);
14080 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14081 PyObject
*resultobj
= 0;
14086 bool arg5
= (bool) false ;
14087 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14088 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14089 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14090 wxFont
*result
= 0 ;
14101 bool temp6
= false ;
14104 PyObject
* obj0
= 0 ;
14105 PyObject
* obj1
= 0 ;
14106 PyObject
* obj2
= 0 ;
14107 PyObject
* obj3
= 0 ;
14108 PyObject
* obj4
= 0 ;
14109 PyObject
* obj5
= 0 ;
14110 PyObject
* obj6
= 0 ;
14111 char * kwnames
[] = {
14112 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
14115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14116 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14117 if (!SWIG_IsOK(ecode1
)) {
14118 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
14120 arg1
= static_cast< int >(val1
);
14121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14122 if (!SWIG_IsOK(ecode2
)) {
14123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
14125 arg2
= static_cast< int >(val2
);
14126 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14127 if (!SWIG_IsOK(ecode3
)) {
14128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
14130 arg3
= static_cast< int >(val3
);
14131 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14132 if (!SWIG_IsOK(ecode4
)) {
14133 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
14135 arg4
= static_cast< int >(val4
);
14137 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14138 if (!SWIG_IsOK(ecode5
)) {
14139 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
14141 arg5
= static_cast< bool >(val5
);
14145 arg6
= wxString_in_helper(obj5
);
14146 if (arg6
== NULL
) SWIG_fail
;
14151 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14152 if (!SWIG_IsOK(ecode7
)) {
14153 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14155 arg7
= static_cast< wxFontEncoding
>(val7
);
14158 if (!wxPyCheckForApp()) SWIG_fail
;
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14161 wxPyEndAllowThreads(__tstate
);
14162 if (PyErr_Occurred()) SWIG_fail
;
14164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14179 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14180 PyObject
*resultobj
= 0;
14181 wxFont
*arg1
= (wxFont
*) 0 ;
14184 PyObject
*swig_obj
[1] ;
14186 if (!args
) SWIG_fail
;
14187 swig_obj
[0] = args
;
14188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14189 if (!SWIG_IsOK(res1
)) {
14190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14192 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14197 wxPyEndAllowThreads(__tstate
);
14198 if (PyErr_Occurred()) SWIG_fail
;
14200 resultobj
= SWIG_Py_Void();
14207 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14208 PyObject
*resultobj
= 0;
14209 wxNativeFontInfo
*arg1
= 0 ;
14210 wxFont
*result
= 0 ;
14213 PyObject
* obj0
= 0 ;
14214 char * kwnames
[] = {
14215 (char *) "info", NULL
14218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14219 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14220 if (!SWIG_IsOK(res1
)) {
14221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14226 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14228 if (!wxPyCheckForApp()) SWIG_fail
;
14229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14230 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14231 wxPyEndAllowThreads(__tstate
);
14232 if (PyErr_Occurred()) SWIG_fail
;
14234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14241 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14242 PyObject
*resultobj
= 0;
14243 wxString
*arg1
= 0 ;
14244 wxFont
*result
= 0 ;
14245 bool temp1
= false ;
14246 PyObject
* obj0
= 0 ;
14247 char * kwnames
[] = {
14248 (char *) "info", NULL
14251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14253 arg1
= wxString_in_helper(obj0
);
14254 if (arg1
== NULL
) SWIG_fail
;
14258 if (!wxPyCheckForApp()) SWIG_fail
;
14259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14260 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14261 wxPyEndAllowThreads(__tstate
);
14262 if (PyErr_Occurred()) SWIG_fail
;
14264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14279 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14280 PyObject
*resultobj
= 0;
14282 wxFontFamily arg2
;
14283 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14284 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14285 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14286 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14287 wxFont
*result
= 0 ;
14294 bool temp4
= false ;
14297 PyObject
* obj0
= 0 ;
14298 PyObject
* obj1
= 0 ;
14299 PyObject
* obj2
= 0 ;
14300 PyObject
* obj3
= 0 ;
14301 PyObject
* obj4
= 0 ;
14302 char * kwnames
[] = {
14303 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14307 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14308 if (!SWIG_IsOK(ecode1
)) {
14309 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14311 arg1
= static_cast< int >(val1
);
14312 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14313 if (!SWIG_IsOK(ecode2
)) {
14314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14316 arg2
= static_cast< wxFontFamily
>(val2
);
14318 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14319 if (!SWIG_IsOK(ecode3
)) {
14320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14322 arg3
= static_cast< int >(val3
);
14326 arg4
= wxString_in_helper(obj3
);
14327 if (arg4
== NULL
) SWIG_fail
;
14332 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14333 if (!SWIG_IsOK(ecode5
)) {
14334 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14336 arg5
= static_cast< wxFontEncoding
>(val5
);
14339 if (!wxPyCheckForApp()) SWIG_fail
;
14340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14341 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14342 wxPyEndAllowThreads(__tstate
);
14343 if (PyErr_Occurred()) SWIG_fail
;
14345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14360 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14361 PyObject
*resultobj
= 0;
14366 bool arg5
= (bool) false ;
14367 wxString
const &arg6_defvalue
= wxEmptyString
;
14368 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14369 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14370 wxFont
*result
= 0 ;
14380 bool temp6
= false ;
14383 PyObject
* obj0
= 0 ;
14384 PyObject
* obj1
= 0 ;
14385 PyObject
* obj2
= 0 ;
14386 PyObject
* obj3
= 0 ;
14387 PyObject
* obj4
= 0 ;
14388 PyObject
* obj5
= 0 ;
14389 PyObject
* obj6
= 0 ;
14390 char * kwnames
[] = {
14391 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14397 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14400 if (!SWIG_IsOK(ecode2
)) {
14401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14403 arg2
= static_cast< int >(val2
);
14404 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14405 if (!SWIG_IsOK(ecode3
)) {
14406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14408 arg3
= static_cast< int >(val3
);
14409 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14410 if (!SWIG_IsOK(ecode4
)) {
14411 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14413 arg4
= static_cast< int >(val4
);
14415 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14416 if (!SWIG_IsOK(ecode5
)) {
14417 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14419 arg5
= static_cast< bool >(val5
);
14423 arg6
= wxString_in_helper(obj5
);
14424 if (arg6
== NULL
) SWIG_fail
;
14429 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14430 if (!SWIG_IsOK(ecode7
)) {
14431 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14433 arg7
= static_cast< wxFontEncoding
>(val7
);
14436 if (!wxPyCheckForApp()) SWIG_fail
;
14437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14438 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14439 wxPyEndAllowThreads(__tstate
);
14440 if (PyErr_Occurred()) SWIG_fail
;
14442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14457 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14458 PyObject
*resultobj
= 0;
14460 wxFontFamily arg2
;
14461 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14462 wxString
const &arg4_defvalue
= wxEmptyString
;
14463 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14464 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14465 wxFont
*result
= 0 ;
14471 bool temp4
= false ;
14474 PyObject
* obj0
= 0 ;
14475 PyObject
* obj1
= 0 ;
14476 PyObject
* obj2
= 0 ;
14477 PyObject
* obj3
= 0 ;
14478 PyObject
* obj4
= 0 ;
14479 char * kwnames
[] = {
14480 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14486 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14488 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14489 if (!SWIG_IsOK(ecode2
)) {
14490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14492 arg2
= static_cast< wxFontFamily
>(val2
);
14494 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14495 if (!SWIG_IsOK(ecode3
)) {
14496 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14498 arg3
= static_cast< int >(val3
);
14502 arg4
= wxString_in_helper(obj3
);
14503 if (arg4
== NULL
) SWIG_fail
;
14508 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14509 if (!SWIG_IsOK(ecode5
)) {
14510 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14512 arg5
= static_cast< wxFontEncoding
>(val5
);
14515 if (!wxPyCheckForApp()) SWIG_fail
;
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14517 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14521 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14536 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14537 PyObject
*resultobj
= 0;
14538 wxFont
*arg1
= (wxFont
*) 0 ;
14542 PyObject
*swig_obj
[1] ;
14544 if (!args
) SWIG_fail
;
14545 swig_obj
[0] = args
;
14546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14547 if (!SWIG_IsOK(res1
)) {
14548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14550 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14553 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14566 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14567 PyObject
*resultobj
= 0;
14568 wxFont
*arg1
= (wxFont
*) 0 ;
14569 wxFont
*arg2
= (wxFont
*) 0 ;
14575 PyObject
* obj0
= 0 ;
14576 PyObject
* obj1
= 0 ;
14577 char * kwnames
[] = {
14578 (char *) "self",(char *) "other", NULL
14581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14583 if (!SWIG_IsOK(res1
)) {
14584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14586 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14587 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14588 if (!SWIG_IsOK(res2
)) {
14589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14591 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14594 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14595 wxPyEndAllowThreads(__tstate
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14607 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14608 PyObject
*resultobj
= 0;
14609 wxFont
*arg1
= (wxFont
*) 0 ;
14610 wxFont
*arg2
= (wxFont
*) 0 ;
14616 PyObject
* obj0
= 0 ;
14617 PyObject
* obj1
= 0 ;
14618 char * kwnames
[] = {
14619 (char *) "self",(char *) "other", NULL
14622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14624 if (!SWIG_IsOK(res1
)) {
14625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14627 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14628 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14629 if (!SWIG_IsOK(res2
)) {
14630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14632 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14635 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14636 wxPyEndAllowThreads(__tstate
);
14637 if (PyErr_Occurred()) SWIG_fail
;
14640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14648 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14649 PyObject
*resultobj
= 0;
14650 wxFont
*arg1
= (wxFont
*) 0 ;
14654 PyObject
*swig_obj
[1] ;
14656 if (!args
) SWIG_fail
;
14657 swig_obj
[0] = args
;
14658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14659 if (!SWIG_IsOK(res1
)) {
14660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14662 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14665 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14666 wxPyEndAllowThreads(__tstate
);
14667 if (PyErr_Occurred()) SWIG_fail
;
14669 resultobj
= SWIG_From_int(static_cast< int >(result
));
14676 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14677 PyObject
*resultobj
= 0;
14678 wxFont
*arg1
= (wxFont
*) 0 ;
14682 PyObject
*swig_obj
[1] ;
14684 if (!args
) SWIG_fail
;
14685 swig_obj
[0] = args
;
14686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14687 if (!SWIG_IsOK(res1
)) {
14688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14690 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14693 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14694 wxPyEndAllowThreads(__tstate
);
14695 if (PyErr_Occurred()) SWIG_fail
;
14697 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14704 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14705 PyObject
*resultobj
= 0;
14706 wxFont
*arg1
= (wxFont
*) 0 ;
14710 PyObject
*swig_obj
[1] ;
14712 if (!args
) SWIG_fail
;
14713 swig_obj
[0] = args
;
14714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14715 if (!SWIG_IsOK(res1
)) {
14716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14718 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14721 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14734 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14735 PyObject
*resultobj
= 0;
14736 wxFont
*arg1
= (wxFont
*) 0 ;
14740 PyObject
*swig_obj
[1] ;
14742 if (!args
) SWIG_fail
;
14743 swig_obj
[0] = args
;
14744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14745 if (!SWIG_IsOK(res1
)) {
14746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14748 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14751 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14752 wxPyEndAllowThreads(__tstate
);
14753 if (PyErr_Occurred()) SWIG_fail
;
14755 resultobj
= SWIG_From_int(static_cast< int >(result
));
14762 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14763 PyObject
*resultobj
= 0;
14764 wxFont
*arg1
= (wxFont
*) 0 ;
14768 PyObject
*swig_obj
[1] ;
14770 if (!args
) SWIG_fail
;
14771 swig_obj
[0] = args
;
14772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14773 if (!SWIG_IsOK(res1
)) {
14774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14776 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14780 wxPyEndAllowThreads(__tstate
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14783 resultobj
= SWIG_From_int(static_cast< int >(result
));
14790 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14791 PyObject
*resultobj
= 0;
14792 wxFont
*arg1
= (wxFont
*) 0 ;
14796 PyObject
*swig_obj
[1] ;
14798 if (!args
) SWIG_fail
;
14799 swig_obj
[0] = args
;
14800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14801 if (!SWIG_IsOK(res1
)) {
14802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14804 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14807 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14808 wxPyEndAllowThreads(__tstate
);
14809 if (PyErr_Occurred()) SWIG_fail
;
14811 resultobj
= SWIG_From_int(static_cast< int >(result
));
14818 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14819 PyObject
*resultobj
= 0;
14820 wxFont
*arg1
= (wxFont
*) 0 ;
14824 PyObject
*swig_obj
[1] ;
14826 if (!args
) SWIG_fail
;
14827 swig_obj
[0] = args
;
14828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14829 if (!SWIG_IsOK(res1
)) {
14830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14832 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14835 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14836 wxPyEndAllowThreads(__tstate
);
14837 if (PyErr_Occurred()) SWIG_fail
;
14840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14848 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14849 PyObject
*resultobj
= 0;
14850 wxFont
*arg1
= (wxFont
*) 0 ;
14854 PyObject
*swig_obj
[1] ;
14856 if (!args
) SWIG_fail
;
14857 swig_obj
[0] = args
;
14858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14859 if (!SWIG_IsOK(res1
)) {
14860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14862 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14865 result
= ((wxFont
const *)arg1
)->GetFaceName();
14866 wxPyEndAllowThreads(__tstate
);
14867 if (PyErr_Occurred()) SWIG_fail
;
14871 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14873 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14882 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14883 PyObject
*resultobj
= 0;
14884 wxFont
*arg1
= (wxFont
*) 0 ;
14885 wxFontEncoding result
;
14888 PyObject
*swig_obj
[1] ;
14890 if (!args
) SWIG_fail
;
14891 swig_obj
[0] = args
;
14892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14893 if (!SWIG_IsOK(res1
)) {
14894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14896 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14899 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14900 wxPyEndAllowThreads(__tstate
);
14901 if (PyErr_Occurred()) SWIG_fail
;
14903 resultobj
= SWIG_From_int(static_cast< int >(result
));
14910 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14911 PyObject
*resultobj
= 0;
14912 wxFont
*arg1
= (wxFont
*) 0 ;
14913 wxNativeFontInfo
*result
= 0 ;
14916 PyObject
*swig_obj
[1] ;
14918 if (!args
) SWIG_fail
;
14919 swig_obj
[0] = args
;
14920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14921 if (!SWIG_IsOK(res1
)) {
14922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14924 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14927 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14928 wxPyEndAllowThreads(__tstate
);
14929 if (PyErr_Occurred()) SWIG_fail
;
14931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14938 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14939 PyObject
*resultobj
= 0;
14940 wxFont
*arg1
= (wxFont
*) 0 ;
14944 PyObject
*swig_obj
[1] ;
14946 if (!args
) SWIG_fail
;
14947 swig_obj
[0] = args
;
14948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14949 if (!SWIG_IsOK(res1
)) {
14950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14952 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14955 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14956 wxPyEndAllowThreads(__tstate
);
14957 if (PyErr_Occurred()) SWIG_fail
;
14960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14968 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14969 PyObject
*resultobj
= 0;
14970 wxFont
*arg1
= (wxFont
*) 0 ;
14974 PyObject
*swig_obj
[1] ;
14976 if (!args
) SWIG_fail
;
14977 swig_obj
[0] = args
;
14978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14979 if (!SWIG_IsOK(res1
)) {
14980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14982 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14985 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14986 wxPyEndAllowThreads(__tstate
);
14987 if (PyErr_Occurred()) SWIG_fail
;
14991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15002 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15003 PyObject
*resultobj
= 0;
15004 wxFont
*arg1
= (wxFont
*) 0 ;
15008 PyObject
*swig_obj
[1] ;
15010 if (!args
) SWIG_fail
;
15011 swig_obj
[0] = args
;
15012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15013 if (!SWIG_IsOK(res1
)) {
15014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15016 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15019 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15025 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15027 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15036 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15037 PyObject
*resultobj
= 0;
15038 wxFont
*arg1
= (wxFont
*) 0 ;
15044 PyObject
* obj0
= 0 ;
15045 PyObject
* obj1
= 0 ;
15046 char * kwnames
[] = {
15047 (char *) "self",(char *) "pointSize", NULL
15050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15052 if (!SWIG_IsOK(res1
)) {
15053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
15055 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15057 if (!SWIG_IsOK(ecode2
)) {
15058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
15060 arg2
= static_cast< int >(val2
);
15062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15063 (arg1
)->SetPointSize(arg2
);
15064 wxPyEndAllowThreads(__tstate
);
15065 if (PyErr_Occurred()) SWIG_fail
;
15067 resultobj
= SWIG_Py_Void();
15074 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15075 PyObject
*resultobj
= 0;
15076 wxFont
*arg1
= (wxFont
*) 0 ;
15081 PyObject
* obj0
= 0 ;
15082 PyObject
* obj1
= 0 ;
15083 char * kwnames
[] = {
15084 (char *) "self",(char *) "pixelSize", NULL
15087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15089 if (!SWIG_IsOK(res1
)) {
15090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
15092 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15095 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15099 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
15100 wxPyEndAllowThreads(__tstate
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15103 resultobj
= SWIG_Py_Void();
15110 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15111 PyObject
*resultobj
= 0;
15112 wxFont
*arg1
= (wxFont
*) 0 ;
15118 PyObject
* obj0
= 0 ;
15119 PyObject
* obj1
= 0 ;
15120 char * kwnames
[] = {
15121 (char *) "self",(char *) "family", NULL
15124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15126 if (!SWIG_IsOK(res1
)) {
15127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
15129 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15131 if (!SWIG_IsOK(ecode2
)) {
15132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
15134 arg2
= static_cast< int >(val2
);
15136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15137 (arg1
)->SetFamily(arg2
);
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15141 resultobj
= SWIG_Py_Void();
15148 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15149 PyObject
*resultobj
= 0;
15150 wxFont
*arg1
= (wxFont
*) 0 ;
15156 PyObject
* obj0
= 0 ;
15157 PyObject
* obj1
= 0 ;
15158 char * kwnames
[] = {
15159 (char *) "self",(char *) "style", NULL
15162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15164 if (!SWIG_IsOK(res1
)) {
15165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15167 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15169 if (!SWIG_IsOK(ecode2
)) {
15170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15172 arg2
= static_cast< int >(val2
);
15174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15175 (arg1
)->SetStyle(arg2
);
15176 wxPyEndAllowThreads(__tstate
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15179 resultobj
= SWIG_Py_Void();
15186 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15187 PyObject
*resultobj
= 0;
15188 wxFont
*arg1
= (wxFont
*) 0 ;
15194 PyObject
* obj0
= 0 ;
15195 PyObject
* obj1
= 0 ;
15196 char * kwnames
[] = {
15197 (char *) "self",(char *) "weight", NULL
15200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15202 if (!SWIG_IsOK(res1
)) {
15203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15205 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15207 if (!SWIG_IsOK(ecode2
)) {
15208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15210 arg2
= static_cast< int >(val2
);
15212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15213 (arg1
)->SetWeight(arg2
);
15214 wxPyEndAllowThreads(__tstate
);
15215 if (PyErr_Occurred()) SWIG_fail
;
15217 resultobj
= SWIG_Py_Void();
15224 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15225 PyObject
*resultobj
= 0;
15226 wxFont
*arg1
= (wxFont
*) 0 ;
15227 wxString
*arg2
= 0 ;
15231 bool temp2
= false ;
15232 PyObject
* obj0
= 0 ;
15233 PyObject
* obj1
= 0 ;
15234 char * kwnames
[] = {
15235 (char *) "self",(char *) "faceName", NULL
15238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15240 if (!SWIG_IsOK(res1
)) {
15241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15243 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15245 arg2
= wxString_in_helper(obj1
);
15246 if (arg2
== NULL
) SWIG_fail
;
15250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15251 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15252 wxPyEndAllowThreads(__tstate
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15272 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15273 PyObject
*resultobj
= 0;
15274 wxFont
*arg1
= (wxFont
*) 0 ;
15280 PyObject
* obj0
= 0 ;
15281 PyObject
* obj1
= 0 ;
15282 char * kwnames
[] = {
15283 (char *) "self",(char *) "underlined", NULL
15286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15288 if (!SWIG_IsOK(res1
)) {
15289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15291 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15292 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15293 if (!SWIG_IsOK(ecode2
)) {
15294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15296 arg2
= static_cast< bool >(val2
);
15298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15299 (arg1
)->SetUnderlined(arg2
);
15300 wxPyEndAllowThreads(__tstate
);
15301 if (PyErr_Occurred()) SWIG_fail
;
15303 resultobj
= SWIG_Py_Void();
15310 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15311 PyObject
*resultobj
= 0;
15312 wxFont
*arg1
= (wxFont
*) 0 ;
15313 wxFontEncoding arg2
;
15318 PyObject
* obj0
= 0 ;
15319 PyObject
* obj1
= 0 ;
15320 char * kwnames
[] = {
15321 (char *) "self",(char *) "encoding", NULL
15324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15326 if (!SWIG_IsOK(res1
)) {
15327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15329 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15331 if (!SWIG_IsOK(ecode2
)) {
15332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15334 arg2
= static_cast< wxFontEncoding
>(val2
);
15336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15337 (arg1
)->SetEncoding(arg2
);
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15341 resultobj
= SWIG_Py_Void();
15348 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15349 PyObject
*resultobj
= 0;
15350 wxFont
*arg1
= (wxFont
*) 0 ;
15351 wxNativeFontInfo
*arg2
= 0 ;
15356 PyObject
* obj0
= 0 ;
15357 PyObject
* obj1
= 0 ;
15358 char * kwnames
[] = {
15359 (char *) "self",(char *) "info", NULL
15362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15364 if (!SWIG_IsOK(res1
)) {
15365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15367 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15368 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15369 if (!SWIG_IsOK(res2
)) {
15370 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15373 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15375 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15378 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15379 wxPyEndAllowThreads(__tstate
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15382 resultobj
= SWIG_Py_Void();
15389 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15390 PyObject
*resultobj
= 0;
15391 wxFont
*arg1
= (wxFont
*) 0 ;
15392 wxString
*arg2
= 0 ;
15396 bool temp2
= false ;
15397 PyObject
* obj0
= 0 ;
15398 PyObject
* obj1
= 0 ;
15399 char * kwnames
[] = {
15400 (char *) "self",(char *) "info", NULL
15403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15405 if (!SWIG_IsOK(res1
)) {
15406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15408 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15410 arg2
= wxString_in_helper(obj1
);
15411 if (arg2
== NULL
) SWIG_fail
;
15415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15416 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15417 wxPyEndAllowThreads(__tstate
);
15418 if (PyErr_Occurred()) SWIG_fail
;
15421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15437 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15438 PyObject
*resultobj
= 0;
15439 wxFont
*arg1
= (wxFont
*) 0 ;
15440 wxString
*arg2
= 0 ;
15444 bool temp2
= false ;
15445 PyObject
* obj0
= 0 ;
15446 PyObject
* obj1
= 0 ;
15447 char * kwnames
[] = {
15448 (char *) "self",(char *) "info", NULL
15451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15453 if (!SWIG_IsOK(res1
)) {
15454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15456 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15458 arg2
= wxString_in_helper(obj1
);
15459 if (arg2
== NULL
) SWIG_fail
;
15463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15464 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15465 wxPyEndAllowThreads(__tstate
);
15466 if (PyErr_Occurred()) SWIG_fail
;
15469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15485 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15486 PyObject
*resultobj
= 0;
15487 wxFont
*arg1
= (wxFont
*) 0 ;
15491 PyObject
*swig_obj
[1] ;
15493 if (!args
) SWIG_fail
;
15494 swig_obj
[0] = args
;
15495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15496 if (!SWIG_IsOK(res1
)) {
15497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15499 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15502 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15503 wxPyEndAllowThreads(__tstate
);
15504 if (PyErr_Occurred()) SWIG_fail
;
15508 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15510 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15519 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15520 PyObject
*resultobj
= 0;
15521 wxFont
*arg1
= (wxFont
*) 0 ;
15525 PyObject
*swig_obj
[1] ;
15527 if (!args
) SWIG_fail
;
15528 swig_obj
[0] = args
;
15529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15530 if (!SWIG_IsOK(res1
)) {
15531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15533 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15536 result
= ((wxFont
const *)arg1
)->GetStyleString();
15537 wxPyEndAllowThreads(__tstate
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15542 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15544 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15553 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15554 PyObject
*resultobj
= 0;
15555 wxFont
*arg1
= (wxFont
*) 0 ;
15559 PyObject
*swig_obj
[1] ;
15561 if (!args
) SWIG_fail
;
15562 swig_obj
[0] = args
;
15563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15564 if (!SWIG_IsOK(res1
)) {
15565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15567 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15570 result
= ((wxFont
const *)arg1
)->GetWeightString();
15571 wxPyEndAllowThreads(__tstate
);
15572 if (PyErr_Occurred()) SWIG_fail
;
15576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15587 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15588 PyObject
*resultobj
= 0;
15589 wxFont
*arg1
= (wxFont
*) 0 ;
15590 bool arg2
= (bool) true ;
15595 PyObject
* obj0
= 0 ;
15596 PyObject
* obj1
= 0 ;
15597 char * kwnames
[] = {
15598 (char *) "self",(char *) "no", NULL
15601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15603 if (!SWIG_IsOK(res1
)) {
15604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15606 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15608 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15609 if (!SWIG_IsOK(ecode2
)) {
15610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15612 arg2
= static_cast< bool >(val2
);
15615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 (arg1
)->SetNoAntiAliasing(arg2
);
15617 wxPyEndAllowThreads(__tstate
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15620 resultobj
= SWIG_Py_Void();
15627 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15628 PyObject
*resultobj
= 0;
15629 wxFont
*arg1
= (wxFont
*) 0 ;
15633 PyObject
*swig_obj
[1] ;
15635 if (!args
) SWIG_fail
;
15636 swig_obj
[0] = args
;
15637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15638 if (!SWIG_IsOK(res1
)) {
15639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15641 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15644 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15645 wxPyEndAllowThreads(__tstate
);
15646 if (PyErr_Occurred()) SWIG_fail
;
15649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15657 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15658 PyObject
*resultobj
= 0;
15659 wxFontEncoding result
;
15661 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15663 if (!wxPyCheckForApp()) SWIG_fail
;
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15669 resultobj
= SWIG_From_int(static_cast< int >(result
));
15676 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15677 PyObject
*resultobj
= 0;
15678 wxFontEncoding arg1
;
15681 PyObject
* obj0
= 0 ;
15682 char * kwnames
[] = {
15683 (char *) "encoding", NULL
15686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15687 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15688 if (!SWIG_IsOK(ecode1
)) {
15689 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15691 arg1
= static_cast< wxFontEncoding
>(val1
);
15693 if (!wxPyCheckForApp()) SWIG_fail
;
15694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15695 wxFont::SetDefaultEncoding(arg1
);
15696 wxPyEndAllowThreads(__tstate
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15699 resultobj
= SWIG_Py_Void();
15706 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15708 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15709 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15710 return SWIG_Py_Void();
15713 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15714 return SWIG_Python_InitShadowInstance(args
);
15717 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15718 PyObject
*resultobj
= 0;
15719 wxPyFontEnumerator
*result
= 0 ;
15721 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15723 if (!wxPyCheckForApp()) SWIG_fail
;
15724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15725 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15726 wxPyEndAllowThreads(__tstate
);
15727 if (PyErr_Occurred()) SWIG_fail
;
15729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15736 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15737 PyObject
*resultobj
= 0;
15738 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15741 PyObject
*swig_obj
[1] ;
15743 if (!args
) SWIG_fail
;
15744 swig_obj
[0] = args
;
15745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15746 if (!SWIG_IsOK(res1
)) {
15747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15749 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15754 wxPyEndAllowThreads(__tstate
);
15755 if (PyErr_Occurred()) SWIG_fail
;
15757 resultobj
= SWIG_Py_Void();
15764 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15765 PyObject
*resultobj
= 0;
15766 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15767 PyObject
*arg2
= (PyObject
*) 0 ;
15768 PyObject
*arg3
= (PyObject
*) 0 ;
15774 PyObject
* obj0
= 0 ;
15775 PyObject
* obj1
= 0 ;
15776 PyObject
* obj2
= 0 ;
15777 PyObject
* obj3
= 0 ;
15778 char * kwnames
[] = {
15779 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15784 if (!SWIG_IsOK(res1
)) {
15785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15787 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15790 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15791 if (!SWIG_IsOK(ecode4
)) {
15792 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15794 arg4
= static_cast< bool >(val4
);
15796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15797 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15798 wxPyEndAllowThreads(__tstate
);
15799 if (PyErr_Occurred()) SWIG_fail
;
15801 resultobj
= SWIG_Py_Void();
15808 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15809 PyObject
*resultobj
= 0;
15810 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15811 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15812 bool arg3
= (bool) false ;
15820 PyObject
* obj0
= 0 ;
15821 PyObject
* obj1
= 0 ;
15822 PyObject
* obj2
= 0 ;
15823 char * kwnames
[] = {
15824 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15829 if (!SWIG_IsOK(res1
)) {
15830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15832 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15834 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15835 if (!SWIG_IsOK(ecode2
)) {
15836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15838 arg2
= static_cast< wxFontEncoding
>(val2
);
15841 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15842 if (!SWIG_IsOK(ecode3
)) {
15843 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15845 arg3
= static_cast< bool >(val3
);
15848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15849 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15850 wxPyEndAllowThreads(__tstate
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15862 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15863 PyObject
*resultobj
= 0;
15864 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15865 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15866 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15870 bool temp2
= false ;
15871 PyObject
* obj0
= 0 ;
15872 PyObject
* obj1
= 0 ;
15873 char * kwnames
[] = {
15874 (char *) "self",(char *) "facename", NULL
15877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15879 if (!SWIG_IsOK(res1
)) {
15880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15882 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15885 arg2
= wxString_in_helper(obj1
);
15886 if (arg2
== NULL
) SWIG_fail
;
15891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15892 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15893 wxPyEndAllowThreads(__tstate
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15913 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15914 PyObject
*resultobj
= 0;
15915 PyObject
*result
= 0 ;
15917 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15920 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15921 wxPyEndAllowThreads(__tstate
);
15922 if (PyErr_Occurred()) SWIG_fail
;
15924 resultobj
= result
;
15931 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15932 PyObject
*resultobj
= 0;
15933 PyObject
*result
= 0 ;
15935 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15938 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15939 wxPyEndAllowThreads(__tstate
);
15940 if (PyErr_Occurred()) SWIG_fail
;
15942 resultobj
= result
;
15949 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15950 PyObject
*resultobj
= 0;
15951 wxString
*arg1
= 0 ;
15953 bool temp1
= false ;
15954 PyObject
* obj0
= 0 ;
15955 char * kwnames
[] = {
15956 (char *) "str", NULL
15959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15961 arg1
= wxString_in_helper(obj0
);
15962 if (arg1
== NULL
) SWIG_fail
;
15966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15967 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15968 wxPyEndAllowThreads(__tstate
);
15969 if (PyErr_Occurred()) SWIG_fail
;
15972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15988 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15990 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15991 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15992 return SWIG_Py_Void();
15995 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15996 return SWIG_Python_InitShadowInstance(args
);
15999 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16000 PyObject
*resultobj
= 0;
16001 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16007 PyObject
*swig_obj
[2] ;
16009 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
16010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16011 if (!SWIG_IsOK(res1
)) {
16012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16014 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16015 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16016 if (!SWIG_IsOK(ecode2
)) {
16017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
16019 arg2
= static_cast< int >(val2
);
16020 if (arg1
) (arg1
)->Language
= arg2
;
16022 resultobj
= SWIG_Py_Void();
16029 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16030 PyObject
*resultobj
= 0;
16031 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16035 PyObject
*swig_obj
[1] ;
16037 if (!args
) SWIG_fail
;
16038 swig_obj
[0] = args
;
16039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16040 if (!SWIG_IsOK(res1
)) {
16041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16043 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16044 result
= (int) ((arg1
)->Language
);
16045 resultobj
= SWIG_From_int(static_cast< int >(result
));
16052 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16053 PyObject
*resultobj
= 0;
16054 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16055 wxString
*arg2
= (wxString
*) 0 ;
16058 bool temp2
= false ;
16059 PyObject
*swig_obj
[2] ;
16061 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
16062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16063 if (!SWIG_IsOK(res1
)) {
16064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16066 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16068 arg2
= wxString_in_helper(swig_obj
[1]);
16069 if (arg2
== NULL
) SWIG_fail
;
16072 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
16074 resultobj
= SWIG_Py_Void();
16089 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16090 PyObject
*resultobj
= 0;
16091 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16092 wxString
*result
= 0 ;
16095 PyObject
*swig_obj
[1] ;
16097 if (!args
) SWIG_fail
;
16098 swig_obj
[0] = args
;
16099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16100 if (!SWIG_IsOK(res1
)) {
16101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16103 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16104 result
= (wxString
*)& ((arg1
)->CanonicalName
);
16107 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16109 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16118 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16119 PyObject
*resultobj
= 0;
16120 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16121 wxString
*arg2
= (wxString
*) 0 ;
16124 bool temp2
= false ;
16125 PyObject
*swig_obj
[2] ;
16127 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
16128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16129 if (!SWIG_IsOK(res1
)) {
16130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16132 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16134 arg2
= wxString_in_helper(swig_obj
[1]);
16135 if (arg2
== NULL
) SWIG_fail
;
16138 if (arg1
) (arg1
)->Description
= *arg2
;
16140 resultobj
= SWIG_Py_Void();
16155 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16156 PyObject
*resultobj
= 0;
16157 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16158 wxString
*result
= 0 ;
16161 PyObject
*swig_obj
[1] ;
16163 if (!args
) SWIG_fail
;
16164 swig_obj
[0] = args
;
16165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16166 if (!SWIG_IsOK(res1
)) {
16167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16169 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16170 result
= (wxString
*)& ((arg1
)->Description
);
16173 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16175 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16184 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16186 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16187 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16188 return SWIG_Py_Void();
16191 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16192 PyObject
*resultobj
= 0;
16193 int arg1
= (int) -1 ;
16194 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16195 wxLocale
*result
= 0 ;
16200 PyObject
* obj0
= 0 ;
16201 PyObject
* obj1
= 0 ;
16202 char * kwnames
[] = {
16203 (char *) "language",(char *) "flags", NULL
16206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16208 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16209 if (!SWIG_IsOK(ecode1
)) {
16210 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16212 arg1
= static_cast< int >(val1
);
16215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16216 if (!SWIG_IsOK(ecode2
)) {
16217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16219 arg2
= static_cast< int >(val2
);
16222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16223 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16224 wxPyEndAllowThreads(__tstate
);
16225 if (PyErr_Occurred()) SWIG_fail
;
16227 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16234 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16235 PyObject
*resultobj
= 0;
16236 wxLocale
*arg1
= (wxLocale
*) 0 ;
16239 PyObject
*swig_obj
[1] ;
16241 if (!args
) SWIG_fail
;
16242 swig_obj
[0] = args
;
16243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16244 if (!SWIG_IsOK(res1
)) {
16245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16247 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 wxPyEndAllowThreads(__tstate
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16255 resultobj
= SWIG_Py_Void();
16262 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16263 PyObject
*resultobj
= 0;
16264 wxLocale
*arg1
= (wxLocale
*) 0 ;
16265 wxString
*arg2
= 0 ;
16266 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16267 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16268 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16269 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16270 bool arg5
= (bool) true ;
16271 bool arg6
= (bool) false ;
16275 bool temp2
= false ;
16276 bool temp3
= false ;
16277 bool temp4
= false ;
16282 PyObject
* obj0
= 0 ;
16283 PyObject
* obj1
= 0 ;
16284 PyObject
* obj2
= 0 ;
16285 PyObject
* obj3
= 0 ;
16286 PyObject
* obj4
= 0 ;
16287 PyObject
* obj5
= 0 ;
16288 char * kwnames
[] = {
16289 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16294 if (!SWIG_IsOK(res1
)) {
16295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16297 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16299 arg2
= wxString_in_helper(obj1
);
16300 if (arg2
== NULL
) SWIG_fail
;
16305 arg3
= wxString_in_helper(obj2
);
16306 if (arg3
== NULL
) SWIG_fail
;
16312 arg4
= wxString_in_helper(obj3
);
16313 if (arg4
== NULL
) SWIG_fail
;
16318 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16319 if (!SWIG_IsOK(ecode5
)) {
16320 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16322 arg5
= static_cast< bool >(val5
);
16325 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16326 if (!SWIG_IsOK(ecode6
)) {
16327 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16329 arg6
= static_cast< bool >(val6
);
16332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16333 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16334 wxPyEndAllowThreads(__tstate
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16370 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16371 PyObject
*resultobj
= 0;
16372 wxLocale
*arg1
= (wxLocale
*) 0 ;
16373 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16374 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16382 PyObject
* obj0
= 0 ;
16383 PyObject
* obj1
= 0 ;
16384 PyObject
* obj2
= 0 ;
16385 char * kwnames
[] = {
16386 (char *) "self",(char *) "language",(char *) "flags", NULL
16389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16391 if (!SWIG_IsOK(res1
)) {
16392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16394 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16397 if (!SWIG_IsOK(ecode2
)) {
16398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16400 arg2
= static_cast< int >(val2
);
16403 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16404 if (!SWIG_IsOK(ecode3
)) {
16405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16407 arg3
= static_cast< int >(val3
);
16410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16411 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16412 wxPyEndAllowThreads(__tstate
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16424 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16425 PyObject
*resultobj
= 0;
16428 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16431 result
= (int)wxLocale::GetSystemLanguage();
16432 wxPyEndAllowThreads(__tstate
);
16433 if (PyErr_Occurred()) SWIG_fail
;
16435 resultobj
= SWIG_From_int(static_cast< int >(result
));
16442 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16443 PyObject
*resultobj
= 0;
16444 wxFontEncoding result
;
16446 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16449 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16450 wxPyEndAllowThreads(__tstate
);
16451 if (PyErr_Occurred()) SWIG_fail
;
16453 resultobj
= SWIG_From_int(static_cast< int >(result
));
16460 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16461 PyObject
*resultobj
= 0;
16464 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16467 result
= wxLocale::GetSystemEncodingName();
16468 wxPyEndAllowThreads(__tstate
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16473 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16475 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16484 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16485 PyObject
*resultobj
= 0;
16486 wxLocale
*arg1
= (wxLocale
*) 0 ;
16490 PyObject
*swig_obj
[1] ;
16492 if (!args
) SWIG_fail
;
16493 swig_obj
[0] = args
;
16494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16495 if (!SWIG_IsOK(res1
)) {
16496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16498 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16501 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16502 wxPyEndAllowThreads(__tstate
);
16503 if (PyErr_Occurred()) SWIG_fail
;
16506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16514 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16515 PyObject
*resultobj
= 0;
16516 wxLocale
*arg1
= (wxLocale
*) 0 ;
16520 PyObject
*swig_obj
[1] ;
16522 if (!args
) SWIG_fail
;
16523 swig_obj
[0] = args
;
16524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16525 if (!SWIG_IsOK(res1
)) {
16526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16528 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16531 result
= ((wxLocale
const *)arg1
)->GetLocale();
16532 wxPyEndAllowThreads(__tstate
);
16533 if (PyErr_Occurred()) SWIG_fail
;
16537 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16539 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16548 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16549 PyObject
*resultobj
= 0;
16550 wxLocale
*arg1
= (wxLocale
*) 0 ;
16554 PyObject
*swig_obj
[1] ;
16556 if (!args
) SWIG_fail
;
16557 swig_obj
[0] = args
;
16558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16559 if (!SWIG_IsOK(res1
)) {
16560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16562 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16565 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16566 wxPyEndAllowThreads(__tstate
);
16567 if (PyErr_Occurred()) SWIG_fail
;
16569 resultobj
= SWIG_From_int(static_cast< int >(result
));
16576 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16577 PyObject
*resultobj
= 0;
16578 wxLocale
*arg1
= (wxLocale
*) 0 ;
16582 PyObject
*swig_obj
[1] ;
16584 if (!args
) SWIG_fail
;
16585 swig_obj
[0] = args
;
16586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16587 if (!SWIG_IsOK(res1
)) {
16588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16590 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16593 result
= ((wxLocale
const *)arg1
)->GetSysName();
16594 wxPyEndAllowThreads(__tstate
);
16595 if (PyErr_Occurred()) SWIG_fail
;
16599 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16601 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16610 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16611 PyObject
*resultobj
= 0;
16612 wxLocale
*arg1
= (wxLocale
*) 0 ;
16616 PyObject
*swig_obj
[1] ;
16618 if (!args
) SWIG_fail
;
16619 swig_obj
[0] = args
;
16620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16621 if (!SWIG_IsOK(res1
)) {
16622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16624 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16627 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16628 wxPyEndAllowThreads(__tstate
);
16629 if (PyErr_Occurred()) SWIG_fail
;
16633 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16635 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16644 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16645 PyObject
*resultobj
= 0;
16646 wxString
*arg1
= 0 ;
16647 bool temp1
= false ;
16648 PyObject
* obj0
= 0 ;
16649 char * kwnames
[] = {
16650 (char *) "prefix", NULL
16653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16655 arg1
= wxString_in_helper(obj0
);
16656 if (arg1
== NULL
) SWIG_fail
;
16660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16661 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16662 wxPyEndAllowThreads(__tstate
);
16663 if (PyErr_Occurred()) SWIG_fail
;
16665 resultobj
= SWIG_Py_Void();
16680 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16681 PyObject
*resultobj
= 0;
16682 wxLocale
*arg1
= (wxLocale
*) 0 ;
16683 wxString
*arg2
= 0 ;
16687 bool temp2
= false ;
16688 PyObject
* obj0
= 0 ;
16689 PyObject
* obj1
= 0 ;
16690 char * kwnames
[] = {
16691 (char *) "self",(char *) "szDomain", NULL
16694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16696 if (!SWIG_IsOK(res1
)) {
16697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16699 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16701 arg2
= wxString_in_helper(obj1
);
16702 if (arg2
== NULL
) SWIG_fail
;
16706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16707 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16708 wxPyEndAllowThreads(__tstate
);
16709 if (PyErr_Occurred()) SWIG_fail
;
16712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16728 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16729 PyObject
*resultobj
= 0;
16734 PyObject
* obj0
= 0 ;
16735 char * kwnames
[] = {
16736 (char *) "lang", NULL
16739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16740 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16741 if (!SWIG_IsOK(ecode1
)) {
16742 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16744 arg1
= static_cast< int >(val1
);
16746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16747 result
= (bool)wxLocale::IsAvailable(arg1
);
16748 wxPyEndAllowThreads(__tstate
);
16749 if (PyErr_Occurred()) SWIG_fail
;
16752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16760 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16761 PyObject
*resultobj
= 0;
16762 wxLocale
*arg1
= (wxLocale
*) 0 ;
16763 wxString
*arg2
= 0 ;
16767 bool temp2
= false ;
16768 PyObject
* obj0
= 0 ;
16769 PyObject
* obj1
= 0 ;
16770 char * kwnames
[] = {
16771 (char *) "self",(char *) "szDomain", NULL
16774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16776 if (!SWIG_IsOK(res1
)) {
16777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16779 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16781 arg2
= wxString_in_helper(obj1
);
16782 if (arg2
== NULL
) SWIG_fail
;
16786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16787 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16788 wxPyEndAllowThreads(__tstate
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16808 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16809 PyObject
*resultobj
= 0;
16811 wxLanguageInfo
*result
= 0 ;
16814 PyObject
* obj0
= 0 ;
16815 char * kwnames
[] = {
16816 (char *) "lang", NULL
16819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16820 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16821 if (!SWIG_IsOK(ecode1
)) {
16822 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16824 arg1
= static_cast< int >(val1
);
16826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16827 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16828 wxPyEndAllowThreads(__tstate
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16838 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16839 PyObject
*resultobj
= 0;
16844 PyObject
* obj0
= 0 ;
16845 char * kwnames
[] = {
16846 (char *) "lang", NULL
16849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16850 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16851 if (!SWIG_IsOK(ecode1
)) {
16852 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16854 arg1
= static_cast< int >(val1
);
16856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16857 result
= wxLocale::GetLanguageName(arg1
);
16858 wxPyEndAllowThreads(__tstate
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16874 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16875 PyObject
*resultobj
= 0;
16876 wxString
*arg1
= 0 ;
16877 wxLanguageInfo
*result
= 0 ;
16878 bool temp1
= false ;
16879 PyObject
* obj0
= 0 ;
16880 char * kwnames
[] = {
16881 (char *) "locale", NULL
16884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16886 arg1
= wxString_in_helper(obj0
);
16887 if (arg1
== NULL
) SWIG_fail
;
16891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16892 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16893 wxPyEndAllowThreads(__tstate
);
16894 if (PyErr_Occurred()) SWIG_fail
;
16896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16911 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16912 PyObject
*resultobj
= 0;
16913 wxLanguageInfo
*arg1
= 0 ;
16916 PyObject
* obj0
= 0 ;
16917 char * kwnames
[] = {
16918 (char *) "info", NULL
16921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16922 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16923 if (!SWIG_IsOK(res1
)) {
16924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16927 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16929 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16932 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16933 wxPyEndAllowThreads(__tstate
);
16934 if (PyErr_Occurred()) SWIG_fail
;
16936 resultobj
= SWIG_Py_Void();
16943 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16944 PyObject
*resultobj
= 0;
16945 wxLocale
*arg1
= (wxLocale
*) 0 ;
16946 wxString
*arg2
= 0 ;
16947 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16948 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16952 bool temp2
= false ;
16953 bool temp3
= false ;
16954 PyObject
* obj0
= 0 ;
16955 PyObject
* obj1
= 0 ;
16956 PyObject
* obj2
= 0 ;
16957 char * kwnames
[] = {
16958 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16963 if (!SWIG_IsOK(res1
)) {
16964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16966 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16968 arg2
= wxString_in_helper(obj1
);
16969 if (arg2
== NULL
) SWIG_fail
;
16974 arg3
= wxString_in_helper(obj2
);
16975 if (arg3
== NULL
) SWIG_fail
;
16980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16981 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16982 wxPyEndAllowThreads(__tstate
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16987 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16989 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17014 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17015 PyObject
*resultobj
= 0;
17016 wxLocale
*arg1
= (wxLocale
*) 0 ;
17017 wxString
*result
= 0 ;
17020 PyObject
*swig_obj
[1] ;
17022 if (!args
) SWIG_fail
;
17023 swig_obj
[0] = args
;
17024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17025 if (!SWIG_IsOK(res1
)) {
17026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17028 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17032 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
17033 result
= (wxString
*) &_result_ref
;
17035 wxPyEndAllowThreads(__tstate
);
17036 if (PyErr_Occurred()) SWIG_fail
;
17040 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17042 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17051 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17054 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
17055 return SWIG_Py_Void();
17058 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17059 return SWIG_Python_InitShadowInstance(args
);
17062 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17063 PyObject
*resultobj
= 0;
17064 int arg1
= (int) -1 ;
17065 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
17066 wxPyLocale
*result
= 0 ;
17071 PyObject
* obj0
= 0 ;
17072 PyObject
* obj1
= 0 ;
17073 char * kwnames
[] = {
17074 (char *) "language",(char *) "flags", NULL
17077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17079 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17080 if (!SWIG_IsOK(ecode1
)) {
17081 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
17083 arg1
= static_cast< int >(val1
);
17086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17087 if (!SWIG_IsOK(ecode2
)) {
17088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
17090 arg2
= static_cast< int >(val2
);
17093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17094 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
17095 wxPyEndAllowThreads(__tstate
);
17096 if (PyErr_Occurred()) SWIG_fail
;
17098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
17105 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17106 PyObject
*resultobj
= 0;
17107 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17110 PyObject
*swig_obj
[1] ;
17112 if (!args
) SWIG_fail
;
17113 swig_obj
[0] = args
;
17114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
17115 if (!SWIG_IsOK(res1
)) {
17116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17118 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 wxPyEndAllowThreads(__tstate
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17126 resultobj
= SWIG_Py_Void();
17133 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17134 PyObject
*resultobj
= 0;
17135 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17136 PyObject
*arg2
= (PyObject
*) 0 ;
17137 PyObject
*arg3
= (PyObject
*) 0 ;
17140 PyObject
* obj0
= 0 ;
17141 PyObject
* obj1
= 0 ;
17142 PyObject
* obj2
= 0 ;
17143 char * kwnames
[] = {
17144 (char *) "self",(char *) "self",(char *) "_class", NULL
17147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17149 if (!SWIG_IsOK(res1
)) {
17150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17152 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17157 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17158 wxPyEndAllowThreads(__tstate
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17161 resultobj
= SWIG_Py_Void();
17168 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17169 PyObject
*resultobj
= 0;
17170 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17171 wxChar
*arg2
= (wxChar
*) 0 ;
17172 wxChar
*arg3
= (wxChar
*) NULL
;
17173 wxChar
*result
= 0 ;
17180 PyObject
* obj0
= 0 ;
17181 PyObject
* obj1
= 0 ;
17182 PyObject
* obj2
= 0 ;
17183 char * kwnames
[] = {
17184 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17189 if (!SWIG_IsOK(res1
)) {
17190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17192 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17193 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17194 if (!SWIG_IsOK(res2
)) {
17195 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
17197 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17199 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17200 if (!SWIG_IsOK(res3
)) {
17201 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
17203 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17207 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
17208 wxPyEndAllowThreads(__tstate
);
17209 if (PyErr_Occurred()) SWIG_fail
;
17211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17218 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17219 PyObject
*resultobj
= 0;
17220 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17221 wxChar
*arg2
= (wxChar
*) 0 ;
17222 wxChar
*arg3
= (wxChar
*) 0 ;
17224 wxChar
*arg5
= (wxChar
*) NULL
;
17225 wxChar
*result
= 0 ;
17236 PyObject
* obj0
= 0 ;
17237 PyObject
* obj1
= 0 ;
17238 PyObject
* obj2
= 0 ;
17239 PyObject
* obj3
= 0 ;
17240 PyObject
* obj4
= 0 ;
17241 char * kwnames
[] = {
17242 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
17245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17247 if (!SWIG_IsOK(res1
)) {
17248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17250 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17251 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17252 if (!SWIG_IsOK(res2
)) {
17253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
17255 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17256 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17257 if (!SWIG_IsOK(res3
)) {
17258 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
17260 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17261 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17262 if (!SWIG_IsOK(ecode4
)) {
17263 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17265 arg4
= static_cast< size_t >(val4
);
17267 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
17268 if (!SWIG_IsOK(res5
)) {
17269 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
17271 arg5
= reinterpret_cast< wxChar
* >(argp5
);
17274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17275 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
17276 wxPyEndAllowThreads(__tstate
);
17277 if (PyErr_Occurred()) SWIG_fail
;
17279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17286 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17288 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17289 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17290 return SWIG_Py_Void();
17293 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17294 return SWIG_Python_InitShadowInstance(args
);
17297 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17298 PyObject
*resultobj
= 0;
17299 wxLocale
*result
= 0 ;
17301 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17304 result
= (wxLocale
*)wxGetLocale();
17305 wxPyEndAllowThreads(__tstate
);
17306 if (PyErr_Occurred()) SWIG_fail
;
17308 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17315 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17316 PyObject
*resultobj
= 0;
17317 wxString
*arg1
= 0 ;
17319 bool temp1
= false ;
17321 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17323 arg1
= wxString_in_helper(swig_obj
[0]);
17324 if (arg1
== NULL
) SWIG_fail
;
17328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17329 result
= wxGetTranslation((wxString
const &)*arg1
);
17330 wxPyEndAllowThreads(__tstate
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17335 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17337 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17354 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17355 PyObject
*resultobj
= 0;
17356 wxString
*arg1
= 0 ;
17357 wxString
*arg2
= 0 ;
17359 bool temp1
= false ;
17360 bool temp2
= false ;
17362 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17364 arg1
= wxString_in_helper(swig_obj
[0]);
17365 if (arg1
== NULL
) SWIG_fail
;
17369 arg2
= wxString_in_helper(swig_obj
[1]);
17370 if (arg2
== NULL
) SWIG_fail
;
17374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17375 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17376 wxPyEndAllowThreads(__tstate
);
17377 if (PyErr_Occurred()) SWIG_fail
;
17381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17408 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17409 PyObject
*resultobj
= 0;
17410 wxString
*arg1
= 0 ;
17411 wxString
*arg2
= 0 ;
17414 bool temp1
= false ;
17415 bool temp2
= false ;
17419 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17421 arg1
= wxString_in_helper(swig_obj
[0]);
17422 if (arg1
== NULL
) SWIG_fail
;
17426 arg2
= wxString_in_helper(swig_obj
[1]);
17427 if (arg2
== NULL
) SWIG_fail
;
17430 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17431 if (!SWIG_IsOK(ecode3
)) {
17432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17434 arg3
= static_cast< size_t >(val3
);
17436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17437 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17438 wxPyEndAllowThreads(__tstate
);
17439 if (PyErr_Occurred()) SWIG_fail
;
17443 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17445 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17470 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17471 PyObject
*resultobj
= 0;
17472 wxString
*arg1
= 0 ;
17473 wxString
*arg2
= 0 ;
17475 wxString
*arg4
= 0 ;
17477 bool temp1
= false ;
17478 bool temp2
= false ;
17481 bool temp4
= false ;
17483 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17485 arg1
= wxString_in_helper(swig_obj
[0]);
17486 if (arg1
== NULL
) SWIG_fail
;
17490 arg2
= wxString_in_helper(swig_obj
[1]);
17491 if (arg2
== NULL
) SWIG_fail
;
17494 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17495 if (!SWIG_IsOK(ecode3
)) {
17496 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17498 arg3
= static_cast< size_t >(val3
);
17500 arg4
= wxString_in_helper(swig_obj
[3]);
17501 if (arg4
== NULL
) SWIG_fail
;
17505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17506 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17507 wxPyEndAllowThreads(__tstate
);
17508 if (PyErr_Occurred()) SWIG_fail
;
17512 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17514 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17547 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17551 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17554 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17557 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17560 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17563 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17567 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17572 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17573 PyObject
*resultobj
= 0;
17574 wxEncodingConverter
*result
= 0 ;
17576 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17579 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17590 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17591 PyObject
*resultobj
= 0;
17592 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17595 PyObject
*swig_obj
[1] ;
17597 if (!args
) SWIG_fail
;
17598 swig_obj
[0] = args
;
17599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17600 if (!SWIG_IsOK(res1
)) {
17601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17603 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17608 wxPyEndAllowThreads(__tstate
);
17609 if (PyErr_Occurred()) SWIG_fail
;
17611 resultobj
= SWIG_Py_Void();
17618 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17619 PyObject
*resultobj
= 0;
17620 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17621 wxFontEncoding arg2
;
17622 wxFontEncoding arg3
;
17623 int arg4
= (int) wxCONVERT_STRICT
;
17633 PyObject
* obj0
= 0 ;
17634 PyObject
* obj1
= 0 ;
17635 PyObject
* obj2
= 0 ;
17636 PyObject
* obj3
= 0 ;
17637 char * kwnames
[] = {
17638 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17643 if (!SWIG_IsOK(res1
)) {
17644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17646 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17648 if (!SWIG_IsOK(ecode2
)) {
17649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17651 arg2
= static_cast< wxFontEncoding
>(val2
);
17652 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17653 if (!SWIG_IsOK(ecode3
)) {
17654 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17656 arg3
= static_cast< wxFontEncoding
>(val3
);
17658 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17659 if (!SWIG_IsOK(ecode4
)) {
17660 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17662 arg4
= static_cast< int >(val4
);
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17667 wxPyEndAllowThreads(__tstate
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17679 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17680 PyObject
*resultobj
= 0;
17681 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17682 wxString
*arg2
= 0 ;
17686 bool temp2
= false ;
17687 PyObject
* obj0
= 0 ;
17688 PyObject
* obj1
= 0 ;
17689 char * kwnames
[] = {
17690 (char *) "self",(char *) "input", NULL
17693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17695 if (!SWIG_IsOK(res1
)) {
17696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17698 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17700 arg2
= wxString_in_helper(obj1
);
17701 if (arg2
== NULL
) SWIG_fail
;
17705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17706 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17707 wxPyEndAllowThreads(__tstate
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17712 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17714 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17731 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17732 PyObject
*resultobj
= 0;
17733 wxFontEncoding arg1
;
17734 int arg2
= (int) wxPLATFORM_CURRENT
;
17735 wxFontEncodingArray result
;
17740 PyObject
* obj0
= 0 ;
17741 PyObject
* obj1
= 0 ;
17742 char * kwnames
[] = {
17743 (char *) "enc",(char *) "platform", NULL
17746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17747 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17748 if (!SWIG_IsOK(ecode1
)) {
17749 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17751 arg1
= static_cast< wxFontEncoding
>(val1
);
17753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17754 if (!SWIG_IsOK(ecode2
)) {
17755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17757 arg2
= static_cast< int >(val2
);
17760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17761 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17762 wxPyEndAllowThreads(__tstate
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17766 resultobj
= PyList_New(0);
17767 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17768 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17769 PyList_Append(resultobj
, number
);
17779 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17780 PyObject
*resultobj
= 0;
17781 wxFontEncoding arg1
;
17782 wxFontEncodingArray result
;
17785 PyObject
* obj0
= 0 ;
17786 char * kwnames
[] = {
17787 (char *) "enc", NULL
17790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17791 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17792 if (!SWIG_IsOK(ecode1
)) {
17793 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17795 arg1
= static_cast< wxFontEncoding
>(val1
);
17797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17798 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17799 wxPyEndAllowThreads(__tstate
);
17800 if (PyErr_Occurred()) SWIG_fail
;
17803 resultobj
= PyList_New(0);
17804 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17805 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17806 PyList_Append(resultobj
, number
);
17816 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17817 PyObject
*resultobj
= 0;
17818 wxFontEncoding arg1
;
17819 wxFontEncoding arg2
;
17825 PyObject
* obj0
= 0 ;
17826 PyObject
* obj1
= 0 ;
17827 char * kwnames
[] = {
17828 (char *) "encIn",(char *) "encOut", NULL
17831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17832 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17833 if (!SWIG_IsOK(ecode1
)) {
17834 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17836 arg1
= static_cast< wxFontEncoding
>(val1
);
17837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17838 if (!SWIG_IsOK(ecode2
)) {
17839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17841 arg2
= static_cast< wxFontEncoding
>(val2
);
17843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17844 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17845 wxPyEndAllowThreads(__tstate
);
17846 if (PyErr_Occurred()) SWIG_fail
;
17849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17857 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17859 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17860 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17861 return SWIG_Py_Void();
17864 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17865 return SWIG_Python_InitShadowInstance(args
);
17868 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17869 PyObject
*resultobj
= 0;
17870 wxDC
*arg1
= (wxDC
*) 0 ;
17873 PyObject
*swig_obj
[1] ;
17875 if (!args
) SWIG_fail
;
17876 swig_obj
[0] = args
;
17877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17878 if (!SWIG_IsOK(res1
)) {
17879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17881 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17886 wxPyEndAllowThreads(__tstate
);
17887 if (PyErr_Occurred()) SWIG_fail
;
17889 resultobj
= SWIG_Py_Void();
17896 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17897 PyObject
*resultobj
= 0;
17898 wxDC
*arg1
= (wxDC
*) 0 ;
17901 wxColour
*arg4
= 0 ;
17902 int arg5
= (int) wxFLOOD_SURFACE
;
17913 PyObject
* obj0
= 0 ;
17914 PyObject
* obj1
= 0 ;
17915 PyObject
* obj2
= 0 ;
17916 PyObject
* obj3
= 0 ;
17917 PyObject
* obj4
= 0 ;
17918 char * kwnames
[] = {
17919 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17924 if (!SWIG_IsOK(res1
)) {
17925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17927 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17929 if (!SWIG_IsOK(ecode2
)) {
17930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17932 arg2
= static_cast< int >(val2
);
17933 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17934 if (!SWIG_IsOK(ecode3
)) {
17935 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17937 arg3
= static_cast< int >(val3
);
17940 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17943 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17944 if (!SWIG_IsOK(ecode5
)) {
17945 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17947 arg5
= static_cast< int >(val5
);
17950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17951 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17952 wxPyEndAllowThreads(__tstate
);
17953 if (PyErr_Occurred()) SWIG_fail
;
17956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17964 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17965 PyObject
*resultobj
= 0;
17966 wxDC
*arg1
= (wxDC
*) 0 ;
17967 wxPoint
*arg2
= 0 ;
17968 wxColour
*arg3
= 0 ;
17969 int arg4
= (int) wxFLOOD_SURFACE
;
17977 PyObject
* obj0
= 0 ;
17978 PyObject
* obj1
= 0 ;
17979 PyObject
* obj2
= 0 ;
17980 PyObject
* obj3
= 0 ;
17981 char * kwnames
[] = {
17982 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17987 if (!SWIG_IsOK(res1
)) {
17988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17990 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17993 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17997 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18000 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18001 if (!SWIG_IsOK(ecode4
)) {
18002 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
18004 arg4
= static_cast< int >(val4
);
18007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18008 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
18009 wxPyEndAllowThreads(__tstate
);
18010 if (PyErr_Occurred()) SWIG_fail
;
18013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18021 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18022 PyObject
*resultobj
= 0;
18023 wxDC
*arg1
= (wxDC
*) 0 ;
18025 wxColour
*arg3
= 0 ;
18026 wxColour
*arg4
= 0 ;
18027 wxPoint
*arg5
= 0 ;
18034 PyObject
* obj0
= 0 ;
18035 PyObject
* obj1
= 0 ;
18036 PyObject
* obj2
= 0 ;
18037 PyObject
* obj3
= 0 ;
18038 PyObject
* obj4
= 0 ;
18039 char * kwnames
[] = {
18040 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
18043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18045 if (!SWIG_IsOK(res1
)) {
18046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
18048 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18051 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18055 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18059 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18063 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18067 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 resultobj
= SWIG_Py_Void();
18078 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18079 PyObject
*resultobj
= 0;
18080 wxDC
*arg1
= (wxDC
*) 0 ;
18082 wxColour
*arg3
= 0 ;
18083 wxColour
*arg4
= 0 ;
18084 wxDirection arg5
= (wxDirection
) wxEAST
;
18092 PyObject
* obj0
= 0 ;
18093 PyObject
* obj1
= 0 ;
18094 PyObject
* obj2
= 0 ;
18095 PyObject
* obj3
= 0 ;
18096 PyObject
* obj4
= 0 ;
18097 char * kwnames
[] = {
18098 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18103 if (!SWIG_IsOK(res1
)) {
18104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18106 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18109 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18113 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18117 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18120 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18121 if (!SWIG_IsOK(ecode5
)) {
18122 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18124 arg5
= static_cast< wxDirection
>(val5
);
18127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18128 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18129 wxPyEndAllowThreads(__tstate
);
18130 if (PyErr_Occurred()) SWIG_fail
;
18132 resultobj
= SWIG_Py_Void();
18139 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18140 PyObject
*resultobj
= 0;
18141 wxDC
*arg1
= (wxDC
*) 0 ;
18151 PyObject
* obj0
= 0 ;
18152 PyObject
* obj1
= 0 ;
18153 PyObject
* obj2
= 0 ;
18154 char * kwnames
[] = {
18155 (char *) "self",(char *) "x",(char *) "y", NULL
18158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18160 if (!SWIG_IsOK(res1
)) {
18161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18163 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18165 if (!SWIG_IsOK(ecode2
)) {
18166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18168 arg2
= static_cast< int >(val2
);
18169 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18170 if (!SWIG_IsOK(ecode3
)) {
18171 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18173 arg3
= static_cast< int >(val3
);
18175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18176 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18180 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18187 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18188 PyObject
*resultobj
= 0;
18189 wxDC
*arg1
= (wxDC
*) 0 ;
18190 wxPoint
*arg2
= 0 ;
18195 PyObject
* obj0
= 0 ;
18196 PyObject
* obj1
= 0 ;
18197 char * kwnames
[] = {
18198 (char *) "self",(char *) "pt", NULL
18201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18203 if (!SWIG_IsOK(res1
)) {
18204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18206 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18209 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18213 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18214 wxPyEndAllowThreads(__tstate
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18217 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18224 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18225 PyObject
*resultobj
= 0;
18226 wxDC
*arg1
= (wxDC
*) 0 ;
18241 PyObject
* obj0
= 0 ;
18242 PyObject
* obj1
= 0 ;
18243 PyObject
* obj2
= 0 ;
18244 PyObject
* obj3
= 0 ;
18245 PyObject
* obj4
= 0 ;
18246 char * kwnames
[] = {
18247 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18252 if (!SWIG_IsOK(res1
)) {
18253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18255 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18257 if (!SWIG_IsOK(ecode2
)) {
18258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18260 arg2
= static_cast< int >(val2
);
18261 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18262 if (!SWIG_IsOK(ecode3
)) {
18263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18265 arg3
= static_cast< int >(val3
);
18266 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18267 if (!SWIG_IsOK(ecode4
)) {
18268 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18270 arg4
= static_cast< int >(val4
);
18271 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18272 if (!SWIG_IsOK(ecode5
)) {
18273 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18275 arg5
= static_cast< int >(val5
);
18277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18278 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18279 wxPyEndAllowThreads(__tstate
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18282 resultobj
= SWIG_Py_Void();
18289 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18290 PyObject
*resultobj
= 0;
18291 wxDC
*arg1
= (wxDC
*) 0 ;
18292 wxPoint
*arg2
= 0 ;
18293 wxPoint
*arg3
= 0 ;
18298 PyObject
* obj0
= 0 ;
18299 PyObject
* obj1
= 0 ;
18300 PyObject
* obj2
= 0 ;
18301 char * kwnames
[] = {
18302 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18307 if (!SWIG_IsOK(res1
)) {
18308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18310 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18313 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18317 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18321 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18322 wxPyEndAllowThreads(__tstate
);
18323 if (PyErr_Occurred()) SWIG_fail
;
18325 resultobj
= SWIG_Py_Void();
18332 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18333 PyObject
*resultobj
= 0;
18334 wxDC
*arg1
= (wxDC
*) 0 ;
18343 PyObject
* obj0
= 0 ;
18344 PyObject
* obj1
= 0 ;
18345 PyObject
* obj2
= 0 ;
18346 char * kwnames
[] = {
18347 (char *) "self",(char *) "x",(char *) "y", NULL
18350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18352 if (!SWIG_IsOK(res1
)) {
18353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18355 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18357 if (!SWIG_IsOK(ecode2
)) {
18358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18360 arg2
= static_cast< int >(val2
);
18361 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18362 if (!SWIG_IsOK(ecode3
)) {
18363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18365 arg3
= static_cast< int >(val3
);
18367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18368 (arg1
)->CrossHair(arg2
,arg3
);
18369 wxPyEndAllowThreads(__tstate
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18372 resultobj
= SWIG_Py_Void();
18379 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18380 PyObject
*resultobj
= 0;
18381 wxDC
*arg1
= (wxDC
*) 0 ;
18382 wxPoint
*arg2
= 0 ;
18386 PyObject
* obj0
= 0 ;
18387 PyObject
* obj1
= 0 ;
18388 char * kwnames
[] = {
18389 (char *) "self",(char *) "pt", NULL
18392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18394 if (!SWIG_IsOK(res1
)) {
18395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18397 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18400 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18404 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18405 wxPyEndAllowThreads(__tstate
);
18406 if (PyErr_Occurred()) SWIG_fail
;
18408 resultobj
= SWIG_Py_Void();
18415 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18416 PyObject
*resultobj
= 0;
18417 wxDC
*arg1
= (wxDC
*) 0 ;
18438 PyObject
* obj0
= 0 ;
18439 PyObject
* obj1
= 0 ;
18440 PyObject
* obj2
= 0 ;
18441 PyObject
* obj3
= 0 ;
18442 PyObject
* obj4
= 0 ;
18443 PyObject
* obj5
= 0 ;
18444 PyObject
* obj6
= 0 ;
18445 char * kwnames
[] = {
18446 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18451 if (!SWIG_IsOK(res1
)) {
18452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18454 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18456 if (!SWIG_IsOK(ecode2
)) {
18457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18459 arg2
= static_cast< int >(val2
);
18460 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18461 if (!SWIG_IsOK(ecode3
)) {
18462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18464 arg3
= static_cast< int >(val3
);
18465 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18466 if (!SWIG_IsOK(ecode4
)) {
18467 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18469 arg4
= static_cast< int >(val4
);
18470 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18471 if (!SWIG_IsOK(ecode5
)) {
18472 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18474 arg5
= static_cast< int >(val5
);
18475 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18476 if (!SWIG_IsOK(ecode6
)) {
18477 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18479 arg6
= static_cast< int >(val6
);
18480 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18481 if (!SWIG_IsOK(ecode7
)) {
18482 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18484 arg7
= static_cast< int >(val7
);
18486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18487 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18488 wxPyEndAllowThreads(__tstate
);
18489 if (PyErr_Occurred()) SWIG_fail
;
18491 resultobj
= SWIG_Py_Void();
18498 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18499 PyObject
*resultobj
= 0;
18500 wxDC
*arg1
= (wxDC
*) 0 ;
18501 wxPoint
*arg2
= 0 ;
18502 wxPoint
*arg3
= 0 ;
18503 wxPoint
*arg4
= 0 ;
18509 PyObject
* obj0
= 0 ;
18510 PyObject
* obj1
= 0 ;
18511 PyObject
* obj2
= 0 ;
18512 PyObject
* obj3
= 0 ;
18513 char * kwnames
[] = {
18514 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18519 if (!SWIG_IsOK(res1
)) {
18520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18522 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18525 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18529 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18533 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18537 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18538 wxPyEndAllowThreads(__tstate
);
18539 if (PyErr_Occurred()) SWIG_fail
;
18541 resultobj
= SWIG_Py_Void();
18548 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18549 PyObject
*resultobj
= 0;
18550 wxDC
*arg1
= (wxDC
*) 0 ;
18565 PyObject
* obj0
= 0 ;
18566 PyObject
* obj1
= 0 ;
18567 PyObject
* obj2
= 0 ;
18568 PyObject
* obj3
= 0 ;
18569 PyObject
* obj4
= 0 ;
18570 char * kwnames
[] = {
18571 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18576 if (!SWIG_IsOK(res1
)) {
18577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18579 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18581 if (!SWIG_IsOK(ecode2
)) {
18582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18584 arg2
= static_cast< int >(val2
);
18585 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18586 if (!SWIG_IsOK(ecode3
)) {
18587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18589 arg3
= static_cast< int >(val3
);
18590 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18591 if (!SWIG_IsOK(ecode4
)) {
18592 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18594 arg4
= static_cast< int >(val4
);
18595 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18596 if (!SWIG_IsOK(ecode5
)) {
18597 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18599 arg5
= static_cast< int >(val5
);
18601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18602 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18603 wxPyEndAllowThreads(__tstate
);
18604 if (PyErr_Occurred()) SWIG_fail
;
18606 resultobj
= SWIG_Py_Void();
18613 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18614 PyObject
*resultobj
= 0;
18615 wxDC
*arg1
= (wxDC
*) 0 ;
18620 PyObject
* obj0
= 0 ;
18621 PyObject
* obj1
= 0 ;
18622 char * kwnames
[] = {
18623 (char *) "self",(char *) "rect", NULL
18626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18628 if (!SWIG_IsOK(res1
)) {
18629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18631 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18634 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18638 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18639 wxPyEndAllowThreads(__tstate
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18642 resultobj
= SWIG_Py_Void();
18649 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18650 PyObject
*resultobj
= 0;
18651 wxDC
*arg1
= (wxDC
*) 0 ;
18672 PyObject
* obj0
= 0 ;
18673 PyObject
* obj1
= 0 ;
18674 PyObject
* obj2
= 0 ;
18675 PyObject
* obj3
= 0 ;
18676 PyObject
* obj4
= 0 ;
18677 PyObject
* obj5
= 0 ;
18678 PyObject
* obj6
= 0 ;
18679 char * kwnames
[] = {
18680 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18685 if (!SWIG_IsOK(res1
)) {
18686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18688 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18690 if (!SWIG_IsOK(ecode2
)) {
18691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18693 arg2
= static_cast< int >(val2
);
18694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18695 if (!SWIG_IsOK(ecode3
)) {
18696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18698 arg3
= static_cast< int >(val3
);
18699 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18700 if (!SWIG_IsOK(ecode4
)) {
18701 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18703 arg4
= static_cast< int >(val4
);
18704 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18705 if (!SWIG_IsOK(ecode5
)) {
18706 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18708 arg5
= static_cast< int >(val5
);
18709 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18710 if (!SWIG_IsOK(ecode6
)) {
18711 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18713 arg6
= static_cast< double >(val6
);
18714 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18715 if (!SWIG_IsOK(ecode7
)) {
18716 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18718 arg7
= static_cast< double >(val7
);
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18722 wxPyEndAllowThreads(__tstate
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18725 resultobj
= SWIG_Py_Void();
18732 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
= 0;
18734 wxDC
*arg1
= (wxDC
*) 0 ;
18735 wxPoint
*arg2
= 0 ;
18747 PyObject
* obj0
= 0 ;
18748 PyObject
* obj1
= 0 ;
18749 PyObject
* obj2
= 0 ;
18750 PyObject
* obj3
= 0 ;
18751 PyObject
* obj4
= 0 ;
18752 char * kwnames
[] = {
18753 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18758 if (!SWIG_IsOK(res1
)) {
18759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18761 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18764 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18768 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18770 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18771 if (!SWIG_IsOK(ecode4
)) {
18772 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18774 arg4
= static_cast< double >(val4
);
18775 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18776 if (!SWIG_IsOK(ecode5
)) {
18777 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18779 arg5
= static_cast< double >(val5
);
18781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18782 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18783 wxPyEndAllowThreads(__tstate
);
18784 if (PyErr_Occurred()) SWIG_fail
;
18786 resultobj
= SWIG_Py_Void();
18793 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18794 PyObject
*resultobj
= 0;
18795 wxDC
*arg1
= (wxDC
*) 0 ;
18804 PyObject
* obj0
= 0 ;
18805 PyObject
* obj1
= 0 ;
18806 PyObject
* obj2
= 0 ;
18807 char * kwnames
[] = {
18808 (char *) "self",(char *) "x",(char *) "y", NULL
18811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18813 if (!SWIG_IsOK(res1
)) {
18814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18816 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18818 if (!SWIG_IsOK(ecode2
)) {
18819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18821 arg2
= static_cast< int >(val2
);
18822 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18823 if (!SWIG_IsOK(ecode3
)) {
18824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18826 arg3
= static_cast< int >(val3
);
18828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18829 (arg1
)->DrawPoint(arg2
,arg3
);
18830 wxPyEndAllowThreads(__tstate
);
18831 if (PyErr_Occurred()) SWIG_fail
;
18833 resultobj
= SWIG_Py_Void();
18840 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18841 PyObject
*resultobj
= 0;
18842 wxDC
*arg1
= (wxDC
*) 0 ;
18843 wxPoint
*arg2
= 0 ;
18847 PyObject
* obj0
= 0 ;
18848 PyObject
* obj1
= 0 ;
18849 char * kwnames
[] = {
18850 (char *) "self",(char *) "pt", NULL
18853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18855 if (!SWIG_IsOK(res1
)) {
18856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18858 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18861 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18865 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18866 wxPyEndAllowThreads(__tstate
);
18867 if (PyErr_Occurred()) SWIG_fail
;
18869 resultobj
= SWIG_Py_Void();
18876 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18877 PyObject
*resultobj
= 0;
18878 wxDC
*arg1
= (wxDC
*) 0 ;
18893 PyObject
* obj0
= 0 ;
18894 PyObject
* obj1
= 0 ;
18895 PyObject
* obj2
= 0 ;
18896 PyObject
* obj3
= 0 ;
18897 PyObject
* obj4
= 0 ;
18898 char * kwnames
[] = {
18899 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18904 if (!SWIG_IsOK(res1
)) {
18905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18907 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18909 if (!SWIG_IsOK(ecode2
)) {
18910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18912 arg2
= static_cast< int >(val2
);
18913 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18914 if (!SWIG_IsOK(ecode3
)) {
18915 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18917 arg3
= static_cast< int >(val3
);
18918 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18919 if (!SWIG_IsOK(ecode4
)) {
18920 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18922 arg4
= static_cast< int >(val4
);
18923 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18924 if (!SWIG_IsOK(ecode5
)) {
18925 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18927 arg5
= static_cast< int >(val5
);
18929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18930 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18931 wxPyEndAllowThreads(__tstate
);
18932 if (PyErr_Occurred()) SWIG_fail
;
18934 resultobj
= SWIG_Py_Void();
18941 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18942 PyObject
*resultobj
= 0;
18943 wxDC
*arg1
= (wxDC
*) 0 ;
18948 PyObject
* obj0
= 0 ;
18949 PyObject
* obj1
= 0 ;
18950 char * kwnames
[] = {
18951 (char *) "self",(char *) "rect", NULL
18954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18956 if (!SWIG_IsOK(res1
)) {
18957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18959 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18962 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18966 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18967 wxPyEndAllowThreads(__tstate
);
18968 if (PyErr_Occurred()) SWIG_fail
;
18970 resultobj
= SWIG_Py_Void();
18977 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18978 PyObject
*resultobj
= 0;
18979 wxDC
*arg1
= (wxDC
*) 0 ;
18980 wxPoint
*arg2
= 0 ;
18986 PyObject
* obj0
= 0 ;
18987 PyObject
* obj1
= 0 ;
18988 PyObject
* obj2
= 0 ;
18989 char * kwnames
[] = {
18990 (char *) "self",(char *) "pt",(char *) "sz", NULL
18993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18995 if (!SWIG_IsOK(res1
)) {
18996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18998 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19001 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19005 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19009 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19010 wxPyEndAllowThreads(__tstate
);
19011 if (PyErr_Occurred()) SWIG_fail
;
19013 resultobj
= SWIG_Py_Void();
19020 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19021 PyObject
*resultobj
= 0;
19022 wxDC
*arg1
= (wxDC
*) 0 ;
19040 PyObject
* obj0
= 0 ;
19041 PyObject
* obj1
= 0 ;
19042 PyObject
* obj2
= 0 ;
19043 PyObject
* obj3
= 0 ;
19044 PyObject
* obj4
= 0 ;
19045 PyObject
* obj5
= 0 ;
19046 char * kwnames
[] = {
19047 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
19050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19052 if (!SWIG_IsOK(res1
)) {
19053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19055 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19057 if (!SWIG_IsOK(ecode2
)) {
19058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
19060 arg2
= static_cast< int >(val2
);
19061 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19062 if (!SWIG_IsOK(ecode3
)) {
19063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
19065 arg3
= static_cast< int >(val3
);
19066 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19067 if (!SWIG_IsOK(ecode4
)) {
19068 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
19070 arg4
= static_cast< int >(val4
);
19071 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19072 if (!SWIG_IsOK(ecode5
)) {
19073 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
19075 arg5
= static_cast< int >(val5
);
19076 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19077 if (!SWIG_IsOK(ecode6
)) {
19078 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
19080 arg6
= static_cast< double >(val6
);
19082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19083 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
19084 wxPyEndAllowThreads(__tstate
);
19085 if (PyErr_Occurred()) SWIG_fail
;
19087 resultobj
= SWIG_Py_Void();
19094 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19095 PyObject
*resultobj
= 0;
19096 wxDC
*arg1
= (wxDC
*) 0 ;
19104 PyObject
* obj0
= 0 ;
19105 PyObject
* obj1
= 0 ;
19106 PyObject
* obj2
= 0 ;
19107 char * kwnames
[] = {
19108 (char *) "self",(char *) "r",(char *) "radius", NULL
19111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19113 if (!SWIG_IsOK(res1
)) {
19114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19116 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19119 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19121 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19122 if (!SWIG_IsOK(ecode3
)) {
19123 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19125 arg3
= static_cast< double >(val3
);
19127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19128 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19129 wxPyEndAllowThreads(__tstate
);
19130 if (PyErr_Occurred()) SWIG_fail
;
19132 resultobj
= SWIG_Py_Void();
19139 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19140 PyObject
*resultobj
= 0;
19141 wxDC
*arg1
= (wxDC
*) 0 ;
19142 wxPoint
*arg2
= 0 ;
19151 PyObject
* obj0
= 0 ;
19152 PyObject
* obj1
= 0 ;
19153 PyObject
* obj2
= 0 ;
19154 PyObject
* obj3
= 0 ;
19155 char * kwnames
[] = {
19156 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19161 if (!SWIG_IsOK(res1
)) {
19162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19164 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19167 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19171 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19173 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19174 if (!SWIG_IsOK(ecode4
)) {
19175 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19177 arg4
= static_cast< double >(val4
);
19179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19180 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19181 wxPyEndAllowThreads(__tstate
);
19182 if (PyErr_Occurred()) SWIG_fail
;
19184 resultobj
= SWIG_Py_Void();
19191 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19192 PyObject
*resultobj
= 0;
19193 wxDC
*arg1
= (wxDC
*) 0 ;
19205 PyObject
* obj0
= 0 ;
19206 PyObject
* obj1
= 0 ;
19207 PyObject
* obj2
= 0 ;
19208 PyObject
* obj3
= 0 ;
19209 char * kwnames
[] = {
19210 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19215 if (!SWIG_IsOK(res1
)) {
19216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19218 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19220 if (!SWIG_IsOK(ecode2
)) {
19221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19223 arg2
= static_cast< int >(val2
);
19224 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19225 if (!SWIG_IsOK(ecode3
)) {
19226 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19228 arg3
= static_cast< int >(val3
);
19229 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19230 if (!SWIG_IsOK(ecode4
)) {
19231 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19233 arg4
= static_cast< int >(val4
);
19235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19236 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19237 wxPyEndAllowThreads(__tstate
);
19238 if (PyErr_Occurred()) SWIG_fail
;
19240 resultobj
= SWIG_Py_Void();
19247 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19248 PyObject
*resultobj
= 0;
19249 wxDC
*arg1
= (wxDC
*) 0 ;
19250 wxPoint
*arg2
= 0 ;
19257 PyObject
* obj0
= 0 ;
19258 PyObject
* obj1
= 0 ;
19259 PyObject
* obj2
= 0 ;
19260 char * kwnames
[] = {
19261 (char *) "self",(char *) "pt",(char *) "radius", NULL
19264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19266 if (!SWIG_IsOK(res1
)) {
19267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19269 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19272 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19274 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19275 if (!SWIG_IsOK(ecode3
)) {
19276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19278 arg3
= static_cast< int >(val3
);
19280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19281 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19282 wxPyEndAllowThreads(__tstate
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19285 resultobj
= SWIG_Py_Void();
19292 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19293 PyObject
*resultobj
= 0;
19294 wxDC
*arg1
= (wxDC
*) 0 ;
19309 PyObject
* obj0
= 0 ;
19310 PyObject
* obj1
= 0 ;
19311 PyObject
* obj2
= 0 ;
19312 PyObject
* obj3
= 0 ;
19313 PyObject
* obj4
= 0 ;
19314 char * kwnames
[] = {
19315 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19320 if (!SWIG_IsOK(res1
)) {
19321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19323 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19325 if (!SWIG_IsOK(ecode2
)) {
19326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19328 arg2
= static_cast< int >(val2
);
19329 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19330 if (!SWIG_IsOK(ecode3
)) {
19331 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19333 arg3
= static_cast< int >(val3
);
19334 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19335 if (!SWIG_IsOK(ecode4
)) {
19336 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19338 arg4
= static_cast< int >(val4
);
19339 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19340 if (!SWIG_IsOK(ecode5
)) {
19341 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19343 arg5
= static_cast< int >(val5
);
19345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19346 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19347 wxPyEndAllowThreads(__tstate
);
19348 if (PyErr_Occurred()) SWIG_fail
;
19350 resultobj
= SWIG_Py_Void();
19357 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19358 PyObject
*resultobj
= 0;
19359 wxDC
*arg1
= (wxDC
*) 0 ;
19364 PyObject
* obj0
= 0 ;
19365 PyObject
* obj1
= 0 ;
19366 char * kwnames
[] = {
19367 (char *) "self",(char *) "rect", NULL
19370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19372 if (!SWIG_IsOK(res1
)) {
19373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19375 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19378 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19382 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19383 wxPyEndAllowThreads(__tstate
);
19384 if (PyErr_Occurred()) SWIG_fail
;
19386 resultobj
= SWIG_Py_Void();
19393 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19394 PyObject
*resultobj
= 0;
19395 wxDC
*arg1
= (wxDC
*) 0 ;
19396 wxPoint
*arg2
= 0 ;
19402 PyObject
* obj0
= 0 ;
19403 PyObject
* obj1
= 0 ;
19404 PyObject
* obj2
= 0 ;
19405 char * kwnames
[] = {
19406 (char *) "self",(char *) "pt",(char *) "sz", NULL
19409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19411 if (!SWIG_IsOK(res1
)) {
19412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19414 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19417 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19421 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19425 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 resultobj
= SWIG_Py_Void();
19436 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19437 PyObject
*resultobj
= 0;
19438 wxDC
*arg1
= (wxDC
*) 0 ;
19450 PyObject
* obj0
= 0 ;
19451 PyObject
* obj1
= 0 ;
19452 PyObject
* obj2
= 0 ;
19453 PyObject
* obj3
= 0 ;
19454 char * kwnames
[] = {
19455 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19460 if (!SWIG_IsOK(res1
)) {
19461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19463 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19464 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19465 if (!SWIG_IsOK(res2
)) {
19466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19471 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19472 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19473 if (!SWIG_IsOK(ecode3
)) {
19474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19476 arg3
= static_cast< int >(val3
);
19477 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19478 if (!SWIG_IsOK(ecode4
)) {
19479 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19481 arg4
= static_cast< int >(val4
);
19483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19484 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19485 wxPyEndAllowThreads(__tstate
);
19486 if (PyErr_Occurred()) SWIG_fail
;
19488 resultobj
= SWIG_Py_Void();
19495 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19496 PyObject
*resultobj
= 0;
19497 wxDC
*arg1
= (wxDC
*) 0 ;
19499 wxPoint
*arg3
= 0 ;
19505 PyObject
* obj0
= 0 ;
19506 PyObject
* obj1
= 0 ;
19507 PyObject
* obj2
= 0 ;
19508 char * kwnames
[] = {
19509 (char *) "self",(char *) "icon",(char *) "pt", NULL
19512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19514 if (!SWIG_IsOK(res1
)) {
19515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19517 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19518 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19519 if (!SWIG_IsOK(res2
)) {
19520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19525 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19528 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19532 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19533 wxPyEndAllowThreads(__tstate
);
19534 if (PyErr_Occurred()) SWIG_fail
;
19536 resultobj
= SWIG_Py_Void();
19543 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19544 PyObject
*resultobj
= 0;
19545 wxDC
*arg1
= (wxDC
*) 0 ;
19546 wxBitmap
*arg2
= 0 ;
19549 bool arg5
= (bool) false ;
19560 PyObject
* obj0
= 0 ;
19561 PyObject
* obj1
= 0 ;
19562 PyObject
* obj2
= 0 ;
19563 PyObject
* obj3
= 0 ;
19564 PyObject
* obj4
= 0 ;
19565 char * kwnames
[] = {
19566 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19571 if (!SWIG_IsOK(res1
)) {
19572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19574 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19575 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19576 if (!SWIG_IsOK(res2
)) {
19577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19582 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19583 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19584 if (!SWIG_IsOK(ecode3
)) {
19585 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19587 arg3
= static_cast< int >(val3
);
19588 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19589 if (!SWIG_IsOK(ecode4
)) {
19590 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19592 arg4
= static_cast< int >(val4
);
19594 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19595 if (!SWIG_IsOK(ecode5
)) {
19596 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19598 arg5
= static_cast< bool >(val5
);
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19603 wxPyEndAllowThreads(__tstate
);
19604 if (PyErr_Occurred()) SWIG_fail
;
19606 resultobj
= SWIG_Py_Void();
19613 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19614 PyObject
*resultobj
= 0;
19615 wxDC
*arg1
= (wxDC
*) 0 ;
19616 wxBitmap
*arg2
= 0 ;
19617 wxPoint
*arg3
= 0 ;
19618 bool arg4
= (bool) false ;
19626 PyObject
* obj0
= 0 ;
19627 PyObject
* obj1
= 0 ;
19628 PyObject
* obj2
= 0 ;
19629 PyObject
* obj3
= 0 ;
19630 char * kwnames
[] = {
19631 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19636 if (!SWIG_IsOK(res1
)) {
19637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19639 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19640 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19641 if (!SWIG_IsOK(res2
)) {
19642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19647 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19650 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19653 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19654 if (!SWIG_IsOK(ecode4
)) {
19655 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19657 arg4
= static_cast< bool >(val4
);
19660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19661 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19662 wxPyEndAllowThreads(__tstate
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19665 resultobj
= SWIG_Py_Void();
19672 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19673 PyObject
*resultobj
= 0;
19674 wxDC
*arg1
= (wxDC
*) 0 ;
19675 wxString
*arg2
= 0 ;
19680 bool temp2
= false ;
19685 PyObject
* obj0
= 0 ;
19686 PyObject
* obj1
= 0 ;
19687 PyObject
* obj2
= 0 ;
19688 PyObject
* obj3
= 0 ;
19689 char * kwnames
[] = {
19690 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19695 if (!SWIG_IsOK(res1
)) {
19696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19698 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19700 arg2
= wxString_in_helper(obj1
);
19701 if (arg2
== NULL
) SWIG_fail
;
19704 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19705 if (!SWIG_IsOK(ecode3
)) {
19706 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19708 arg3
= static_cast< int >(val3
);
19709 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19710 if (!SWIG_IsOK(ecode4
)) {
19711 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19713 arg4
= static_cast< int >(val4
);
19715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19716 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19717 wxPyEndAllowThreads(__tstate
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19720 resultobj
= SWIG_Py_Void();
19735 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19736 PyObject
*resultobj
= 0;
19737 wxDC
*arg1
= (wxDC
*) 0 ;
19738 wxString
*arg2
= 0 ;
19739 wxPoint
*arg3
= 0 ;
19742 bool temp2
= false ;
19744 PyObject
* obj0
= 0 ;
19745 PyObject
* obj1
= 0 ;
19746 PyObject
* obj2
= 0 ;
19747 char * kwnames
[] = {
19748 (char *) "self",(char *) "text",(char *) "pt", NULL
19751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19753 if (!SWIG_IsOK(res1
)) {
19754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19756 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19758 arg2
= wxString_in_helper(obj1
);
19759 if (arg2
== NULL
) SWIG_fail
;
19764 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19768 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19769 wxPyEndAllowThreads(__tstate
);
19770 if (PyErr_Occurred()) SWIG_fail
;
19772 resultobj
= SWIG_Py_Void();
19787 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19788 PyObject
*resultobj
= 0;
19789 wxDC
*arg1
= (wxDC
*) 0 ;
19790 wxString
*arg2
= 0 ;
19796 bool temp2
= false ;
19803 PyObject
* obj0
= 0 ;
19804 PyObject
* obj1
= 0 ;
19805 PyObject
* obj2
= 0 ;
19806 PyObject
* obj3
= 0 ;
19807 PyObject
* obj4
= 0 ;
19808 char * kwnames
[] = {
19809 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19814 if (!SWIG_IsOK(res1
)) {
19815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19817 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19819 arg2
= wxString_in_helper(obj1
);
19820 if (arg2
== NULL
) SWIG_fail
;
19823 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19824 if (!SWIG_IsOK(ecode3
)) {
19825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19827 arg3
= static_cast< int >(val3
);
19828 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19829 if (!SWIG_IsOK(ecode4
)) {
19830 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19832 arg4
= static_cast< int >(val4
);
19833 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19834 if (!SWIG_IsOK(ecode5
)) {
19835 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19837 arg5
= static_cast< double >(val5
);
19839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19840 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19841 wxPyEndAllowThreads(__tstate
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19844 resultobj
= SWIG_Py_Void();
19859 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19860 PyObject
*resultobj
= 0;
19861 wxDC
*arg1
= (wxDC
*) 0 ;
19862 wxString
*arg2
= 0 ;
19863 wxPoint
*arg3
= 0 ;
19867 bool temp2
= false ;
19871 PyObject
* obj0
= 0 ;
19872 PyObject
* obj1
= 0 ;
19873 PyObject
* obj2
= 0 ;
19874 PyObject
* obj3
= 0 ;
19875 char * kwnames
[] = {
19876 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19881 if (!SWIG_IsOK(res1
)) {
19882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19884 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19886 arg2
= wxString_in_helper(obj1
);
19887 if (arg2
== NULL
) SWIG_fail
;
19892 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19894 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19895 if (!SWIG_IsOK(ecode4
)) {
19896 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19898 arg4
= static_cast< double >(val4
);
19900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19901 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19902 wxPyEndAllowThreads(__tstate
);
19903 if (PyErr_Occurred()) SWIG_fail
;
19905 resultobj
= SWIG_Py_Void();
19920 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19921 PyObject
*resultobj
= 0;
19922 wxDC
*arg1
= (wxDC
*) 0 ;
19927 wxDC
*arg6
= (wxDC
*) 0 ;
19930 int arg9
= (int) wxCOPY
;
19931 bool arg10
= (bool) false ;
19932 int arg11
= (int) -1 ;
19933 int arg12
= (int) -1 ;
19959 PyObject
* obj0
= 0 ;
19960 PyObject
* obj1
= 0 ;
19961 PyObject
* obj2
= 0 ;
19962 PyObject
* obj3
= 0 ;
19963 PyObject
* obj4
= 0 ;
19964 PyObject
* obj5
= 0 ;
19965 PyObject
* obj6
= 0 ;
19966 PyObject
* obj7
= 0 ;
19967 PyObject
* obj8
= 0 ;
19968 PyObject
* obj9
= 0 ;
19969 PyObject
* obj10
= 0 ;
19970 PyObject
* obj11
= 0 ;
19971 char * kwnames
[] = {
19972 (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
19975 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
;
19976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19977 if (!SWIG_IsOK(res1
)) {
19978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19980 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19982 if (!SWIG_IsOK(ecode2
)) {
19983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19985 arg2
= static_cast< int >(val2
);
19986 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19987 if (!SWIG_IsOK(ecode3
)) {
19988 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19990 arg3
= static_cast< int >(val3
);
19991 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19992 if (!SWIG_IsOK(ecode4
)) {
19993 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19995 arg4
= static_cast< int >(val4
);
19996 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19997 if (!SWIG_IsOK(ecode5
)) {
19998 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
20000 arg5
= static_cast< int >(val5
);
20001 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20002 if (!SWIG_IsOK(res6
)) {
20003 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
20005 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20006 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20007 if (!SWIG_IsOK(ecode7
)) {
20008 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
20010 arg7
= static_cast< int >(val7
);
20011 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20012 if (!SWIG_IsOK(ecode8
)) {
20013 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
20015 arg8
= static_cast< int >(val8
);
20017 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20018 if (!SWIG_IsOK(ecode9
)) {
20019 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
20021 arg9
= static_cast< int >(val9
);
20024 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
20025 if (!SWIG_IsOK(ecode10
)) {
20026 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
20028 arg10
= static_cast< bool >(val10
);
20031 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20032 if (!SWIG_IsOK(ecode11
)) {
20033 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
20035 arg11
= static_cast< int >(val11
);
20038 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
20039 if (!SWIG_IsOK(ecode12
)) {
20040 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
20042 arg12
= static_cast< int >(val12
);
20045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20046 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
20047 wxPyEndAllowThreads(__tstate
);
20048 if (PyErr_Occurred()) SWIG_fail
;
20051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20059 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20060 PyObject
*resultobj
= 0;
20061 wxDC
*arg1
= (wxDC
*) 0 ;
20062 wxPoint
*arg2
= 0 ;
20064 wxDC
*arg4
= (wxDC
*) 0 ;
20065 wxPoint
*arg5
= 0 ;
20066 int arg6
= (int) wxCOPY
;
20067 bool arg7
= (bool) false ;
20068 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20069 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20083 PyObject
* obj0
= 0 ;
20084 PyObject
* obj1
= 0 ;
20085 PyObject
* obj2
= 0 ;
20086 PyObject
* obj3
= 0 ;
20087 PyObject
* obj4
= 0 ;
20088 PyObject
* obj5
= 0 ;
20089 PyObject
* obj6
= 0 ;
20090 PyObject
* obj7
= 0 ;
20091 char * kwnames
[] = {
20092 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20097 if (!SWIG_IsOK(res1
)) {
20098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20100 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20103 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20107 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20109 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20110 if (!SWIG_IsOK(res4
)) {
20111 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20113 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20116 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20119 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20120 if (!SWIG_IsOK(ecode6
)) {
20121 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20123 arg6
= static_cast< int >(val6
);
20126 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20127 if (!SWIG_IsOK(ecode7
)) {
20128 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20130 arg7
= static_cast< bool >(val7
);
20135 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20140 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20141 wxPyEndAllowThreads(__tstate
);
20142 if (PyErr_Occurred()) SWIG_fail
;
20145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20153 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20154 PyObject
*resultobj
= 0;
20155 wxDC
*arg1
= (wxDC
*) 0 ;
20170 PyObject
* obj0
= 0 ;
20171 PyObject
* obj1
= 0 ;
20172 PyObject
* obj2
= 0 ;
20173 PyObject
* obj3
= 0 ;
20174 PyObject
* obj4
= 0 ;
20175 char * kwnames
[] = {
20176 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20181 if (!SWIG_IsOK(res1
)) {
20182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20184 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20185 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20186 if (!SWIG_IsOK(ecode2
)) {
20187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20189 arg2
= static_cast< int >(val2
);
20190 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20191 if (!SWIG_IsOK(ecode3
)) {
20192 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20194 arg3
= static_cast< int >(val3
);
20195 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20196 if (!SWIG_IsOK(ecode4
)) {
20197 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20199 arg4
= static_cast< int >(val4
);
20200 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20201 if (!SWIG_IsOK(ecode5
)) {
20202 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20204 arg5
= static_cast< int >(val5
);
20206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20207 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20208 wxPyEndAllowThreads(__tstate
);
20209 if (PyErr_Occurred()) SWIG_fail
;
20211 resultobj
= SWIG_Py_Void();
20218 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20219 PyObject
*resultobj
= 0;
20220 wxDC
*arg1
= (wxDC
*) 0 ;
20221 wxPoint
*arg2
= 0 ;
20227 PyObject
* obj0
= 0 ;
20228 PyObject
* obj1
= 0 ;
20229 PyObject
* obj2
= 0 ;
20230 char * kwnames
[] = {
20231 (char *) "self",(char *) "pt",(char *) "sz", NULL
20234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20236 if (!SWIG_IsOK(res1
)) {
20237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20239 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20242 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20246 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20250 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20251 wxPyEndAllowThreads(__tstate
);
20252 if (PyErr_Occurred()) SWIG_fail
;
20254 resultobj
= SWIG_Py_Void();
20261 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20262 PyObject
*resultobj
= 0;
20263 wxDC
*arg1
= (wxDC
*) 0 ;
20264 wxRegion
*arg2
= 0 ;
20269 PyObject
* obj0
= 0 ;
20270 PyObject
* obj1
= 0 ;
20271 char * kwnames
[] = {
20272 (char *) "self",(char *) "region", NULL
20275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20277 if (!SWIG_IsOK(res1
)) {
20278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20280 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20281 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20282 if (!SWIG_IsOK(res2
)) {
20283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20288 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20291 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20292 wxPyEndAllowThreads(__tstate
);
20293 if (PyErr_Occurred()) SWIG_fail
;
20295 resultobj
= SWIG_Py_Void();
20302 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20303 PyObject
*resultobj
= 0;
20304 wxDC
*arg1
= (wxDC
*) 0 ;
20309 PyObject
* obj0
= 0 ;
20310 PyObject
* obj1
= 0 ;
20311 char * kwnames
[] = {
20312 (char *) "self",(char *) "rect", NULL
20315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20317 if (!SWIG_IsOK(res1
)) {
20318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20320 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20323 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20327 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20328 wxPyEndAllowThreads(__tstate
);
20329 if (PyErr_Occurred()) SWIG_fail
;
20331 resultobj
= SWIG_Py_Void();
20338 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20339 PyObject
*resultobj
= 0;
20340 wxDC
*arg1
= (wxDC
*) 0 ;
20342 wxPoint
*arg3
= (wxPoint
*) 0 ;
20343 int arg4
= (int) 0 ;
20344 int arg5
= (int) 0 ;
20351 PyObject
* obj0
= 0 ;
20352 PyObject
* obj1
= 0 ;
20353 PyObject
* obj2
= 0 ;
20354 PyObject
* obj3
= 0 ;
20355 char * kwnames
[] = {
20356 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20361 if (!SWIG_IsOK(res1
)) {
20362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20364 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20366 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20367 if (arg3
== NULL
) SWIG_fail
;
20370 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20371 if (!SWIG_IsOK(ecode4
)) {
20372 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20374 arg4
= static_cast< int >(val4
);
20377 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20378 if (!SWIG_IsOK(ecode5
)) {
20379 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20381 arg5
= static_cast< int >(val5
);
20384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20385 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20386 wxPyEndAllowThreads(__tstate
);
20387 if (PyErr_Occurred()) SWIG_fail
;
20389 resultobj
= SWIG_Py_Void();
20391 if (arg3
) delete [] arg3
;
20396 if (arg3
) delete [] arg3
;
20402 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20403 PyObject
*resultobj
= 0;
20404 wxDC
*arg1
= (wxDC
*) 0 ;
20406 wxPoint
*arg3
= (wxPoint
*) 0 ;
20407 int arg4
= (int) 0 ;
20408 int arg5
= (int) 0 ;
20409 int arg6
= (int) wxODDEVEN_RULE
;
20418 PyObject
* obj0
= 0 ;
20419 PyObject
* obj1
= 0 ;
20420 PyObject
* obj2
= 0 ;
20421 PyObject
* obj3
= 0 ;
20422 PyObject
* obj4
= 0 ;
20423 char * kwnames
[] = {
20424 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20429 if (!SWIG_IsOK(res1
)) {
20430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20432 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20434 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20435 if (arg3
== NULL
) SWIG_fail
;
20438 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20439 if (!SWIG_IsOK(ecode4
)) {
20440 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20442 arg4
= static_cast< int >(val4
);
20445 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20446 if (!SWIG_IsOK(ecode5
)) {
20447 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20449 arg5
= static_cast< int >(val5
);
20452 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20453 if (!SWIG_IsOK(ecode6
)) {
20454 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20456 arg6
= static_cast< int >(val6
);
20459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20460 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20461 wxPyEndAllowThreads(__tstate
);
20462 if (PyErr_Occurred()) SWIG_fail
;
20464 resultobj
= SWIG_Py_Void();
20466 if (arg3
) delete [] arg3
;
20471 if (arg3
) delete [] arg3
;
20477 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20478 PyObject
*resultobj
= 0;
20479 wxDC
*arg1
= (wxDC
*) 0 ;
20480 wxString
*arg2
= 0 ;
20482 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20483 int arg5
= (int) -1 ;
20486 bool temp2
= false ;
20492 PyObject
* obj0
= 0 ;
20493 PyObject
* obj1
= 0 ;
20494 PyObject
* obj2
= 0 ;
20495 PyObject
* obj3
= 0 ;
20496 PyObject
* obj4
= 0 ;
20497 char * kwnames
[] = {
20498 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20503 if (!SWIG_IsOK(res1
)) {
20504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20506 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20508 arg2
= wxString_in_helper(obj1
);
20509 if (arg2
== NULL
) SWIG_fail
;
20514 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20517 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20518 if (!SWIG_IsOK(ecode4
)) {
20519 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20521 arg4
= static_cast< int >(val4
);
20524 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20525 if (!SWIG_IsOK(ecode5
)) {
20526 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20528 arg5
= static_cast< int >(val5
);
20531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20532 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20533 wxPyEndAllowThreads(__tstate
);
20534 if (PyErr_Occurred()) SWIG_fail
;
20536 resultobj
= SWIG_Py_Void();
20551 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20552 PyObject
*resultobj
= 0;
20553 wxDC
*arg1
= (wxDC
*) 0 ;
20554 wxString
*arg2
= 0 ;
20555 wxBitmap
*arg3
= 0 ;
20557 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20558 int arg6
= (int) -1 ;
20562 bool temp2
= false ;
20570 PyObject
* obj0
= 0 ;
20571 PyObject
* obj1
= 0 ;
20572 PyObject
* obj2
= 0 ;
20573 PyObject
* obj3
= 0 ;
20574 PyObject
* obj4
= 0 ;
20575 PyObject
* obj5
= 0 ;
20576 char * kwnames
[] = {
20577 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20582 if (!SWIG_IsOK(res1
)) {
20583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20585 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20587 arg2
= wxString_in_helper(obj1
);
20588 if (arg2
== NULL
) SWIG_fail
;
20591 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20592 if (!SWIG_IsOK(res3
)) {
20593 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20596 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20598 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20601 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20604 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20605 if (!SWIG_IsOK(ecode5
)) {
20606 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20608 arg5
= static_cast< int >(val5
);
20611 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20612 if (!SWIG_IsOK(ecode6
)) {
20613 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20615 arg6
= static_cast< int >(val6
);
20618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20619 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20620 wxPyEndAllowThreads(__tstate
);
20621 if (PyErr_Occurred()) SWIG_fail
;
20623 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20638 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20639 PyObject
*resultobj
= 0;
20640 wxDC
*arg1
= (wxDC
*) 0 ;
20642 wxPoint
*arg3
= (wxPoint
*) 0 ;
20645 PyObject
* obj0
= 0 ;
20646 PyObject
* obj1
= 0 ;
20647 char * kwnames
[] = {
20648 (char *) "self",(char *) "points", NULL
20651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20653 if (!SWIG_IsOK(res1
)) {
20654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20656 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20658 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20659 if (arg3
== NULL
) SWIG_fail
;
20662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20663 (arg1
)->DrawSpline(arg2
,arg3
);
20664 wxPyEndAllowThreads(__tstate
);
20665 if (PyErr_Occurred()) SWIG_fail
;
20667 resultobj
= SWIG_Py_Void();
20669 if (arg3
) delete [] arg3
;
20674 if (arg3
) delete [] arg3
;
20680 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20681 PyObject
*resultobj
= 0;
20682 wxDC
*arg1
= (wxDC
*) 0 ;
20685 PyObject
*swig_obj
[1] ;
20687 if (!args
) SWIG_fail
;
20688 swig_obj
[0] = args
;
20689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20690 if (!SWIG_IsOK(res1
)) {
20691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20693 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20697 wxPyEndAllowThreads(__tstate
);
20698 if (PyErr_Occurred()) SWIG_fail
;
20700 resultobj
= SWIG_Py_Void();
20707 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20708 PyObject
*resultobj
= 0;
20709 wxDC
*arg1
= (wxDC
*) 0 ;
20710 wxString
*arg2
= 0 ;
20714 bool temp2
= false ;
20715 PyObject
* obj0
= 0 ;
20716 PyObject
* obj1
= 0 ;
20717 char * kwnames
[] = {
20718 (char *) "self",(char *) "message", NULL
20721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20723 if (!SWIG_IsOK(res1
)) {
20724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20726 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20728 arg2
= wxString_in_helper(obj1
);
20729 if (arg2
== NULL
) SWIG_fail
;
20733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20734 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20735 wxPyEndAllowThreads(__tstate
);
20736 if (PyErr_Occurred()) SWIG_fail
;
20739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20755 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20756 PyObject
*resultobj
= 0;
20757 wxDC
*arg1
= (wxDC
*) 0 ;
20760 PyObject
*swig_obj
[1] ;
20762 if (!args
) SWIG_fail
;
20763 swig_obj
[0] = args
;
20764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20765 if (!SWIG_IsOK(res1
)) {
20766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20768 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20772 wxPyEndAllowThreads(__tstate
);
20773 if (PyErr_Occurred()) SWIG_fail
;
20775 resultobj
= SWIG_Py_Void();
20782 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20783 PyObject
*resultobj
= 0;
20784 wxDC
*arg1
= (wxDC
*) 0 ;
20787 PyObject
*swig_obj
[1] ;
20789 if (!args
) SWIG_fail
;
20790 swig_obj
[0] = args
;
20791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20792 if (!SWIG_IsOK(res1
)) {
20793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20795 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20798 (arg1
)->StartPage();
20799 wxPyEndAllowThreads(__tstate
);
20800 if (PyErr_Occurred()) SWIG_fail
;
20802 resultobj
= SWIG_Py_Void();
20809 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20810 PyObject
*resultobj
= 0;
20811 wxDC
*arg1
= (wxDC
*) 0 ;
20814 PyObject
*swig_obj
[1] ;
20816 if (!args
) SWIG_fail
;
20817 swig_obj
[0] = args
;
20818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20819 if (!SWIG_IsOK(res1
)) {
20820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20822 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 wxPyEndAllowThreads(__tstate
);
20827 if (PyErr_Occurred()) SWIG_fail
;
20829 resultobj
= SWIG_Py_Void();
20836 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20837 PyObject
*resultobj
= 0;
20838 wxDC
*arg1
= (wxDC
*) 0 ;
20844 PyObject
* obj0
= 0 ;
20845 PyObject
* obj1
= 0 ;
20846 char * kwnames
[] = {
20847 (char *) "self",(char *) "font", NULL
20850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20852 if (!SWIG_IsOK(res1
)) {
20853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20855 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20856 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20857 if (!SWIG_IsOK(res2
)) {
20858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20861 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20863 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20866 (arg1
)->SetFont((wxFont
const &)*arg2
);
20867 wxPyEndAllowThreads(__tstate
);
20868 if (PyErr_Occurred()) SWIG_fail
;
20870 resultobj
= SWIG_Py_Void();
20877 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20878 PyObject
*resultobj
= 0;
20879 wxDC
*arg1
= (wxDC
*) 0 ;
20885 PyObject
* obj0
= 0 ;
20886 PyObject
* obj1
= 0 ;
20887 char * kwnames
[] = {
20888 (char *) "self",(char *) "pen", NULL
20891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20893 if (!SWIG_IsOK(res1
)) {
20894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20896 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20897 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20898 if (!SWIG_IsOK(res2
)) {
20899 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20904 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20907 (arg1
)->SetPen((wxPen
const &)*arg2
);
20908 wxPyEndAllowThreads(__tstate
);
20909 if (PyErr_Occurred()) SWIG_fail
;
20911 resultobj
= SWIG_Py_Void();
20918 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20919 PyObject
*resultobj
= 0;
20920 wxDC
*arg1
= (wxDC
*) 0 ;
20921 wxBrush
*arg2
= 0 ;
20926 PyObject
* obj0
= 0 ;
20927 PyObject
* obj1
= 0 ;
20928 char * kwnames
[] = {
20929 (char *) "self",(char *) "brush", NULL
20932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20934 if (!SWIG_IsOK(res1
)) {
20935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20937 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20938 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20939 if (!SWIG_IsOK(res2
)) {
20940 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20943 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20945 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20948 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20949 wxPyEndAllowThreads(__tstate
);
20950 if (PyErr_Occurred()) SWIG_fail
;
20952 resultobj
= SWIG_Py_Void();
20959 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20960 PyObject
*resultobj
= 0;
20961 wxDC
*arg1
= (wxDC
*) 0 ;
20962 wxBrush
*arg2
= 0 ;
20967 PyObject
* obj0
= 0 ;
20968 PyObject
* obj1
= 0 ;
20969 char * kwnames
[] = {
20970 (char *) "self",(char *) "brush", NULL
20973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20975 if (!SWIG_IsOK(res1
)) {
20976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20978 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20979 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20980 if (!SWIG_IsOK(res2
)) {
20981 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20984 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20986 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20989 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20993 resultobj
= SWIG_Py_Void();
21000 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21001 PyObject
*resultobj
= 0;
21002 wxDC
*arg1
= (wxDC
*) 0 ;
21008 PyObject
* obj0
= 0 ;
21009 PyObject
* obj1
= 0 ;
21010 char * kwnames
[] = {
21011 (char *) "self",(char *) "mode", NULL
21014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21016 if (!SWIG_IsOK(res1
)) {
21017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21019 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21021 if (!SWIG_IsOK(ecode2
)) {
21022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21024 arg2
= static_cast< int >(val2
);
21026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21027 (arg1
)->SetBackgroundMode(arg2
);
21028 wxPyEndAllowThreads(__tstate
);
21029 if (PyErr_Occurred()) SWIG_fail
;
21031 resultobj
= SWIG_Py_Void();
21038 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21039 PyObject
*resultobj
= 0;
21040 wxDC
*arg1
= (wxDC
*) 0 ;
21041 wxPalette
*arg2
= 0 ;
21046 PyObject
* obj0
= 0 ;
21047 PyObject
* obj1
= 0 ;
21048 char * kwnames
[] = {
21049 (char *) "self",(char *) "palette", NULL
21052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21054 if (!SWIG_IsOK(res1
)) {
21055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21057 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21058 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21059 if (!SWIG_IsOK(res2
)) {
21060 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21063 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21065 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21069 wxPyEndAllowThreads(__tstate
);
21070 if (PyErr_Occurred()) SWIG_fail
;
21072 resultobj
= SWIG_Py_Void();
21079 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21080 PyObject
*resultobj
= 0;
21081 wxDC
*arg1
= (wxDC
*) 0 ;
21084 PyObject
*swig_obj
[1] ;
21086 if (!args
) SWIG_fail
;
21087 swig_obj
[0] = args
;
21088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21089 if (!SWIG_IsOK(res1
)) {
21090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21092 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21095 (arg1
)->DestroyClippingRegion();
21096 wxPyEndAllowThreads(__tstate
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21099 resultobj
= SWIG_Py_Void();
21106 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21107 PyObject
*resultobj
= 0;
21108 wxDC
*arg1
= (wxDC
*) 0 ;
21109 int *arg2
= (int *) 0 ;
21110 int *arg3
= (int *) 0 ;
21111 int *arg4
= (int *) 0 ;
21112 int *arg5
= (int *) 0 ;
21116 int res2
= SWIG_TMPOBJ
;
21118 int res3
= SWIG_TMPOBJ
;
21120 int res4
= SWIG_TMPOBJ
;
21122 int res5
= SWIG_TMPOBJ
;
21123 PyObject
*swig_obj
[1] ;
21129 if (!args
) SWIG_fail
;
21130 swig_obj
[0] = args
;
21131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21132 if (!SWIG_IsOK(res1
)) {
21133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21135 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21138 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21139 wxPyEndAllowThreads(__tstate
);
21140 if (PyErr_Occurred()) SWIG_fail
;
21142 resultobj
= SWIG_Py_Void();
21143 if (SWIG_IsTmpObj(res2
)) {
21144 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21146 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21147 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21149 if (SWIG_IsTmpObj(res3
)) {
21150 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21152 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21153 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21155 if (SWIG_IsTmpObj(res4
)) {
21156 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21158 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21159 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21161 if (SWIG_IsTmpObj(res5
)) {
21162 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21164 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21165 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21173 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21174 PyObject
*resultobj
= 0;
21175 wxDC
*arg1
= (wxDC
*) 0 ;
21179 PyObject
*swig_obj
[1] ;
21181 if (!args
) SWIG_fail
;
21182 swig_obj
[0] = args
;
21183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21184 if (!SWIG_IsOK(res1
)) {
21185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21187 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21190 result
= wxDC_GetClippingRect(arg1
);
21191 wxPyEndAllowThreads(__tstate
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21194 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21201 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21202 PyObject
*resultobj
= 0;
21203 wxDC
*arg1
= (wxDC
*) 0 ;
21207 PyObject
*swig_obj
[1] ;
21209 if (!args
) SWIG_fail
;
21210 swig_obj
[0] = args
;
21211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21212 if (!SWIG_IsOK(res1
)) {
21213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21215 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21218 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21219 wxPyEndAllowThreads(__tstate
);
21220 if (PyErr_Occurred()) SWIG_fail
;
21222 resultobj
= SWIG_From_int(static_cast< int >(result
));
21229 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21230 PyObject
*resultobj
= 0;
21231 wxDC
*arg1
= (wxDC
*) 0 ;
21235 PyObject
*swig_obj
[1] ;
21237 if (!args
) SWIG_fail
;
21238 swig_obj
[0] = args
;
21239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21240 if (!SWIG_IsOK(res1
)) {
21241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21243 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21246 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21247 wxPyEndAllowThreads(__tstate
);
21248 if (PyErr_Occurred()) SWIG_fail
;
21250 resultobj
= SWIG_From_int(static_cast< int >(result
));
21257 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21258 PyObject
*resultobj
= 0;
21259 wxDC
*arg1
= (wxDC
*) 0 ;
21260 wxString
*arg2
= 0 ;
21261 int *arg3
= (int *) 0 ;
21262 int *arg4
= (int *) 0 ;
21265 bool temp2
= false ;
21267 int res3
= SWIG_TMPOBJ
;
21269 int res4
= SWIG_TMPOBJ
;
21270 PyObject
* obj0
= 0 ;
21271 PyObject
* obj1
= 0 ;
21272 char * kwnames
[] = {
21273 (char *) "self",(char *) "string", NULL
21278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21280 if (!SWIG_IsOK(res1
)) {
21281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21283 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21285 arg2
= wxString_in_helper(obj1
);
21286 if (arg2
== NULL
) SWIG_fail
;
21290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21291 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21292 wxPyEndAllowThreads(__tstate
);
21293 if (PyErr_Occurred()) SWIG_fail
;
21295 resultobj
= SWIG_Py_Void();
21296 if (SWIG_IsTmpObj(res3
)) {
21297 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21299 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21300 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21302 if (SWIG_IsTmpObj(res4
)) {
21303 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21305 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21306 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21322 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21323 PyObject
*resultobj
= 0;
21324 wxDC
*arg1
= (wxDC
*) 0 ;
21325 wxString
*arg2
= 0 ;
21326 int *arg3
= (int *) 0 ;
21327 int *arg4
= (int *) 0 ;
21328 int *arg5
= (int *) 0 ;
21329 int *arg6
= (int *) 0 ;
21330 wxFont
*arg7
= (wxFont
*) NULL
;
21333 bool temp2
= false ;
21335 int res3
= SWIG_TMPOBJ
;
21337 int res4
= SWIG_TMPOBJ
;
21339 int res5
= SWIG_TMPOBJ
;
21341 int res6
= SWIG_TMPOBJ
;
21344 PyObject
* obj0
= 0 ;
21345 PyObject
* obj1
= 0 ;
21346 PyObject
* obj2
= 0 ;
21347 char * kwnames
[] = {
21348 (char *) "self",(char *) "string",(char *) "font", NULL
21355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21357 if (!SWIG_IsOK(res1
)) {
21358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21360 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21362 arg2
= wxString_in_helper(obj1
);
21363 if (arg2
== NULL
) SWIG_fail
;
21367 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21368 if (!SWIG_IsOK(res7
)) {
21369 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21371 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21375 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21376 wxPyEndAllowThreads(__tstate
);
21377 if (PyErr_Occurred()) SWIG_fail
;
21379 resultobj
= SWIG_Py_Void();
21380 if (SWIG_IsTmpObj(res3
)) {
21381 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21383 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21384 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21386 if (SWIG_IsTmpObj(res4
)) {
21387 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21389 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21390 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21392 if (SWIG_IsTmpObj(res5
)) {
21393 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21395 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21396 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21398 if (SWIG_IsTmpObj(res6
)) {
21399 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21401 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21402 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21418 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21419 PyObject
*resultobj
= 0;
21420 wxDC
*arg1
= (wxDC
*) 0 ;
21421 wxString
*arg2
= 0 ;
21422 int *arg3
= (int *) 0 ;
21423 int *arg4
= (int *) 0 ;
21424 int *arg5
= (int *) 0 ;
21425 wxFont
*arg6
= (wxFont
*) NULL
;
21428 bool temp2
= false ;
21430 int res3
= SWIG_TMPOBJ
;
21432 int res4
= SWIG_TMPOBJ
;
21434 int res5
= SWIG_TMPOBJ
;
21437 PyObject
* obj0
= 0 ;
21438 PyObject
* obj1
= 0 ;
21439 PyObject
* obj2
= 0 ;
21440 char * kwnames
[] = {
21441 (char *) "self",(char *) "text",(char *) "font", NULL
21447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21449 if (!SWIG_IsOK(res1
)) {
21450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21452 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21454 arg2
= wxString_in_helper(obj1
);
21455 if (arg2
== NULL
) SWIG_fail
;
21459 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21460 if (!SWIG_IsOK(res6
)) {
21461 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21463 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21467 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21468 wxPyEndAllowThreads(__tstate
);
21469 if (PyErr_Occurred()) SWIG_fail
;
21471 resultobj
= SWIG_Py_Void();
21472 if (SWIG_IsTmpObj(res3
)) {
21473 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21475 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21476 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21478 if (SWIG_IsTmpObj(res4
)) {
21479 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21481 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21482 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21484 if (SWIG_IsTmpObj(res5
)) {
21485 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21487 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21488 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21504 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21505 PyObject
*resultobj
= 0;
21506 wxDC
*arg1
= (wxDC
*) 0 ;
21507 wxString
*arg2
= 0 ;
21511 bool temp2
= false ;
21512 PyObject
* obj0
= 0 ;
21513 PyObject
* obj1
= 0 ;
21514 char * kwnames
[] = {
21515 (char *) "self",(char *) "text", NULL
21518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21520 if (!SWIG_IsOK(res1
)) {
21521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21523 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21525 arg2
= wxString_in_helper(obj1
);
21526 if (arg2
== NULL
) SWIG_fail
;
21530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21531 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21532 wxPyEndAllowThreads(__tstate
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21536 resultobj
= wxArrayInt2PyList_helper(result
);
21552 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21553 PyObject
*resultobj
= 0;
21554 wxDC
*arg1
= (wxDC
*) 0 ;
21558 PyObject
*swig_obj
[1] ;
21560 if (!args
) SWIG_fail
;
21561 swig_obj
[0] = args
;
21562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21563 if (!SWIG_IsOK(res1
)) {
21564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21566 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21569 result
= (arg1
)->GetSize();
21570 wxPyEndAllowThreads(__tstate
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21573 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21580 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21581 PyObject
*resultobj
= 0;
21582 wxDC
*arg1
= (wxDC
*) 0 ;
21583 int *arg2
= (int *) 0 ;
21584 int *arg3
= (int *) 0 ;
21588 int res2
= SWIG_TMPOBJ
;
21590 int res3
= SWIG_TMPOBJ
;
21591 PyObject
*swig_obj
[1] ;
21595 if (!args
) SWIG_fail
;
21596 swig_obj
[0] = args
;
21597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21598 if (!SWIG_IsOK(res1
)) {
21599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21601 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21604 (arg1
)->GetSize(arg2
,arg3
);
21605 wxPyEndAllowThreads(__tstate
);
21606 if (PyErr_Occurred()) SWIG_fail
;
21608 resultobj
= SWIG_Py_Void();
21609 if (SWIG_IsTmpObj(res2
)) {
21610 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21612 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21613 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21615 if (SWIG_IsTmpObj(res3
)) {
21616 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21618 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21619 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21627 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21628 PyObject
*resultobj
= 0;
21629 wxDC
*arg1
= (wxDC
*) 0 ;
21633 PyObject
*swig_obj
[1] ;
21635 if (!args
) SWIG_fail
;
21636 swig_obj
[0] = args
;
21637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21638 if (!SWIG_IsOK(res1
)) {
21639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21641 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21644 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21645 wxPyEndAllowThreads(__tstate
);
21646 if (PyErr_Occurred()) SWIG_fail
;
21648 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21655 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21656 PyObject
*resultobj
= 0;
21657 wxDC
*arg1
= (wxDC
*) 0 ;
21658 int *arg2
= (int *) 0 ;
21659 int *arg3
= (int *) 0 ;
21663 int res2
= SWIG_TMPOBJ
;
21665 int res3
= SWIG_TMPOBJ
;
21666 PyObject
*swig_obj
[1] ;
21670 if (!args
) SWIG_fail
;
21671 swig_obj
[0] = args
;
21672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21673 if (!SWIG_IsOK(res1
)) {
21674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21676 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21679 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21680 wxPyEndAllowThreads(__tstate
);
21681 if (PyErr_Occurred()) SWIG_fail
;
21683 resultobj
= SWIG_Py_Void();
21684 if (SWIG_IsTmpObj(res2
)) {
21685 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21687 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21688 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21690 if (SWIG_IsTmpObj(res3
)) {
21691 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21693 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21694 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21702 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21703 PyObject
*resultobj
= 0;
21704 wxDC
*arg1
= (wxDC
*) 0 ;
21711 PyObject
* obj0
= 0 ;
21712 PyObject
* obj1
= 0 ;
21713 char * kwnames
[] = {
21714 (char *) "self",(char *) "x", NULL
21717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21719 if (!SWIG_IsOK(res1
)) {
21720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21722 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21723 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21724 if (!SWIG_IsOK(ecode2
)) {
21725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21727 arg2
= static_cast< int >(val2
);
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21731 wxPyEndAllowThreads(__tstate
);
21732 if (PyErr_Occurred()) SWIG_fail
;
21734 resultobj
= SWIG_From_int(static_cast< int >(result
));
21741 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21742 PyObject
*resultobj
= 0;
21743 wxDC
*arg1
= (wxDC
*) 0 ;
21750 PyObject
* obj0
= 0 ;
21751 PyObject
* obj1
= 0 ;
21752 char * kwnames
[] = {
21753 (char *) "self",(char *) "y", NULL
21756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21758 if (!SWIG_IsOK(res1
)) {
21759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21761 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21763 if (!SWIG_IsOK(ecode2
)) {
21764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21766 arg2
= static_cast< int >(val2
);
21768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21769 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21770 wxPyEndAllowThreads(__tstate
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21773 resultobj
= SWIG_From_int(static_cast< int >(result
));
21780 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21781 PyObject
*resultobj
= 0;
21782 wxDC
*arg1
= (wxDC
*) 0 ;
21789 PyObject
* obj0
= 0 ;
21790 PyObject
* obj1
= 0 ;
21791 char * kwnames
[] = {
21792 (char *) "self",(char *) "x", NULL
21795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21797 if (!SWIG_IsOK(res1
)) {
21798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21800 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21802 if (!SWIG_IsOK(ecode2
)) {
21803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21805 arg2
= static_cast< int >(val2
);
21807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21808 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21809 wxPyEndAllowThreads(__tstate
);
21810 if (PyErr_Occurred()) SWIG_fail
;
21812 resultobj
= SWIG_From_int(static_cast< int >(result
));
21819 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21820 PyObject
*resultobj
= 0;
21821 wxDC
*arg1
= (wxDC
*) 0 ;
21828 PyObject
* obj0
= 0 ;
21829 PyObject
* obj1
= 0 ;
21830 char * kwnames
[] = {
21831 (char *) "self",(char *) "y", NULL
21834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21836 if (!SWIG_IsOK(res1
)) {
21837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21839 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21841 if (!SWIG_IsOK(ecode2
)) {
21842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21844 arg2
= static_cast< int >(val2
);
21846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21847 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21848 wxPyEndAllowThreads(__tstate
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21851 resultobj
= SWIG_From_int(static_cast< int >(result
));
21858 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21859 PyObject
*resultobj
= 0;
21860 wxDC
*arg1
= (wxDC
*) 0 ;
21867 PyObject
* obj0
= 0 ;
21868 PyObject
* obj1
= 0 ;
21869 char * kwnames
[] = {
21870 (char *) "self",(char *) "x", NULL
21873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21875 if (!SWIG_IsOK(res1
)) {
21876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21878 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21880 if (!SWIG_IsOK(ecode2
)) {
21881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21883 arg2
= static_cast< int >(val2
);
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21887 wxPyEndAllowThreads(__tstate
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21890 resultobj
= SWIG_From_int(static_cast< int >(result
));
21897 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21898 PyObject
*resultobj
= 0;
21899 wxDC
*arg1
= (wxDC
*) 0 ;
21906 PyObject
* obj0
= 0 ;
21907 PyObject
* obj1
= 0 ;
21908 char * kwnames
[] = {
21909 (char *) "self",(char *) "y", NULL
21912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21914 if (!SWIG_IsOK(res1
)) {
21915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21917 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21918 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21919 if (!SWIG_IsOK(ecode2
)) {
21920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21922 arg2
= static_cast< int >(val2
);
21924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21925 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21926 wxPyEndAllowThreads(__tstate
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21929 resultobj
= SWIG_From_int(static_cast< int >(result
));
21936 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21937 PyObject
*resultobj
= 0;
21938 wxDC
*arg1
= (wxDC
*) 0 ;
21945 PyObject
* obj0
= 0 ;
21946 PyObject
* obj1
= 0 ;
21947 char * kwnames
[] = {
21948 (char *) "self",(char *) "x", NULL
21951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21953 if (!SWIG_IsOK(res1
)) {
21954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21956 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21958 if (!SWIG_IsOK(ecode2
)) {
21959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21961 arg2
= static_cast< int >(val2
);
21963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21964 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21965 wxPyEndAllowThreads(__tstate
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21968 resultobj
= SWIG_From_int(static_cast< int >(result
));
21975 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21976 PyObject
*resultobj
= 0;
21977 wxDC
*arg1
= (wxDC
*) 0 ;
21984 PyObject
* obj0
= 0 ;
21985 PyObject
* obj1
= 0 ;
21986 char * kwnames
[] = {
21987 (char *) "self",(char *) "y", NULL
21990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21992 if (!SWIG_IsOK(res1
)) {
21993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21995 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21997 if (!SWIG_IsOK(ecode2
)) {
21998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22000 arg2
= static_cast< int >(val2
);
22002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22003 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22004 wxPyEndAllowThreads(__tstate
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22007 resultobj
= SWIG_From_int(static_cast< int >(result
));
22014 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22015 PyObject
*resultobj
= 0;
22016 wxDC
*arg1
= (wxDC
*) 0 ;
22020 PyObject
*swig_obj
[1] ;
22022 if (!args
) SWIG_fail
;
22023 swig_obj
[0] = args
;
22024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22025 if (!SWIG_IsOK(res1
)) {
22026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22028 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22031 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22032 wxPyEndAllowThreads(__tstate
);
22033 if (PyErr_Occurred()) SWIG_fail
;
22036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22044 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22045 PyObject
*resultobj
= 0;
22046 wxDC
*arg1
= (wxDC
*) 0 ;
22050 PyObject
*swig_obj
[1] ;
22052 if (!args
) SWIG_fail
;
22053 swig_obj
[0] = args
;
22054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22055 if (!SWIG_IsOK(res1
)) {
22056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22058 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22061 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22062 wxPyEndAllowThreads(__tstate
);
22063 if (PyErr_Occurred()) SWIG_fail
;
22066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22074 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22075 PyObject
*resultobj
= 0;
22076 wxDC
*arg1
= (wxDC
*) 0 ;
22080 PyObject
*swig_obj
[1] ;
22082 if (!args
) SWIG_fail
;
22083 swig_obj
[0] = args
;
22084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22085 if (!SWIG_IsOK(res1
)) {
22086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22088 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22091 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22092 wxPyEndAllowThreads(__tstate
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22095 resultobj
= SWIG_From_int(static_cast< int >(result
));
22102 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22103 PyObject
*resultobj
= 0;
22104 wxDC
*arg1
= (wxDC
*) 0 ;
22108 PyObject
*swig_obj
[1] ;
22110 if (!args
) SWIG_fail
;
22111 swig_obj
[0] = args
;
22112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22113 if (!SWIG_IsOK(res1
)) {
22114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22116 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22119 result
= ((wxDC
const *)arg1
)->GetPPI();
22120 wxPyEndAllowThreads(__tstate
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22123 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22130 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22131 PyObject
*resultobj
= 0;
22132 wxDC
*arg1
= (wxDC
*) 0 ;
22136 PyObject
*swig_obj
[1] ;
22138 if (!args
) SWIG_fail
;
22139 swig_obj
[0] = args
;
22140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22141 if (!SWIG_IsOK(res1
)) {
22142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22144 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22147 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22148 wxPyEndAllowThreads(__tstate
);
22149 if (PyErr_Occurred()) SWIG_fail
;
22152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22160 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22161 PyObject
*resultobj
= 0;
22162 wxDC
*arg1
= (wxDC
*) 0 ;
22166 PyObject
*swig_obj
[1] ;
22168 if (!args
) SWIG_fail
;
22169 swig_obj
[0] = args
;
22170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22171 if (!SWIG_IsOK(res1
)) {
22172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22174 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22177 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22178 wxPyEndAllowThreads(__tstate
);
22179 if (PyErr_Occurred()) SWIG_fail
;
22181 resultobj
= SWIG_From_int(static_cast< int >(result
));
22188 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22189 PyObject
*resultobj
= 0;
22190 wxDC
*arg1
= (wxDC
*) 0 ;
22191 wxBrush
*result
= 0 ;
22194 PyObject
*swig_obj
[1] ;
22196 if (!args
) SWIG_fail
;
22197 swig_obj
[0] = args
;
22198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22199 if (!SWIG_IsOK(res1
)) {
22200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22202 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22206 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22207 result
= (wxBrush
*) &_result_ref
;
22209 wxPyEndAllowThreads(__tstate
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22213 wxBrush
* resultptr
= new wxBrush(*result
);
22214 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22222 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22223 PyObject
*resultobj
= 0;
22224 wxDC
*arg1
= (wxDC
*) 0 ;
22225 wxBrush
*result
= 0 ;
22228 PyObject
*swig_obj
[1] ;
22230 if (!args
) SWIG_fail
;
22231 swig_obj
[0] = args
;
22232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22233 if (!SWIG_IsOK(res1
)) {
22234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22236 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22240 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22241 result
= (wxBrush
*) &_result_ref
;
22243 wxPyEndAllowThreads(__tstate
);
22244 if (PyErr_Occurred()) SWIG_fail
;
22247 wxBrush
* resultptr
= new wxBrush(*result
);
22248 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22256 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22257 PyObject
*resultobj
= 0;
22258 wxDC
*arg1
= (wxDC
*) 0 ;
22259 wxFont
*result
= 0 ;
22262 PyObject
*swig_obj
[1] ;
22264 if (!args
) SWIG_fail
;
22265 swig_obj
[0] = args
;
22266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22267 if (!SWIG_IsOK(res1
)) {
22268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22270 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22274 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22275 result
= (wxFont
*) &_result_ref
;
22277 wxPyEndAllowThreads(__tstate
);
22278 if (PyErr_Occurred()) SWIG_fail
;
22281 wxFont
* resultptr
= new wxFont(*result
);
22282 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22290 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22291 PyObject
*resultobj
= 0;
22292 wxDC
*arg1
= (wxDC
*) 0 ;
22293 wxPen
*result
= 0 ;
22296 PyObject
*swig_obj
[1] ;
22298 if (!args
) SWIG_fail
;
22299 swig_obj
[0] = args
;
22300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22301 if (!SWIG_IsOK(res1
)) {
22302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22304 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22308 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22309 result
= (wxPen
*) &_result_ref
;
22311 wxPyEndAllowThreads(__tstate
);
22312 if (PyErr_Occurred()) SWIG_fail
;
22315 wxPen
* resultptr
= new wxPen(*result
);
22316 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22324 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22325 PyObject
*resultobj
= 0;
22326 wxDC
*arg1
= (wxDC
*) 0 ;
22327 wxColour
*result
= 0 ;
22330 PyObject
*swig_obj
[1] ;
22332 if (!args
) SWIG_fail
;
22333 swig_obj
[0] = args
;
22334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22335 if (!SWIG_IsOK(res1
)) {
22336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22338 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22342 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22343 result
= (wxColour
*) &_result_ref
;
22345 wxPyEndAllowThreads(__tstate
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22355 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22356 PyObject
*resultobj
= 0;
22357 wxDC
*arg1
= (wxDC
*) 0 ;
22358 wxColour
*result
= 0 ;
22361 PyObject
*swig_obj
[1] ;
22363 if (!args
) SWIG_fail
;
22364 swig_obj
[0] = args
;
22365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22366 if (!SWIG_IsOK(res1
)) {
22367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22369 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22373 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22374 result
= (wxColour
*) &_result_ref
;
22376 wxPyEndAllowThreads(__tstate
);
22377 if (PyErr_Occurred()) SWIG_fail
;
22379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22386 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22387 PyObject
*resultobj
= 0;
22388 wxDC
*arg1
= (wxDC
*) 0 ;
22389 wxColour
*arg2
= 0 ;
22393 PyObject
* obj0
= 0 ;
22394 PyObject
* obj1
= 0 ;
22395 char * kwnames
[] = {
22396 (char *) "self",(char *) "colour", NULL
22399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22401 if (!SWIG_IsOK(res1
)) {
22402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22404 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22407 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22411 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22412 wxPyEndAllowThreads(__tstate
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22415 resultobj
= SWIG_Py_Void();
22422 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22423 PyObject
*resultobj
= 0;
22424 wxDC
*arg1
= (wxDC
*) 0 ;
22425 wxColour
*arg2
= 0 ;
22429 PyObject
* obj0
= 0 ;
22430 PyObject
* obj1
= 0 ;
22431 char * kwnames
[] = {
22432 (char *) "self",(char *) "colour", NULL
22435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22437 if (!SWIG_IsOK(res1
)) {
22438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22440 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22443 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22447 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22448 wxPyEndAllowThreads(__tstate
);
22449 if (PyErr_Occurred()) SWIG_fail
;
22451 resultobj
= SWIG_Py_Void();
22458 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22459 PyObject
*resultobj
= 0;
22460 wxDC
*arg1
= (wxDC
*) 0 ;
22464 PyObject
*swig_obj
[1] ;
22466 if (!args
) SWIG_fail
;
22467 swig_obj
[0] = args
;
22468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22469 if (!SWIG_IsOK(res1
)) {
22470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22472 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22475 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22476 wxPyEndAllowThreads(__tstate
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22479 resultobj
= SWIG_From_int(static_cast< int >(result
));
22486 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22487 PyObject
*resultobj
= 0;
22488 wxDC
*arg1
= (wxDC
*) 0 ;
22494 PyObject
* obj0
= 0 ;
22495 PyObject
* obj1
= 0 ;
22496 char * kwnames
[] = {
22497 (char *) "self",(char *) "mode", NULL
22500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22502 if (!SWIG_IsOK(res1
)) {
22503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22505 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22507 if (!SWIG_IsOK(ecode2
)) {
22508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22510 arg2
= static_cast< int >(val2
);
22512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22513 (arg1
)->SetMapMode(arg2
);
22514 wxPyEndAllowThreads(__tstate
);
22515 if (PyErr_Occurred()) SWIG_fail
;
22517 resultobj
= SWIG_Py_Void();
22524 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22525 PyObject
*resultobj
= 0;
22526 wxDC
*arg1
= (wxDC
*) 0 ;
22527 double *arg2
= (double *) 0 ;
22528 double *arg3
= (double *) 0 ;
22532 int res2
= SWIG_TMPOBJ
;
22534 int res3
= SWIG_TMPOBJ
;
22535 PyObject
*swig_obj
[1] ;
22539 if (!args
) SWIG_fail
;
22540 swig_obj
[0] = args
;
22541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22542 if (!SWIG_IsOK(res1
)) {
22543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22545 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22548 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22549 wxPyEndAllowThreads(__tstate
);
22550 if (PyErr_Occurred()) SWIG_fail
;
22552 resultobj
= SWIG_Py_Void();
22553 if (SWIG_IsTmpObj(res2
)) {
22554 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22556 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22557 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22559 if (SWIG_IsTmpObj(res3
)) {
22560 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22562 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22563 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22571 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22572 PyObject
*resultobj
= 0;
22573 wxDC
*arg1
= (wxDC
*) 0 ;
22582 PyObject
* obj0
= 0 ;
22583 PyObject
* obj1
= 0 ;
22584 PyObject
* obj2
= 0 ;
22585 char * kwnames
[] = {
22586 (char *) "self",(char *) "x",(char *) "y", NULL
22589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22591 if (!SWIG_IsOK(res1
)) {
22592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22594 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22595 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22596 if (!SWIG_IsOK(ecode2
)) {
22597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22599 arg2
= static_cast< double >(val2
);
22600 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22601 if (!SWIG_IsOK(ecode3
)) {
22602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22604 arg3
= static_cast< double >(val3
);
22606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22607 (arg1
)->SetUserScale(arg2
,arg3
);
22608 wxPyEndAllowThreads(__tstate
);
22609 if (PyErr_Occurred()) SWIG_fail
;
22611 resultobj
= SWIG_Py_Void();
22618 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22619 PyObject
*resultobj
= 0;
22620 wxDC
*arg1
= (wxDC
*) 0 ;
22621 double *arg2
= (double *) 0 ;
22622 double *arg3
= (double *) 0 ;
22626 int res2
= SWIG_TMPOBJ
;
22628 int res3
= SWIG_TMPOBJ
;
22629 PyObject
*swig_obj
[1] ;
22633 if (!args
) SWIG_fail
;
22634 swig_obj
[0] = args
;
22635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22636 if (!SWIG_IsOK(res1
)) {
22637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22639 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22642 (arg1
)->GetLogicalScale(arg2
,arg3
);
22643 wxPyEndAllowThreads(__tstate
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22646 resultobj
= SWIG_Py_Void();
22647 if (SWIG_IsTmpObj(res2
)) {
22648 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22650 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22651 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22653 if (SWIG_IsTmpObj(res3
)) {
22654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22656 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22657 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22665 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22666 PyObject
*resultobj
= 0;
22667 wxDC
*arg1
= (wxDC
*) 0 ;
22676 PyObject
* obj0
= 0 ;
22677 PyObject
* obj1
= 0 ;
22678 PyObject
* obj2
= 0 ;
22679 char * kwnames
[] = {
22680 (char *) "self",(char *) "x",(char *) "y", NULL
22683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22685 if (!SWIG_IsOK(res1
)) {
22686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22688 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22689 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22690 if (!SWIG_IsOK(ecode2
)) {
22691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22693 arg2
= static_cast< double >(val2
);
22694 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22695 if (!SWIG_IsOK(ecode3
)) {
22696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22698 arg3
= static_cast< double >(val3
);
22700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22701 (arg1
)->SetLogicalScale(arg2
,arg3
);
22702 wxPyEndAllowThreads(__tstate
);
22703 if (PyErr_Occurred()) SWIG_fail
;
22705 resultobj
= SWIG_Py_Void();
22712 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22713 PyObject
*resultobj
= 0;
22714 wxDC
*arg1
= (wxDC
*) 0 ;
22718 PyObject
*swig_obj
[1] ;
22720 if (!args
) SWIG_fail
;
22721 swig_obj
[0] = args
;
22722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22723 if (!SWIG_IsOK(res1
)) {
22724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22726 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22729 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22730 wxPyEndAllowThreads(__tstate
);
22731 if (PyErr_Occurred()) SWIG_fail
;
22733 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22740 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22741 PyObject
*resultobj
= 0;
22742 wxDC
*arg1
= (wxDC
*) 0 ;
22743 int *arg2
= (int *) 0 ;
22744 int *arg3
= (int *) 0 ;
22748 int res2
= SWIG_TMPOBJ
;
22750 int res3
= SWIG_TMPOBJ
;
22751 PyObject
*swig_obj
[1] ;
22755 if (!args
) SWIG_fail
;
22756 swig_obj
[0] = args
;
22757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22758 if (!SWIG_IsOK(res1
)) {
22759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22761 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22764 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22765 wxPyEndAllowThreads(__tstate
);
22766 if (PyErr_Occurred()) SWIG_fail
;
22768 resultobj
= SWIG_Py_Void();
22769 if (SWIG_IsTmpObj(res2
)) {
22770 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22772 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22773 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22775 if (SWIG_IsTmpObj(res3
)) {
22776 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22778 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22779 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22787 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22788 PyObject
*resultobj
= 0;
22789 wxDC
*arg1
= (wxDC
*) 0 ;
22798 PyObject
* obj0
= 0 ;
22799 PyObject
* obj1
= 0 ;
22800 PyObject
* obj2
= 0 ;
22801 char * kwnames
[] = {
22802 (char *) "self",(char *) "x",(char *) "y", NULL
22805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22807 if (!SWIG_IsOK(res1
)) {
22808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22810 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22812 if (!SWIG_IsOK(ecode2
)) {
22813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22815 arg2
= static_cast< int >(val2
);
22816 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22817 if (!SWIG_IsOK(ecode3
)) {
22818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22820 arg3
= static_cast< int >(val3
);
22822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22823 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22824 wxPyEndAllowThreads(__tstate
);
22825 if (PyErr_Occurred()) SWIG_fail
;
22827 resultobj
= SWIG_Py_Void();
22834 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22835 PyObject
*resultobj
= 0;
22836 wxDC
*arg1
= (wxDC
*) 0 ;
22837 wxPoint
*arg2
= 0 ;
22841 PyObject
* obj0
= 0 ;
22842 PyObject
* obj1
= 0 ;
22843 char * kwnames
[] = {
22844 (char *) "self",(char *) "point", NULL
22847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22849 if (!SWIG_IsOK(res1
)) {
22850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22852 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22855 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22859 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22860 wxPyEndAllowThreads(__tstate
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22863 resultobj
= SWIG_Py_Void();
22870 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22871 PyObject
*resultobj
= 0;
22872 wxDC
*arg1
= (wxDC
*) 0 ;
22876 PyObject
*swig_obj
[1] ;
22878 if (!args
) SWIG_fail
;
22879 swig_obj
[0] = args
;
22880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22881 if (!SWIG_IsOK(res1
)) {
22882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22884 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22887 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22888 wxPyEndAllowThreads(__tstate
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22891 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22898 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22899 PyObject
*resultobj
= 0;
22900 wxDC
*arg1
= (wxDC
*) 0 ;
22901 int *arg2
= (int *) 0 ;
22902 int *arg3
= (int *) 0 ;
22906 int res2
= SWIG_TMPOBJ
;
22908 int res3
= SWIG_TMPOBJ
;
22909 PyObject
*swig_obj
[1] ;
22913 if (!args
) SWIG_fail
;
22914 swig_obj
[0] = args
;
22915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22916 if (!SWIG_IsOK(res1
)) {
22917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22919 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22922 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22923 wxPyEndAllowThreads(__tstate
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22926 resultobj
= SWIG_Py_Void();
22927 if (SWIG_IsTmpObj(res2
)) {
22928 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22930 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22931 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22933 if (SWIG_IsTmpObj(res3
)) {
22934 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22936 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22937 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22945 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22946 PyObject
*resultobj
= 0;
22947 wxDC
*arg1
= (wxDC
*) 0 ;
22956 PyObject
* obj0
= 0 ;
22957 PyObject
* obj1
= 0 ;
22958 PyObject
* obj2
= 0 ;
22959 char * kwnames
[] = {
22960 (char *) "self",(char *) "x",(char *) "y", NULL
22963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22965 if (!SWIG_IsOK(res1
)) {
22966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22968 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22970 if (!SWIG_IsOK(ecode2
)) {
22971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22973 arg2
= static_cast< int >(val2
);
22974 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22975 if (!SWIG_IsOK(ecode3
)) {
22976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22978 arg3
= static_cast< int >(val3
);
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22982 wxPyEndAllowThreads(__tstate
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22985 resultobj
= SWIG_Py_Void();
22992 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22993 PyObject
*resultobj
= 0;
22994 wxDC
*arg1
= (wxDC
*) 0 ;
22995 wxPoint
*arg2
= 0 ;
22999 PyObject
* obj0
= 0 ;
23000 PyObject
* obj1
= 0 ;
23001 char * kwnames
[] = {
23002 (char *) "self",(char *) "point", NULL
23005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23007 if (!SWIG_IsOK(res1
)) {
23008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23010 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23013 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23017 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23018 wxPyEndAllowThreads(__tstate
);
23019 if (PyErr_Occurred()) SWIG_fail
;
23021 resultobj
= SWIG_Py_Void();
23028 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23029 PyObject
*resultobj
= 0;
23030 wxDC
*arg1
= (wxDC
*) 0 ;
23039 PyObject
* obj0
= 0 ;
23040 PyObject
* obj1
= 0 ;
23041 PyObject
* obj2
= 0 ;
23042 char * kwnames
[] = {
23043 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23048 if (!SWIG_IsOK(res1
)) {
23049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23051 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23052 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23053 if (!SWIG_IsOK(ecode2
)) {
23054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23056 arg2
= static_cast< bool >(val2
);
23057 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23058 if (!SWIG_IsOK(ecode3
)) {
23059 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23061 arg3
= static_cast< bool >(val3
);
23063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23064 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23065 wxPyEndAllowThreads(__tstate
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23068 resultobj
= SWIG_Py_Void();
23075 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23076 PyObject
*resultobj
= 0;
23077 wxDC
*arg1
= (wxDC
*) 0 ;
23081 PyObject
*swig_obj
[1] ;
23083 if (!args
) SWIG_fail
;
23084 swig_obj
[0] = args
;
23085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23086 if (!SWIG_IsOK(res1
)) {
23087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23089 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23092 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23093 wxPyEndAllowThreads(__tstate
);
23094 if (PyErr_Occurred()) SWIG_fail
;
23096 resultobj
= SWIG_From_int(static_cast< int >(result
));
23103 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23104 PyObject
*resultobj
= 0;
23105 wxDC
*arg1
= (wxDC
*) 0 ;
23111 PyObject
* obj0
= 0 ;
23112 PyObject
* obj1
= 0 ;
23113 char * kwnames
[] = {
23114 (char *) "self",(char *) "function", NULL
23117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23119 if (!SWIG_IsOK(res1
)) {
23120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23122 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23124 if (!SWIG_IsOK(ecode2
)) {
23125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23127 arg2
= static_cast< int >(val2
);
23129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23130 (arg1
)->SetLogicalFunction(arg2
);
23131 wxPyEndAllowThreads(__tstate
);
23132 if (PyErr_Occurred()) SWIG_fail
;
23134 resultobj
= SWIG_Py_Void();
23141 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23142 PyObject
*resultobj
= 0;
23143 wxDC
*arg1
= (wxDC
*) 0 ;
23146 PyObject
*swig_obj
[1] ;
23148 if (!args
) SWIG_fail
;
23149 swig_obj
[0] = args
;
23150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23151 if (!SWIG_IsOK(res1
)) {
23152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23154 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23157 (arg1
)->ComputeScaleAndOrigin();
23158 wxPyEndAllowThreads(__tstate
);
23159 if (PyErr_Occurred()) SWIG_fail
;
23161 resultobj
= SWIG_Py_Void();
23168 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23169 PyObject
*resultobj
= 0;
23170 wxDC
*arg1
= (wxDC
*) 0 ;
23179 PyObject
* obj0
= 0 ;
23180 PyObject
* obj1
= 0 ;
23181 PyObject
* obj2
= 0 ;
23182 char * kwnames
[] = {
23183 (char *) "self",(char *) "x",(char *) "y", NULL
23186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23188 if (!SWIG_IsOK(res1
)) {
23189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23191 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23193 if (!SWIG_IsOK(ecode2
)) {
23194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23196 arg2
= static_cast< int >(val2
);
23197 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23198 if (!SWIG_IsOK(ecode3
)) {
23199 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23201 arg3
= static_cast< int >(val3
);
23203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23204 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23205 wxPyEndAllowThreads(__tstate
);
23206 if (PyErr_Occurred()) SWIG_fail
;
23208 resultobj
= SWIG_Py_Void();
23215 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23216 PyObject
*resultobj
= 0;
23217 wxDC
*arg1
= (wxDC
*) 0 ;
23218 wxPoint
*arg2
= 0 ;
23222 PyObject
* obj0
= 0 ;
23223 PyObject
* obj1
= 0 ;
23224 char * kwnames
[] = {
23225 (char *) "self",(char *) "point", NULL
23228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23230 if (!SWIG_IsOK(res1
)) {
23231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23233 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23236 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23240 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23241 wxPyEndAllowThreads(__tstate
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23244 resultobj
= SWIG_Py_Void();
23251 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23252 PyObject
*resultobj
= 0;
23253 wxDC
*arg1
= (wxDC
*) 0 ;
23256 PyObject
*swig_obj
[1] ;
23258 if (!args
) SWIG_fail
;
23259 swig_obj
[0] = args
;
23260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23261 if (!SWIG_IsOK(res1
)) {
23262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23264 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23267 (arg1
)->ResetBoundingBox();
23268 wxPyEndAllowThreads(__tstate
);
23269 if (PyErr_Occurred()) SWIG_fail
;
23271 resultobj
= SWIG_Py_Void();
23278 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23279 PyObject
*resultobj
= 0;
23280 wxDC
*arg1
= (wxDC
*) 0 ;
23284 PyObject
*swig_obj
[1] ;
23286 if (!args
) SWIG_fail
;
23287 swig_obj
[0] = args
;
23288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23289 if (!SWIG_IsOK(res1
)) {
23290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23292 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23295 result
= (int)((wxDC
const *)arg1
)->MinX();
23296 wxPyEndAllowThreads(__tstate
);
23297 if (PyErr_Occurred()) SWIG_fail
;
23299 resultobj
= SWIG_From_int(static_cast< int >(result
));
23306 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23307 PyObject
*resultobj
= 0;
23308 wxDC
*arg1
= (wxDC
*) 0 ;
23312 PyObject
*swig_obj
[1] ;
23314 if (!args
) SWIG_fail
;
23315 swig_obj
[0] = args
;
23316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23317 if (!SWIG_IsOK(res1
)) {
23318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23320 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23323 result
= (int)((wxDC
const *)arg1
)->MaxX();
23324 wxPyEndAllowThreads(__tstate
);
23325 if (PyErr_Occurred()) SWIG_fail
;
23327 resultobj
= SWIG_From_int(static_cast< int >(result
));
23334 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23335 PyObject
*resultobj
= 0;
23336 wxDC
*arg1
= (wxDC
*) 0 ;
23340 PyObject
*swig_obj
[1] ;
23342 if (!args
) SWIG_fail
;
23343 swig_obj
[0] = args
;
23344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23345 if (!SWIG_IsOK(res1
)) {
23346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23348 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23351 result
= (int)((wxDC
const *)arg1
)->MinY();
23352 wxPyEndAllowThreads(__tstate
);
23353 if (PyErr_Occurred()) SWIG_fail
;
23355 resultobj
= SWIG_From_int(static_cast< int >(result
));
23362 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23363 PyObject
*resultobj
= 0;
23364 wxDC
*arg1
= (wxDC
*) 0 ;
23368 PyObject
*swig_obj
[1] ;
23370 if (!args
) SWIG_fail
;
23371 swig_obj
[0] = args
;
23372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23373 if (!SWIG_IsOK(res1
)) {
23374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23376 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23379 result
= (int)((wxDC
const *)arg1
)->MaxY();
23380 wxPyEndAllowThreads(__tstate
);
23381 if (PyErr_Occurred()) SWIG_fail
;
23383 resultobj
= SWIG_From_int(static_cast< int >(result
));
23390 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23391 PyObject
*resultobj
= 0;
23392 wxDC
*arg1
= (wxDC
*) 0 ;
23393 int *arg2
= (int *) 0 ;
23394 int *arg3
= (int *) 0 ;
23395 int *arg4
= (int *) 0 ;
23396 int *arg5
= (int *) 0 ;
23400 int res2
= SWIG_TMPOBJ
;
23402 int res3
= SWIG_TMPOBJ
;
23404 int res4
= SWIG_TMPOBJ
;
23406 int res5
= SWIG_TMPOBJ
;
23407 PyObject
*swig_obj
[1] ;
23413 if (!args
) SWIG_fail
;
23414 swig_obj
[0] = args
;
23415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23416 if (!SWIG_IsOK(res1
)) {
23417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23419 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23422 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23423 wxPyEndAllowThreads(__tstate
);
23424 if (PyErr_Occurred()) SWIG_fail
;
23426 resultobj
= SWIG_Py_Void();
23427 if (SWIG_IsTmpObj(res2
)) {
23428 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23430 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23431 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23433 if (SWIG_IsTmpObj(res3
)) {
23434 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23436 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23437 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23439 if (SWIG_IsTmpObj(res4
)) {
23440 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23442 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23443 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23445 if (SWIG_IsTmpObj(res5
)) {
23446 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23448 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23449 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23457 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23458 PyObject
*resultobj
= 0;
23459 wxDC
*arg1
= (wxDC
*) 0 ;
23460 wxLayoutDirection result
;
23463 PyObject
*swig_obj
[1] ;
23465 if (!args
) SWIG_fail
;
23466 swig_obj
[0] = args
;
23467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23468 if (!SWIG_IsOK(res1
)) {
23469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23471 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23474 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23475 wxPyEndAllowThreads(__tstate
);
23476 if (PyErr_Occurred()) SWIG_fail
;
23478 resultobj
= SWIG_From_int(static_cast< int >(result
));
23485 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23486 PyObject
*resultobj
= 0;
23487 wxDC
*arg1
= (wxDC
*) 0 ;
23488 wxLayoutDirection arg2
;
23493 PyObject
* obj0
= 0 ;
23494 PyObject
* obj1
= 0 ;
23495 char * kwnames
[] = {
23496 (char *) "self",(char *) "dir", NULL
23499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23501 if (!SWIG_IsOK(res1
)) {
23502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23504 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23506 if (!SWIG_IsOK(ecode2
)) {
23507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23509 arg2
= static_cast< wxLayoutDirection
>(val2
);
23511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23512 (arg1
)->SetLayoutDirection(arg2
);
23513 wxPyEndAllowThreads(__tstate
);
23514 if (PyErr_Occurred()) SWIG_fail
;
23516 resultobj
= SWIG_Py_Void();
23523 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23524 PyObject
*resultobj
= 0;
23525 wxDC
*arg1
= (wxDC
*) 0 ;
23529 PyObject
*swig_obj
[1] ;
23531 if (!args
) SWIG_fail
;
23532 swig_obj
[0] = args
;
23533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23534 if (!SWIG_IsOK(res1
)) {
23535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
23537 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23540 result
= (long)(arg1
)->GetHDC();
23541 wxPyEndAllowThreads(__tstate
);
23542 if (PyErr_Occurred()) SWIG_fail
;
23544 resultobj
= SWIG_From_long(static_cast< long >(result
));
23551 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23552 PyObject
*resultobj
= 0;
23553 wxDC
*arg1
= (wxDC
*) 0 ;
23554 PyObject
*arg2
= (PyObject
*) 0 ;
23555 PyObject
*arg3
= (PyObject
*) 0 ;
23556 PyObject
*arg4
= (PyObject
*) 0 ;
23557 PyObject
*result
= 0 ;
23560 PyObject
* obj0
= 0 ;
23561 PyObject
* obj1
= 0 ;
23562 PyObject
* obj2
= 0 ;
23563 PyObject
* obj3
= 0 ;
23564 char * kwnames
[] = {
23565 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23570 if (!SWIG_IsOK(res1
)) {
23571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23573 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23579 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23580 wxPyEndAllowThreads(__tstate
);
23581 if (PyErr_Occurred()) SWIG_fail
;
23583 resultobj
= result
;
23590 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23591 PyObject
*resultobj
= 0;
23592 wxDC
*arg1
= (wxDC
*) 0 ;
23593 PyObject
*arg2
= (PyObject
*) 0 ;
23594 PyObject
*arg3
= (PyObject
*) 0 ;
23595 PyObject
*arg4
= (PyObject
*) 0 ;
23596 PyObject
*result
= 0 ;
23599 PyObject
* obj0
= 0 ;
23600 PyObject
* obj1
= 0 ;
23601 PyObject
* obj2
= 0 ;
23602 PyObject
* obj3
= 0 ;
23603 char * kwnames
[] = {
23604 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23609 if (!SWIG_IsOK(res1
)) {
23610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23612 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23618 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23619 wxPyEndAllowThreads(__tstate
);
23620 if (PyErr_Occurred()) SWIG_fail
;
23622 resultobj
= result
;
23629 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23630 PyObject
*resultobj
= 0;
23631 wxDC
*arg1
= (wxDC
*) 0 ;
23632 PyObject
*arg2
= (PyObject
*) 0 ;
23633 PyObject
*arg3
= (PyObject
*) 0 ;
23634 PyObject
*arg4
= (PyObject
*) 0 ;
23635 PyObject
*result
= 0 ;
23638 PyObject
* obj0
= 0 ;
23639 PyObject
* obj1
= 0 ;
23640 PyObject
* obj2
= 0 ;
23641 PyObject
* obj3
= 0 ;
23642 char * kwnames
[] = {
23643 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23648 if (!SWIG_IsOK(res1
)) {
23649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23651 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23657 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23658 wxPyEndAllowThreads(__tstate
);
23659 if (PyErr_Occurred()) SWIG_fail
;
23661 resultobj
= result
;
23668 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23669 PyObject
*resultobj
= 0;
23670 wxDC
*arg1
= (wxDC
*) 0 ;
23671 PyObject
*arg2
= (PyObject
*) 0 ;
23672 PyObject
*arg3
= (PyObject
*) 0 ;
23673 PyObject
*arg4
= (PyObject
*) 0 ;
23674 PyObject
*result
= 0 ;
23677 PyObject
* obj0
= 0 ;
23678 PyObject
* obj1
= 0 ;
23679 PyObject
* obj2
= 0 ;
23680 PyObject
* obj3
= 0 ;
23681 char * kwnames
[] = {
23682 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23687 if (!SWIG_IsOK(res1
)) {
23688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23690 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23696 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23697 wxPyEndAllowThreads(__tstate
);
23698 if (PyErr_Occurred()) SWIG_fail
;
23700 resultobj
= result
;
23707 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23708 PyObject
*resultobj
= 0;
23709 wxDC
*arg1
= (wxDC
*) 0 ;
23710 PyObject
*arg2
= (PyObject
*) 0 ;
23711 PyObject
*arg3
= (PyObject
*) 0 ;
23712 PyObject
*arg4
= (PyObject
*) 0 ;
23713 PyObject
*result
= 0 ;
23716 PyObject
* obj0
= 0 ;
23717 PyObject
* obj1
= 0 ;
23718 PyObject
* obj2
= 0 ;
23719 PyObject
* obj3
= 0 ;
23720 char * kwnames
[] = {
23721 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23726 if (!SWIG_IsOK(res1
)) {
23727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23729 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23735 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23739 resultobj
= result
;
23746 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23747 PyObject
*resultobj
= 0;
23748 wxDC
*arg1
= (wxDC
*) 0 ;
23749 PyObject
*arg2
= (PyObject
*) 0 ;
23750 PyObject
*arg3
= (PyObject
*) 0 ;
23751 PyObject
*arg4
= (PyObject
*) 0 ;
23752 PyObject
*arg5
= (PyObject
*) 0 ;
23753 PyObject
*result
= 0 ;
23756 PyObject
* obj0
= 0 ;
23757 PyObject
* obj1
= 0 ;
23758 PyObject
* obj2
= 0 ;
23759 PyObject
* obj3
= 0 ;
23760 PyObject
* obj4
= 0 ;
23761 char * kwnames
[] = {
23762 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23767 if (!SWIG_IsOK(res1
)) {
23768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23770 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23777 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23778 wxPyEndAllowThreads(__tstate
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23781 resultobj
= result
;
23788 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23790 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23791 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23792 return SWIG_Py_Void();
23795 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23796 PyObject
*resultobj
= 0;
23797 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
23798 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
23799 wxMemoryDC
*result
= 0 ;
23802 PyObject
* obj0
= 0 ;
23803 char * kwnames
[] = {
23804 (char *) "bitmap", NULL
23807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
23809 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23810 if (!SWIG_IsOK(res1
)) {
23811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23816 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
23819 if (!wxPyCheckForApp()) SWIG_fail
;
23820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23821 result
= (wxMemoryDC
*)new wxMemoryDC((wxBitmap
const &)*arg1
);
23822 wxPyEndAllowThreads(__tstate
);
23823 if (PyErr_Occurred()) SWIG_fail
;
23825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23832 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23833 PyObject
*resultobj
= 0;
23834 wxDC
*arg1
= (wxDC
*) 0 ;
23835 wxMemoryDC
*result
= 0 ;
23838 PyObject
* obj0
= 0 ;
23839 char * kwnames
[] = {
23840 (char *) "oldDC", NULL
23843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23845 if (!SWIG_IsOK(res1
)) {
23846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23848 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23850 if (!wxPyCheckForApp()) SWIG_fail
;
23851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23852 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23853 wxPyEndAllowThreads(__tstate
);
23854 if (PyErr_Occurred()) SWIG_fail
;
23856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23863 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23864 PyObject
*resultobj
= 0;
23865 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23866 wxBitmap
*arg2
= 0 ;
23871 PyObject
* obj0
= 0 ;
23872 PyObject
* obj1
= 0 ;
23873 char * kwnames
[] = {
23874 (char *) "self",(char *) "bitmap", NULL
23877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23879 if (!SWIG_IsOK(res1
)) {
23880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23882 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23883 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23884 if (!SWIG_IsOK(res2
)) {
23885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23888 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23890 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23893 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23894 wxPyEndAllowThreads(__tstate
);
23895 if (PyErr_Occurred()) SWIG_fail
;
23897 resultobj
= SWIG_Py_Void();
23904 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23906 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23907 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23908 return SWIG_Py_Void();
23911 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23912 return SWIG_Python_InitShadowInstance(args
);
23915 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23916 PyObject
*resultobj
= 0;
23917 wxScreenDC
*result
= 0 ;
23919 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23921 if (!wxPyCheckForApp()) SWIG_fail
;
23922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23923 result
= (wxScreenDC
*)new wxScreenDC();
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23934 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23935 PyObject
*resultobj
= 0;
23936 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23937 wxWindow
*arg2
= (wxWindow
*) 0 ;
23943 PyObject
* obj0
= 0 ;
23944 PyObject
* obj1
= 0 ;
23945 char * kwnames
[] = {
23946 (char *) "self",(char *) "window", NULL
23949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23951 if (!SWIG_IsOK(res1
)) {
23952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23954 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23955 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23956 if (!SWIG_IsOK(res2
)) {
23957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23959 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23962 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23963 wxPyEndAllowThreads(__tstate
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23975 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23976 PyObject
*resultobj
= 0;
23977 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23978 wxRect
*arg2
= (wxRect
*) NULL
;
23984 PyObject
* obj0
= 0 ;
23985 PyObject
* obj1
= 0 ;
23986 char * kwnames
[] = {
23987 (char *) "self",(char *) "rect", NULL
23990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23992 if (!SWIG_IsOK(res1
)) {
23993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23995 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23997 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23998 if (!SWIG_IsOK(res2
)) {
23999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24001 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24005 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24006 wxPyEndAllowThreads(__tstate
);
24007 if (PyErr_Occurred()) SWIG_fail
;
24010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24018 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24019 PyObject
*resultobj
= 0;
24020 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24024 PyObject
*swig_obj
[1] ;
24026 if (!args
) SWIG_fail
;
24027 swig_obj
[0] = args
;
24028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24029 if (!SWIG_IsOK(res1
)) {
24030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24032 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24035 result
= (bool)(arg1
)->EndDrawingOnTop();
24036 wxPyEndAllowThreads(__tstate
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24048 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24050 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24051 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24052 return SWIG_Py_Void();
24055 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24056 return SWIG_Python_InitShadowInstance(args
);
24059 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24060 PyObject
*resultobj
= 0;
24061 wxWindow
*arg1
= (wxWindow
*) 0 ;
24062 wxWindowDC
*result
= 0 ;
24065 PyObject
* obj0
= 0 ;
24066 char * kwnames
[] = {
24067 (char *) "win", NULL
24070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24072 if (!SWIG_IsOK(res1
)) {
24073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24075 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24077 if (!wxPyCheckForApp()) SWIG_fail
;
24078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24079 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24080 wxPyEndAllowThreads(__tstate
);
24081 if (PyErr_Occurred()) SWIG_fail
;
24083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24090 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24093 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24094 return SWIG_Py_Void();
24097 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24098 return SWIG_Python_InitShadowInstance(args
);
24101 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24102 PyObject
*resultobj
= 0;
24103 wxWindow
*arg1
= (wxWindow
*) 0 ;
24104 wxClientDC
*result
= 0 ;
24107 PyObject
* obj0
= 0 ;
24108 char * kwnames
[] = {
24109 (char *) "win", NULL
24112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24114 if (!SWIG_IsOK(res1
)) {
24115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24117 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24119 if (!wxPyCheckForApp()) SWIG_fail
;
24120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24121 result
= (wxClientDC
*)new wxClientDC(arg1
);
24122 wxPyEndAllowThreads(__tstate
);
24123 if (PyErr_Occurred()) SWIG_fail
;
24125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24132 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24134 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24135 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24136 return SWIG_Py_Void();
24139 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24140 return SWIG_Python_InitShadowInstance(args
);
24143 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24144 PyObject
*resultobj
= 0;
24145 wxWindow
*arg1
= (wxWindow
*) 0 ;
24146 wxPaintDC
*result
= 0 ;
24149 PyObject
* obj0
= 0 ;
24150 char * kwnames
[] = {
24151 (char *) "win", NULL
24154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24156 if (!SWIG_IsOK(res1
)) {
24157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24159 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24161 if (!wxPyCheckForApp()) SWIG_fail
;
24162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24163 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24164 wxPyEndAllowThreads(__tstate
);
24165 if (PyErr_Occurred()) SWIG_fail
;
24167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24174 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24176 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24177 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24178 return SWIG_Py_Void();
24181 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24182 return SWIG_Python_InitShadowInstance(args
);
24185 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24186 PyObject
*resultobj
= 0;
24187 wxDC
*arg1
= (wxDC
*) 0 ;
24188 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24189 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24190 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24191 wxBufferedDC
*result
= 0 ;
24199 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24201 if (!SWIG_IsOK(res1
)) {
24202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24204 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24206 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24207 if (!SWIG_IsOK(res2
)) {
24208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24211 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24213 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24216 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24217 if (!SWIG_IsOK(ecode3
)) {
24218 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24220 arg3
= static_cast< int >(val3
);
24223 if (!wxPyCheckForApp()) SWIG_fail
;
24224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24225 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24226 wxPyEndAllowThreads(__tstate
);
24227 if (PyErr_Occurred()) SWIG_fail
;
24229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24236 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24237 PyObject
*resultobj
= 0;
24238 wxDC
*arg1
= (wxDC
*) 0 ;
24240 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24241 wxBufferedDC
*result
= 0 ;
24248 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24250 if (!SWIG_IsOK(res1
)) {
24251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24253 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24256 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24259 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24260 if (!SWIG_IsOK(ecode3
)) {
24261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24263 arg3
= static_cast< int >(val3
);
24266 if (!wxPyCheckForApp()) SWIG_fail
;
24267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24268 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24269 wxPyEndAllowThreads(__tstate
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24279 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24283 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24285 if ((argc
>= 1) && (argc
<= 3)) {
24289 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
24290 _v
= SWIG_CheckState(res
);
24292 if (!_v
) goto check_1
;
24294 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24298 if ((argc
>= 2) && (argc
<= 3)) {
24299 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24303 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24308 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24309 PyObject
*resultobj
= 0;
24310 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24313 PyObject
*swig_obj
[1] ;
24315 if (!args
) SWIG_fail
;
24316 swig_obj
[0] = args
;
24317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24318 if (!SWIG_IsOK(res1
)) {
24319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24321 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24326 wxPyEndAllowThreads(__tstate
);
24327 if (PyErr_Occurred()) SWIG_fail
;
24329 resultobj
= SWIG_Py_Void();
24336 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24337 PyObject
*resultobj
= 0;
24338 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24341 PyObject
*swig_obj
[1] ;
24343 if (!args
) SWIG_fail
;
24344 swig_obj
[0] = args
;
24345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24346 if (!SWIG_IsOK(res1
)) {
24347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24349 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24353 wxPyEndAllowThreads(__tstate
);
24354 if (PyErr_Occurred()) SWIG_fail
;
24356 resultobj
= SWIG_Py_Void();
24363 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24365 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24366 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24367 return SWIG_Py_Void();
24370 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24371 return SWIG_Python_InitShadowInstance(args
);
24374 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24375 PyObject
*resultobj
= 0;
24376 wxWindow
*arg1
= (wxWindow
*) 0 ;
24377 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24378 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24379 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24380 wxBufferedPaintDC
*result
= 0 ;
24387 PyObject
* obj0
= 0 ;
24388 PyObject
* obj1
= 0 ;
24389 PyObject
* obj2
= 0 ;
24390 char * kwnames
[] = {
24391 (char *) "window",(char *) "buffer",(char *) "style", NULL
24394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24396 if (!SWIG_IsOK(res1
)) {
24397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24399 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24401 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24402 if (!SWIG_IsOK(res2
)) {
24403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24408 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24411 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24412 if (!SWIG_IsOK(ecode3
)) {
24413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24415 arg3
= static_cast< int >(val3
);
24418 if (!wxPyCheckForApp()) SWIG_fail
;
24419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24420 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24421 wxPyEndAllowThreads(__tstate
);
24422 if (PyErr_Occurred()) SWIG_fail
;
24424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24431 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24433 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24434 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24435 return SWIG_Py_Void();
24438 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24439 return SWIG_Python_InitShadowInstance(args
);
24442 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24443 PyObject
*resultobj
= 0;
24444 wxWindow
*arg1
= (wxWindow
*) 0 ;
24445 wxAutoBufferedPaintDC
*result
= 0 ;
24448 PyObject
* obj0
= 0 ;
24449 char * kwnames
[] = {
24450 (char *) "win", NULL
24453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24455 if (!SWIG_IsOK(res1
)) {
24456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24458 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24461 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24462 wxPyEndAllowThreads(__tstate
);
24463 if (PyErr_Occurred()) SWIG_fail
;
24465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24472 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24474 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24475 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24476 return SWIG_Py_Void();
24479 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24480 return SWIG_Python_InitShadowInstance(args
);
24483 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24484 PyObject
*resultobj
= 0;
24485 wxWindow
*arg1
= (wxWindow
*) 0 ;
24489 PyObject
* obj0
= 0 ;
24490 char * kwnames
[] = {
24491 (char *) "window", NULL
24494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24496 if (!SWIG_IsOK(res1
)) {
24497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24499 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24502 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24503 wxPyEndAllowThreads(__tstate
);
24504 if (PyErr_Occurred()) SWIG_fail
;
24507 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24515 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24516 PyObject
*resultobj
= 0;
24519 wxMirrorDC
*result
= 0 ;
24524 PyObject
* obj0
= 0 ;
24525 PyObject
* obj1
= 0 ;
24526 char * kwnames
[] = {
24527 (char *) "dc",(char *) "mirror", NULL
24530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24531 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24532 if (!SWIG_IsOK(res1
)) {
24533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24538 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24539 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24540 if (!SWIG_IsOK(ecode2
)) {
24541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24543 arg2
= static_cast< bool >(val2
);
24545 if (!wxPyCheckForApp()) SWIG_fail
;
24546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24547 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24548 wxPyEndAllowThreads(__tstate
);
24549 if (PyErr_Occurred()) SWIG_fail
;
24551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24558 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24560 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24561 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24562 return SWIG_Py_Void();
24565 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24566 return SWIG_Python_InitShadowInstance(args
);
24569 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
= 0;
24571 wxPrintData
*arg1
= 0 ;
24572 wxPostScriptDC
*result
= 0 ;
24575 PyObject
* obj0
= 0 ;
24576 char * kwnames
[] = {
24577 (char *) "printData", NULL
24580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24581 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24582 if (!SWIG_IsOK(res1
)) {
24583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24588 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24590 if (!wxPyCheckForApp()) SWIG_fail
;
24591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24592 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24593 wxPyEndAllowThreads(__tstate
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24603 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24604 PyObject
*resultobj
= 0;
24605 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24606 wxPrintData
*result
= 0 ;
24609 PyObject
*swig_obj
[1] ;
24611 if (!args
) SWIG_fail
;
24612 swig_obj
[0] = args
;
24613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24614 if (!SWIG_IsOK(res1
)) {
24615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24617 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24621 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24622 result
= (wxPrintData
*) &_result_ref
;
24624 wxPyEndAllowThreads(__tstate
);
24625 if (PyErr_Occurred()) SWIG_fail
;
24627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24634 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24635 PyObject
*resultobj
= 0;
24636 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24637 wxPrintData
*arg2
= 0 ;
24642 PyObject
* obj0
= 0 ;
24643 PyObject
* obj1
= 0 ;
24644 char * kwnames
[] = {
24645 (char *) "self",(char *) "data", NULL
24648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24650 if (!SWIG_IsOK(res1
)) {
24651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24653 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24654 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24655 if (!SWIG_IsOK(res2
)) {
24656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24661 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24664 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24665 wxPyEndAllowThreads(__tstate
);
24666 if (PyErr_Occurred()) SWIG_fail
;
24668 resultobj
= SWIG_Py_Void();
24675 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24676 PyObject
*resultobj
= 0;
24680 PyObject
* obj0
= 0 ;
24681 char * kwnames
[] = {
24682 (char *) "ppi", NULL
24685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24686 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24687 if (!SWIG_IsOK(ecode1
)) {
24688 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24690 arg1
= static_cast< int >(val1
);
24692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24693 wxPostScriptDC::SetResolution(arg1
);
24694 wxPyEndAllowThreads(__tstate
);
24695 if (PyErr_Occurred()) SWIG_fail
;
24697 resultobj
= SWIG_Py_Void();
24704 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24705 PyObject
*resultobj
= 0;
24708 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24711 result
= (int)wxPostScriptDC::GetResolution();
24712 wxPyEndAllowThreads(__tstate
);
24713 if (PyErr_Occurred()) SWIG_fail
;
24715 resultobj
= SWIG_From_int(static_cast< int >(result
));
24722 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24724 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24725 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24726 return SWIG_Py_Void();
24729 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24730 return SWIG_Python_InitShadowInstance(args
);
24733 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24734 PyObject
*resultobj
= 0;
24735 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24736 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24737 wxMetaFile
*result
= 0 ;
24738 bool temp1
= false ;
24739 PyObject
* obj0
= 0 ;
24740 char * kwnames
[] = {
24741 (char *) "filename", NULL
24744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24747 arg1
= wxString_in_helper(obj0
);
24748 if (arg1
== NULL
) SWIG_fail
;
24753 if (!wxPyCheckForApp()) SWIG_fail
;
24754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24755 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24756 wxPyEndAllowThreads(__tstate
);
24757 if (PyErr_Occurred()) SWIG_fail
;
24759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24774 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24775 PyObject
*resultobj
= 0;
24776 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24779 PyObject
*swig_obj
[1] ;
24781 if (!args
) SWIG_fail
;
24782 swig_obj
[0] = args
;
24783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
24784 if (!SWIG_IsOK(res1
)) {
24785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24787 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24792 wxPyEndAllowThreads(__tstate
);
24793 if (PyErr_Occurred()) SWIG_fail
;
24795 resultobj
= SWIG_Py_Void();
24802 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24803 PyObject
*resultobj
= 0;
24804 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24808 PyObject
*swig_obj
[1] ;
24810 if (!args
) SWIG_fail
;
24811 swig_obj
[0] = args
;
24812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24813 if (!SWIG_IsOK(res1
)) {
24814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24816 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24819 result
= (bool)(arg1
)->IsOk();
24820 wxPyEndAllowThreads(__tstate
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24832 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24833 PyObject
*resultobj
= 0;
24834 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24835 int arg2
= (int) 0 ;
24836 int arg3
= (int) 0 ;
24844 PyObject
* obj0
= 0 ;
24845 PyObject
* obj1
= 0 ;
24846 PyObject
* obj2
= 0 ;
24847 char * kwnames
[] = {
24848 (char *) "self",(char *) "width",(char *) "height", NULL
24851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24853 if (!SWIG_IsOK(res1
)) {
24854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24856 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24859 if (!SWIG_IsOK(ecode2
)) {
24860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
24862 arg2
= static_cast< int >(val2
);
24865 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24866 if (!SWIG_IsOK(ecode3
)) {
24867 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
24869 arg3
= static_cast< int >(val3
);
24872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24873 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
24874 wxPyEndAllowThreads(__tstate
);
24875 if (PyErr_Occurred()) SWIG_fail
;
24878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24886 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24887 PyObject
*resultobj
= 0;
24888 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24892 PyObject
*swig_obj
[1] ;
24894 if (!args
) SWIG_fail
;
24895 swig_obj
[0] = args
;
24896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24897 if (!SWIG_IsOK(res1
)) {
24898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24900 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24903 result
= (arg1
)->GetSize();
24904 wxPyEndAllowThreads(__tstate
);
24905 if (PyErr_Occurred()) SWIG_fail
;
24907 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24914 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24915 PyObject
*resultobj
= 0;
24916 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24920 PyObject
*swig_obj
[1] ;
24922 if (!args
) SWIG_fail
;
24923 swig_obj
[0] = args
;
24924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24925 if (!SWIG_IsOK(res1
)) {
24926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24928 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24931 result
= (int)(arg1
)->GetWidth();
24932 wxPyEndAllowThreads(__tstate
);
24933 if (PyErr_Occurred()) SWIG_fail
;
24935 resultobj
= SWIG_From_int(static_cast< int >(result
));
24942 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24943 PyObject
*resultobj
= 0;
24944 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24948 PyObject
*swig_obj
[1] ;
24950 if (!args
) SWIG_fail
;
24951 swig_obj
[0] = args
;
24952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24953 if (!SWIG_IsOK(res1
)) {
24954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24956 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24959 result
= (int)(arg1
)->GetHeight();
24960 wxPyEndAllowThreads(__tstate
);
24961 if (PyErr_Occurred()) SWIG_fail
;
24963 resultobj
= SWIG_From_int(static_cast< int >(result
));
24970 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24971 PyObject
*resultobj
= 0;
24972 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24973 wxString
*result
= 0 ;
24976 PyObject
*swig_obj
[1] ;
24978 if (!args
) SWIG_fail
;
24979 swig_obj
[0] = args
;
24980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24981 if (!SWIG_IsOK(res1
)) {
24982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
24984 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24988 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
24989 result
= (wxString
*) &_result_ref
;
24991 wxPyEndAllowThreads(__tstate
);
24992 if (PyErr_Occurred()) SWIG_fail
;
24996 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24998 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25007 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25009 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25010 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25011 return SWIG_Py_Void();
25014 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25015 return SWIG_Python_InitShadowInstance(args
);
25018 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25019 PyObject
*resultobj
= 0;
25020 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25021 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25022 int arg2
= (int) 0 ;
25023 int arg3
= (int) 0 ;
25024 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25025 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25026 wxMetaFileDC
*result
= 0 ;
25027 bool temp1
= false ;
25032 bool temp4
= false ;
25033 PyObject
* obj0
= 0 ;
25034 PyObject
* obj1
= 0 ;
25035 PyObject
* obj2
= 0 ;
25036 PyObject
* obj3
= 0 ;
25037 char * kwnames
[] = {
25038 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25044 arg1
= wxString_in_helper(obj0
);
25045 if (arg1
== NULL
) SWIG_fail
;
25050 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25051 if (!SWIG_IsOK(ecode2
)) {
25052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25054 arg2
= static_cast< int >(val2
);
25057 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25058 if (!SWIG_IsOK(ecode3
)) {
25059 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25061 arg3
= static_cast< int >(val3
);
25065 arg4
= wxString_in_helper(obj3
);
25066 if (arg4
== NULL
) SWIG_fail
;
25071 if (!wxPyCheckForApp()) SWIG_fail
;
25072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25073 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25074 wxPyEndAllowThreads(__tstate
);
25075 if (PyErr_Occurred()) SWIG_fail
;
25077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25100 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25101 PyObject
*resultobj
= 0;
25102 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25103 wxMetaFile
*result
= 0 ;
25106 PyObject
*swig_obj
[1] ;
25108 if (!args
) SWIG_fail
;
25109 swig_obj
[0] = args
;
25110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25111 if (!SWIG_IsOK(res1
)) {
25112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25114 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25117 result
= (wxMetaFile
*)(arg1
)->Close();
25118 wxPyEndAllowThreads(__tstate
);
25119 if (PyErr_Occurred()) SWIG_fail
;
25121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25128 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25130 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25131 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25132 return SWIG_Py_Void();
25135 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25136 return SWIG_Python_InitShadowInstance(args
);
25139 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25140 PyObject
*resultobj
= 0;
25141 wxPrintData
*arg1
= 0 ;
25142 wxPrinterDC
*result
= 0 ;
25145 PyObject
* obj0
= 0 ;
25146 char * kwnames
[] = {
25147 (char *) "printData", NULL
25150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25151 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25152 if (!SWIG_IsOK(res1
)) {
25153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25158 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25160 if (!wxPyCheckForApp()) SWIG_fail
;
25161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25162 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25163 wxPyEndAllowThreads(__tstate
);
25164 if (PyErr_Occurred()) SWIG_fail
;
25166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25173 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25175 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25176 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25177 return SWIG_Py_Void();
25180 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25181 return SWIG_Python_InitShadowInstance(args
);
25184 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25185 PyObject
*resultobj
= 0;
25186 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25189 PyObject
*swig_obj
[1] ;
25191 if (!args
) SWIG_fail
;
25192 swig_obj
[0] = args
;
25193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
25194 if (!SWIG_IsOK(res1
)) {
25195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25197 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25201 if (PyErr_Occurred()) SWIG_fail
;
25203 resultobj
= SWIG_Py_Void();
25210 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25211 PyObject
*resultobj
= 0;
25212 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25221 PyObject
* obj0
= 0 ;
25222 PyObject
* obj1
= 0 ;
25223 PyObject
* obj2
= 0 ;
25224 char * kwnames
[] = {
25225 (char *) "self",(char *) "x",(char *) "y", NULL
25228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_MoveToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25230 if (!SWIG_IsOK(res1
)) {
25231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25233 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25234 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25235 if (!SWIG_IsOK(ecode2
)) {
25236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25238 arg2
= static_cast< wxDouble
>(val2
);
25239 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25240 if (!SWIG_IsOK(ecode3
)) {
25241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25243 arg3
= static_cast< wxDouble
>(val3
);
25245 (arg1
)->MoveToPoint(arg2
,arg3
);
25246 if (PyErr_Occurred()) SWIG_fail
;
25248 resultobj
= SWIG_Py_Void();
25255 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25256 PyObject
*resultobj
= 0;
25257 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25266 PyObject
* obj0
= 0 ;
25267 PyObject
* obj1
= 0 ;
25268 PyObject
* obj2
= 0 ;
25269 char * kwnames
[] = {
25270 (char *) "self",(char *) "x",(char *) "y", NULL
25273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_AddLineToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25275 if (!SWIG_IsOK(res1
)) {
25276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25278 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25279 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25280 if (!SWIG_IsOK(ecode2
)) {
25281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25283 arg2
= static_cast< wxDouble
>(val2
);
25284 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25285 if (!SWIG_IsOK(ecode3
)) {
25286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25288 arg3
= static_cast< wxDouble
>(val3
);
25290 (arg1
)->AddLineToPoint(arg2
,arg3
);
25291 if (PyErr_Occurred()) SWIG_fail
;
25293 resultobj
= SWIG_Py_Void();
25300 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25301 PyObject
*resultobj
= 0;
25302 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25323 PyObject
* obj0
= 0 ;
25324 PyObject
* obj1
= 0 ;
25325 PyObject
* obj2
= 0 ;
25326 PyObject
* obj3
= 0 ;
25327 PyObject
* obj4
= 0 ;
25328 PyObject
* obj5
= 0 ;
25329 PyObject
* obj6
= 0 ;
25330 char * kwnames
[] = {
25331 (char *) "self",(char *) "cx1",(char *) "cy1",(char *) "cx2",(char *) "cy2",(char *) "x",(char *) "y", NULL
25334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25336 if (!SWIG_IsOK(res1
)) {
25337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25339 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25340 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25341 if (!SWIG_IsOK(ecode2
)) {
25342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25344 arg2
= static_cast< wxDouble
>(val2
);
25345 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25346 if (!SWIG_IsOK(ecode3
)) {
25347 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25349 arg3
= static_cast< wxDouble
>(val3
);
25350 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25351 if (!SWIG_IsOK(ecode4
)) {
25352 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25354 arg4
= static_cast< wxDouble
>(val4
);
25355 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25356 if (!SWIG_IsOK(ecode5
)) {
25357 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25359 arg5
= static_cast< wxDouble
>(val5
);
25360 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25361 if (!SWIG_IsOK(ecode6
)) {
25362 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
25364 arg6
= static_cast< wxDouble
>(val6
);
25365 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25366 if (!SWIG_IsOK(ecode7
)) {
25367 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
25369 arg7
= static_cast< wxDouble
>(val7
);
25371 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25372 if (PyErr_Occurred()) SWIG_fail
;
25374 resultobj
= SWIG_Py_Void();
25381 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25382 PyObject
*resultobj
= 0;
25383 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25386 PyObject
*swig_obj
[1] ;
25388 if (!args
) SWIG_fail
;
25389 swig_obj
[0] = args
;
25390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25391 if (!SWIG_IsOK(res1
)) {
25392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25394 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25396 (arg1
)->CloseSubpath();
25397 if (PyErr_Occurred()) SWIG_fail
;
25399 resultobj
= SWIG_Py_Void();
25406 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25407 PyObject
*resultobj
= 0;
25408 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25412 PyObject
*swig_obj
[1] ;
25414 if (!args
) SWIG_fail
;
25415 swig_obj
[0] = args
;
25416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25417 if (!SWIG_IsOK(res1
)) {
25418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25420 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25422 result
= (arg1
)->GetCurrentPoint();
25423 if (PyErr_Occurred()) SWIG_fail
;
25425 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
25432 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25433 PyObject
*resultobj
= 0;
25434 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25455 PyObject
* obj0
= 0 ;
25456 PyObject
* obj1
= 0 ;
25457 PyObject
* obj2
= 0 ;
25458 PyObject
* obj3
= 0 ;
25459 PyObject
* obj4
= 0 ;
25460 PyObject
* obj5
= 0 ;
25461 PyObject
* obj6
= 0 ;
25462 char * kwnames
[] = {
25463 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "startAngle",(char *) "endAngle",(char *) "clockwise", NULL
25466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25468 if (!SWIG_IsOK(res1
)) {
25469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25471 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25472 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25473 if (!SWIG_IsOK(ecode2
)) {
25474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
25476 arg2
= static_cast< wxDouble
>(val2
);
25477 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25478 if (!SWIG_IsOK(ecode3
)) {
25479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
25481 arg3
= static_cast< wxDouble
>(val3
);
25482 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25483 if (!SWIG_IsOK(ecode4
)) {
25484 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
25486 arg4
= static_cast< wxDouble
>(val4
);
25487 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25488 if (!SWIG_IsOK(ecode5
)) {
25489 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
25491 arg5
= static_cast< wxDouble
>(val5
);
25492 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25493 if (!SWIG_IsOK(ecode6
)) {
25494 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
25496 arg6
= static_cast< wxDouble
>(val6
);
25497 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
25498 if (!SWIG_IsOK(ecode7
)) {
25499 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
25501 arg7
= static_cast< bool >(val7
);
25503 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25504 if (PyErr_Occurred()) SWIG_fail
;
25506 resultobj
= SWIG_Py_Void();
25513 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25514 PyObject
*resultobj
= 0;
25515 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25530 PyObject
* obj0
= 0 ;
25531 PyObject
* obj1
= 0 ;
25532 PyObject
* obj2
= 0 ;
25533 PyObject
* obj3
= 0 ;
25534 PyObject
* obj4
= 0 ;
25535 char * kwnames
[] = {
25536 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
25539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25541 if (!SWIG_IsOK(res1
)) {
25542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25544 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25545 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25546 if (!SWIG_IsOK(ecode2
)) {
25547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25549 arg2
= static_cast< wxDouble
>(val2
);
25550 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25551 if (!SWIG_IsOK(ecode3
)) {
25552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25554 arg3
= static_cast< wxDouble
>(val3
);
25555 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25556 if (!SWIG_IsOK(ecode4
)) {
25557 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25559 arg4
= static_cast< wxDouble
>(val4
);
25560 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25561 if (!SWIG_IsOK(ecode5
)) {
25562 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25564 arg5
= static_cast< wxDouble
>(val5
);
25566 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
25567 if (PyErr_Occurred()) SWIG_fail
;
25569 resultobj
= SWIG_Py_Void();
25576 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25577 PyObject
*resultobj
= 0;
25578 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25593 PyObject
* obj0
= 0 ;
25594 PyObject
* obj1
= 0 ;
25595 PyObject
* obj2
= 0 ;
25596 PyObject
* obj3
= 0 ;
25597 PyObject
* obj4
= 0 ;
25598 char * kwnames
[] = {
25599 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25604 if (!SWIG_IsOK(res1
)) {
25605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25607 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25608 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25609 if (!SWIG_IsOK(ecode2
)) {
25610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
25612 arg2
= static_cast< wxDouble
>(val2
);
25613 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25614 if (!SWIG_IsOK(ecode3
)) {
25615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
25617 arg3
= static_cast< wxDouble
>(val3
);
25618 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25619 if (!SWIG_IsOK(ecode4
)) {
25620 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
25622 arg4
= static_cast< wxDouble
>(val4
);
25623 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25624 if (!SWIG_IsOK(ecode5
)) {
25625 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
25627 arg5
= static_cast< wxDouble
>(val5
);
25629 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
25630 if (PyErr_Occurred()) SWIG_fail
;
25632 resultobj
= SWIG_Py_Void();
25639 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25640 PyObject
*resultobj
= 0;
25641 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25653 PyObject
* obj0
= 0 ;
25654 PyObject
* obj1
= 0 ;
25655 PyObject
* obj2
= 0 ;
25656 PyObject
* obj3
= 0 ;
25657 char * kwnames
[] = {
25658 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
25661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25663 if (!SWIG_IsOK(res1
)) {
25664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25666 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25667 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25668 if (!SWIG_IsOK(ecode2
)) {
25669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
25671 arg2
= static_cast< wxDouble
>(val2
);
25672 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25673 if (!SWIG_IsOK(ecode3
)) {
25674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
25676 arg3
= static_cast< wxDouble
>(val3
);
25677 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25678 if (!SWIG_IsOK(ecode4
)) {
25679 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
25681 arg4
= static_cast< wxDouble
>(val4
);
25683 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
25684 if (PyErr_Occurred()) SWIG_fail
;
25686 resultobj
= SWIG_Py_Void();
25693 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25694 PyObject
*resultobj
= 0;
25695 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25713 PyObject
* obj0
= 0 ;
25714 PyObject
* obj1
= 0 ;
25715 PyObject
* obj2
= 0 ;
25716 PyObject
* obj3
= 0 ;
25717 PyObject
* obj4
= 0 ;
25718 PyObject
* obj5
= 0 ;
25719 char * kwnames
[] = {
25720 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
25723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25725 if (!SWIG_IsOK(res1
)) {
25726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25728 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25729 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25730 if (!SWIG_IsOK(ecode2
)) {
25731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25733 arg2
= static_cast< wxDouble
>(val2
);
25734 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25735 if (!SWIG_IsOK(ecode3
)) {
25736 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25738 arg3
= static_cast< wxDouble
>(val3
);
25739 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25740 if (!SWIG_IsOK(ecode4
)) {
25741 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25743 arg4
= static_cast< wxDouble
>(val4
);
25744 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25745 if (!SWIG_IsOK(ecode5
)) {
25746 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25748 arg5
= static_cast< wxDouble
>(val5
);
25749 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25750 if (!SWIG_IsOK(ecode6
)) {
25751 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
25753 arg6
= static_cast< wxDouble
>(val6
);
25755 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25758 resultobj
= SWIG_Py_Void();
25765 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25767 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25768 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
25769 return SWIG_Py_Void();
25772 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25773 PyObject
*resultobj
= 0;
25774 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25777 PyObject
*swig_obj
[1] ;
25779 if (!args
) SWIG_fail
;
25780 swig_obj
[0] = args
;
25781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
25782 if (!SWIG_IsOK(res1
)) {
25783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25785 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25789 if (PyErr_Occurred()) SWIG_fail
;
25791 resultobj
= SWIG_Py_Void();
25798 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25799 PyObject
*resultobj
= 0;
25800 wxWindowDC
*arg1
= 0 ;
25801 wxGraphicsContext
*result
= 0 ;
25805 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
25807 if (!SWIG_IsOK(res1
)) {
25808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
25811 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
25813 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
25815 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25818 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25825 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25826 PyObject
*resultobj
= 0;
25827 wxWindow
*arg1
= (wxWindow
*) 0 ;
25828 wxGraphicsContext
*result
= 0 ;
25832 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25834 if (!SWIG_IsOK(res1
)) {
25835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
25837 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25839 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
25840 if (PyErr_Occurred()) SWIG_fail
;
25842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25849 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
25853 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
25858 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
25859 _v
= SWIG_CheckState(res
);
25861 if (!_v
) goto check_1
;
25862 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
25867 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
25871 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
25876 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25877 PyObject
*resultobj
= 0;
25878 void *arg1
= (void *) 0 ;
25879 wxGraphicsContext
*result
= 0 ;
25881 PyObject
* obj0
= 0 ;
25882 char * kwnames
[] = {
25883 (char *) "context", NULL
25886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
25887 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
25888 if (!SWIG_IsOK(res1
)) {
25889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
25892 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
25893 if (PyErr_Occurred()) SWIG_fail
;
25895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25902 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25903 PyObject
*resultobj
= 0;
25904 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25905 wxGraphicsPath
*result
= 0 ;
25908 PyObject
*swig_obj
[1] ;
25910 if (!args
) SWIG_fail
;
25911 swig_obj
[0] = args
;
25912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25913 if (!SWIG_IsOK(res1
)) {
25914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25916 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25918 result
= (wxGraphicsPath
*)(arg1
)->CreatePath();
25919 if (PyErr_Occurred()) SWIG_fail
;
25921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25928 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25929 PyObject
*resultobj
= 0;
25930 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25933 PyObject
*swig_obj
[1] ;
25935 if (!args
) SWIG_fail
;
25936 swig_obj
[0] = args
;
25937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25938 if (!SWIG_IsOK(res1
)) {
25939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25941 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25943 (arg1
)->PushState();
25944 if (PyErr_Occurred()) SWIG_fail
;
25946 resultobj
= SWIG_Py_Void();
25953 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25954 PyObject
*resultobj
= 0;
25955 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25958 PyObject
*swig_obj
[1] ;
25960 if (!args
) SWIG_fail
;
25961 swig_obj
[0] = args
;
25962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25963 if (!SWIG_IsOK(res1
)) {
25964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25966 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25968 (arg1
)->PopState();
25969 if (PyErr_Occurred()) SWIG_fail
;
25971 resultobj
= SWIG_Py_Void();
25978 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25979 PyObject
*resultobj
= 0;
25980 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25981 wxRegion
*arg2
= 0 ;
25986 PyObject
* obj0
= 0 ;
25987 PyObject
* obj1
= 0 ;
25988 char * kwnames
[] = {
25989 (char *) "self",(char *) "region", NULL
25992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25994 if (!SWIG_IsOK(res1
)) {
25995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25997 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25998 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
25999 if (!SWIG_IsOK(res2
)) {
26000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
26003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
26005 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
26007 (arg1
)->Clip((wxRegion
const &)*arg2
);
26008 if (PyErr_Occurred()) SWIG_fail
;
26010 resultobj
= SWIG_Py_Void();
26017 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26018 PyObject
*resultobj
= 0;
26019 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26034 PyObject
* obj0
= 0 ;
26035 PyObject
* obj1
= 0 ;
26036 PyObject
* obj2
= 0 ;
26037 PyObject
* obj3
= 0 ;
26038 PyObject
* obj4
= 0 ;
26039 char * kwnames
[] = {
26040 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26045 if (!SWIG_IsOK(res1
)) {
26046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26048 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26049 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26050 if (!SWIG_IsOK(ecode2
)) {
26051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
26053 arg2
= static_cast< wxDouble
>(val2
);
26054 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26055 if (!SWIG_IsOK(ecode3
)) {
26056 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
26058 arg3
= static_cast< wxDouble
>(val3
);
26059 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26060 if (!SWIG_IsOK(ecode4
)) {
26061 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
26063 arg4
= static_cast< wxDouble
>(val4
);
26064 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26065 if (!SWIG_IsOK(ecode5
)) {
26066 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
26068 arg5
= static_cast< wxDouble
>(val5
);
26070 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
26071 if (PyErr_Occurred()) SWIG_fail
;
26073 resultobj
= SWIG_Py_Void();
26080 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26081 PyObject
*resultobj
= 0;
26082 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26085 PyObject
*swig_obj
[1] ;
26087 if (!args
) SWIG_fail
;
26088 swig_obj
[0] = args
;
26089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26090 if (!SWIG_IsOK(res1
)) {
26091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26093 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26095 (arg1
)->ResetClip();
26096 if (PyErr_Occurred()) SWIG_fail
;
26098 resultobj
= SWIG_Py_Void();
26105 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26106 PyObject
*resultobj
= 0;
26107 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26111 PyObject
*swig_obj
[1] ;
26113 if (!args
) SWIG_fail
;
26114 swig_obj
[0] = args
;
26115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26116 if (!SWIG_IsOK(res1
)) {
26117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26119 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26121 result
= (void *)(arg1
)->GetNativeContext();
26122 if (PyErr_Occurred()) SWIG_fail
;
26124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26131 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26132 PyObject
*resultobj
= 0;
26133 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26142 PyObject
* obj0
= 0 ;
26143 PyObject
* obj1
= 0 ;
26144 PyObject
* obj2
= 0 ;
26145 char * kwnames
[] = {
26146 (char *) "self",(char *) "dx",(char *) "dy", NULL
26149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26151 if (!SWIG_IsOK(res1
)) {
26152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26154 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26155 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26156 if (!SWIG_IsOK(ecode2
)) {
26157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26159 arg2
= static_cast< wxDouble
>(val2
);
26160 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26161 if (!SWIG_IsOK(ecode3
)) {
26162 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26164 arg3
= static_cast< wxDouble
>(val3
);
26166 (arg1
)->Translate(arg2
,arg3
);
26167 if (PyErr_Occurred()) SWIG_fail
;
26169 resultobj
= SWIG_Py_Void();
26176 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26177 PyObject
*resultobj
= 0;
26178 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26187 PyObject
* obj0
= 0 ;
26188 PyObject
* obj1
= 0 ;
26189 PyObject
* obj2
= 0 ;
26190 char * kwnames
[] = {
26191 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26196 if (!SWIG_IsOK(res1
)) {
26197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26199 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26200 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26201 if (!SWIG_IsOK(ecode2
)) {
26202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26204 arg2
= static_cast< wxDouble
>(val2
);
26205 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26206 if (!SWIG_IsOK(ecode3
)) {
26207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26209 arg3
= static_cast< wxDouble
>(val3
);
26211 (arg1
)->Scale(arg2
,arg3
);
26212 if (PyErr_Occurred()) SWIG_fail
;
26214 resultobj
= SWIG_Py_Void();
26221 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26222 PyObject
*resultobj
= 0;
26223 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26229 PyObject
* obj0
= 0 ;
26230 PyObject
* obj1
= 0 ;
26231 char * kwnames
[] = {
26232 (char *) "self",(char *) "angle", NULL
26235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26237 if (!SWIG_IsOK(res1
)) {
26238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26240 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26241 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26242 if (!SWIG_IsOK(ecode2
)) {
26243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26245 arg2
= static_cast< wxDouble
>(val2
);
26247 (arg1
)->Rotate(arg2
);
26248 if (PyErr_Occurred()) SWIG_fail
;
26250 resultobj
= SWIG_Py_Void();
26257 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26258 PyObject
*resultobj
= 0;
26259 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26265 PyObject
* obj0
= 0 ;
26266 PyObject
* obj1
= 0 ;
26267 char * kwnames
[] = {
26268 (char *) "self",(char *) "pen", NULL
26271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26273 if (!SWIG_IsOK(res1
)) {
26274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26276 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26277 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
26278 if (!SWIG_IsOK(res2
)) {
26279 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
26282 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
26284 arg2
= reinterpret_cast< wxPen
* >(argp2
);
26286 (arg1
)->SetPen((wxPen
const &)*arg2
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26289 resultobj
= SWIG_Py_Void();
26296 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26297 PyObject
*resultobj
= 0;
26298 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26299 wxBrush
*arg2
= 0 ;
26304 PyObject
* obj0
= 0 ;
26305 PyObject
* obj1
= 0 ;
26306 char * kwnames
[] = {
26307 (char *) "self",(char *) "brush", NULL
26310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26312 if (!SWIG_IsOK(res1
)) {
26313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26315 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26316 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
26317 if (!SWIG_IsOK(res2
)) {
26318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
26321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
26323 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
26325 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
26326 if (PyErr_Occurred()) SWIG_fail
;
26328 resultobj
= SWIG_Py_Void();
26335 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26336 PyObject
*resultobj
= 0;
26337 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26342 wxColour
*arg6
= 0 ;
26343 wxColour
*arg7
= 0 ;
26356 PyObject
* obj0
= 0 ;
26357 PyObject
* obj1
= 0 ;
26358 PyObject
* obj2
= 0 ;
26359 PyObject
* obj3
= 0 ;
26360 PyObject
* obj4
= 0 ;
26361 PyObject
* obj5
= 0 ;
26362 PyObject
* obj6
= 0 ;
26363 char * kwnames
[] = {
26364 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
26367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_SetLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26369 if (!SWIG_IsOK(res1
)) {
26370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26372 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26373 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26374 if (!SWIG_IsOK(ecode2
)) {
26375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
26377 arg2
= static_cast< wxDouble
>(val2
);
26378 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26379 if (!SWIG_IsOK(ecode3
)) {
26380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
26382 arg3
= static_cast< wxDouble
>(val3
);
26383 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26384 if (!SWIG_IsOK(ecode4
)) {
26385 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
26387 arg4
= static_cast< wxDouble
>(val4
);
26388 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26389 if (!SWIG_IsOK(ecode5
)) {
26390 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
26392 arg5
= static_cast< wxDouble
>(val5
);
26395 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
26399 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
26402 (arg1
)->SetLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
26403 if (PyErr_Occurred()) SWIG_fail
;
26405 resultobj
= SWIG_Py_Void();
26412 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26413 PyObject
*resultobj
= 0;
26414 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26420 wxColour
*arg7
= 0 ;
26421 wxColour
*arg8
= 0 ;
26436 PyObject
* obj0
= 0 ;
26437 PyObject
* obj1
= 0 ;
26438 PyObject
* obj2
= 0 ;
26439 PyObject
* obj3
= 0 ;
26440 PyObject
* obj4
= 0 ;
26441 PyObject
* obj5
= 0 ;
26442 PyObject
* obj6
= 0 ;
26443 PyObject
* obj7
= 0 ;
26444 char * kwnames
[] = {
26445 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
26448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_SetRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
26449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26450 if (!SWIG_IsOK(res1
)) {
26451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26453 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26454 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26455 if (!SWIG_IsOK(ecode2
)) {
26456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
26458 arg2
= static_cast< wxDouble
>(val2
);
26459 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26460 if (!SWIG_IsOK(ecode3
)) {
26461 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
26463 arg3
= static_cast< wxDouble
>(val3
);
26464 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26465 if (!SWIG_IsOK(ecode4
)) {
26466 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
26468 arg4
= static_cast< wxDouble
>(val4
);
26469 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26470 if (!SWIG_IsOK(ecode5
)) {
26471 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
26473 arg5
= static_cast< wxDouble
>(val5
);
26474 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26475 if (!SWIG_IsOK(ecode6
)) {
26476 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
26478 arg6
= static_cast< wxDouble
>(val6
);
26481 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
26485 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
26488 (arg1
)->SetRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
26489 if (PyErr_Occurred()) SWIG_fail
;
26491 resultobj
= SWIG_Py_Void();
26498 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26499 PyObject
*resultobj
= 0;
26500 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26506 PyObject
* obj0
= 0 ;
26507 PyObject
* obj1
= 0 ;
26508 char * kwnames
[] = {
26509 (char *) "self",(char *) "font", NULL
26512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26514 if (!SWIG_IsOK(res1
)) {
26515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26517 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26518 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26519 if (!SWIG_IsOK(res2
)) {
26520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26525 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26527 (arg1
)->SetFont((wxFont
const &)*arg2
);
26528 if (PyErr_Occurred()) SWIG_fail
;
26530 resultobj
= SWIG_Py_Void();
26537 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTextColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26538 PyObject
*resultobj
= 0;
26539 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26540 wxColour
*arg2
= 0 ;
26544 PyObject
* obj0
= 0 ;
26545 PyObject
* obj1
= 0 ;
26546 char * kwnames
[] = {
26547 (char *) "self",(char *) "col", NULL
26550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTextColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26552 if (!SWIG_IsOK(res1
)) {
26553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTextColor" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26555 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26558 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26561 (arg1
)->SetTextColor((wxColour
const &)*arg2
);
26562 if (PyErr_Occurred()) SWIG_fail
;
26564 resultobj
= SWIG_Py_Void();
26571 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26572 PyObject
*resultobj
= 0;
26573 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26574 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
26579 PyObject
* obj0
= 0 ;
26580 PyObject
* obj1
= 0 ;
26581 char * kwnames
[] = {
26582 (char *) "self",(char *) "path", NULL
26585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26587 if (!SWIG_IsOK(res1
)) {
26588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26590 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26591 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26592 if (!SWIG_IsOK(res2
)) {
26593 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
26595 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26597 (arg1
)->StrokePath((wxGraphicsPath
const *)arg2
);
26598 if (PyErr_Occurred()) SWIG_fail
;
26600 resultobj
= SWIG_Py_Void();
26607 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26608 PyObject
*resultobj
= 0;
26609 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26610 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
26611 int arg3
= (int) wxWINDING_RULE
;
26618 PyObject
* obj0
= 0 ;
26619 PyObject
* obj1
= 0 ;
26620 PyObject
* obj2
= 0 ;
26621 char * kwnames
[] = {
26622 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
26625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26627 if (!SWIG_IsOK(res1
)) {
26628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26630 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26631 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26632 if (!SWIG_IsOK(res2
)) {
26633 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
26635 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26637 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26638 if (!SWIG_IsOK(ecode3
)) {
26639 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
26641 arg3
= static_cast< int >(val3
);
26644 (arg1
)->FillPath((wxGraphicsPath
const *)arg2
,arg3
);
26645 if (PyErr_Occurred()) SWIG_fail
;
26647 resultobj
= SWIG_Py_Void();
26654 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26655 PyObject
*resultobj
= 0;
26656 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26657 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
26658 int arg3
= (int) wxWINDING_RULE
;
26665 PyObject
* obj0
= 0 ;
26666 PyObject
* obj1
= 0 ;
26667 PyObject
* obj2
= 0 ;
26668 char * kwnames
[] = {
26669 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
26672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26674 if (!SWIG_IsOK(res1
)) {
26675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26677 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26678 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26679 if (!SWIG_IsOK(res2
)) {
26680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
26682 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26684 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26685 if (!SWIG_IsOK(ecode3
)) {
26686 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
26688 arg3
= static_cast< int >(val3
);
26691 (arg1
)->DrawPath((wxGraphicsPath
const *)arg2
,arg3
);
26692 if (PyErr_Occurred()) SWIG_fail
;
26694 resultobj
= SWIG_Py_Void();
26701 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26702 PyObject
*resultobj
= 0;
26703 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26704 wxString
*arg2
= 0 ;
26709 bool temp2
= false ;
26714 PyObject
* obj0
= 0 ;
26715 PyObject
* obj1
= 0 ;
26716 PyObject
* obj2
= 0 ;
26717 PyObject
* obj3
= 0 ;
26718 char * kwnames
[] = {
26719 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
26722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26724 if (!SWIG_IsOK(res1
)) {
26725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26727 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26729 arg2
= wxString_in_helper(obj1
);
26730 if (arg2
== NULL
) SWIG_fail
;
26733 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26734 if (!SWIG_IsOK(ecode3
)) {
26735 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
26737 arg3
= static_cast< wxDouble
>(val3
);
26738 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26739 if (!SWIG_IsOK(ecode4
)) {
26740 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
26742 arg4
= static_cast< wxDouble
>(val4
);
26744 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
26745 if (PyErr_Occurred()) SWIG_fail
;
26747 resultobj
= SWIG_Py_Void();
26762 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26763 PyObject
*resultobj
= 0;
26764 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26765 wxString
*arg2
= 0 ;
26771 bool temp2
= false ;
26778 PyObject
* obj0
= 0 ;
26779 PyObject
* obj1
= 0 ;
26780 PyObject
* obj2
= 0 ;
26781 PyObject
* obj3
= 0 ;
26782 PyObject
* obj4
= 0 ;
26783 char * kwnames
[] = {
26784 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
26787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26789 if (!SWIG_IsOK(res1
)) {
26790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26792 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26794 arg2
= wxString_in_helper(obj1
);
26795 if (arg2
== NULL
) SWIG_fail
;
26798 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26799 if (!SWIG_IsOK(ecode3
)) {
26800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
26802 arg3
= static_cast< wxDouble
>(val3
);
26803 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26804 if (!SWIG_IsOK(ecode4
)) {
26805 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
26807 arg4
= static_cast< wxDouble
>(val4
);
26808 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26809 if (!SWIG_IsOK(ecode5
)) {
26810 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
26812 arg5
= static_cast< wxDouble
>(val5
);
26814 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26815 if (PyErr_Occurred()) SWIG_fail
;
26817 resultobj
= SWIG_Py_Void();
26832 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26833 PyObject
*resultobj
= 0;
26834 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26835 wxString
*arg2
= 0 ;
26836 wxDouble
*arg3
= (wxDouble
*) 0 ;
26837 wxDouble
*arg4
= (wxDouble
*) 0 ;
26838 wxDouble
*arg5
= (wxDouble
*) 0 ;
26839 wxDouble
*arg6
= (wxDouble
*) 0 ;
26842 bool temp2
= false ;
26844 int res3
= SWIG_TMPOBJ
;
26846 int res4
= SWIG_TMPOBJ
;
26848 int res5
= SWIG_TMPOBJ
;
26850 int res6
= SWIG_TMPOBJ
;
26851 PyObject
* obj0
= 0 ;
26852 PyObject
* obj1
= 0 ;
26853 char * kwnames
[] = {
26854 (char *) "self",(char *) "text", NULL
26861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26863 if (!SWIG_IsOK(res1
)) {
26864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
26866 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26868 arg2
= wxString_in_helper(obj1
);
26869 if (arg2
== NULL
) SWIG_fail
;
26873 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26874 if (PyErr_Occurred()) SWIG_fail
;
26876 resultobj
= SWIG_Py_Void();
26877 if (SWIG_IsTmpObj(res3
)) {
26878 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26880 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26881 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26883 if (SWIG_IsTmpObj(res4
)) {
26884 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
26886 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26887 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
26889 if (SWIG_IsTmpObj(res5
)) {
26890 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
26892 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26893 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
26895 if (SWIG_IsTmpObj(res6
)) {
26896 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
26898 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26899 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
26915 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26916 PyObject
*resultobj
= 0;
26917 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26918 wxString
*arg2
= 0 ;
26919 wxArrayDouble result
;
26922 bool temp2
= false ;
26923 PyObject
* obj0
= 0 ;
26924 PyObject
* obj1
= 0 ;
26925 char * kwnames
[] = {
26926 (char *) "self",(char *) "text", NULL
26929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26931 if (!SWIG_IsOK(res1
)) {
26932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26934 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26936 arg2
= wxString_in_helper(obj1
);
26937 if (arg2
== NULL
) SWIG_fail
;
26941 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
26942 if (PyErr_Occurred()) SWIG_fail
;
26945 resultobj
= wxArrayDouble2PyList_helper(result
);
26961 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26962 PyObject
*resultobj
= 0;
26963 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26964 wxBitmap
*arg2
= 0 ;
26981 PyObject
* obj0
= 0 ;
26982 PyObject
* obj1
= 0 ;
26983 PyObject
* obj2
= 0 ;
26984 PyObject
* obj3
= 0 ;
26985 PyObject
* obj4
= 0 ;
26986 PyObject
* obj5
= 0 ;
26987 char * kwnames
[] = {
26988 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26993 if (!SWIG_IsOK(res1
)) {
26994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26996 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26997 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26998 if (!SWIG_IsOK(res2
)) {
26999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27002 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27004 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27005 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27006 if (!SWIG_IsOK(ecode3
)) {
27007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
27009 arg3
= static_cast< wxDouble
>(val3
);
27010 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27011 if (!SWIG_IsOK(ecode4
)) {
27012 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
27014 arg4
= static_cast< wxDouble
>(val4
);
27015 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27016 if (!SWIG_IsOK(ecode5
)) {
27017 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
27019 arg5
= static_cast< wxDouble
>(val5
);
27020 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27021 if (!SWIG_IsOK(ecode6
)) {
27022 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
27024 arg6
= static_cast< wxDouble
>(val6
);
27026 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27029 resultobj
= SWIG_Py_Void();
27036 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27037 PyObject
*resultobj
= 0;
27038 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27056 PyObject
* obj0
= 0 ;
27057 PyObject
* obj1
= 0 ;
27058 PyObject
* obj2
= 0 ;
27059 PyObject
* obj3
= 0 ;
27060 PyObject
* obj4
= 0 ;
27061 PyObject
* obj5
= 0 ;
27062 char * kwnames
[] = {
27063 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27068 if (!SWIG_IsOK(res1
)) {
27069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27071 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27072 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
27073 if (!SWIG_IsOK(res2
)) {
27074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27077 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27079 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
27080 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27081 if (!SWIG_IsOK(ecode3
)) {
27082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
27084 arg3
= static_cast< wxDouble
>(val3
);
27085 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27086 if (!SWIG_IsOK(ecode4
)) {
27087 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
27089 arg4
= static_cast< wxDouble
>(val4
);
27090 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27091 if (!SWIG_IsOK(ecode5
)) {
27092 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
27094 arg5
= static_cast< wxDouble
>(val5
);
27095 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27096 if (!SWIG_IsOK(ecode6
)) {
27097 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
27099 arg6
= static_cast< wxDouble
>(val6
);
27101 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27102 if (PyErr_Occurred()) SWIG_fail
;
27104 resultobj
= SWIG_Py_Void();
27111 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27112 PyObject
*resultobj
= 0;
27113 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27128 PyObject
* obj0
= 0 ;
27129 PyObject
* obj1
= 0 ;
27130 PyObject
* obj2
= 0 ;
27131 PyObject
* obj3
= 0 ;
27132 PyObject
* obj4
= 0 ;
27133 char * kwnames
[] = {
27134 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
27137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27139 if (!SWIG_IsOK(res1
)) {
27140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27142 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27143 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27144 if (!SWIG_IsOK(ecode2
)) {
27145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
27147 arg2
= static_cast< wxDouble
>(val2
);
27148 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27149 if (!SWIG_IsOK(ecode3
)) {
27150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
27152 arg3
= static_cast< wxDouble
>(val3
);
27153 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27154 if (!SWIG_IsOK(ecode4
)) {
27155 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
27157 arg4
= static_cast< wxDouble
>(val4
);
27158 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27159 if (!SWIG_IsOK(ecode5
)) {
27160 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
27162 arg5
= static_cast< wxDouble
>(val5
);
27164 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
27165 if (PyErr_Occurred()) SWIG_fail
;
27167 resultobj
= SWIG_Py_Void();
27174 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27175 PyObject
*resultobj
= 0;
27176 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27178 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
27181 PyObject
* obj0
= 0 ;
27182 PyObject
* obj1
= 0 ;
27183 char * kwnames
[] = {
27184 (char *) "self",(char *) "points", NULL
27187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27189 if (!SWIG_IsOK(res1
)) {
27190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27192 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27194 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
27195 if (arg3
== NULL
) SWIG_fail
;
27198 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
27199 if (PyErr_Occurred()) SWIG_fail
;
27201 resultobj
= SWIG_Py_Void();
27203 if (arg3
) delete [] arg3
;
27208 if (arg3
) delete [] arg3
;
27214 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27215 PyObject
*resultobj
= 0;
27216 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27217 PyObject
*arg2
= (PyObject
*) 0 ;
27218 PyObject
*arg3
= (PyObject
*) 0 ;
27221 PyObject
* obj0
= 0 ;
27222 PyObject
* obj1
= 0 ;
27223 PyObject
* obj2
= 0 ;
27224 char * kwnames
[] = {
27225 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
27228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27230 if (!SWIG_IsOK(res1
)) {
27231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27233 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27237 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
27238 if (PyErr_Occurred()) SWIG_fail
;
27240 resultobj
= SWIG_Py_Void();
27247 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27248 PyObject
*resultobj
= 0;
27249 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27251 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
27252 int arg4
= (int) wxWINDING_RULE
;
27257 PyObject
* obj0
= 0 ;
27258 PyObject
* obj1
= 0 ;
27259 PyObject
* obj2
= 0 ;
27260 char * kwnames
[] = {
27261 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
27264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27266 if (!SWIG_IsOK(res1
)) {
27267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27269 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27271 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
27272 if (arg3
== NULL
) SWIG_fail
;
27275 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
27276 if (!SWIG_IsOK(ecode4
)) {
27277 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
27279 arg4
= static_cast< int >(val4
);
27282 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
27283 if (PyErr_Occurred()) SWIG_fail
;
27285 resultobj
= SWIG_Py_Void();
27287 if (arg3
) delete [] arg3
;
27292 if (arg3
) delete [] arg3
;
27298 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27299 PyObject
*resultobj
= 0;
27300 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27315 PyObject
* obj0
= 0 ;
27316 PyObject
* obj1
= 0 ;
27317 PyObject
* obj2
= 0 ;
27318 PyObject
* obj3
= 0 ;
27319 PyObject
* obj4
= 0 ;
27320 char * kwnames
[] = {
27321 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27326 if (!SWIG_IsOK(res1
)) {
27327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27329 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27330 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27331 if (!SWIG_IsOK(ecode2
)) {
27332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27334 arg2
= static_cast< wxDouble
>(val2
);
27335 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27336 if (!SWIG_IsOK(ecode3
)) {
27337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27339 arg3
= static_cast< wxDouble
>(val3
);
27340 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27341 if (!SWIG_IsOK(ecode4
)) {
27342 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27344 arg4
= static_cast< wxDouble
>(val4
);
27345 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27346 if (!SWIG_IsOK(ecode5
)) {
27347 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27349 arg5
= static_cast< wxDouble
>(val5
);
27351 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
27352 if (PyErr_Occurred()) SWIG_fail
;
27354 resultobj
= SWIG_Py_Void();
27361 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27362 PyObject
*resultobj
= 0;
27363 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27378 PyObject
* obj0
= 0 ;
27379 PyObject
* obj1
= 0 ;
27380 PyObject
* obj2
= 0 ;
27381 PyObject
* obj3
= 0 ;
27382 PyObject
* obj4
= 0 ;
27383 char * kwnames
[] = {
27384 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27389 if (!SWIG_IsOK(res1
)) {
27390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27392 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27393 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27394 if (!SWIG_IsOK(ecode2
)) {
27395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27397 arg2
= static_cast< wxDouble
>(val2
);
27398 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27399 if (!SWIG_IsOK(ecode3
)) {
27400 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27402 arg3
= static_cast< wxDouble
>(val3
);
27403 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27404 if (!SWIG_IsOK(ecode4
)) {
27405 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27407 arg4
= static_cast< wxDouble
>(val4
);
27408 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27409 if (!SWIG_IsOK(ecode5
)) {
27410 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27412 arg5
= static_cast< wxDouble
>(val5
);
27414 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27417 resultobj
= SWIG_Py_Void();
27424 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27425 PyObject
*resultobj
= 0;
27426 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27444 PyObject
* obj0
= 0 ;
27445 PyObject
* obj1
= 0 ;
27446 PyObject
* obj2
= 0 ;
27447 PyObject
* obj3
= 0 ;
27448 PyObject
* obj4
= 0 ;
27449 PyObject
* obj5
= 0 ;
27450 char * kwnames
[] = {
27451 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27456 if (!SWIG_IsOK(res1
)) {
27457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27459 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27460 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27461 if (!SWIG_IsOK(ecode2
)) {
27462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27464 arg2
= static_cast< wxDouble
>(val2
);
27465 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27466 if (!SWIG_IsOK(ecode3
)) {
27467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27469 arg3
= static_cast< wxDouble
>(val3
);
27470 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27471 if (!SWIG_IsOK(ecode4
)) {
27472 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27474 arg4
= static_cast< wxDouble
>(val4
);
27475 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27476 if (!SWIG_IsOK(ecode5
)) {
27477 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27479 arg5
= static_cast< wxDouble
>(val5
);
27480 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27481 if (!SWIG_IsOK(ecode6
)) {
27482 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27484 arg6
= static_cast< wxDouble
>(val6
);
27486 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27487 if (PyErr_Occurred()) SWIG_fail
;
27489 resultobj
= SWIG_Py_Void();
27496 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27498 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27499 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
27500 return SWIG_Py_Void();
27503 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27504 PyObject
*resultobj
= 0;
27505 wxWindowDC
*arg1
= 0 ;
27506 wxGCDC
*result
= 0 ;
27509 PyObject
* obj0
= 0 ;
27510 char * kwnames
[] = {
27511 (char *) "dc", NULL
27514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
27515 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27516 if (!SWIG_IsOK(res1
)) {
27517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27522 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27524 if (!wxPyCheckForApp()) SWIG_fail
;
27525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27526 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
27527 wxPyEndAllowThreads(__tstate
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
27537 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27538 PyObject
*resultobj
= 0;
27539 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
27542 PyObject
*swig_obj
[1] ;
27544 if (!args
) SWIG_fail
;
27545 swig_obj
[0] = args
;
27546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
27547 if (!SWIG_IsOK(res1
)) {
27548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
27550 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
27554 if (PyErr_Occurred()) SWIG_fail
;
27556 resultobj
= SWIG_Py_Void();
27563 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27564 PyObject
*resultobj
= 0;
27565 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
27566 wxGraphicsContext
*result
= 0 ;
27569 PyObject
*swig_obj
[1] ;
27571 if (!args
) SWIG_fail
;
27572 swig_obj
[0] = args
;
27573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
27574 if (!SWIG_IsOK(res1
)) {
27575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
27577 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
27579 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
27580 if (PyErr_Occurred()) SWIG_fail
;
27582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27589 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27590 PyObject
*resultobj
= 0;
27591 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
27592 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
27597 PyObject
* obj0
= 0 ;
27598 PyObject
* obj1
= 0 ;
27599 char * kwnames
[] = {
27600 (char *) "self",(char *) "ctx", NULL
27603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
27605 if (!SWIG_IsOK(res1
)) {
27606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
27608 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
27609 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27610 if (!SWIG_IsOK(res2
)) {
27611 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
27613 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
27615 (arg1
)->SetGraphicsContext(arg2
);
27616 if (PyErr_Occurred()) SWIG_fail
;
27618 resultobj
= SWIG_Py_Void();
27625 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27627 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27628 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
27629 return SWIG_Py_Void();
27632 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27633 return SWIG_Python_InitShadowInstance(args
);
27636 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27637 PyObject
*resultobj
= 0;
27638 wxOverlay
*result
= 0 ;
27640 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
27642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27643 result
= (wxOverlay
*)new wxOverlay();
27644 wxPyEndAllowThreads(__tstate
);
27645 if (PyErr_Occurred()) SWIG_fail
;
27647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
27654 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27655 PyObject
*resultobj
= 0;
27656 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
27659 PyObject
*swig_obj
[1] ;
27661 if (!args
) SWIG_fail
;
27662 swig_obj
[0] = args
;
27663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
27664 if (!SWIG_IsOK(res1
)) {
27665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
27667 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27672 wxPyEndAllowThreads(__tstate
);
27673 if (PyErr_Occurred()) SWIG_fail
;
27675 resultobj
= SWIG_Py_Void();
27682 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27683 PyObject
*resultobj
= 0;
27684 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
27687 PyObject
*swig_obj
[1] ;
27689 if (!args
) SWIG_fail
;
27690 swig_obj
[0] = args
;
27691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
27692 if (!SWIG_IsOK(res1
)) {
27693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
27695 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27699 wxPyEndAllowThreads(__tstate
);
27700 if (PyErr_Occurred()) SWIG_fail
;
27702 resultobj
= SWIG_Py_Void();
27709 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27711 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27712 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
27713 return SWIG_Py_Void();
27716 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27717 return SWIG_Python_InitShadowInstance(args
);
27720 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27721 PyObject
*resultobj
= 0;
27722 wxOverlay
*arg1
= 0 ;
27723 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
27728 wxDCOverlay
*result
= 0 ;
27742 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
27743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
27744 if (!SWIG_IsOK(res1
)) {
27745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27748 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27750 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27751 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
27752 if (!SWIG_IsOK(res2
)) {
27753 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
27755 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
27756 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27757 if (!SWIG_IsOK(ecode3
)) {
27758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
27760 arg3
= static_cast< int >(val3
);
27761 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27762 if (!SWIG_IsOK(ecode4
)) {
27763 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
27765 arg4
= static_cast< int >(val4
);
27766 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
27767 if (!SWIG_IsOK(ecode5
)) {
27768 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
27770 arg5
= static_cast< int >(val5
);
27771 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
27772 if (!SWIG_IsOK(ecode6
)) {
27773 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
27775 arg6
= static_cast< int >(val6
);
27777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27778 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
27779 wxPyEndAllowThreads(__tstate
);
27780 if (PyErr_Occurred()) SWIG_fail
;
27782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
27789 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27790 PyObject
*resultobj
= 0;
27791 wxOverlay
*arg1
= 0 ;
27792 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
27793 wxDCOverlay
*result
= 0 ;
27799 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
27801 if (!SWIG_IsOK(res1
)) {
27802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27807 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27808 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
27809 if (!SWIG_IsOK(res2
)) {
27810 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
27812 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
27814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27815 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
27816 wxPyEndAllowThreads(__tstate
);
27817 if (PyErr_Occurred()) SWIG_fail
;
27819 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
27826 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
27830 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
27833 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
27836 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
27840 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
27845 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27846 PyObject
*resultobj
= 0;
27847 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
27850 PyObject
*swig_obj
[1] ;
27852 if (!args
) SWIG_fail
;
27853 swig_obj
[0] = args
;
27854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
27855 if (!SWIG_IsOK(res1
)) {
27856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
27858 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
27860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27863 wxPyEndAllowThreads(__tstate
);
27864 if (PyErr_Occurred()) SWIG_fail
;
27866 resultobj
= SWIG_Py_Void();
27873 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27874 PyObject
*resultobj
= 0;
27875 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
27878 PyObject
*swig_obj
[1] ;
27880 if (!args
) SWIG_fail
;
27881 swig_obj
[0] = args
;
27882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
27883 if (!SWIG_IsOK(res1
)) {
27884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
27886 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
27888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27890 wxPyEndAllowThreads(__tstate
);
27891 if (PyErr_Occurred()) SWIG_fail
;
27893 resultobj
= SWIG_Py_Void();
27900 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27902 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27903 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
27904 return SWIG_Py_Void();
27907 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27908 return SWIG_Python_InitShadowInstance(args
);
27911 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27912 PyObject
*resultobj
= 0;
27915 int arg3
= (int) true ;
27916 int arg4
= (int) 1 ;
27917 wxImageList
*result
= 0 ;
27926 PyObject
* obj0
= 0 ;
27927 PyObject
* obj1
= 0 ;
27928 PyObject
* obj2
= 0 ;
27929 PyObject
* obj3
= 0 ;
27930 char * kwnames
[] = {
27931 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
27934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27935 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27936 if (!SWIG_IsOK(ecode1
)) {
27937 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
27939 arg1
= static_cast< int >(val1
);
27940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27941 if (!SWIG_IsOK(ecode2
)) {
27942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
27944 arg2
= static_cast< int >(val2
);
27946 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27947 if (!SWIG_IsOK(ecode3
)) {
27948 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
27950 arg3
= static_cast< int >(val3
);
27953 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27954 if (!SWIG_IsOK(ecode4
)) {
27955 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
27957 arg4
= static_cast< int >(val4
);
27960 if (!wxPyCheckForApp()) SWIG_fail
;
27961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27962 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
27963 wxPyEndAllowThreads(__tstate
);
27964 if (PyErr_Occurred()) SWIG_fail
;
27966 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
27973 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27974 PyObject
*resultobj
= 0;
27975 wxImageList
*arg1
= (wxImageList
*) 0 ;
27978 PyObject
*swig_obj
[1] ;
27980 if (!args
) SWIG_fail
;
27981 swig_obj
[0] = args
;
27982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
27983 if (!SWIG_IsOK(res1
)) {
27984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
27986 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27991 wxPyEndAllowThreads(__tstate
);
27992 if (PyErr_Occurred()) SWIG_fail
;
27994 resultobj
= SWIG_Py_Void();
28001 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28002 PyObject
*resultobj
= 0;
28003 wxImageList
*arg1
= (wxImageList
*) 0 ;
28004 wxBitmap
*arg2
= 0 ;
28005 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
28006 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
28014 PyObject
* obj0
= 0 ;
28015 PyObject
* obj1
= 0 ;
28016 PyObject
* obj2
= 0 ;
28017 char * kwnames
[] = {
28018 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
28021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28023 if (!SWIG_IsOK(res1
)) {
28024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
28026 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28027 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28028 if (!SWIG_IsOK(res2
)) {
28029 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
28032 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
28034 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
28036 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28037 if (!SWIG_IsOK(res3
)) {
28038 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
28041 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
28043 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
28046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28047 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
28048 wxPyEndAllowThreads(__tstate
);
28049 if (PyErr_Occurred()) SWIG_fail
;
28051 resultobj
= SWIG_From_int(static_cast< int >(result
));
28058 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28059 PyObject
*resultobj
= 0;
28060 wxImageList
*arg1
= (wxImageList
*) 0 ;
28061 wxBitmap
*arg2
= 0 ;
28062 wxColour
*arg3
= 0 ;
28069 PyObject
* obj0
= 0 ;
28070 PyObject
* obj1
= 0 ;
28071 PyObject
* obj2
= 0 ;
28072 char * kwnames
[] = {
28073 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
28076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28078 if (!SWIG_IsOK(res1
)) {
28079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
28081 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28082 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28083 if (!SWIG_IsOK(res2
)) {
28084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
28087 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
28089 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
28092 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28096 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
28097 wxPyEndAllowThreads(__tstate
);
28098 if (PyErr_Occurred()) SWIG_fail
;
28100 resultobj
= SWIG_From_int(static_cast< int >(result
));
28107 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28108 PyObject
*resultobj
= 0;
28109 wxImageList
*arg1
= (wxImageList
*) 0 ;
28116 PyObject
* obj0
= 0 ;
28117 PyObject
* obj1
= 0 ;
28118 char * kwnames
[] = {
28119 (char *) "self",(char *) "icon", NULL
28122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28124 if (!SWIG_IsOK(res1
)) {
28125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
28127 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28128 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
28129 if (!SWIG_IsOK(res2
)) {
28130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
28133 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
28135 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
28137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28138 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
28139 wxPyEndAllowThreads(__tstate
);
28140 if (PyErr_Occurred()) SWIG_fail
;
28142 resultobj
= SWIG_From_int(static_cast< int >(result
));
28149 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28150 PyObject
*resultobj
= 0;
28151 wxImageList
*arg1
= (wxImageList
*) 0 ;
28153 SwigValueWrapper
<wxBitmap
> result
;
28158 PyObject
* obj0
= 0 ;
28159 PyObject
* obj1
= 0 ;
28160 char * kwnames
[] = {
28161 (char *) "self",(char *) "index", NULL
28164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28166 if (!SWIG_IsOK(res1
)) {
28167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
28169 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28171 if (!SWIG_IsOK(ecode2
)) {
28172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
28174 arg2
= static_cast< int >(val2
);
28176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28177 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
28178 wxPyEndAllowThreads(__tstate
);
28179 if (PyErr_Occurred()) SWIG_fail
;
28181 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
28188 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28189 PyObject
*resultobj
= 0;
28190 wxImageList
*arg1
= (wxImageList
*) 0 ;
28197 PyObject
* obj0
= 0 ;
28198 PyObject
* obj1
= 0 ;
28199 char * kwnames
[] = {
28200 (char *) "self",(char *) "index", NULL
28203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28205 if (!SWIG_IsOK(res1
)) {
28206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
28208 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28210 if (!SWIG_IsOK(ecode2
)) {
28211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
28213 arg2
= static_cast< int >(val2
);
28215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28216 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
28217 wxPyEndAllowThreads(__tstate
);
28218 if (PyErr_Occurred()) SWIG_fail
;
28220 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
28227 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28228 PyObject
*resultobj
= 0;
28229 wxImageList
*arg1
= (wxImageList
*) 0 ;
28231 wxBitmap
*arg3
= 0 ;
28232 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
28233 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
28243 PyObject
* obj0
= 0 ;
28244 PyObject
* obj1
= 0 ;
28245 PyObject
* obj2
= 0 ;
28246 PyObject
* obj3
= 0 ;
28247 char * kwnames
[] = {
28248 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
28251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28253 if (!SWIG_IsOK(res1
)) {
28254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
28256 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28258 if (!SWIG_IsOK(ecode2
)) {
28259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
28261 arg2
= static_cast< int >(val2
);
28262 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28263 if (!SWIG_IsOK(res3
)) {
28264 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
28267 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
28269 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
28271 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28272 if (!SWIG_IsOK(res4
)) {
28273 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
28276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
28278 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
28281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28282 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
28283 wxPyEndAllowThreads(__tstate
);
28284 if (PyErr_Occurred()) SWIG_fail
;
28287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28295 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28296 PyObject
*resultobj
= 0;
28297 wxImageList
*arg1
= (wxImageList
*) 0 ;
28302 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
28303 bool arg7
= (bool) (bool)false ;
28319 PyObject
* obj0
= 0 ;
28320 PyObject
* obj1
= 0 ;
28321 PyObject
* obj2
= 0 ;
28322 PyObject
* obj3
= 0 ;
28323 PyObject
* obj4
= 0 ;
28324 PyObject
* obj5
= 0 ;
28325 PyObject
* obj6
= 0 ;
28326 char * kwnames
[] = {
28327 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
28330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28332 if (!SWIG_IsOK(res1
)) {
28333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
28335 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28337 if (!SWIG_IsOK(ecode2
)) {
28338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
28340 arg2
= static_cast< int >(val2
);
28341 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28342 if (!SWIG_IsOK(res3
)) {
28343 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
28346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
28348 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28349 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28350 if (!SWIG_IsOK(ecode4
)) {
28351 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
28353 arg4
= static_cast< int >(val4
);
28354 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28355 if (!SWIG_IsOK(ecode5
)) {
28356 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
28358 arg5
= static_cast< int >(val5
);
28360 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
28361 if (!SWIG_IsOK(ecode6
)) {
28362 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
28364 arg6
= static_cast< int >(val6
);
28367 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
28368 if (!SWIG_IsOK(ecode7
)) {
28369 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
28371 arg7
= static_cast< bool >(val7
);
28374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28375 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
28376 wxPyEndAllowThreads(__tstate
);
28377 if (PyErr_Occurred()) SWIG_fail
;
28380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28388 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28389 PyObject
*resultobj
= 0;
28390 wxImageList
*arg1
= (wxImageList
*) 0 ;
28394 PyObject
*swig_obj
[1] ;
28396 if (!args
) SWIG_fail
;
28397 swig_obj
[0] = args
;
28398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28399 if (!SWIG_IsOK(res1
)) {
28400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
28402 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28405 result
= (int)(arg1
)->GetImageCount();
28406 wxPyEndAllowThreads(__tstate
);
28407 if (PyErr_Occurred()) SWIG_fail
;
28409 resultobj
= SWIG_From_int(static_cast< int >(result
));
28416 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28417 PyObject
*resultobj
= 0;
28418 wxImageList
*arg1
= (wxImageList
*) 0 ;
28425 PyObject
* obj0
= 0 ;
28426 PyObject
* obj1
= 0 ;
28427 char * kwnames
[] = {
28428 (char *) "self",(char *) "index", NULL
28431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28433 if (!SWIG_IsOK(res1
)) {
28434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
28436 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28438 if (!SWIG_IsOK(ecode2
)) {
28439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
28441 arg2
= static_cast< int >(val2
);
28443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28444 result
= (bool)(arg1
)->Remove(arg2
);
28445 wxPyEndAllowThreads(__tstate
);
28446 if (PyErr_Occurred()) SWIG_fail
;
28449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28457 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28458 PyObject
*resultobj
= 0;
28459 wxImageList
*arg1
= (wxImageList
*) 0 ;
28463 PyObject
*swig_obj
[1] ;
28465 if (!args
) SWIG_fail
;
28466 swig_obj
[0] = args
;
28467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28468 if (!SWIG_IsOK(res1
)) {
28469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
28471 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28474 result
= (bool)(arg1
)->RemoveAll();
28475 wxPyEndAllowThreads(__tstate
);
28476 if (PyErr_Occurred()) SWIG_fail
;
28479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28487 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28488 PyObject
*resultobj
= 0;
28489 wxImageList
*arg1
= (wxImageList
*) 0 ;
28498 int res3
= SWIG_TMPOBJ
;
28500 int res4
= SWIG_TMPOBJ
;
28501 PyObject
* obj0
= 0 ;
28502 PyObject
* obj1
= 0 ;
28503 char * kwnames
[] = {
28504 (char *) "self",(char *) "index", NULL
28509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28511 if (!SWIG_IsOK(res1
)) {
28512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
28514 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28516 if (!SWIG_IsOK(ecode2
)) {
28517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
28519 arg2
= static_cast< int >(val2
);
28521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28522 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
28523 wxPyEndAllowThreads(__tstate
);
28524 if (PyErr_Occurred()) SWIG_fail
;
28526 resultobj
= SWIG_Py_Void();
28527 if (SWIG_IsTmpObj(res3
)) {
28528 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28530 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28531 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28533 if (SWIG_IsTmpObj(res4
)) {
28534 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28536 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28537 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28545 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28547 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28548 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
28549 return SWIG_Py_Void();
28552 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28553 return SWIG_Python_InitShadowInstance(args
);
28556 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28557 PyObject
*resultobj
= 0;
28558 wxStockGDI
*result
= 0 ;
28560 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
28562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28563 result
= (wxStockGDI
*)new wxStockGDI();
28564 wxPyEndAllowThreads(__tstate
);
28565 if (PyErr_Occurred()) SWIG_fail
;
28567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
28574 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28575 PyObject
*resultobj
= 0;
28576 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
28579 PyObject
*swig_obj
[1] ;
28581 if (!args
) SWIG_fail
;
28582 swig_obj
[0] = args
;
28583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
28584 if (!SWIG_IsOK(res1
)) {
28585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
28587 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
28589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28592 wxPyEndAllowThreads(__tstate
);
28593 if (PyErr_Occurred()) SWIG_fail
;
28595 resultobj
= SWIG_Py_Void();
28602 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28603 PyObject
*resultobj
= 0;
28605 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
28607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28608 wxStockGDI::DeleteAll();
28609 wxPyEndAllowThreads(__tstate
);
28610 if (PyErr_Occurred()) SWIG_fail
;
28612 resultobj
= SWIG_Py_Void();
28619 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28620 PyObject
*resultobj
= 0;
28621 wxStockGDI
*result
= 0 ;
28623 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
28625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28627 wxStockGDI
&_result_ref
= wxStockGDI::instance();
28628 result
= (wxStockGDI
*) &_result_ref
;
28630 wxPyEndAllowThreads(__tstate
);
28631 if (PyErr_Occurred()) SWIG_fail
;
28633 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
28640 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28641 PyObject
*resultobj
= 0;
28642 wxStockGDI::Item arg1
;
28643 wxBrush
*result
= 0 ;
28646 PyObject
* obj0
= 0 ;
28647 char * kwnames
[] = {
28648 (char *) "item", NULL
28651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
28652 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28653 if (!SWIG_IsOK(ecode1
)) {
28654 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28656 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28659 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
28660 wxPyEndAllowThreads(__tstate
);
28661 if (PyErr_Occurred()) SWIG_fail
;
28663 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
28670 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28671 PyObject
*resultobj
= 0;
28672 wxStockGDI::Item arg1
;
28673 wxColour
*result
= 0 ;
28676 PyObject
* obj0
= 0 ;
28677 char * kwnames
[] = {
28678 (char *) "item", NULL
28681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
28682 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28683 if (!SWIG_IsOK(ecode1
)) {
28684 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28686 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28689 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
28690 wxPyEndAllowThreads(__tstate
);
28691 if (PyErr_Occurred()) SWIG_fail
;
28693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
28700 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28701 PyObject
*resultobj
= 0;
28702 wxStockGDI::Item arg1
;
28703 wxCursor
*result
= 0 ;
28706 PyObject
* obj0
= 0 ;
28707 char * kwnames
[] = {
28708 (char *) "item", NULL
28711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
28712 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28713 if (!SWIG_IsOK(ecode1
)) {
28714 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28716 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28719 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
28720 wxPyEndAllowThreads(__tstate
);
28721 if (PyErr_Occurred()) SWIG_fail
;
28723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
28730 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28731 PyObject
*resultobj
= 0;
28732 wxStockGDI::Item arg1
;
28733 wxPen
*result
= 0 ;
28736 PyObject
* obj0
= 0 ;
28737 char * kwnames
[] = {
28738 (char *) "item", NULL
28741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
28742 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28743 if (!SWIG_IsOK(ecode1
)) {
28744 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28746 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28749 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
28750 wxPyEndAllowThreads(__tstate
);
28751 if (PyErr_Occurred()) SWIG_fail
;
28753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
28760 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28761 PyObject
*resultobj
= 0;
28762 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
28763 wxStockGDI::Item arg2
;
28764 wxFont
*result
= 0 ;
28769 PyObject
* obj0
= 0 ;
28770 PyObject
* obj1
= 0 ;
28771 char * kwnames
[] = {
28772 (char *) "self",(char *) "item", NULL
28775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
28777 if (!SWIG_IsOK(res1
)) {
28778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
28780 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
28781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28782 if (!SWIG_IsOK(ecode2
)) {
28783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
28785 arg2
= static_cast< wxStockGDI::Item
>(val2
);
28787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28788 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
28789 wxPyEndAllowThreads(__tstate
);
28790 if (PyErr_Occurred()) SWIG_fail
;
28792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
28799 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28801 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28802 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
28803 return SWIG_Py_Void();
28806 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28807 return SWIG_Python_InitShadowInstance(args
);
28810 SWIGINTERN
int NullBitmap_set(PyObject
*) {
28811 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
28816 SWIGINTERN PyObject
*NullBitmap_get(void) {
28817 PyObject
*pyobj
= 0;
28819 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
28824 SWIGINTERN
int NullIcon_set(PyObject
*) {
28825 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
28830 SWIGINTERN PyObject
*NullIcon_get(void) {
28831 PyObject
*pyobj
= 0;
28833 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
28838 SWIGINTERN
int NullCursor_set(PyObject
*) {
28839 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
28844 SWIGINTERN PyObject
*NullCursor_get(void) {
28845 PyObject
*pyobj
= 0;
28847 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
28852 SWIGINTERN
int NullPen_set(PyObject
*) {
28853 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
28858 SWIGINTERN PyObject
*NullPen_get(void) {
28859 PyObject
*pyobj
= 0;
28861 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
28866 SWIGINTERN
int NullBrush_set(PyObject
*) {
28867 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
28872 SWIGINTERN PyObject
*NullBrush_get(void) {
28873 PyObject
*pyobj
= 0;
28875 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
28880 SWIGINTERN
int NullPalette_set(PyObject
*) {
28881 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
28886 SWIGINTERN PyObject
*NullPalette_get(void) {
28887 PyObject
*pyobj
= 0;
28889 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
28894 SWIGINTERN
int NullFont_set(PyObject
*) {
28895 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
28900 SWIGINTERN PyObject
*NullFont_get(void) {
28901 PyObject
*pyobj
= 0;
28903 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
28908 SWIGINTERN
int NullColour_set(PyObject
*) {
28909 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
28914 SWIGINTERN PyObject
*NullColour_get(void) {
28915 PyObject
*pyobj
= 0;
28917 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
28922 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28923 PyObject
*resultobj
= 0;
28924 wxGDIObjListBase
*result
= 0 ;
28926 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
28928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28929 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
28930 wxPyEndAllowThreads(__tstate
);
28931 if (PyErr_Occurred()) SWIG_fail
;
28933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
28940 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28941 PyObject
*resultobj
= 0;
28942 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
28945 PyObject
*swig_obj
[1] ;
28947 if (!args
) SWIG_fail
;
28948 swig_obj
[0] = args
;
28949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
28950 if (!SWIG_IsOK(res1
)) {
28951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
28953 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
28955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28958 wxPyEndAllowThreads(__tstate
);
28959 if (PyErr_Occurred()) SWIG_fail
;
28961 resultobj
= SWIG_Py_Void();
28968 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28970 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28971 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
28972 return SWIG_Py_Void();
28975 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28976 return SWIG_Python_InitShadowInstance(args
);
28979 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28980 PyObject
*resultobj
= 0;
28981 wxPenList
*arg1
= (wxPenList
*) 0 ;
28982 wxColour
*arg2
= 0 ;
28985 wxPen
*result
= 0 ;
28993 PyObject
* obj0
= 0 ;
28994 PyObject
* obj1
= 0 ;
28995 PyObject
* obj2
= 0 ;
28996 PyObject
* obj3
= 0 ;
28997 char * kwnames
[] = {
28998 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
29001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
29003 if (!SWIG_IsOK(res1
)) {
29004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
29006 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
29009 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29011 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29012 if (!SWIG_IsOK(ecode3
)) {
29013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
29015 arg3
= static_cast< int >(val3
);
29016 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29017 if (!SWIG_IsOK(ecode4
)) {
29018 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
29020 arg4
= static_cast< int >(val4
);
29022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29023 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
29024 wxPyEndAllowThreads(__tstate
);
29025 if (PyErr_Occurred()) SWIG_fail
;
29027 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
29034 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29035 PyObject
*resultobj
= 0;
29036 wxPenList
*arg1
= (wxPenList
*) 0 ;
29037 wxPen
*arg2
= (wxPen
*) 0 ;
29042 PyObject
* obj0
= 0 ;
29043 PyObject
* obj1
= 0 ;
29044 char * kwnames
[] = {
29045 (char *) "self",(char *) "pen", NULL
29048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
29050 if (!SWIG_IsOK(res1
)) {
29051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
29053 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
29054 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
29055 if (!SWIG_IsOK(res2
)) {
29056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
29058 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29061 (arg1
)->AddPen(arg2
);
29062 wxPyEndAllowThreads(__tstate
);
29063 if (PyErr_Occurred()) SWIG_fail
;
29065 resultobj
= SWIG_Py_Void();
29072 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29073 PyObject
*resultobj
= 0;
29074 wxPenList
*arg1
= (wxPenList
*) 0 ;
29075 wxPen
*arg2
= (wxPen
*) 0 ;
29080 PyObject
* obj0
= 0 ;
29081 PyObject
* obj1
= 0 ;
29082 char * kwnames
[] = {
29083 (char *) "self",(char *) "pen", NULL
29086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
29088 if (!SWIG_IsOK(res1
)) {
29089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
29091 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
29092 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
29093 if (!SWIG_IsOK(res2
)) {
29094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
29096 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29099 (arg1
)->RemovePen(arg2
);
29100 wxPyEndAllowThreads(__tstate
);
29101 if (PyErr_Occurred()) SWIG_fail
;
29103 resultobj
= SWIG_Py_Void();
29110 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29112 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29113 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
29114 return SWIG_Py_Void();
29117 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29118 PyObject
*resultobj
= 0;
29119 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
29120 wxColour
*arg2
= 0 ;
29121 int arg3
= (int) wxSOLID
;
29122 wxBrush
*result
= 0 ;
29128 PyObject
* obj0
= 0 ;
29129 PyObject
* obj1
= 0 ;
29130 PyObject
* obj2
= 0 ;
29131 char * kwnames
[] = {
29132 (char *) "self",(char *) "colour",(char *) "style", NULL
29135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
29137 if (!SWIG_IsOK(res1
)) {
29138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
29140 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
29143 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29147 if (!SWIG_IsOK(ecode3
)) {
29148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
29150 arg3
= static_cast< int >(val3
);
29153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29154 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
29155 wxPyEndAllowThreads(__tstate
);
29156 if (PyErr_Occurred()) SWIG_fail
;
29158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
29165 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29166 PyObject
*resultobj
= 0;
29167 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
29168 wxBrush
*arg2
= (wxBrush
*) 0 ;
29173 PyObject
* obj0
= 0 ;
29174 PyObject
* obj1
= 0 ;
29175 char * kwnames
[] = {
29176 (char *) "self",(char *) "brush", NULL
29179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
29181 if (!SWIG_IsOK(res1
)) {
29182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
29184 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
29185 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
29186 if (!SWIG_IsOK(res2
)) {
29187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
29189 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29192 (arg1
)->AddBrush(arg2
);
29193 wxPyEndAllowThreads(__tstate
);
29194 if (PyErr_Occurred()) SWIG_fail
;
29196 resultobj
= SWIG_Py_Void();
29203 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29204 PyObject
*resultobj
= 0;
29205 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
29206 wxBrush
*arg2
= (wxBrush
*) 0 ;
29211 PyObject
* obj0
= 0 ;
29212 PyObject
* obj1
= 0 ;
29213 char * kwnames
[] = {
29214 (char *) "self",(char *) "brush", NULL
29217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
29219 if (!SWIG_IsOK(res1
)) {
29220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
29222 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
29223 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
29224 if (!SWIG_IsOK(res2
)) {
29225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
29227 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29230 (arg1
)->RemoveBrush(arg2
);
29231 wxPyEndAllowThreads(__tstate
);
29232 if (PyErr_Occurred()) SWIG_fail
;
29234 resultobj
= SWIG_Py_Void();
29241 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29243 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29244 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
29245 return SWIG_Py_Void();
29248 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29249 PyObject
*resultobj
= 0;
29250 wxFontList
*arg1
= (wxFontList
*) 0 ;
29255 bool arg6
= (bool) false ;
29256 wxString
const &arg7_defvalue
= wxPyEmptyString
;
29257 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29258 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
29259 wxFont
*result
= 0 ;
29272 bool temp7
= false ;
29275 PyObject
* obj0
= 0 ;
29276 PyObject
* obj1
= 0 ;
29277 PyObject
* obj2
= 0 ;
29278 PyObject
* obj3
= 0 ;
29279 PyObject
* obj4
= 0 ;
29280 PyObject
* obj5
= 0 ;
29281 PyObject
* obj6
= 0 ;
29282 PyObject
* obj7
= 0 ;
29283 char * kwnames
[] = {
29284 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
29287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
29289 if (!SWIG_IsOK(res1
)) {
29290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
29292 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
29293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29294 if (!SWIG_IsOK(ecode2
)) {
29295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
29297 arg2
= static_cast< int >(val2
);
29298 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29299 if (!SWIG_IsOK(ecode3
)) {
29300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
29302 arg3
= static_cast< int >(val3
);
29303 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29304 if (!SWIG_IsOK(ecode4
)) {
29305 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
29307 arg4
= static_cast< int >(val4
);
29308 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29309 if (!SWIG_IsOK(ecode5
)) {
29310 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
29312 arg5
= static_cast< int >(val5
);
29314 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
29315 if (!SWIG_IsOK(ecode6
)) {
29316 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
29318 arg6
= static_cast< bool >(val6
);
29322 arg7
= wxString_in_helper(obj6
);
29323 if (arg7
== NULL
) SWIG_fail
;
29328 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
29329 if (!SWIG_IsOK(ecode8
)) {
29330 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
29332 arg8
= static_cast< wxFontEncoding
>(val8
);
29335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29336 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
29337 wxPyEndAllowThreads(__tstate
);
29338 if (PyErr_Occurred()) SWIG_fail
;
29340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
29355 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29356 PyObject
*resultobj
= 0;
29357 wxFontList
*arg1
= (wxFontList
*) 0 ;
29358 wxFont
*arg2
= (wxFont
*) 0 ;
29363 PyObject
* obj0
= 0 ;
29364 PyObject
* obj1
= 0 ;
29365 char * kwnames
[] = {
29366 (char *) "self",(char *) "font", NULL
29369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
29371 if (!SWIG_IsOK(res1
)) {
29372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
29374 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
29375 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29376 if (!SWIG_IsOK(res2
)) {
29377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
29379 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29382 (arg1
)->AddFont(arg2
);
29383 wxPyEndAllowThreads(__tstate
);
29384 if (PyErr_Occurred()) SWIG_fail
;
29386 resultobj
= SWIG_Py_Void();
29393 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29394 PyObject
*resultobj
= 0;
29395 wxFontList
*arg1
= (wxFontList
*) 0 ;
29396 wxFont
*arg2
= (wxFont
*) 0 ;
29401 PyObject
* obj0
= 0 ;
29402 PyObject
* obj1
= 0 ;
29403 char * kwnames
[] = {
29404 (char *) "self",(char *) "font", NULL
29407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
29409 if (!SWIG_IsOK(res1
)) {
29410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
29412 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
29413 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29414 if (!SWIG_IsOK(res2
)) {
29415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
29417 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29420 (arg1
)->RemoveFont(arg2
);
29421 wxPyEndAllowThreads(__tstate
);
29422 if (PyErr_Occurred()) SWIG_fail
;
29424 resultobj
= SWIG_Py_Void();
29431 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29433 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29434 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
29435 return SWIG_Py_Void();
29438 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29439 PyObject
*resultobj
= 0;
29440 wxColourDatabase
*result
= 0 ;
29442 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
29444 if (!wxPyCheckForApp()) SWIG_fail
;
29445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29446 result
= (wxColourDatabase
*)new wxColourDatabase();
29447 wxPyEndAllowThreads(__tstate
);
29448 if (PyErr_Occurred()) SWIG_fail
;
29450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
29457 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29458 PyObject
*resultobj
= 0;
29459 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29462 PyObject
*swig_obj
[1] ;
29464 if (!args
) SWIG_fail
;
29465 swig_obj
[0] = args
;
29466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
29467 if (!SWIG_IsOK(res1
)) {
29468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
29470 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29475 wxPyEndAllowThreads(__tstate
);
29476 if (PyErr_Occurred()) SWIG_fail
;
29478 resultobj
= SWIG_Py_Void();
29485 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29486 PyObject
*resultobj
= 0;
29487 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29488 wxString
*arg2
= 0 ;
29492 bool temp2
= false ;
29493 PyObject
* obj0
= 0 ;
29494 PyObject
* obj1
= 0 ;
29495 char * kwnames
[] = {
29496 (char *) "self",(char *) "name", NULL
29499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29501 if (!SWIG_IsOK(res1
)) {
29502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
29504 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29506 arg2
= wxString_in_helper(obj1
);
29507 if (arg2
== NULL
) SWIG_fail
;
29511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29512 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
29513 wxPyEndAllowThreads(__tstate
);
29514 if (PyErr_Occurred()) SWIG_fail
;
29516 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29531 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29532 PyObject
*resultobj
= 0;
29533 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29534 wxColour
*arg2
= 0 ;
29539 PyObject
* obj0
= 0 ;
29540 PyObject
* obj1
= 0 ;
29541 char * kwnames
[] = {
29542 (char *) "self",(char *) "colour", NULL
29545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29547 if (!SWIG_IsOK(res1
)) {
29548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
29550 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29553 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29557 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
29558 wxPyEndAllowThreads(__tstate
);
29559 if (PyErr_Occurred()) SWIG_fail
;
29563 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29565 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29574 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29575 PyObject
*resultobj
= 0;
29576 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29577 wxString
*arg2
= 0 ;
29578 wxColour
*arg3
= 0 ;
29581 bool temp2
= false ;
29583 PyObject
* obj0
= 0 ;
29584 PyObject
* obj1
= 0 ;
29585 PyObject
* obj2
= 0 ;
29586 char * kwnames
[] = {
29587 (char *) "self",(char *) "name",(char *) "colour", NULL
29590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29592 if (!SWIG_IsOK(res1
)) {
29593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
29595 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29597 arg2
= wxString_in_helper(obj1
);
29598 if (arg2
== NULL
) SWIG_fail
;
29603 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29607 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
29608 wxPyEndAllowThreads(__tstate
);
29609 if (PyErr_Occurred()) SWIG_fail
;
29611 resultobj
= SWIG_Py_Void();
29626 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29627 PyObject
*resultobj
= 0;
29628 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29629 wxString
*arg2
= 0 ;
29635 bool temp2
= false ;
29642 PyObject
* obj0
= 0 ;
29643 PyObject
* obj1
= 0 ;
29644 PyObject
* obj2
= 0 ;
29645 PyObject
* obj3
= 0 ;
29646 PyObject
* obj4
= 0 ;
29647 char * kwnames
[] = {
29648 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
29651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29653 if (!SWIG_IsOK(res1
)) {
29654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
29656 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29658 arg2
= wxString_in_helper(obj1
);
29659 if (arg2
== NULL
) SWIG_fail
;
29662 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29663 if (!SWIG_IsOK(ecode3
)) {
29664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
29666 arg3
= static_cast< int >(val3
);
29667 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29668 if (!SWIG_IsOK(ecode4
)) {
29669 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
29671 arg4
= static_cast< int >(val4
);
29672 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29673 if (!SWIG_IsOK(ecode5
)) {
29674 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
29676 arg5
= static_cast< int >(val5
);
29678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29679 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29680 wxPyEndAllowThreads(__tstate
);
29681 if (PyErr_Occurred()) SWIG_fail
;
29683 resultobj
= SWIG_Py_Void();
29698 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29700 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29701 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
29702 return SWIG_Py_Void();
29705 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29706 return SWIG_Python_InitShadowInstance(args
);
29709 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29710 PyObject
*resultobj
= 0;
29711 wxFontList
*result
= 0 ;
29713 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
29715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29716 result
= (wxFontList
*)_wxPyInitTheFontList();
29717 wxPyEndAllowThreads(__tstate
);
29718 if (PyErr_Occurred()) SWIG_fail
;
29720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
29727 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29728 PyObject
*resultobj
= 0;
29729 wxPenList
*result
= 0 ;
29731 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
29733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29734 result
= (wxPenList
*)_wxPyInitThePenList();
29735 wxPyEndAllowThreads(__tstate
);
29736 if (PyErr_Occurred()) SWIG_fail
;
29738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
29745 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29746 PyObject
*resultobj
= 0;
29747 wxBrushList
*result
= 0 ;
29749 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
29751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29752 result
= (wxBrushList
*)_wxPyInitTheBrushList();
29753 wxPyEndAllowThreads(__tstate
);
29754 if (PyErr_Occurred()) SWIG_fail
;
29756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
29763 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29764 PyObject
*resultobj
= 0;
29765 wxColourDatabase
*result
= 0 ;
29767 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
29769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29770 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
29771 wxPyEndAllowThreads(__tstate
);
29772 if (PyErr_Occurred()) SWIG_fail
;
29774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29781 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29782 PyObject
*resultobj
= 0;
29783 wxEffects
*result
= 0 ;
29785 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
29787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29788 result
= (wxEffects
*)new wxEffects();
29789 wxPyEndAllowThreads(__tstate
);
29790 if (PyErr_Occurred()) SWIG_fail
;
29792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
29799 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29800 PyObject
*resultobj
= 0;
29801 wxEffects
*arg1
= (wxEffects
*) 0 ;
29805 PyObject
*swig_obj
[1] ;
29807 if (!args
) SWIG_fail
;
29808 swig_obj
[0] = args
;
29809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29810 if (!SWIG_IsOK(res1
)) {
29811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
29813 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29816 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
29817 wxPyEndAllowThreads(__tstate
);
29818 if (PyErr_Occurred()) SWIG_fail
;
29820 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29827 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29828 PyObject
*resultobj
= 0;
29829 wxEffects
*arg1
= (wxEffects
*) 0 ;
29833 PyObject
*swig_obj
[1] ;
29835 if (!args
) SWIG_fail
;
29836 swig_obj
[0] = args
;
29837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29838 if (!SWIG_IsOK(res1
)) {
29839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29841 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29844 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
29845 wxPyEndAllowThreads(__tstate
);
29846 if (PyErr_Occurred()) SWIG_fail
;
29848 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29855 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29856 PyObject
*resultobj
= 0;
29857 wxEffects
*arg1
= (wxEffects
*) 0 ;
29861 PyObject
*swig_obj
[1] ;
29863 if (!args
) SWIG_fail
;
29864 swig_obj
[0] = args
;
29865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29866 if (!SWIG_IsOK(res1
)) {
29867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
29869 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29872 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
29873 wxPyEndAllowThreads(__tstate
);
29874 if (PyErr_Occurred()) SWIG_fail
;
29876 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29883 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29884 PyObject
*resultobj
= 0;
29885 wxEffects
*arg1
= (wxEffects
*) 0 ;
29889 PyObject
*swig_obj
[1] ;
29891 if (!args
) SWIG_fail
;
29892 swig_obj
[0] = args
;
29893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29894 if (!SWIG_IsOK(res1
)) {
29895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29897 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29900 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
29901 wxPyEndAllowThreads(__tstate
);
29902 if (PyErr_Occurred()) SWIG_fail
;
29904 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29911 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29912 PyObject
*resultobj
= 0;
29913 wxEffects
*arg1
= (wxEffects
*) 0 ;
29917 PyObject
*swig_obj
[1] ;
29919 if (!args
) SWIG_fail
;
29920 swig_obj
[0] = args
;
29921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29922 if (!SWIG_IsOK(res1
)) {
29923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29925 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29928 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
29929 wxPyEndAllowThreads(__tstate
);
29930 if (PyErr_Occurred()) SWIG_fail
;
29932 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29939 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29940 PyObject
*resultobj
= 0;
29941 wxEffects
*arg1
= (wxEffects
*) 0 ;
29942 wxColour
*arg2
= 0 ;
29946 PyObject
* obj0
= 0 ;
29947 PyObject
* obj1
= 0 ;
29948 char * kwnames
[] = {
29949 (char *) "self",(char *) "c", NULL
29952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29954 if (!SWIG_IsOK(res1
)) {
29955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
29957 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29960 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29964 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
29965 wxPyEndAllowThreads(__tstate
);
29966 if (PyErr_Occurred()) SWIG_fail
;
29968 resultobj
= SWIG_Py_Void();
29975 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29976 PyObject
*resultobj
= 0;
29977 wxEffects
*arg1
= (wxEffects
*) 0 ;
29978 wxColour
*arg2
= 0 ;
29982 PyObject
* obj0
= 0 ;
29983 PyObject
* obj1
= 0 ;
29984 char * kwnames
[] = {
29985 (char *) "self",(char *) "c", NULL
29988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29990 if (!SWIG_IsOK(res1
)) {
29991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29993 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29996 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30000 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
30001 wxPyEndAllowThreads(__tstate
);
30002 if (PyErr_Occurred()) SWIG_fail
;
30004 resultobj
= SWIG_Py_Void();
30011 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30012 PyObject
*resultobj
= 0;
30013 wxEffects
*arg1
= (wxEffects
*) 0 ;
30014 wxColour
*arg2
= 0 ;
30018 PyObject
* obj0
= 0 ;
30019 PyObject
* obj1
= 0 ;
30020 char * kwnames
[] = {
30021 (char *) "self",(char *) "c", NULL
30024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30026 if (!SWIG_IsOK(res1
)) {
30027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
30029 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30032 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30036 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
30037 wxPyEndAllowThreads(__tstate
);
30038 if (PyErr_Occurred()) SWIG_fail
;
30040 resultobj
= SWIG_Py_Void();
30047 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30048 PyObject
*resultobj
= 0;
30049 wxEffects
*arg1
= (wxEffects
*) 0 ;
30050 wxColour
*arg2
= 0 ;
30054 PyObject
* obj0
= 0 ;
30055 PyObject
* obj1
= 0 ;
30056 char * kwnames
[] = {
30057 (char *) "self",(char *) "c", NULL
30060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30062 if (!SWIG_IsOK(res1
)) {
30063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
30065 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30068 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30072 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
30073 wxPyEndAllowThreads(__tstate
);
30074 if (PyErr_Occurred()) SWIG_fail
;
30076 resultobj
= SWIG_Py_Void();
30083 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30084 PyObject
*resultobj
= 0;
30085 wxEffects
*arg1
= (wxEffects
*) 0 ;
30086 wxColour
*arg2
= 0 ;
30090 PyObject
* obj0
= 0 ;
30091 PyObject
* obj1
= 0 ;
30092 char * kwnames
[] = {
30093 (char *) "self",(char *) "c", NULL
30096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30098 if (!SWIG_IsOK(res1
)) {
30099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
30101 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30104 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30108 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
30109 wxPyEndAllowThreads(__tstate
);
30110 if (PyErr_Occurred()) SWIG_fail
;
30112 resultobj
= SWIG_Py_Void();
30119 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30120 PyObject
*resultobj
= 0;
30121 wxEffects
*arg1
= (wxEffects
*) 0 ;
30122 wxColour
*arg2
= 0 ;
30123 wxColour
*arg3
= 0 ;
30124 wxColour
*arg4
= 0 ;
30125 wxColour
*arg5
= 0 ;
30126 wxColour
*arg6
= 0 ;
30134 PyObject
* obj0
= 0 ;
30135 PyObject
* obj1
= 0 ;
30136 PyObject
* obj2
= 0 ;
30137 PyObject
* obj3
= 0 ;
30138 PyObject
* obj4
= 0 ;
30139 PyObject
* obj5
= 0 ;
30140 char * kwnames
[] = {
30141 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
30144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30146 if (!SWIG_IsOK(res1
)) {
30147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
30149 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30152 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30156 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30160 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
30164 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
30168 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30172 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
30173 wxPyEndAllowThreads(__tstate
);
30174 if (PyErr_Occurred()) SWIG_fail
;
30176 resultobj
= SWIG_Py_Void();
30183 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30184 PyObject
*resultobj
= 0;
30185 wxEffects
*arg1
= (wxEffects
*) 0 ;
30188 int arg4
= (int) 1 ;
30196 PyObject
* obj0
= 0 ;
30197 PyObject
* obj1
= 0 ;
30198 PyObject
* obj2
= 0 ;
30199 PyObject
* obj3
= 0 ;
30200 char * kwnames
[] = {
30201 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
30204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30206 if (!SWIG_IsOK(res1
)) {
30207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
30209 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30210 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
30211 if (!SWIG_IsOK(res2
)) {
30212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
30215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
30217 arg2
= reinterpret_cast< wxDC
* >(argp2
);
30220 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
30223 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30224 if (!SWIG_IsOK(ecode4
)) {
30225 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
30227 arg4
= static_cast< int >(val4
);
30230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30231 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
30232 wxPyEndAllowThreads(__tstate
);
30233 if (PyErr_Occurred()) SWIG_fail
;
30235 resultobj
= SWIG_Py_Void();
30242 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30243 PyObject
*resultobj
= 0;
30244 wxEffects
*arg1
= (wxEffects
*) 0 ;
30247 wxBitmap
*arg4
= 0 ;
30256 PyObject
* obj0
= 0 ;
30257 PyObject
* obj1
= 0 ;
30258 PyObject
* obj2
= 0 ;
30259 PyObject
* obj3
= 0 ;
30260 char * kwnames
[] = {
30261 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
30264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30266 if (!SWIG_IsOK(res1
)) {
30267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
30269 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30272 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30274 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30275 if (!SWIG_IsOK(res3
)) {
30276 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
30279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
30281 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30282 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
30283 if (!SWIG_IsOK(res4
)) {
30284 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
30287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
30289 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
30291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30292 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
30293 wxPyEndAllowThreads(__tstate
);
30294 if (PyErr_Occurred()) SWIG_fail
;
30297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30305 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30308 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
30309 return SWIG_Py_Void();
30312 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30313 return SWIG_Python_InitShadowInstance(args
);
30316 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30317 PyObject
*resultobj
= 0;
30321 wxSplitterRenderParams
*result
= 0 ;
30328 PyObject
* obj0
= 0 ;
30329 PyObject
* obj1
= 0 ;
30330 PyObject
* obj2
= 0 ;
30331 char * kwnames
[] = {
30332 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
30335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30336 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30337 if (!SWIG_IsOK(ecode1
)) {
30338 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
30340 arg1
= static_cast< int >(val1
);
30341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30342 if (!SWIG_IsOK(ecode2
)) {
30343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
30345 arg2
= static_cast< int >(val2
);
30346 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30347 if (!SWIG_IsOK(ecode3
)) {
30348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
30350 arg3
= static_cast< bool >(val3
);
30352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30353 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
30354 wxPyEndAllowThreads(__tstate
);
30355 if (PyErr_Occurred()) SWIG_fail
;
30357 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
30364 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30365 PyObject
*resultobj
= 0;
30366 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30369 PyObject
*swig_obj
[1] ;
30371 if (!args
) SWIG_fail
;
30372 swig_obj
[0] = args
;
30373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
30374 if (!SWIG_IsOK(res1
)) {
30375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30377 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30382 wxPyEndAllowThreads(__tstate
);
30383 if (PyErr_Occurred()) SWIG_fail
;
30385 resultobj
= SWIG_Py_Void();
30392 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30393 PyObject
*resultobj
= 0;
30394 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30398 PyObject
*swig_obj
[1] ;
30400 if (!args
) SWIG_fail
;
30401 swig_obj
[0] = args
;
30402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
30403 if (!SWIG_IsOK(res1
)) {
30404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30406 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30407 result
= (int)(int) ((arg1
)->widthSash
);
30408 resultobj
= SWIG_From_int(static_cast< int >(result
));
30415 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30416 PyObject
*resultobj
= 0;
30417 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30421 PyObject
*swig_obj
[1] ;
30423 if (!args
) SWIG_fail
;
30424 swig_obj
[0] = args
;
30425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
30426 if (!SWIG_IsOK(res1
)) {
30427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30429 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30430 result
= (int)(int) ((arg1
)->border
);
30431 resultobj
= SWIG_From_int(static_cast< int >(result
));
30438 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30439 PyObject
*resultobj
= 0;
30440 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30444 PyObject
*swig_obj
[1] ;
30446 if (!args
) SWIG_fail
;
30447 swig_obj
[0] = args
;
30448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
30449 if (!SWIG_IsOK(res1
)) {
30450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30452 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30453 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
30454 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
30461 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30463 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30464 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
30465 return SWIG_Py_Void();
30468 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30469 return SWIG_Python_InitShadowInstance(args
);
30472 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30473 PyObject
*resultobj
= 0;
30474 wxHeaderButtonParams
*result
= 0 ;
30476 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
30478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30479 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
30480 wxPyEndAllowThreads(__tstate
);
30481 if (PyErr_Occurred()) SWIG_fail
;
30483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
30490 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30491 PyObject
*resultobj
= 0;
30492 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30495 PyObject
*swig_obj
[1] ;
30497 if (!args
) SWIG_fail
;
30498 swig_obj
[0] = args
;
30499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
30500 if (!SWIG_IsOK(res1
)) {
30501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30503 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30508 wxPyEndAllowThreads(__tstate
);
30509 if (PyErr_Occurred()) SWIG_fail
;
30511 resultobj
= SWIG_Py_Void();
30518 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30519 PyObject
*resultobj
= 0;
30520 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30521 wxColour
*arg2
= (wxColour
*) 0 ;
30525 PyObject
*swig_obj
[2] ;
30527 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
30528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30529 if (!SWIG_IsOK(res1
)) {
30530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30532 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30535 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
30537 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
30539 resultobj
= SWIG_Py_Void();
30546 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30547 PyObject
*resultobj
= 0;
30548 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30549 wxColour
*result
= 0 ;
30552 PyObject
*swig_obj
[1] ;
30554 if (!args
) SWIG_fail
;
30555 swig_obj
[0] = args
;
30556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30557 if (!SWIG_IsOK(res1
)) {
30558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30560 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30561 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
30562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30569 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30570 PyObject
*resultobj
= 0;
30571 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30572 wxColour
*arg2
= (wxColour
*) 0 ;
30576 PyObject
*swig_obj
[2] ;
30578 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
30579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30580 if (!SWIG_IsOK(res1
)) {
30581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30583 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30586 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
30588 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
30590 resultobj
= SWIG_Py_Void();
30597 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30598 PyObject
*resultobj
= 0;
30599 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30600 wxColour
*result
= 0 ;
30603 PyObject
*swig_obj
[1] ;
30605 if (!args
) SWIG_fail
;
30606 swig_obj
[0] = args
;
30607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30608 if (!SWIG_IsOK(res1
)) {
30609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30611 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30612 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
30613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30620 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30621 PyObject
*resultobj
= 0;
30622 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30623 wxString
*arg2
= (wxString
*) 0 ;
30626 bool temp2
= false ;
30627 PyObject
*swig_obj
[2] ;
30629 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
30630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30631 if (!SWIG_IsOK(res1
)) {
30632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30634 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30636 arg2
= wxString_in_helper(swig_obj
[1]);
30637 if (arg2
== NULL
) SWIG_fail
;
30640 if (arg1
) (arg1
)->m_labelText
= *arg2
;
30642 resultobj
= SWIG_Py_Void();
30657 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30658 PyObject
*resultobj
= 0;
30659 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30660 wxString
*result
= 0 ;
30663 PyObject
*swig_obj
[1] ;
30665 if (!args
) SWIG_fail
;
30666 swig_obj
[0] = args
;
30667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30668 if (!SWIG_IsOK(res1
)) {
30669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30671 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30672 result
= (wxString
*)& ((arg1
)->m_labelText
);
30675 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30677 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30686 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30687 PyObject
*resultobj
= 0;
30688 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30689 wxFont
*arg2
= (wxFont
*) 0 ;
30694 PyObject
*swig_obj
[2] ;
30696 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
30697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30698 if (!SWIG_IsOK(res1
)) {
30699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30701 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30702 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
30703 if (!SWIG_IsOK(res2
)) {
30704 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
30706 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30707 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
30709 resultobj
= SWIG_Py_Void();
30716 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30717 PyObject
*resultobj
= 0;
30718 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30719 wxFont
*result
= 0 ;
30722 PyObject
*swig_obj
[1] ;
30724 if (!args
) SWIG_fail
;
30725 swig_obj
[0] = args
;
30726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30727 if (!SWIG_IsOK(res1
)) {
30728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30730 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30731 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
30732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
30739 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30740 PyObject
*resultobj
= 0;
30741 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30742 wxColour
*arg2
= (wxColour
*) 0 ;
30746 PyObject
*swig_obj
[2] ;
30748 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
30749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30750 if (!SWIG_IsOK(res1
)) {
30751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30753 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30756 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
30758 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
30760 resultobj
= SWIG_Py_Void();
30767 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30768 PyObject
*resultobj
= 0;
30769 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30770 wxColour
*result
= 0 ;
30773 PyObject
*swig_obj
[1] ;
30775 if (!args
) SWIG_fail
;
30776 swig_obj
[0] = args
;
30777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30778 if (!SWIG_IsOK(res1
)) {
30779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30781 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30782 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
30783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30790 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30791 PyObject
*resultobj
= 0;
30792 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30793 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30798 PyObject
*swig_obj
[2] ;
30800 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
30801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30802 if (!SWIG_IsOK(res1
)) {
30803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30805 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30806 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
30807 if (!SWIG_IsOK(res2
)) {
30808 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
30810 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30811 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
30813 resultobj
= SWIG_Py_Void();
30820 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30821 PyObject
*resultobj
= 0;
30822 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30823 wxBitmap
*result
= 0 ;
30826 PyObject
*swig_obj
[1] ;
30828 if (!args
) SWIG_fail
;
30829 swig_obj
[0] = args
;
30830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30831 if (!SWIG_IsOK(res1
)) {
30832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30834 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30835 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
30836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
30843 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30844 PyObject
*resultobj
= 0;
30845 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30851 PyObject
*swig_obj
[2] ;
30853 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
30854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30855 if (!SWIG_IsOK(res1
)) {
30856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30858 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30859 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30860 if (!SWIG_IsOK(ecode2
)) {
30861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
30863 arg2
= static_cast< int >(val2
);
30864 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
30866 resultobj
= SWIG_Py_Void();
30873 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30874 PyObject
*resultobj
= 0;
30875 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30879 PyObject
*swig_obj
[1] ;
30881 if (!args
) SWIG_fail
;
30882 swig_obj
[0] = args
;
30883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30884 if (!SWIG_IsOK(res1
)) {
30885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30887 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30888 result
= (int) ((arg1
)->m_labelAlignment
);
30889 resultobj
= SWIG_From_int(static_cast< int >(result
));
30896 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30898 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30899 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
30900 return SWIG_Py_Void();
30903 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30904 return SWIG_Python_InitShadowInstance(args
);
30907 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30908 PyObject
*resultobj
= 0;
30911 wxRendererVersion
*result
= 0 ;
30916 PyObject
* obj0
= 0 ;
30917 PyObject
* obj1
= 0 ;
30918 char * kwnames
[] = {
30919 (char *) "version_",(char *) "age_", NULL
30922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30923 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30924 if (!SWIG_IsOK(ecode1
)) {
30925 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
30927 arg1
= static_cast< int >(val1
);
30928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30929 if (!SWIG_IsOK(ecode2
)) {
30930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
30932 arg2
= static_cast< int >(val2
);
30934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30935 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
30936 wxPyEndAllowThreads(__tstate
);
30937 if (PyErr_Occurred()) SWIG_fail
;
30939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
30946 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30947 PyObject
*resultobj
= 0;
30948 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30951 PyObject
*swig_obj
[1] ;
30953 if (!args
) SWIG_fail
;
30954 swig_obj
[0] = args
;
30955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
30956 if (!SWIG_IsOK(res1
)) {
30957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30959 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30964 wxPyEndAllowThreads(__tstate
);
30965 if (PyErr_Occurred()) SWIG_fail
;
30967 resultobj
= SWIG_Py_Void();
30974 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30975 PyObject
*resultobj
= 0;
30976 wxRendererVersion
*arg1
= 0 ;
30980 PyObject
* obj0
= 0 ;
30981 char * kwnames
[] = {
30982 (char *) "ver", NULL
30985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
30986 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
30987 if (!SWIG_IsOK(res1
)) {
30988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
30991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
30993 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30996 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
30997 wxPyEndAllowThreads(__tstate
);
30998 if (PyErr_Occurred()) SWIG_fail
;
31001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31009 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31010 PyObject
*resultobj
= 0;
31011 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
31015 PyObject
*swig_obj
[1] ;
31017 if (!args
) SWIG_fail
;
31018 swig_obj
[0] = args
;
31019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
31020 if (!SWIG_IsOK(res1
)) {
31021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
31023 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
31024 result
= (int)(int) ((arg1
)->version
);
31025 resultobj
= SWIG_From_int(static_cast< int >(result
));
31032 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31033 PyObject
*resultobj
= 0;
31034 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
31038 PyObject
*swig_obj
[1] ;
31040 if (!args
) SWIG_fail
;
31041 swig_obj
[0] = args
;
31042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
31043 if (!SWIG_IsOK(res1
)) {
31044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
31046 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
31047 result
= (int)(int) ((arg1
)->age
);
31048 resultobj
= SWIG_From_int(static_cast< int >(result
));
31055 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31057 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31058 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
31059 return SWIG_Py_Void();
31062 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31063 return SWIG_Python_InitShadowInstance(args
);
31066 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31067 PyObject
*resultobj
= 0;
31068 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31069 wxWindow
*arg2
= (wxWindow
*) 0 ;
31072 int arg5
= (int) 0 ;
31073 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
31074 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
31088 PyObject
* obj0
= 0 ;
31089 PyObject
* obj1
= 0 ;
31090 PyObject
* obj2
= 0 ;
31091 PyObject
* obj3
= 0 ;
31092 PyObject
* obj4
= 0 ;
31093 PyObject
* obj5
= 0 ;
31094 PyObject
* obj6
= 0 ;
31095 char * kwnames
[] = {
31096 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
31099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31101 if (!SWIG_IsOK(res1
)) {
31102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31104 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31105 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31106 if (!SWIG_IsOK(res2
)) {
31107 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31109 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31110 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31111 if (!SWIG_IsOK(res3
)) {
31112 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
31115 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
31117 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31120 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31123 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31124 if (!SWIG_IsOK(ecode5
)) {
31125 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
31127 arg5
= static_cast< int >(val5
);
31130 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31131 if (!SWIG_IsOK(ecode6
)) {
31132 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
31134 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
31137 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
31138 if (!SWIG_IsOK(res7
)) {
31139 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
31141 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
31144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31145 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
31146 wxPyEndAllowThreads(__tstate
);
31147 if (PyErr_Occurred()) SWIG_fail
;
31149 resultobj
= SWIG_Py_Void();
31156 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31157 PyObject
*resultobj
= 0;
31158 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31159 wxWindow
*arg2
= (wxWindow
*) 0 ;
31162 int arg5
= (int) 0 ;
31163 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
31164 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
31178 PyObject
* obj0
= 0 ;
31179 PyObject
* obj1
= 0 ;
31180 PyObject
* obj2
= 0 ;
31181 PyObject
* obj3
= 0 ;
31182 PyObject
* obj4
= 0 ;
31183 PyObject
* obj5
= 0 ;
31184 PyObject
* obj6
= 0 ;
31185 char * kwnames
[] = {
31186 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
31189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31191 if (!SWIG_IsOK(res1
)) {
31192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31194 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31195 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31196 if (!SWIG_IsOK(res2
)) {
31197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
31199 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31200 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31201 if (!SWIG_IsOK(res3
)) {
31202 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
31205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
31207 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31210 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31213 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31214 if (!SWIG_IsOK(ecode5
)) {
31215 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
31217 arg5
= static_cast< int >(val5
);
31220 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31221 if (!SWIG_IsOK(ecode6
)) {
31222 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
31224 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
31227 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
31228 if (!SWIG_IsOK(res7
)) {
31229 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
31231 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
31234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31235 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
31236 wxPyEndAllowThreads(__tstate
);
31237 if (PyErr_Occurred()) SWIG_fail
;
31239 resultobj
= SWIG_Py_Void();
31246 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31247 PyObject
*resultobj
= 0;
31248 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31249 wxWindow
*arg2
= (wxWindow
*) 0 ;
31255 PyObject
* obj0
= 0 ;
31256 PyObject
* obj1
= 0 ;
31257 char * kwnames
[] = {
31258 (char *) "self",(char *) "win", NULL
31261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31263 if (!SWIG_IsOK(res1
)) {
31264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31266 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31267 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31268 if (!SWIG_IsOK(res2
)) {
31269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
31271 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31274 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
31275 wxPyEndAllowThreads(__tstate
);
31276 if (PyErr_Occurred()) SWIG_fail
;
31278 resultobj
= SWIG_From_int(static_cast< int >(result
));
31285 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31286 PyObject
*resultobj
= 0;
31287 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31288 wxWindow
*arg2
= (wxWindow
*) 0 ;
31291 int arg5
= (int) 0 ;
31301 PyObject
* obj0
= 0 ;
31302 PyObject
* obj1
= 0 ;
31303 PyObject
* obj2
= 0 ;
31304 PyObject
* obj3
= 0 ;
31305 PyObject
* obj4
= 0 ;
31306 char * kwnames
[] = {
31307 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31312 if (!SWIG_IsOK(res1
)) {
31313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31315 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31316 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31317 if (!SWIG_IsOK(res2
)) {
31318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31320 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31321 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31322 if (!SWIG_IsOK(res3
)) {
31323 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
31326 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
31328 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31331 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31334 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31335 if (!SWIG_IsOK(ecode5
)) {
31336 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
31338 arg5
= static_cast< int >(val5
);
31341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31342 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31343 wxPyEndAllowThreads(__tstate
);
31344 if (PyErr_Occurred()) SWIG_fail
;
31346 resultobj
= SWIG_Py_Void();
31353 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31354 PyObject
*resultobj
= 0;
31355 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31356 wxWindow
*arg2
= (wxWindow
*) 0 ;
31359 int arg5
= (int) 0 ;
31369 PyObject
* obj0
= 0 ;
31370 PyObject
* obj1
= 0 ;
31371 PyObject
* obj2
= 0 ;
31372 PyObject
* obj3
= 0 ;
31373 PyObject
* obj4
= 0 ;
31374 char * kwnames
[] = {
31375 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31380 if (!SWIG_IsOK(res1
)) {
31381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31383 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31384 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31385 if (!SWIG_IsOK(res2
)) {
31386 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
31388 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31389 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31390 if (!SWIG_IsOK(res3
)) {
31391 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
31394 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
31396 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31399 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31402 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31403 if (!SWIG_IsOK(ecode5
)) {
31404 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
31406 arg5
= static_cast< int >(val5
);
31409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31410 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31411 wxPyEndAllowThreads(__tstate
);
31412 if (PyErr_Occurred()) SWIG_fail
;
31414 resultobj
= SWIG_Py_Void();
31421 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31422 PyObject
*resultobj
= 0;
31423 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31424 wxWindow
*arg2
= (wxWindow
*) 0 ;
31428 wxOrientation arg6
;
31429 int arg7
= (int) 0 ;
31443 PyObject
* obj0
= 0 ;
31444 PyObject
* obj1
= 0 ;
31445 PyObject
* obj2
= 0 ;
31446 PyObject
* obj3
= 0 ;
31447 PyObject
* obj4
= 0 ;
31448 PyObject
* obj5
= 0 ;
31449 PyObject
* obj6
= 0 ;
31450 char * kwnames
[] = {
31451 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
31454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31456 if (!SWIG_IsOK(res1
)) {
31457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31459 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31460 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31461 if (!SWIG_IsOK(res2
)) {
31462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
31464 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31465 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31466 if (!SWIG_IsOK(res3
)) {
31467 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
31470 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
31472 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31475 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31477 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31478 if (!SWIG_IsOK(ecode5
)) {
31479 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
31481 arg5
= static_cast< int >(val5
);
31482 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31483 if (!SWIG_IsOK(ecode6
)) {
31484 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
31486 arg6
= static_cast< wxOrientation
>(val6
);
31488 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
31489 if (!SWIG_IsOK(ecode7
)) {
31490 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
31492 arg7
= static_cast< int >(val7
);
31495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31496 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
31497 wxPyEndAllowThreads(__tstate
);
31498 if (PyErr_Occurred()) SWIG_fail
;
31500 resultobj
= SWIG_Py_Void();
31507 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31508 PyObject
*resultobj
= 0;
31509 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31510 wxWindow
*arg2
= (wxWindow
*) 0 ;
31513 int arg5
= (int) 0 ;
31523 PyObject
* obj0
= 0 ;
31524 PyObject
* obj1
= 0 ;
31525 PyObject
* obj2
= 0 ;
31526 PyObject
* obj3
= 0 ;
31527 PyObject
* obj4
= 0 ;
31528 char * kwnames
[] = {
31529 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31534 if (!SWIG_IsOK(res1
)) {
31535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31537 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31538 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31539 if (!SWIG_IsOK(res2
)) {
31540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31542 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31543 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31544 if (!SWIG_IsOK(res3
)) {
31545 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
31548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
31550 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31553 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31556 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31557 if (!SWIG_IsOK(ecode5
)) {
31558 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
31560 arg5
= static_cast< int >(val5
);
31563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31564 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31565 wxPyEndAllowThreads(__tstate
);
31566 if (PyErr_Occurred()) SWIG_fail
;
31568 resultobj
= SWIG_Py_Void();
31575 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31576 PyObject
*resultobj
= 0;
31577 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31578 wxWindow
*arg2
= (wxWindow
*) 0 ;
31581 int arg5
= (int) 0 ;
31591 PyObject
* obj0
= 0 ;
31592 PyObject
* obj1
= 0 ;
31593 PyObject
* obj2
= 0 ;
31594 PyObject
* obj3
= 0 ;
31595 PyObject
* obj4
= 0 ;
31596 char * kwnames
[] = {
31597 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31602 if (!SWIG_IsOK(res1
)) {
31603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31605 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31606 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31607 if (!SWIG_IsOK(res2
)) {
31608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
31610 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31611 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31612 if (!SWIG_IsOK(res3
)) {
31613 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
31616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
31618 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31621 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31624 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31625 if (!SWIG_IsOK(ecode5
)) {
31626 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
31628 arg5
= static_cast< int >(val5
);
31631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31632 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31633 wxPyEndAllowThreads(__tstate
);
31634 if (PyErr_Occurred()) SWIG_fail
;
31636 resultobj
= SWIG_Py_Void();
31643 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31644 PyObject
*resultobj
= 0;
31645 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31646 wxWindow
*arg2
= (wxWindow
*) 0 ;
31649 int arg5
= (int) 0 ;
31659 PyObject
* obj0
= 0 ;
31660 PyObject
* obj1
= 0 ;
31661 PyObject
* obj2
= 0 ;
31662 PyObject
* obj3
= 0 ;
31663 PyObject
* obj4
= 0 ;
31664 char * kwnames
[] = {
31665 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31670 if (!SWIG_IsOK(res1
)) {
31671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31673 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31674 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31675 if (!SWIG_IsOK(res2
)) {
31676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
31678 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31679 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31680 if (!SWIG_IsOK(res3
)) {
31681 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
31684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
31686 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31689 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31692 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31693 if (!SWIG_IsOK(ecode5
)) {
31694 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
31696 arg5
= static_cast< int >(val5
);
31699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31700 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31701 wxPyEndAllowThreads(__tstate
);
31702 if (PyErr_Occurred()) SWIG_fail
;
31704 resultobj
= SWIG_Py_Void();
31711 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31712 PyObject
*resultobj
= 0;
31713 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31714 wxWindow
*arg2
= (wxWindow
*) 0 ;
31717 int arg5
= (int) 0 ;
31727 PyObject
* obj0
= 0 ;
31728 PyObject
* obj1
= 0 ;
31729 PyObject
* obj2
= 0 ;
31730 PyObject
* obj3
= 0 ;
31731 PyObject
* obj4
= 0 ;
31732 char * kwnames
[] = {
31733 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31738 if (!SWIG_IsOK(res1
)) {
31739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31741 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31742 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31743 if (!SWIG_IsOK(res2
)) {
31744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31746 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31747 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31748 if (!SWIG_IsOK(res3
)) {
31749 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
31752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
31754 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31757 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31760 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31761 if (!SWIG_IsOK(ecode5
)) {
31762 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
31764 arg5
= static_cast< int >(val5
);
31767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31768 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31769 wxPyEndAllowThreads(__tstate
);
31770 if (PyErr_Occurred()) SWIG_fail
;
31772 resultobj
= SWIG_Py_Void();
31779 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31780 PyObject
*resultobj
= 0;
31781 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31782 wxWindow
*arg2
= (wxWindow
*) 0 ;
31785 int arg5
= (int) 0 ;
31795 PyObject
* obj0
= 0 ;
31796 PyObject
* obj1
= 0 ;
31797 PyObject
* obj2
= 0 ;
31798 PyObject
* obj3
= 0 ;
31799 PyObject
* obj4
= 0 ;
31800 char * kwnames
[] = {
31801 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31806 if (!SWIG_IsOK(res1
)) {
31807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31809 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31810 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31811 if (!SWIG_IsOK(res2
)) {
31812 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
31814 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31815 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31816 if (!SWIG_IsOK(res3
)) {
31817 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
31820 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
31822 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31825 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31828 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31829 if (!SWIG_IsOK(ecode5
)) {
31830 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
31832 arg5
= static_cast< int >(val5
);
31835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31836 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31837 wxPyEndAllowThreads(__tstate
);
31838 if (PyErr_Occurred()) SWIG_fail
;
31840 resultobj
= SWIG_Py_Void();
31847 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31848 PyObject
*resultobj
= 0;
31849 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31850 wxWindow
*arg2
= (wxWindow
*) 0 ;
31851 SwigValueWrapper
<wxSplitterRenderParams
> result
;
31856 PyObject
* obj0
= 0 ;
31857 PyObject
* obj1
= 0 ;
31858 char * kwnames
[] = {
31859 (char *) "self",(char *) "win", NULL
31862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31864 if (!SWIG_IsOK(res1
)) {
31865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31867 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31868 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31869 if (!SWIG_IsOK(res2
)) {
31870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
31872 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31875 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
31876 wxPyEndAllowThreads(__tstate
);
31877 if (PyErr_Occurred()) SWIG_fail
;
31879 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
31886 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31887 PyObject
*resultobj
= 0;
31888 wxRendererNative
*result
= 0 ;
31890 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
31892 if (!wxPyCheckForApp()) SWIG_fail
;
31893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31895 wxRendererNative
&_result_ref
= wxRendererNative::Get();
31896 result
= (wxRendererNative
*) &_result_ref
;
31898 wxPyEndAllowThreads(__tstate
);
31899 if (PyErr_Occurred()) SWIG_fail
;
31901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31908 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31909 PyObject
*resultobj
= 0;
31910 wxRendererNative
*result
= 0 ;
31912 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
31914 if (!wxPyCheckForApp()) SWIG_fail
;
31915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31917 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
31918 result
= (wxRendererNative
*) &_result_ref
;
31920 wxPyEndAllowThreads(__tstate
);
31921 if (PyErr_Occurred()) SWIG_fail
;
31923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31930 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31931 PyObject
*resultobj
= 0;
31932 wxRendererNative
*result
= 0 ;
31934 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
31936 if (!wxPyCheckForApp()) SWIG_fail
;
31937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31939 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
31940 result
= (wxRendererNative
*) &_result_ref
;
31942 wxPyEndAllowThreads(__tstate
);
31943 if (PyErr_Occurred()) SWIG_fail
;
31945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31952 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31953 PyObject
*resultobj
= 0;
31954 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31955 wxRendererNative
*result
= 0 ;
31958 PyObject
* obj0
= 0 ;
31959 char * kwnames
[] = {
31960 (char *) "renderer", NULL
31963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
31964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31965 if (!SWIG_IsOK(res1
)) {
31966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31968 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31970 if (!wxPyCheckForApp()) SWIG_fail
;
31971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31972 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
31973 wxPyEndAllowThreads(__tstate
);
31974 if (PyErr_Occurred()) SWIG_fail
;
31976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31983 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31984 PyObject
*resultobj
= 0;
31985 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31986 SwigValueWrapper
<wxRendererVersion
> result
;
31989 PyObject
*swig_obj
[1] ;
31991 if (!args
) SWIG_fail
;
31992 swig_obj
[0] = args
;
31993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31994 if (!SWIG_IsOK(res1
)) {
31995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
31997 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32000 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
32001 wxPyEndAllowThreads(__tstate
);
32002 if (PyErr_Occurred()) SWIG_fail
;
32004 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
32011 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32013 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32014 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
32015 return SWIG_Py_Void();
32018 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32019 PyObject
*resultobj
= 0;
32020 wxPseudoDC
*result
= 0 ;
32022 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
32024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32025 result
= (wxPseudoDC
*)new wxPseudoDC();
32026 wxPyEndAllowThreads(__tstate
);
32027 if (PyErr_Occurred()) SWIG_fail
;
32029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
32036 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32037 PyObject
*resultobj
= 0;
32038 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32041 PyObject
*swig_obj
[1] ;
32043 if (!args
) SWIG_fail
;
32044 swig_obj
[0] = args
;
32045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32046 if (!SWIG_IsOK(res1
)) {
32047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32049 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32052 (arg1
)->BeginDrawing();
32053 wxPyEndAllowThreads(__tstate
);
32054 if (PyErr_Occurred()) SWIG_fail
;
32056 resultobj
= SWIG_Py_Void();
32063 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32064 PyObject
*resultobj
= 0;
32065 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32068 PyObject
*swig_obj
[1] ;
32070 if (!args
) SWIG_fail
;
32071 swig_obj
[0] = args
;
32072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32073 if (!SWIG_IsOK(res1
)) {
32074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32076 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32079 (arg1
)->EndDrawing();
32080 wxPyEndAllowThreads(__tstate
);
32081 if (PyErr_Occurred()) SWIG_fail
;
32083 resultobj
= SWIG_Py_Void();
32090 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32091 PyObject
*resultobj
= 0;
32092 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32095 PyObject
*swig_obj
[1] ;
32097 if (!args
) SWIG_fail
;
32098 swig_obj
[0] = args
;
32099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
32100 if (!SWIG_IsOK(res1
)) {
32101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32103 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32108 wxPyEndAllowThreads(__tstate
);
32109 if (PyErr_Occurred()) SWIG_fail
;
32111 resultobj
= SWIG_Py_Void();
32118 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32119 PyObject
*resultobj
= 0;
32120 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32123 PyObject
*swig_obj
[1] ;
32125 if (!args
) SWIG_fail
;
32126 swig_obj
[0] = args
;
32127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32128 if (!SWIG_IsOK(res1
)) {
32129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32131 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32134 (arg1
)->RemoveAll();
32135 wxPyEndAllowThreads(__tstate
);
32136 if (PyErr_Occurred()) SWIG_fail
;
32138 resultobj
= SWIG_Py_Void();
32145 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32146 PyObject
*resultobj
= 0;
32147 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32151 PyObject
*swig_obj
[1] ;
32153 if (!args
) SWIG_fail
;
32154 swig_obj
[0] = args
;
32155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32156 if (!SWIG_IsOK(res1
)) {
32157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32159 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32162 result
= (int)(arg1
)->GetLen();
32163 wxPyEndAllowThreads(__tstate
);
32164 if (PyErr_Occurred()) SWIG_fail
;
32166 resultobj
= SWIG_From_int(static_cast< int >(result
));
32173 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32174 PyObject
*resultobj
= 0;
32175 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32181 PyObject
* obj0
= 0 ;
32182 PyObject
* obj1
= 0 ;
32183 char * kwnames
[] = {
32184 (char *) "self",(char *) "id", NULL
32187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32189 if (!SWIG_IsOK(res1
)) {
32190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32192 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32194 if (!SWIG_IsOK(ecode2
)) {
32195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
32197 arg2
= static_cast< int >(val2
);
32199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32200 (arg1
)->SetId(arg2
);
32201 wxPyEndAllowThreads(__tstate
);
32202 if (PyErr_Occurred()) SWIG_fail
;
32204 resultobj
= SWIG_Py_Void();
32211 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32212 PyObject
*resultobj
= 0;
32213 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32219 PyObject
* obj0
= 0 ;
32220 PyObject
* obj1
= 0 ;
32221 char * kwnames
[] = {
32222 (char *) "self",(char *) "id", NULL
32225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32227 if (!SWIG_IsOK(res1
)) {
32228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32230 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32232 if (!SWIG_IsOK(ecode2
)) {
32233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
32235 arg2
= static_cast< int >(val2
);
32237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32238 (arg1
)->ClearId(arg2
);
32239 wxPyEndAllowThreads(__tstate
);
32240 if (PyErr_Occurred()) SWIG_fail
;
32242 resultobj
= SWIG_Py_Void();
32249 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32250 PyObject
*resultobj
= 0;
32251 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32257 PyObject
* obj0
= 0 ;
32258 PyObject
* obj1
= 0 ;
32259 char * kwnames
[] = {
32260 (char *) "self",(char *) "id", NULL
32263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32265 if (!SWIG_IsOK(res1
)) {
32266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32268 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32269 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32270 if (!SWIG_IsOK(ecode2
)) {
32271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
32273 arg2
= static_cast< int >(val2
);
32275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32276 (arg1
)->RemoveId(arg2
);
32277 wxPyEndAllowThreads(__tstate
);
32278 if (PyErr_Occurred()) SWIG_fail
;
32280 resultobj
= SWIG_Py_Void();
32287 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32288 PyObject
*resultobj
= 0;
32289 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32301 PyObject
* obj0
= 0 ;
32302 PyObject
* obj1
= 0 ;
32303 PyObject
* obj2
= 0 ;
32304 PyObject
* obj3
= 0 ;
32305 char * kwnames
[] = {
32306 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
32309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32311 if (!SWIG_IsOK(res1
)) {
32312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32314 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32315 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32316 if (!SWIG_IsOK(ecode2
)) {
32317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
32319 arg2
= static_cast< int >(val2
);
32320 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32321 if (!SWIG_IsOK(ecode3
)) {
32322 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
32324 arg3
= static_cast< int >(val3
);
32325 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32326 if (!SWIG_IsOK(ecode4
)) {
32327 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
32329 arg4
= static_cast< int >(val4
);
32331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32332 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
32333 wxPyEndAllowThreads(__tstate
);
32334 if (PyErr_Occurred()) SWIG_fail
;
32336 resultobj
= SWIG_Py_Void();
32343 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32344 PyObject
*resultobj
= 0;
32345 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32347 bool arg3
= (bool) true ;
32354 PyObject
* obj0
= 0 ;
32355 PyObject
* obj1
= 0 ;
32356 PyObject
* obj2
= 0 ;
32357 char * kwnames
[] = {
32358 (char *) "self",(char *) "id",(char *) "greyout", NULL
32361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32363 if (!SWIG_IsOK(res1
)) {
32364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32366 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32368 if (!SWIG_IsOK(ecode2
)) {
32369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
32371 arg2
= static_cast< int >(val2
);
32373 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32374 if (!SWIG_IsOK(ecode3
)) {
32375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
32377 arg3
= static_cast< bool >(val3
);
32380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32381 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
32382 wxPyEndAllowThreads(__tstate
);
32383 if (PyErr_Occurred()) SWIG_fail
;
32385 resultobj
= SWIG_Py_Void();
32392 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32393 PyObject
*resultobj
= 0;
32394 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32401 PyObject
* obj0
= 0 ;
32402 PyObject
* obj1
= 0 ;
32403 char * kwnames
[] = {
32404 (char *) "self",(char *) "id", NULL
32407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32409 if (!SWIG_IsOK(res1
)) {
32410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32412 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32414 if (!SWIG_IsOK(ecode2
)) {
32415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
32417 arg2
= static_cast< int >(val2
);
32419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32420 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
32421 wxPyEndAllowThreads(__tstate
);
32422 if (PyErr_Occurred()) SWIG_fail
;
32425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32433 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32434 PyObject
*resultobj
= 0;
32435 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32438 int arg4
= (int) 1 ;
32439 wxColor
const &arg5_defvalue
= *wxWHITE
;
32440 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
32441 PyObject
*result
= 0 ;
32452 PyObject
* obj0
= 0 ;
32453 PyObject
* obj1
= 0 ;
32454 PyObject
* obj2
= 0 ;
32455 PyObject
* obj3
= 0 ;
32456 PyObject
* obj4
= 0 ;
32457 char * kwnames
[] = {
32458 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
32461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32463 if (!SWIG_IsOK(res1
)) {
32464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32466 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32468 if (!SWIG_IsOK(ecode2
)) {
32469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
32471 arg2
= static_cast< int >(val2
);
32472 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32473 if (!SWIG_IsOK(ecode3
)) {
32474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
32476 arg3
= static_cast< int >(val3
);
32478 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32479 if (!SWIG_IsOK(ecode4
)) {
32480 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
32482 arg4
= static_cast< int >(val4
);
32485 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
32486 if (!SWIG_IsOK(res5
)) {
32487 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
32490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
32492 arg5
= reinterpret_cast< wxColor
* >(argp5
);
32495 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
32496 if (PyErr_Occurred()) SWIG_fail
;
32498 resultobj
= result
;
32505 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32506 PyObject
*resultobj
= 0;
32507 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32510 PyObject
*result
= 0 ;
32517 PyObject
* obj0
= 0 ;
32518 PyObject
* obj1
= 0 ;
32519 PyObject
* obj2
= 0 ;
32520 char * kwnames
[] = {
32521 (char *) "self",(char *) "x",(char *) "y", NULL
32524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32526 if (!SWIG_IsOK(res1
)) {
32527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32529 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32531 if (!SWIG_IsOK(ecode2
)) {
32532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
32534 arg2
= static_cast< int >(val2
);
32535 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32536 if (!SWIG_IsOK(ecode3
)) {
32537 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
32539 arg3
= static_cast< int >(val3
);
32541 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
32542 if (PyErr_Occurred()) SWIG_fail
;
32544 resultobj
= result
;
32551 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32552 PyObject
*resultobj
= 0;
32553 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32555 wxDC
*arg3
= (wxDC
*) 0 ;
32562 PyObject
* obj0
= 0 ;
32563 PyObject
* obj1
= 0 ;
32564 PyObject
* obj2
= 0 ;
32565 char * kwnames
[] = {
32566 (char *) "self",(char *) "id",(char *) "dc", NULL
32569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32571 if (!SWIG_IsOK(res1
)) {
32572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32574 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32576 if (!SWIG_IsOK(ecode2
)) {
32577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
32579 arg2
= static_cast< int >(val2
);
32580 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
32581 if (!SWIG_IsOK(res3
)) {
32582 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
32584 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32587 (arg1
)->DrawIdToDC(arg2
,arg3
);
32588 wxPyEndAllowThreads(__tstate
);
32589 if (PyErr_Occurred()) SWIG_fail
;
32591 resultobj
= SWIG_Py_Void();
32598 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32599 PyObject
*resultobj
= 0;
32600 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32608 PyObject
* obj0
= 0 ;
32609 PyObject
* obj1
= 0 ;
32610 PyObject
* obj2
= 0 ;
32611 char * kwnames
[] = {
32612 (char *) "self",(char *) "id",(char *) "rect", NULL
32615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32617 if (!SWIG_IsOK(res1
)) {
32618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32620 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32621 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32622 if (!SWIG_IsOK(ecode2
)) {
32623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
32625 arg2
= static_cast< int >(val2
);
32628 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
32631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32632 (arg1
)->SetIdBounds(arg2
,*arg3
);
32633 wxPyEndAllowThreads(__tstate
);
32634 if (PyErr_Occurred()) SWIG_fail
;
32636 resultobj
= SWIG_Py_Void();
32643 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32644 PyObject
*resultobj
= 0;
32645 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32652 PyObject
* obj0
= 0 ;
32653 PyObject
* obj1
= 0 ;
32654 char * kwnames
[] = {
32655 (char *) "self",(char *) "id", NULL
32658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32660 if (!SWIG_IsOK(res1
)) {
32661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32663 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32665 if (!SWIG_IsOK(ecode2
)) {
32666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
32668 arg2
= static_cast< int >(val2
);
32670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32671 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
32672 wxPyEndAllowThreads(__tstate
);
32673 if (PyErr_Occurred()) SWIG_fail
;
32675 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
32682 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32683 PyObject
*resultobj
= 0;
32684 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32685 wxDC
*arg2
= (wxDC
*) 0 ;
32692 PyObject
* obj0
= 0 ;
32693 PyObject
* obj1
= 0 ;
32694 PyObject
* obj2
= 0 ;
32695 char * kwnames
[] = {
32696 (char *) "self",(char *) "dc",(char *) "rect", NULL
32699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32701 if (!SWIG_IsOK(res1
)) {
32702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32704 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32705 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32706 if (!SWIG_IsOK(res2
)) {
32707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
32709 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32712 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
32715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32716 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
32717 wxPyEndAllowThreads(__tstate
);
32718 if (PyErr_Occurred()) SWIG_fail
;
32720 resultobj
= SWIG_Py_Void();
32727 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32728 PyObject
*resultobj
= 0;
32729 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32730 wxDC
*arg2
= (wxDC
*) 0 ;
32731 wxRegion
*arg3
= 0 ;
32738 PyObject
* obj0
= 0 ;
32739 PyObject
* obj1
= 0 ;
32740 PyObject
* obj2
= 0 ;
32741 char * kwnames
[] = {
32742 (char *) "self",(char *) "dc",(char *) "region", NULL
32745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32747 if (!SWIG_IsOK(res1
)) {
32748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32750 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32751 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32752 if (!SWIG_IsOK(res2
)) {
32753 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
32755 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32756 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
32757 if (!SWIG_IsOK(res3
)) {
32758 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
32761 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
32763 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
32765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32766 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
32767 wxPyEndAllowThreads(__tstate
);
32768 if (PyErr_Occurred()) SWIG_fail
;
32770 resultobj
= SWIG_Py_Void();
32777 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32778 PyObject
*resultobj
= 0;
32779 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32780 wxDC
*arg2
= (wxDC
*) 0 ;
32785 PyObject
* obj0
= 0 ;
32786 PyObject
* obj1
= 0 ;
32787 char * kwnames
[] = {
32788 (char *) "self",(char *) "dc", NULL
32791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32793 if (!SWIG_IsOK(res1
)) {
32794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32796 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32797 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32798 if (!SWIG_IsOK(res2
)) {
32799 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
32801 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32804 (arg1
)->DrawToDC(arg2
);
32805 wxPyEndAllowThreads(__tstate
);
32806 if (PyErr_Occurred()) SWIG_fail
;
32808 resultobj
= SWIG_Py_Void();
32815 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32816 PyObject
*resultobj
= 0;
32817 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32820 wxColour
*arg4
= 0 ;
32821 int arg5
= (int) wxFLOOD_SURFACE
;
32831 PyObject
* obj0
= 0 ;
32832 PyObject
* obj1
= 0 ;
32833 PyObject
* obj2
= 0 ;
32834 PyObject
* obj3
= 0 ;
32835 PyObject
* obj4
= 0 ;
32836 char * kwnames
[] = {
32837 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
32840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32842 if (!SWIG_IsOK(res1
)) {
32843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32845 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32847 if (!SWIG_IsOK(ecode2
)) {
32848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
32850 arg2
= static_cast< int >(val2
);
32851 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32852 if (!SWIG_IsOK(ecode3
)) {
32853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
32855 arg3
= static_cast< int >(val3
);
32858 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
32861 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32862 if (!SWIG_IsOK(ecode5
)) {
32863 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
32865 arg5
= static_cast< int >(val5
);
32868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32869 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
32870 wxPyEndAllowThreads(__tstate
);
32871 if (PyErr_Occurred()) SWIG_fail
;
32873 resultobj
= SWIG_Py_Void();
32880 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32881 PyObject
*resultobj
= 0;
32882 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32883 wxPoint
*arg2
= 0 ;
32884 wxColour
*arg3
= 0 ;
32885 int arg4
= (int) wxFLOOD_SURFACE
;
32892 PyObject
* obj0
= 0 ;
32893 PyObject
* obj1
= 0 ;
32894 PyObject
* obj2
= 0 ;
32895 PyObject
* obj3
= 0 ;
32896 char * kwnames
[] = {
32897 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
32900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32902 if (!SWIG_IsOK(res1
)) {
32903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32905 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32908 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32912 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32915 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32916 if (!SWIG_IsOK(ecode4
)) {
32917 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
32919 arg4
= static_cast< int >(val4
);
32922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32923 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
32924 wxPyEndAllowThreads(__tstate
);
32925 if (PyErr_Occurred()) SWIG_fail
;
32927 resultobj
= SWIG_Py_Void();
32934 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32935 PyObject
*resultobj
= 0;
32936 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32951 PyObject
* obj0
= 0 ;
32952 PyObject
* obj1
= 0 ;
32953 PyObject
* obj2
= 0 ;
32954 PyObject
* obj3
= 0 ;
32955 PyObject
* obj4
= 0 ;
32956 char * kwnames
[] = {
32957 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
32960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32962 if (!SWIG_IsOK(res1
)) {
32963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32965 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32967 if (!SWIG_IsOK(ecode2
)) {
32968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
32970 arg2
= static_cast< int >(val2
);
32971 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32972 if (!SWIG_IsOK(ecode3
)) {
32973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
32975 arg3
= static_cast< int >(val3
);
32976 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32977 if (!SWIG_IsOK(ecode4
)) {
32978 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
32980 arg4
= static_cast< int >(val4
);
32981 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32982 if (!SWIG_IsOK(ecode5
)) {
32983 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
32985 arg5
= static_cast< int >(val5
);
32987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32988 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
32989 wxPyEndAllowThreads(__tstate
);
32990 if (PyErr_Occurred()) SWIG_fail
;
32992 resultobj
= SWIG_Py_Void();
32999 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33000 PyObject
*resultobj
= 0;
33001 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33002 wxPoint
*arg2
= 0 ;
33003 wxPoint
*arg3
= 0 ;
33008 PyObject
* obj0
= 0 ;
33009 PyObject
* obj1
= 0 ;
33010 PyObject
* obj2
= 0 ;
33011 char * kwnames
[] = {
33012 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
33015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33017 if (!SWIG_IsOK(res1
)) {
33018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33020 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33023 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33027 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33031 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
33032 wxPyEndAllowThreads(__tstate
);
33033 if (PyErr_Occurred()) SWIG_fail
;
33035 resultobj
= SWIG_Py_Void();
33042 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33043 PyObject
*resultobj
= 0;
33044 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33053 PyObject
* obj0
= 0 ;
33054 PyObject
* obj1
= 0 ;
33055 PyObject
* obj2
= 0 ;
33056 char * kwnames
[] = {
33057 (char *) "self",(char *) "x",(char *) "y", NULL
33060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33062 if (!SWIG_IsOK(res1
)) {
33063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33065 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33067 if (!SWIG_IsOK(ecode2
)) {
33068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
33070 arg2
= static_cast< int >(val2
);
33071 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33072 if (!SWIG_IsOK(ecode3
)) {
33073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
33075 arg3
= static_cast< int >(val3
);
33077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33078 (arg1
)->CrossHair(arg2
,arg3
);
33079 wxPyEndAllowThreads(__tstate
);
33080 if (PyErr_Occurred()) SWIG_fail
;
33082 resultobj
= SWIG_Py_Void();
33089 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33090 PyObject
*resultobj
= 0;
33091 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33092 wxPoint
*arg2
= 0 ;
33096 PyObject
* obj0
= 0 ;
33097 PyObject
* obj1
= 0 ;
33098 char * kwnames
[] = {
33099 (char *) "self",(char *) "pt", NULL
33102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33104 if (!SWIG_IsOK(res1
)) {
33105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33107 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33110 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33114 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
33115 wxPyEndAllowThreads(__tstate
);
33116 if (PyErr_Occurred()) SWIG_fail
;
33118 resultobj
= SWIG_Py_Void();
33125 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33126 PyObject
*resultobj
= 0;
33127 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33148 PyObject
* obj0
= 0 ;
33149 PyObject
* obj1
= 0 ;
33150 PyObject
* obj2
= 0 ;
33151 PyObject
* obj3
= 0 ;
33152 PyObject
* obj4
= 0 ;
33153 PyObject
* obj5
= 0 ;
33154 PyObject
* obj6
= 0 ;
33155 char * kwnames
[] = {
33156 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
33159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33161 if (!SWIG_IsOK(res1
)) {
33162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33164 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33166 if (!SWIG_IsOK(ecode2
)) {
33167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
33169 arg2
= static_cast< int >(val2
);
33170 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33171 if (!SWIG_IsOK(ecode3
)) {
33172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
33174 arg3
= static_cast< int >(val3
);
33175 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33176 if (!SWIG_IsOK(ecode4
)) {
33177 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
33179 arg4
= static_cast< int >(val4
);
33180 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33181 if (!SWIG_IsOK(ecode5
)) {
33182 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
33184 arg5
= static_cast< int >(val5
);
33185 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33186 if (!SWIG_IsOK(ecode6
)) {
33187 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
33189 arg6
= static_cast< int >(val6
);
33190 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
33191 if (!SWIG_IsOK(ecode7
)) {
33192 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
33194 arg7
= static_cast< int >(val7
);
33196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33197 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
33198 wxPyEndAllowThreads(__tstate
);
33199 if (PyErr_Occurred()) SWIG_fail
;
33201 resultobj
= SWIG_Py_Void();
33208 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33209 PyObject
*resultobj
= 0;
33210 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33211 wxPoint
*arg2
= 0 ;
33212 wxPoint
*arg3
= 0 ;
33213 wxPoint
*arg4
= 0 ;
33219 PyObject
* obj0
= 0 ;
33220 PyObject
* obj1
= 0 ;
33221 PyObject
* obj2
= 0 ;
33222 PyObject
* obj3
= 0 ;
33223 char * kwnames
[] = {
33224 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
33227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33229 if (!SWIG_IsOK(res1
)) {
33230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33232 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33235 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33239 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33243 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33247 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
33248 wxPyEndAllowThreads(__tstate
);
33249 if (PyErr_Occurred()) SWIG_fail
;
33251 resultobj
= SWIG_Py_Void();
33258 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33259 PyObject
*resultobj
= 0;
33260 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33275 PyObject
* obj0
= 0 ;
33276 PyObject
* obj1
= 0 ;
33277 PyObject
* obj2
= 0 ;
33278 PyObject
* obj3
= 0 ;
33279 PyObject
* obj4
= 0 ;
33280 char * kwnames
[] = {
33281 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33286 if (!SWIG_IsOK(res1
)) {
33287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33289 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33291 if (!SWIG_IsOK(ecode2
)) {
33292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
33294 arg2
= static_cast< int >(val2
);
33295 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33296 if (!SWIG_IsOK(ecode3
)) {
33297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
33299 arg3
= static_cast< int >(val3
);
33300 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33301 if (!SWIG_IsOK(ecode4
)) {
33302 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
33304 arg4
= static_cast< int >(val4
);
33305 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33306 if (!SWIG_IsOK(ecode5
)) {
33307 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
33309 arg5
= static_cast< int >(val5
);
33311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33312 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
33313 wxPyEndAllowThreads(__tstate
);
33314 if (PyErr_Occurred()) SWIG_fail
;
33316 resultobj
= SWIG_Py_Void();
33323 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33324 PyObject
*resultobj
= 0;
33325 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33330 PyObject
* obj0
= 0 ;
33331 PyObject
* obj1
= 0 ;
33332 char * kwnames
[] = {
33333 (char *) "self",(char *) "rect", NULL
33336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33338 if (!SWIG_IsOK(res1
)) {
33339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33341 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33344 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33348 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
33349 wxPyEndAllowThreads(__tstate
);
33350 if (PyErr_Occurred()) SWIG_fail
;
33352 resultobj
= SWIG_Py_Void();
33359 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33360 PyObject
*resultobj
= 0;
33361 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33382 PyObject
* obj0
= 0 ;
33383 PyObject
* obj1
= 0 ;
33384 PyObject
* obj2
= 0 ;
33385 PyObject
* obj3
= 0 ;
33386 PyObject
* obj4
= 0 ;
33387 PyObject
* obj5
= 0 ;
33388 PyObject
* obj6
= 0 ;
33389 char * kwnames
[] = {
33390 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
33393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33395 if (!SWIG_IsOK(res1
)) {
33396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33398 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33400 if (!SWIG_IsOK(ecode2
)) {
33401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
33403 arg2
= static_cast< int >(val2
);
33404 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33405 if (!SWIG_IsOK(ecode3
)) {
33406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
33408 arg3
= static_cast< int >(val3
);
33409 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33410 if (!SWIG_IsOK(ecode4
)) {
33411 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
33413 arg4
= static_cast< int >(val4
);
33414 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33415 if (!SWIG_IsOK(ecode5
)) {
33416 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
33418 arg5
= static_cast< int >(val5
);
33419 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
33420 if (!SWIG_IsOK(ecode6
)) {
33421 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
33423 arg6
= static_cast< double >(val6
);
33424 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
33425 if (!SWIG_IsOK(ecode7
)) {
33426 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
33428 arg7
= static_cast< double >(val7
);
33430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33431 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
33432 wxPyEndAllowThreads(__tstate
);
33433 if (PyErr_Occurred()) SWIG_fail
;
33435 resultobj
= SWIG_Py_Void();
33442 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33443 PyObject
*resultobj
= 0;
33444 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33445 wxPoint
*arg2
= 0 ;
33457 PyObject
* obj0
= 0 ;
33458 PyObject
* obj1
= 0 ;
33459 PyObject
* obj2
= 0 ;
33460 PyObject
* obj3
= 0 ;
33461 PyObject
* obj4
= 0 ;
33462 char * kwnames
[] = {
33463 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
33466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33468 if (!SWIG_IsOK(res1
)) {
33469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33471 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33474 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33478 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33480 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33481 if (!SWIG_IsOK(ecode4
)) {
33482 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
33484 arg4
= static_cast< double >(val4
);
33485 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
33486 if (!SWIG_IsOK(ecode5
)) {
33487 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
33489 arg5
= static_cast< double >(val5
);
33491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33492 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
33493 wxPyEndAllowThreads(__tstate
);
33494 if (PyErr_Occurred()) SWIG_fail
;
33496 resultobj
= SWIG_Py_Void();
33503 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33504 PyObject
*resultobj
= 0;
33505 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33514 PyObject
* obj0
= 0 ;
33515 PyObject
* obj1
= 0 ;
33516 PyObject
* obj2
= 0 ;
33517 char * kwnames
[] = {
33518 (char *) "self",(char *) "x",(char *) "y", NULL
33521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33523 if (!SWIG_IsOK(res1
)) {
33524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33526 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33528 if (!SWIG_IsOK(ecode2
)) {
33529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
33531 arg2
= static_cast< int >(val2
);
33532 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33533 if (!SWIG_IsOK(ecode3
)) {
33534 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
33536 arg3
= static_cast< int >(val3
);
33538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33539 (arg1
)->DrawPoint(arg2
,arg3
);
33540 wxPyEndAllowThreads(__tstate
);
33541 if (PyErr_Occurred()) SWIG_fail
;
33543 resultobj
= SWIG_Py_Void();
33550 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33551 PyObject
*resultobj
= 0;
33552 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33553 wxPoint
*arg2
= 0 ;
33557 PyObject
* obj0
= 0 ;
33558 PyObject
* obj1
= 0 ;
33559 char * kwnames
[] = {
33560 (char *) "self",(char *) "pt", NULL
33563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33565 if (!SWIG_IsOK(res1
)) {
33566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33568 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33571 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33575 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
33576 wxPyEndAllowThreads(__tstate
);
33577 if (PyErr_Occurred()) SWIG_fail
;
33579 resultobj
= SWIG_Py_Void();
33586 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33587 PyObject
*resultobj
= 0;
33588 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33603 PyObject
* obj0
= 0 ;
33604 PyObject
* obj1
= 0 ;
33605 PyObject
* obj2
= 0 ;
33606 PyObject
* obj3
= 0 ;
33607 PyObject
* obj4
= 0 ;
33608 char * kwnames
[] = {
33609 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33617 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33619 if (!SWIG_IsOK(ecode2
)) {
33620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
33622 arg2
= static_cast< int >(val2
);
33623 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33624 if (!SWIG_IsOK(ecode3
)) {
33625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
33627 arg3
= static_cast< int >(val3
);
33628 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33629 if (!SWIG_IsOK(ecode4
)) {
33630 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
33632 arg4
= static_cast< int >(val4
);
33633 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33634 if (!SWIG_IsOK(ecode5
)) {
33635 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
33637 arg5
= static_cast< int >(val5
);
33639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33640 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
33641 wxPyEndAllowThreads(__tstate
);
33642 if (PyErr_Occurred()) SWIG_fail
;
33644 resultobj
= SWIG_Py_Void();
33651 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33652 PyObject
*resultobj
= 0;
33653 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33658 PyObject
* obj0
= 0 ;
33659 PyObject
* obj1
= 0 ;
33660 char * kwnames
[] = {
33661 (char *) "self",(char *) "rect", NULL
33664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33666 if (!SWIG_IsOK(res1
)) {
33667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33669 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33672 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33676 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
33677 wxPyEndAllowThreads(__tstate
);
33678 if (PyErr_Occurred()) SWIG_fail
;
33680 resultobj
= SWIG_Py_Void();
33687 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33688 PyObject
*resultobj
= 0;
33689 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33690 wxPoint
*arg2
= 0 ;
33696 PyObject
* obj0
= 0 ;
33697 PyObject
* obj1
= 0 ;
33698 PyObject
* obj2
= 0 ;
33699 char * kwnames
[] = {
33700 (char *) "self",(char *) "pt",(char *) "sz", NULL
33703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33705 if (!SWIG_IsOK(res1
)) {
33706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33708 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33711 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33715 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33719 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
33720 wxPyEndAllowThreads(__tstate
);
33721 if (PyErr_Occurred()) SWIG_fail
;
33723 resultobj
= SWIG_Py_Void();
33730 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33731 PyObject
*resultobj
= 0;
33732 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33750 PyObject
* obj0
= 0 ;
33751 PyObject
* obj1
= 0 ;
33752 PyObject
* obj2
= 0 ;
33753 PyObject
* obj3
= 0 ;
33754 PyObject
* obj4
= 0 ;
33755 PyObject
* obj5
= 0 ;
33756 char * kwnames
[] = {
33757 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
33760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33762 if (!SWIG_IsOK(res1
)) {
33763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33765 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33767 if (!SWIG_IsOK(ecode2
)) {
33768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
33770 arg2
= static_cast< int >(val2
);
33771 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33772 if (!SWIG_IsOK(ecode3
)) {
33773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
33775 arg3
= static_cast< int >(val3
);
33776 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33777 if (!SWIG_IsOK(ecode4
)) {
33778 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
33780 arg4
= static_cast< int >(val4
);
33781 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33782 if (!SWIG_IsOK(ecode5
)) {
33783 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
33785 arg5
= static_cast< int >(val5
);
33786 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
33787 if (!SWIG_IsOK(ecode6
)) {
33788 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
33790 arg6
= static_cast< double >(val6
);
33792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33793 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
33794 wxPyEndAllowThreads(__tstate
);
33795 if (PyErr_Occurred()) SWIG_fail
;
33797 resultobj
= SWIG_Py_Void();
33804 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33805 PyObject
*resultobj
= 0;
33806 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33814 PyObject
* obj0
= 0 ;
33815 PyObject
* obj1
= 0 ;
33816 PyObject
* obj2
= 0 ;
33817 char * kwnames
[] = {
33818 (char *) "self",(char *) "r",(char *) "radius", NULL
33821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33823 if (!SWIG_IsOK(res1
)) {
33824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33826 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33829 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33831 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
33832 if (!SWIG_IsOK(ecode3
)) {
33833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
33835 arg3
= static_cast< double >(val3
);
33837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33838 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
33839 wxPyEndAllowThreads(__tstate
);
33840 if (PyErr_Occurred()) SWIG_fail
;
33842 resultobj
= SWIG_Py_Void();
33849 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33850 PyObject
*resultobj
= 0;
33851 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33852 wxPoint
*arg2
= 0 ;
33861 PyObject
* obj0
= 0 ;
33862 PyObject
* obj1
= 0 ;
33863 PyObject
* obj2
= 0 ;
33864 PyObject
* obj3
= 0 ;
33865 char * kwnames
[] = {
33866 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
33869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33871 if (!SWIG_IsOK(res1
)) {
33872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33874 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33877 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33881 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33883 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33884 if (!SWIG_IsOK(ecode4
)) {
33885 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
33887 arg4
= static_cast< double >(val4
);
33889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33890 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
33891 wxPyEndAllowThreads(__tstate
);
33892 if (PyErr_Occurred()) SWIG_fail
;
33894 resultobj
= SWIG_Py_Void();
33901 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33902 PyObject
*resultobj
= 0;
33903 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33915 PyObject
* obj0
= 0 ;
33916 PyObject
* obj1
= 0 ;
33917 PyObject
* obj2
= 0 ;
33918 PyObject
* obj3
= 0 ;
33919 char * kwnames
[] = {
33920 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
33923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33925 if (!SWIG_IsOK(res1
)) {
33926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33928 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33930 if (!SWIG_IsOK(ecode2
)) {
33931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
33933 arg2
= static_cast< int >(val2
);
33934 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33935 if (!SWIG_IsOK(ecode3
)) {
33936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
33938 arg3
= static_cast< int >(val3
);
33939 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33940 if (!SWIG_IsOK(ecode4
)) {
33941 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
33943 arg4
= static_cast< int >(val4
);
33945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33946 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
33947 wxPyEndAllowThreads(__tstate
);
33948 if (PyErr_Occurred()) SWIG_fail
;
33950 resultobj
= SWIG_Py_Void();
33957 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33958 PyObject
*resultobj
= 0;
33959 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33960 wxPoint
*arg2
= 0 ;
33967 PyObject
* obj0
= 0 ;
33968 PyObject
* obj1
= 0 ;
33969 PyObject
* obj2
= 0 ;
33970 char * kwnames
[] = {
33971 (char *) "self",(char *) "pt",(char *) "radius", NULL
33974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33976 if (!SWIG_IsOK(res1
)) {
33977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33979 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33982 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33984 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33985 if (!SWIG_IsOK(ecode3
)) {
33986 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
33988 arg3
= static_cast< int >(val3
);
33990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33991 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
33992 wxPyEndAllowThreads(__tstate
);
33993 if (PyErr_Occurred()) SWIG_fail
;
33995 resultobj
= SWIG_Py_Void();
34002 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34003 PyObject
*resultobj
= 0;
34004 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34019 PyObject
* obj0
= 0 ;
34020 PyObject
* obj1
= 0 ;
34021 PyObject
* obj2
= 0 ;
34022 PyObject
* obj3
= 0 ;
34023 PyObject
* obj4
= 0 ;
34024 char * kwnames
[] = {
34025 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
34028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34030 if (!SWIG_IsOK(res1
)) {
34031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34033 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34034 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34035 if (!SWIG_IsOK(ecode2
)) {
34036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
34038 arg2
= static_cast< int >(val2
);
34039 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34040 if (!SWIG_IsOK(ecode3
)) {
34041 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
34043 arg3
= static_cast< int >(val3
);
34044 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34045 if (!SWIG_IsOK(ecode4
)) {
34046 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
34048 arg4
= static_cast< int >(val4
);
34049 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34050 if (!SWIG_IsOK(ecode5
)) {
34051 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
34053 arg5
= static_cast< int >(val5
);
34055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34056 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
34057 wxPyEndAllowThreads(__tstate
);
34058 if (PyErr_Occurred()) SWIG_fail
;
34060 resultobj
= SWIG_Py_Void();
34067 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34068 PyObject
*resultobj
= 0;
34069 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34074 PyObject
* obj0
= 0 ;
34075 PyObject
* obj1
= 0 ;
34076 char * kwnames
[] = {
34077 (char *) "self",(char *) "rect", NULL
34080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34082 if (!SWIG_IsOK(res1
)) {
34083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34085 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34088 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34092 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
34093 wxPyEndAllowThreads(__tstate
);
34094 if (PyErr_Occurred()) SWIG_fail
;
34096 resultobj
= SWIG_Py_Void();
34103 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34104 PyObject
*resultobj
= 0;
34105 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34106 wxPoint
*arg2
= 0 ;
34112 PyObject
* obj0
= 0 ;
34113 PyObject
* obj1
= 0 ;
34114 PyObject
* obj2
= 0 ;
34115 char * kwnames
[] = {
34116 (char *) "self",(char *) "pt",(char *) "sz", NULL
34119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34121 if (!SWIG_IsOK(res1
)) {
34122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34124 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34127 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34131 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
34134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34135 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
34136 wxPyEndAllowThreads(__tstate
);
34137 if (PyErr_Occurred()) SWIG_fail
;
34139 resultobj
= SWIG_Py_Void();
34146 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34147 PyObject
*resultobj
= 0;
34148 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34160 PyObject
* obj0
= 0 ;
34161 PyObject
* obj1
= 0 ;
34162 PyObject
* obj2
= 0 ;
34163 PyObject
* obj3
= 0 ;
34164 char * kwnames
[] = {
34165 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
34168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34170 if (!SWIG_IsOK(res1
)) {
34171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34173 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34174 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
34175 if (!SWIG_IsOK(res2
)) {
34176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
34179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
34181 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
34182 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34183 if (!SWIG_IsOK(ecode3
)) {
34184 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
34186 arg3
= static_cast< int >(val3
);
34187 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34188 if (!SWIG_IsOK(ecode4
)) {
34189 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
34191 arg4
= static_cast< int >(val4
);
34193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34194 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
34195 wxPyEndAllowThreads(__tstate
);
34196 if (PyErr_Occurred()) SWIG_fail
;
34198 resultobj
= SWIG_Py_Void();
34205 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34206 PyObject
*resultobj
= 0;
34207 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34209 wxPoint
*arg3
= 0 ;
34215 PyObject
* obj0
= 0 ;
34216 PyObject
* obj1
= 0 ;
34217 PyObject
* obj2
= 0 ;
34218 char * kwnames
[] = {
34219 (char *) "self",(char *) "icon",(char *) "pt", NULL
34222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34224 if (!SWIG_IsOK(res1
)) {
34225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34227 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34228 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
34229 if (!SWIG_IsOK(res2
)) {
34230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
34233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
34235 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
34238 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34242 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
34243 wxPyEndAllowThreads(__tstate
);
34244 if (PyErr_Occurred()) SWIG_fail
;
34246 resultobj
= SWIG_Py_Void();
34253 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34254 PyObject
*resultobj
= 0;
34255 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34256 wxBitmap
*arg2
= 0 ;
34259 bool arg5
= (bool) false ;
34270 PyObject
* obj0
= 0 ;
34271 PyObject
* obj1
= 0 ;
34272 PyObject
* obj2
= 0 ;
34273 PyObject
* obj3
= 0 ;
34274 PyObject
* obj4
= 0 ;
34275 char * kwnames
[] = {
34276 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
34279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34281 if (!SWIG_IsOK(res1
)) {
34282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34284 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34285 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
34286 if (!SWIG_IsOK(res2
)) {
34287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34290 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34292 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34293 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34294 if (!SWIG_IsOK(ecode3
)) {
34295 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
34297 arg3
= static_cast< int >(val3
);
34298 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34299 if (!SWIG_IsOK(ecode4
)) {
34300 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
34302 arg4
= static_cast< int >(val4
);
34304 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
34305 if (!SWIG_IsOK(ecode5
)) {
34306 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
34308 arg5
= static_cast< bool >(val5
);
34311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34312 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
34313 wxPyEndAllowThreads(__tstate
);
34314 if (PyErr_Occurred()) SWIG_fail
;
34316 resultobj
= SWIG_Py_Void();
34323 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34324 PyObject
*resultobj
= 0;
34325 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34326 wxBitmap
*arg2
= 0 ;
34327 wxPoint
*arg3
= 0 ;
34328 bool arg4
= (bool) false ;
34336 PyObject
* obj0
= 0 ;
34337 PyObject
* obj1
= 0 ;
34338 PyObject
* obj2
= 0 ;
34339 PyObject
* obj3
= 0 ;
34340 char * kwnames
[] = {
34341 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
34344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34346 if (!SWIG_IsOK(res1
)) {
34347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34349 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34350 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
34351 if (!SWIG_IsOK(res2
)) {
34352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34355 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34357 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34360 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34363 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
34364 if (!SWIG_IsOK(ecode4
)) {
34365 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
34367 arg4
= static_cast< bool >(val4
);
34370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34371 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
34372 wxPyEndAllowThreads(__tstate
);
34373 if (PyErr_Occurred()) SWIG_fail
;
34375 resultobj
= SWIG_Py_Void();
34382 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34383 PyObject
*resultobj
= 0;
34384 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34385 wxString
*arg2
= 0 ;
34390 bool temp2
= false ;
34395 PyObject
* obj0
= 0 ;
34396 PyObject
* obj1
= 0 ;
34397 PyObject
* obj2
= 0 ;
34398 PyObject
* obj3
= 0 ;
34399 char * kwnames
[] = {
34400 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
34403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34405 if (!SWIG_IsOK(res1
)) {
34406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34408 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34410 arg2
= wxString_in_helper(obj1
);
34411 if (arg2
== NULL
) SWIG_fail
;
34414 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34415 if (!SWIG_IsOK(ecode3
)) {
34416 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
34418 arg3
= static_cast< int >(val3
);
34419 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34420 if (!SWIG_IsOK(ecode4
)) {
34421 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
34423 arg4
= static_cast< int >(val4
);
34425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34426 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
34427 wxPyEndAllowThreads(__tstate
);
34428 if (PyErr_Occurred()) SWIG_fail
;
34430 resultobj
= SWIG_Py_Void();
34445 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34446 PyObject
*resultobj
= 0;
34447 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34448 wxString
*arg2
= 0 ;
34449 wxPoint
*arg3
= 0 ;
34452 bool temp2
= false ;
34454 PyObject
* obj0
= 0 ;
34455 PyObject
* obj1
= 0 ;
34456 PyObject
* obj2
= 0 ;
34457 char * kwnames
[] = {
34458 (char *) "self",(char *) "text",(char *) "pt", NULL
34461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34463 if (!SWIG_IsOK(res1
)) {
34464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34466 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34468 arg2
= wxString_in_helper(obj1
);
34469 if (arg2
== NULL
) SWIG_fail
;
34474 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34478 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
34479 wxPyEndAllowThreads(__tstate
);
34480 if (PyErr_Occurred()) SWIG_fail
;
34482 resultobj
= SWIG_Py_Void();
34497 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34498 PyObject
*resultobj
= 0;
34499 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34500 wxString
*arg2
= 0 ;
34506 bool temp2
= false ;
34513 PyObject
* obj0
= 0 ;
34514 PyObject
* obj1
= 0 ;
34515 PyObject
* obj2
= 0 ;
34516 PyObject
* obj3
= 0 ;
34517 PyObject
* obj4
= 0 ;
34518 char * kwnames
[] = {
34519 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
34522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34524 if (!SWIG_IsOK(res1
)) {
34525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34527 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34529 arg2
= wxString_in_helper(obj1
);
34530 if (arg2
== NULL
) SWIG_fail
;
34533 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34534 if (!SWIG_IsOK(ecode3
)) {
34535 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
34537 arg3
= static_cast< int >(val3
);
34538 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34539 if (!SWIG_IsOK(ecode4
)) {
34540 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
34542 arg4
= static_cast< int >(val4
);
34543 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
34544 if (!SWIG_IsOK(ecode5
)) {
34545 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
34547 arg5
= static_cast< double >(val5
);
34549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34550 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
34551 wxPyEndAllowThreads(__tstate
);
34552 if (PyErr_Occurred()) SWIG_fail
;
34554 resultobj
= SWIG_Py_Void();
34569 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34570 PyObject
*resultobj
= 0;
34571 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34572 wxString
*arg2
= 0 ;
34573 wxPoint
*arg3
= 0 ;
34577 bool temp2
= false ;
34581 PyObject
* obj0
= 0 ;
34582 PyObject
* obj1
= 0 ;
34583 PyObject
* obj2
= 0 ;
34584 PyObject
* obj3
= 0 ;
34585 char * kwnames
[] = {
34586 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
34589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34591 if (!SWIG_IsOK(res1
)) {
34592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34594 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34596 arg2
= wxString_in_helper(obj1
);
34597 if (arg2
== NULL
) SWIG_fail
;
34602 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34604 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
34605 if (!SWIG_IsOK(ecode4
)) {
34606 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
34608 arg4
= static_cast< double >(val4
);
34610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34611 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
34612 wxPyEndAllowThreads(__tstate
);
34613 if (PyErr_Occurred()) SWIG_fail
;
34615 resultobj
= SWIG_Py_Void();
34630 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34631 PyObject
*resultobj
= 0;
34632 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34634 wxPoint
*arg3
= (wxPoint
*) 0 ;
34635 int arg4
= (int) 0 ;
34636 int arg5
= (int) 0 ;
34643 PyObject
* obj0
= 0 ;
34644 PyObject
* obj1
= 0 ;
34645 PyObject
* obj2
= 0 ;
34646 PyObject
* obj3
= 0 ;
34647 char * kwnames
[] = {
34648 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
34651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34653 if (!SWIG_IsOK(res1
)) {
34654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34656 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34658 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34659 if (arg3
== NULL
) SWIG_fail
;
34662 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
34663 if (!SWIG_IsOK(ecode4
)) {
34664 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
34666 arg4
= static_cast< int >(val4
);
34669 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
34670 if (!SWIG_IsOK(ecode5
)) {
34671 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
34673 arg5
= static_cast< int >(val5
);
34676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34677 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
34678 wxPyEndAllowThreads(__tstate
);
34679 if (PyErr_Occurred()) SWIG_fail
;
34681 resultobj
= SWIG_Py_Void();
34683 if (arg3
) delete [] arg3
;
34688 if (arg3
) delete [] arg3
;
34694 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34695 PyObject
*resultobj
= 0;
34696 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34698 wxPoint
*arg3
= (wxPoint
*) 0 ;
34699 int arg4
= (int) 0 ;
34700 int arg5
= (int) 0 ;
34701 int arg6
= (int) wxODDEVEN_RULE
;
34710 PyObject
* obj0
= 0 ;
34711 PyObject
* obj1
= 0 ;
34712 PyObject
* obj2
= 0 ;
34713 PyObject
* obj3
= 0 ;
34714 PyObject
* obj4
= 0 ;
34715 char * kwnames
[] = {
34716 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
34719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34721 if (!SWIG_IsOK(res1
)) {
34722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34724 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34726 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34727 if (arg3
== NULL
) SWIG_fail
;
34730 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
34731 if (!SWIG_IsOK(ecode4
)) {
34732 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
34734 arg4
= static_cast< int >(val4
);
34737 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
34738 if (!SWIG_IsOK(ecode5
)) {
34739 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
34741 arg5
= static_cast< int >(val5
);
34744 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
34745 if (!SWIG_IsOK(ecode6
)) {
34746 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
34748 arg6
= static_cast< int >(val6
);
34751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34752 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
34753 wxPyEndAllowThreads(__tstate
);
34754 if (PyErr_Occurred()) SWIG_fail
;
34756 resultobj
= SWIG_Py_Void();
34758 if (arg3
) delete [] arg3
;
34763 if (arg3
) delete [] arg3
;
34769 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34770 PyObject
*resultobj
= 0;
34771 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34772 wxString
*arg2
= 0 ;
34774 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
34775 int arg5
= (int) -1 ;
34778 bool temp2
= false ;
34784 PyObject
* obj0
= 0 ;
34785 PyObject
* obj1
= 0 ;
34786 PyObject
* obj2
= 0 ;
34787 PyObject
* obj3
= 0 ;
34788 PyObject
* obj4
= 0 ;
34789 char * kwnames
[] = {
34790 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
34793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34795 if (!SWIG_IsOK(res1
)) {
34796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34798 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34800 arg2
= wxString_in_helper(obj1
);
34801 if (arg2
== NULL
) SWIG_fail
;
34806 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
34809 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34810 if (!SWIG_IsOK(ecode4
)) {
34811 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
34813 arg4
= static_cast< int >(val4
);
34816 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34817 if (!SWIG_IsOK(ecode5
)) {
34818 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
34820 arg5
= static_cast< int >(val5
);
34823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34824 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
34825 wxPyEndAllowThreads(__tstate
);
34826 if (PyErr_Occurred()) SWIG_fail
;
34828 resultobj
= SWIG_Py_Void();
34843 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34844 PyObject
*resultobj
= 0;
34845 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34846 wxString
*arg2
= 0 ;
34847 wxBitmap
*arg3
= 0 ;
34849 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
34850 int arg6
= (int) -1 ;
34853 bool temp2
= false ;
34861 PyObject
* obj0
= 0 ;
34862 PyObject
* obj1
= 0 ;
34863 PyObject
* obj2
= 0 ;
34864 PyObject
* obj3
= 0 ;
34865 PyObject
* obj4
= 0 ;
34866 PyObject
* obj5
= 0 ;
34867 char * kwnames
[] = {
34868 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
34871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
34872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34873 if (!SWIG_IsOK(res1
)) {
34874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34876 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34878 arg2
= wxString_in_helper(obj1
);
34879 if (arg2
== NULL
) SWIG_fail
;
34882 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
34883 if (!SWIG_IsOK(res3
)) {
34884 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
34887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
34889 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
34892 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34895 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34896 if (!SWIG_IsOK(ecode5
)) {
34897 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
34899 arg5
= static_cast< int >(val5
);
34902 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34903 if (!SWIG_IsOK(ecode6
)) {
34904 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
34906 arg6
= static_cast< int >(val6
);
34909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34910 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
34911 wxPyEndAllowThreads(__tstate
);
34912 if (PyErr_Occurred()) SWIG_fail
;
34914 resultobj
= SWIG_Py_Void();
34929 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34930 PyObject
*resultobj
= 0;
34931 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34933 wxPoint
*arg3
= (wxPoint
*) 0 ;
34936 PyObject
* obj0
= 0 ;
34937 PyObject
* obj1
= 0 ;
34938 char * kwnames
[] = {
34939 (char *) "self",(char *) "points", NULL
34942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34944 if (!SWIG_IsOK(res1
)) {
34945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34947 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34949 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34950 if (arg3
== NULL
) SWIG_fail
;
34953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34954 (arg1
)->DrawSpline(arg2
,arg3
);
34955 wxPyEndAllowThreads(__tstate
);
34956 if (PyErr_Occurred()) SWIG_fail
;
34958 resultobj
= SWIG_Py_Void();
34960 if (arg3
) delete [] arg3
;
34965 if (arg3
) delete [] arg3
;
34971 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34972 PyObject
*resultobj
= 0;
34973 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34976 PyObject
*swig_obj
[1] ;
34978 if (!args
) SWIG_fail
;
34979 swig_obj
[0] = args
;
34980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34981 if (!SWIG_IsOK(res1
)) {
34982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34984 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34988 wxPyEndAllowThreads(__tstate
);
34989 if (PyErr_Occurred()) SWIG_fail
;
34991 resultobj
= SWIG_Py_Void();
34998 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34999 PyObject
*resultobj
= 0;
35000 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35006 PyObject
* obj0
= 0 ;
35007 PyObject
* obj1
= 0 ;
35008 char * kwnames
[] = {
35009 (char *) "self",(char *) "font", NULL
35012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35014 if (!SWIG_IsOK(res1
)) {
35015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35017 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35018 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
35019 if (!SWIG_IsOK(res2
)) {
35020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35023 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35025 arg2
= reinterpret_cast< wxFont
* >(argp2
);
35027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35028 (arg1
)->SetFont((wxFont
const &)*arg2
);
35029 wxPyEndAllowThreads(__tstate
);
35030 if (PyErr_Occurred()) SWIG_fail
;
35032 resultobj
= SWIG_Py_Void();
35039 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35040 PyObject
*resultobj
= 0;
35041 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35047 PyObject
* obj0
= 0 ;
35048 PyObject
* obj1
= 0 ;
35049 char * kwnames
[] = {
35050 (char *) "self",(char *) "pen", NULL
35053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35055 if (!SWIG_IsOK(res1
)) {
35056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35058 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35059 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
35060 if (!SWIG_IsOK(res2
)) {
35061 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
35064 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
35066 arg2
= reinterpret_cast< wxPen
* >(argp2
);
35068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35069 (arg1
)->SetPen((wxPen
const &)*arg2
);
35070 wxPyEndAllowThreads(__tstate
);
35071 if (PyErr_Occurred()) SWIG_fail
;
35073 resultobj
= SWIG_Py_Void();
35080 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35081 PyObject
*resultobj
= 0;
35082 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35083 wxBrush
*arg2
= 0 ;
35088 PyObject
* obj0
= 0 ;
35089 PyObject
* obj1
= 0 ;
35090 char * kwnames
[] = {
35091 (char *) "self",(char *) "brush", NULL
35094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35096 if (!SWIG_IsOK(res1
)) {
35097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35099 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35100 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
35101 if (!SWIG_IsOK(res2
)) {
35102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
35105 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
35107 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
35109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35110 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
35111 wxPyEndAllowThreads(__tstate
);
35112 if (PyErr_Occurred()) SWIG_fail
;
35114 resultobj
= SWIG_Py_Void();
35121 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35122 PyObject
*resultobj
= 0;
35123 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35124 wxBrush
*arg2
= 0 ;
35129 PyObject
* obj0
= 0 ;
35130 PyObject
* obj1
= 0 ;
35131 char * kwnames
[] = {
35132 (char *) "self",(char *) "brush", NULL
35135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35137 if (!SWIG_IsOK(res1
)) {
35138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35140 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35141 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
35142 if (!SWIG_IsOK(res2
)) {
35143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
35146 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
35148 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
35150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35151 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
35152 wxPyEndAllowThreads(__tstate
);
35153 if (PyErr_Occurred()) SWIG_fail
;
35155 resultobj
= SWIG_Py_Void();
35162 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35163 PyObject
*resultobj
= 0;
35164 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35170 PyObject
* obj0
= 0 ;
35171 PyObject
* obj1
= 0 ;
35172 char * kwnames
[] = {
35173 (char *) "self",(char *) "mode", NULL
35176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35178 if (!SWIG_IsOK(res1
)) {
35179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35181 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35183 if (!SWIG_IsOK(ecode2
)) {
35184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
35186 arg2
= static_cast< int >(val2
);
35188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35189 (arg1
)->SetBackgroundMode(arg2
);
35190 wxPyEndAllowThreads(__tstate
);
35191 if (PyErr_Occurred()) SWIG_fail
;
35193 resultobj
= SWIG_Py_Void();
35200 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35201 PyObject
*resultobj
= 0;
35202 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35203 wxPalette
*arg2
= 0 ;
35208 PyObject
* obj0
= 0 ;
35209 PyObject
* obj1
= 0 ;
35210 char * kwnames
[] = {
35211 (char *) "self",(char *) "palette", NULL
35214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35216 if (!SWIG_IsOK(res1
)) {
35217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35219 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35220 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
35221 if (!SWIG_IsOK(res2
)) {
35222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
35225 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
35227 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
35229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35230 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
35231 wxPyEndAllowThreads(__tstate
);
35232 if (PyErr_Occurred()) SWIG_fail
;
35234 resultobj
= SWIG_Py_Void();
35241 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35242 PyObject
*resultobj
= 0;
35243 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35244 wxColour
*arg2
= 0 ;
35248 PyObject
* obj0
= 0 ;
35249 PyObject
* obj1
= 0 ;
35250 char * kwnames
[] = {
35251 (char *) "self",(char *) "colour", NULL
35254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35256 if (!SWIG_IsOK(res1
)) {
35257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35259 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35262 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
35265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35266 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
35267 wxPyEndAllowThreads(__tstate
);
35268 if (PyErr_Occurred()) SWIG_fail
;
35270 resultobj
= SWIG_Py_Void();
35277 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35278 PyObject
*resultobj
= 0;
35279 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35280 wxColour
*arg2
= 0 ;
35284 PyObject
* obj0
= 0 ;
35285 PyObject
* obj1
= 0 ;
35286 char * kwnames
[] = {
35287 (char *) "self",(char *) "colour", NULL
35290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35292 if (!SWIG_IsOK(res1
)) {
35293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35295 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35298 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
35301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35302 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
35303 wxPyEndAllowThreads(__tstate
);
35304 if (PyErr_Occurred()) SWIG_fail
;
35306 resultobj
= SWIG_Py_Void();
35313 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35314 PyObject
*resultobj
= 0;
35315 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35321 PyObject
* obj0
= 0 ;
35322 PyObject
* obj1
= 0 ;
35323 char * kwnames
[] = {
35324 (char *) "self",(char *) "function", NULL
35327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35329 if (!SWIG_IsOK(res1
)) {
35330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35332 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35334 if (!SWIG_IsOK(ecode2
)) {
35335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
35337 arg2
= static_cast< int >(val2
);
35339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35340 (arg1
)->SetLogicalFunction(arg2
);
35341 wxPyEndAllowThreads(__tstate
);
35342 if (PyErr_Occurred()) SWIG_fail
;
35344 resultobj
= SWIG_Py_Void();
35351 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35353 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35354 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
35355 return SWIG_Py_Void();
35358 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35359 return SWIG_Python_InitShadowInstance(args
);
35362 static PyMethodDef SwigMethods
[] = {
35363 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
35364 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
35365 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
35366 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
35367 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
35368 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35370 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
35372 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
35373 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
35374 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
35375 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
35376 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
35377 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35378 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35380 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35381 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
35382 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35383 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35385 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
35386 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
35387 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
35388 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35389 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
35390 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35391 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35392 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
35393 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
35394 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
35395 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
35396 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35397 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
35398 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
35399 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
35400 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
35401 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
35402 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
35403 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
35404 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35405 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35406 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
35411 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
35413 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
35414 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35416 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
35418 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
35419 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
35422 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
35426 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
35427 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
35428 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
35429 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
35430 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
35431 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
35432 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
35434 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
35440 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
35442 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
35443 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
35444 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
35445 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
35446 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
35447 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
35448 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
35454 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
35464 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
35465 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35467 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
35469 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
35470 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
35471 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
35472 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
35473 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
35474 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
35475 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
35476 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
35477 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
35478 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
35479 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
35480 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
35481 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
35482 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
35483 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
35485 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
35486 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35487 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35488 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35489 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35490 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35491 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
35492 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
35493 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
35494 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
35495 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
35496 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
35497 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
35498 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
35499 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
35500 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
35501 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
35502 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
35503 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35504 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
35505 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
35506 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35507 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35509 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35511 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
35512 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
35513 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
35514 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
35516 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
35517 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
35518 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
35520 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
35521 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
35526 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
35528 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
35529 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
35530 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
35531 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35533 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35534 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
35537 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
35538 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
35540 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
35541 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
35543 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35544 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
35545 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
35546 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
35547 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
35548 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35549 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35550 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
35551 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35552 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35553 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35554 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
35555 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
35556 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
35558 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
35561 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35562 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
35563 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
35564 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
35565 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
35566 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35567 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35568 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35569 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35570 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
35571 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
35572 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35574 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35575 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35576 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
35577 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
35578 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35580 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35581 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35582 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
35584 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35586 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35587 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
35588 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35590 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35592 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35593 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35595 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35597 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35598 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
35599 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35600 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35601 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
35602 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
35603 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35604 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
35605 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
35606 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
35607 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
35608 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
35609 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
35610 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
35611 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
35612 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
35613 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
35614 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
35615 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
35616 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
35617 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
35618 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
35619 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
35620 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
35621 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35622 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
35623 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
35624 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
35625 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
35626 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
35627 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
35628 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
35629 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
35630 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35631 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35632 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35633 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35634 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35635 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35636 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35637 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35638 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35639 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
35640 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
35641 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35642 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
35643 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
35644 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
35645 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
35646 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
35647 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
35648 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
35649 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
35650 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
35651 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35652 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
35653 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
35654 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
35655 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35656 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35657 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
35658 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
35659 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
35660 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35661 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35662 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
35663 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35664 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35665 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35666 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35667 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35668 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
35669 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35670 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35671 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35672 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35673 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
35674 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
35675 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35676 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
35677 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35678 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35679 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35680 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35681 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35682 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
35683 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35684 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35685 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
35686 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
35687 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
35688 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
35689 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
35690 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
35691 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
35692 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
35693 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
35694 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
35695 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
35696 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
35697 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
35698 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35699 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35700 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35701 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35702 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35703 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35704 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35705 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35706 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35707 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35708 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35709 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
35710 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
35711 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
35712 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35713 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
35714 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
35715 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35716 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
35717 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
35718 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
35719 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
35720 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35721 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35722 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35723 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
35724 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
35725 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35726 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
35727 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
35728 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
35729 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
35730 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
35731 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
35732 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
35733 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
35734 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
35735 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35736 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
35737 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35738 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35739 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
35740 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
35741 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
35742 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
35743 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
35744 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
35745 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
35746 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
35747 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35748 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35749 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35750 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35751 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35752 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35753 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35754 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35755 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35756 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
35757 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
35758 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
35759 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35760 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
35761 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35762 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35763 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35764 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
35765 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
35766 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
35767 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
35768 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
35769 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
35770 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35771 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35772 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35773 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35774 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35775 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
35776 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
35777 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
35778 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35779 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35780 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35781 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35782 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35783 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35784 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35785 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35786 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35787 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35788 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35789 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35790 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35791 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35792 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35793 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35794 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35795 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35796 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35797 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35798 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35799 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35800 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35801 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35802 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35803 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35804 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35805 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35806 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35807 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35808 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35809 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35810 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35811 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35812 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35813 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35814 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35815 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35816 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35817 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35818 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35819 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35820 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35821 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35822 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35823 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35824 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35825 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35826 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
35827 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35828 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
35829 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
35830 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
35831 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35832 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35833 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35834 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35835 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35836 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35837 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
35838 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
35839 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
35840 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
35841 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
35842 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35843 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35844 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35845 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35846 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
35847 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
35848 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
35849 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
35850 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35851 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35852 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35853 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35854 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35855 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35856 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35857 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35858 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
35859 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
35860 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
35861 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
35862 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
35863 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
35864 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
35865 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
35866 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
35867 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
35868 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
35869 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
35870 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35871 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35872 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
35873 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35874 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
35875 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35876 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
35877 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35878 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
35879 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
35880 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35881 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35882 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
35883 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
35884 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35885 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35886 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35887 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
35888 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35889 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
35890 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35891 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35892 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
35893 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
35894 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
35895 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
35896 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
35897 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
35898 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
35899 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35900 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
35901 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35902 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35903 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35904 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35905 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35906 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35907 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
35908 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35909 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35910 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35911 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
35912 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
35913 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
35914 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35915 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35916 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
35917 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
35918 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
35919 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35920 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
35921 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
35922 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35923 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
35924 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
35925 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35926 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
35927 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
35928 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
35929 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
35930 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
35931 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
35932 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
35933 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35934 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
35935 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
35936 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35937 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
35938 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
35939 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35940 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35941 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
35942 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
35943 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35944 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
35945 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35946 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35947 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
35948 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
35949 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
35950 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35951 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
35952 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
35953 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35954 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
35955 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
35956 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
35957 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
35958 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
35959 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
35960 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35961 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
35962 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
35963 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
35964 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35965 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
35966 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
35967 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
35968 { (char *)"GraphicsPath_MoveToPoint", (PyCFunction
) _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35969 { (char *)"GraphicsPath_AddLineToPoint", (PyCFunction
) _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35970 { (char *)"GraphicsPath_AddCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35971 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
35972 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
35973 { (char *)"GraphicsPath_AddArc", (PyCFunction
) _wrap_GraphicsPath_AddArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35974 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35975 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35976 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35977 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35978 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
35979 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
35980 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
35981 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35982 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
35983 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
35984 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
35985 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35986 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35987 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
35988 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
35989 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35990 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35991 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35992 { (char *)"GraphicsContext_SetPen", (PyCFunction
) _wrap_GraphicsContext_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35993 { (char *)"GraphicsContext_SetBrush", (PyCFunction
) _wrap_GraphicsContext_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35994 { (char *)"GraphicsContext_SetLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35995 { (char *)"GraphicsContext_SetRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35996 { (char *)"GraphicsContext_SetFont", (PyCFunction
) _wrap_GraphicsContext_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35997 { (char *)"GraphicsContext_SetTextColor", (PyCFunction
) _wrap_GraphicsContext_SetTextColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35998 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35999 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36000 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36001 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36002 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36003 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36004 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36005 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36006 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36007 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36008 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36009 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36010 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36011 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36012 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36013 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36014 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
36015 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36016 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
36017 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
36018 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36019 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
36020 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
36021 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
36022 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
36023 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
36024 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
36025 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
36026 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
36027 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
36028 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
36029 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
36030 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
36031 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36032 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
36033 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36034 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36035 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36036 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36037 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36038 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36039 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36040 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
36041 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36042 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
36043 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36044 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
36045 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
36046 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
36047 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
36048 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
36049 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
36050 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36051 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36052 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36053 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36054 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36055 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
36056 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
36057 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
36058 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
36059 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
36060 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
36061 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36062 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36063 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36064 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
36065 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36066 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36067 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36068 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
36069 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36070 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36071 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36072 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
36073 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
36074 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
36075 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36076 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36077 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36078 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36079 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
36080 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
36081 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
36082 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
36083 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
36084 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
36085 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
36086 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
36087 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
36088 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
36089 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
36090 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
36091 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36092 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36093 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36094 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36095 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36096 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36097 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36098 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36099 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
36100 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
36101 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36102 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
36103 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
36104 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
36105 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
36106 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
36107 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
36108 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
36109 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
36110 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
36111 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
36112 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
36113 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
36114 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
36115 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
36116 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
36117 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
36118 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
36119 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
36120 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
36121 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
36122 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
36123 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
36124 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
36125 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
36126 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36127 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
36128 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36129 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
36130 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
36131 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
36132 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
36133 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36134 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36135 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36136 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36137 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36138 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36139 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36140 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36141 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36142 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36143 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36144 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36145 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
36146 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
36147 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
36148 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36149 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
36150 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
36151 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
36152 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
36153 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
36154 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
36155 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
36156 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
36157 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36158 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36159 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36160 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36161 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36162 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36163 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36164 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36165 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36166 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36167 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36168 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36169 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36170 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36171 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36172 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36173 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36174 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36175 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36176 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36177 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36178 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36179 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36180 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36181 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36182 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36183 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36184 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36185 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36186 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36187 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36188 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36189 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36190 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36191 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36192 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36193 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36194 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36195 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36196 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36197 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36198 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36199 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36200 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36201 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36202 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36203 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36204 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36205 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36206 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36207 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36208 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36209 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
36210 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36211 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36212 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36213 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36214 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36215 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36216 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36217 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36218 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36219 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
36220 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
36221 { NULL
, NULL
, 0, NULL
}
36225 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36227 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
36228 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
36230 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
36231 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
36233 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
36234 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
36236 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
36237 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
36239 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
36240 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
36242 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
36243 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
36245 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
36246 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
36248 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
36249 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
36251 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
36252 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
36254 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
36255 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
36257 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
36258 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
36260 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
36261 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
36263 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
36264 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
36266 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
36267 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
36269 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
36270 return (void *)((wxDC
*) ((wxGCDC
*) x
));
36272 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
36273 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
36275 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
36276 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
36278 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
36279 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
36281 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
36282 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
36284 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
36285 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
36287 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
36288 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
36290 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
36291 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
36293 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
36294 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
36296 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
36297 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
36299 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
36300 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
36302 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
36303 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
36305 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
36306 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
36308 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
36309 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
36311 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
36312 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
36314 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
36315 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
36317 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
36318 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
36320 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36321 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36323 static void *_p_wxPenTo_p_wxObject(void *x
) {
36324 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
36326 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
36327 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
36329 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36330 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36332 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36333 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36335 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36336 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36338 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36339 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36341 static void *_p_wxIconTo_p_wxObject(void *x
) {
36342 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
36344 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36345 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36347 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36348 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36350 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36351 return (void *)((wxObject
*) ((wxSizer
*) x
));
36353 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36354 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36356 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36357 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36359 static void *_p_wxEventTo_p_wxObject(void *x
) {
36360 return (void *)((wxObject
*) ((wxEvent
*) x
));
36362 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36363 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36365 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36366 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36368 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36369 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36371 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
36372 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
36374 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
36375 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
36377 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36378 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36380 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36381 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36383 static void *_p_wxDCTo_p_wxObject(void *x
) {
36384 return (void *)((wxObject
*) ((wxDC
*) x
));
36386 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36387 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36389 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36390 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36392 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36393 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36395 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36396 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36398 static void *_p_wxControlTo_p_wxObject(void *x
) {
36399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36401 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36402 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36404 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
36405 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
36407 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36408 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36410 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
36411 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
36413 static void *_p_wxRegionTo_p_wxObject(void *x
) {
36414 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
36416 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36417 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36419 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
36420 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
36422 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
36423 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
36425 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
36426 return (void *)((wxObject
*) ((wxEffects
*) x
));
36428 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36429 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36431 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36432 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36434 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
36435 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
36437 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36438 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36440 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36441 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36443 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36444 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36446 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36447 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36449 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36450 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36452 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36453 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36455 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36456 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36458 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36459 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36461 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36462 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36464 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36465 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36467 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36468 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36470 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36471 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36473 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36474 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36476 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36477 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36479 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36480 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36482 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36483 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36485 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36486 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36488 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36489 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36491 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36492 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36494 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36495 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36497 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
36498 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
36500 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36501 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36503 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36504 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36506 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36507 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36509 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36510 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36512 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
36513 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
36515 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
36516 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
36518 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
36519 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
36521 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
36522 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
36524 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
36525 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
36527 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
36528 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
36530 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36531 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36533 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36534 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36536 static void *_p_wxImageTo_p_wxObject(void *x
) {
36537 return (void *)((wxObject
*) ((wxImage
*) x
));
36539 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36540 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36542 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
36543 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
36545 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
36546 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
36548 static void *_p_wxImageListTo_p_wxObject(void *x
) {
36549 return (void *)((wxObject
*) ((wxImageList
*) x
));
36551 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
36552 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
36554 static void *_p_wxCursorTo_p_wxObject(void *x
) {
36555 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
36557 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
36558 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
36560 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
36561 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
36563 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36564 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36566 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36567 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36569 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36570 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36572 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36573 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36575 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36576 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36578 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36579 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36581 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
36582 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
36584 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36585 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36587 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
36588 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
36590 static void *_p_wxMaskTo_p_wxObject(void *x
) {
36591 return (void *)((wxObject
*) ((wxMask
*) x
));
36593 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36594 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36596 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36597 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36599 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36600 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36602 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36603 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36605 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36606 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36608 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36609 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36611 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36612 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36614 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36615 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36617 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36618 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36620 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36621 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36623 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36624 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36626 static void *_p_wxFontTo_p_wxObject(void *x
) {
36627 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
36629 static void *_p_wxBrushTo_p_wxObject(void *x
) {
36630 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
36632 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
36633 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
36635 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36636 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36638 static void *_p_wxColourTo_p_wxObject(void *x
) {
36639 return (void *)((wxObject
*) ((wxColour
*) x
));
36641 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36642 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36644 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36645 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36647 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36648 return (void *)((wxWindow
*) ((wxControl
*) x
));
36650 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36651 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36653 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36654 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36656 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
36657 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
36659 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
36660 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
36662 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
36663 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
36664 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
36665 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};
36666 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
36667 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
36668 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
36669 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
36670 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
36671 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
36672 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
36673 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
36674 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
36675 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
36676 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
36677 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
36678 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
36679 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
36680 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
36681 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
36682 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
36683 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
36684 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
36685 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
36686 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
36687 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
36688 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
36689 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
36690 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
36691 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
36692 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
36693 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
36694 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
36695 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
36696 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
36697 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
36698 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
36699 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
36700 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
36701 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
36702 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
36703 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
36704 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
36705 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
36706 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
36707 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
36708 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
36709 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
36710 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
36711 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
36712 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
36713 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
36714 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
36715 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
36716 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
36717 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
36718 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
36719 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
36720 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
36721 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
36722 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
36723 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
36724 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
36725 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
36726 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
36727 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
36728 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
36729 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
36730 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
36731 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
36732 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
36733 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
36734 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
36735 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
36736 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
36737 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
36738 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
36739 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
36740 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
36741 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
36742 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
36743 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
36744 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
36745 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
36746 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
36747 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
36748 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
36749 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
36750 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
36751 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
36752 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
36753 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
36754 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
36755 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
36756 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
36757 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
36758 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
36759 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
36760 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
36761 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
36762 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
36763 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
36764 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
36765 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
36766 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
36767 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
36768 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
36769 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
36770 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
36771 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
36772 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
36773 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
36774 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
36775 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
36776 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
36777 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
36778 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
36779 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
36780 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
36781 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
36782 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
36783 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
36784 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
36785 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
36786 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
36787 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
36788 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
36789 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
36790 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
36791 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
36792 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
36793 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
36794 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
36795 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
36796 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
36797 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
36798 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
36799 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
36800 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
36801 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
36802 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
36803 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
36804 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
36805 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
36806 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
36807 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
36808 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
36809 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
36810 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
36811 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
36812 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
36813 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
36814 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
36815 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
36816 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
36817 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
36818 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
36819 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
36821 static swig_type_info
*swig_type_initial
[] = {
36825 &_swigt__p_form_ops_t
,
36827 &_swigt__p_unsigned_char
,
36828 &_swigt__p_unsigned_int
,
36829 &_swigt__p_unsigned_long
,
36831 &_swigt__p_wxANIHandler
,
36832 &_swigt__p_wxAcceleratorTable
,
36833 &_swigt__p_wxActivateEvent
,
36834 &_swigt__p_wxAlphaPixelData
,
36835 &_swigt__p_wxAlphaPixelData_Accessor
,
36836 &_swigt__p_wxAutoBufferedPaintDC
,
36837 &_swigt__p_wxBMPHandler
,
36838 &_swigt__p_wxBitmap
,
36839 &_swigt__p_wxBoxSizer
,
36840 &_swigt__p_wxBrush
,
36841 &_swigt__p_wxBrushList
,
36842 &_swigt__p_wxBufferedDC
,
36843 &_swigt__p_wxBufferedPaintDC
,
36844 &_swigt__p_wxCURHandler
,
36846 &_swigt__p_wxChildFocusEvent
,
36847 &_swigt__p_wxClientDC
,
36848 &_swigt__p_wxClipboardTextEvent
,
36849 &_swigt__p_wxCloseEvent
,
36850 &_swigt__p_wxColor
,
36851 &_swigt__p_wxColour
,
36852 &_swigt__p_wxColourDatabase
,
36853 &_swigt__p_wxCommandEvent
,
36854 &_swigt__p_wxContextMenuEvent
,
36855 &_swigt__p_wxControl
,
36856 &_swigt__p_wxControlWithItems
,
36857 &_swigt__p_wxCursor
,
36859 &_swigt__p_wxDCOverlay
,
36861 &_swigt__p_wxDateEvent
,
36862 &_swigt__p_wxDisplayChangedEvent
,
36863 &_swigt__p_wxDropFilesEvent
,
36864 &_swigt__p_wxDuplexMode
,
36865 &_swigt__p_wxEffects
,
36866 &_swigt__p_wxEncodingConverter
,
36867 &_swigt__p_wxEraseEvent
,
36868 &_swigt__p_wxEvent
,
36869 &_swigt__p_wxEvtHandler
,
36870 &_swigt__p_wxFSFile
,
36871 &_swigt__p_wxFileSystem
,
36872 &_swigt__p_wxFlexGridSizer
,
36873 &_swigt__p_wxFocusEvent
,
36875 &_swigt__p_wxFontList
,
36876 &_swigt__p_wxFontMapper
,
36877 &_swigt__p_wxGBSizerItem
,
36879 &_swigt__p_wxGDIObjListBase
,
36880 &_swigt__p_wxGDIObject
,
36881 &_swigt__p_wxGIFHandler
,
36882 &_swigt__p_wxGraphicsContext
,
36883 &_swigt__p_wxGraphicsPath
,
36884 &_swigt__p_wxGridBagSizer
,
36885 &_swigt__p_wxGridSizer
,
36886 &_swigt__p_wxHeaderButtonParams
,
36887 &_swigt__p_wxICOHandler
,
36889 &_swigt__p_wxIconBundle
,
36890 &_swigt__p_wxIconLocation
,
36891 &_swigt__p_wxIconizeEvent
,
36892 &_swigt__p_wxIdleEvent
,
36893 &_swigt__p_wxImage
,
36894 &_swigt__p_wxImageHandler
,
36895 &_swigt__p_wxImageList
,
36896 &_swigt__p_wxIndividualLayoutConstraint
,
36897 &_swigt__p_wxInitDialogEvent
,
36898 &_swigt__p_wxJPEGHandler
,
36899 &_swigt__p_wxKeyEvent
,
36900 &_swigt__p_wxLanguageInfo
,
36901 &_swigt__p_wxLayoutConstraints
,
36902 &_swigt__p_wxLocale
,
36904 &_swigt__p_wxMaximizeEvent
,
36905 &_swigt__p_wxMemoryDC
,
36907 &_swigt__p_wxMenuBar
,
36908 &_swigt__p_wxMenuEvent
,
36909 &_swigt__p_wxMenuItem
,
36910 &_swigt__p_wxMetaFile
,
36911 &_swigt__p_wxMetaFileDC
,
36912 &_swigt__p_wxMirrorDC
,
36913 &_swigt__p_wxMouseCaptureChangedEvent
,
36914 &_swigt__p_wxMouseCaptureLostEvent
,
36915 &_swigt__p_wxMouseEvent
,
36916 &_swigt__p_wxMoveEvent
,
36917 &_swigt__p_wxNativeEncodingInfo
,
36918 &_swigt__p_wxNativeFontInfo
,
36919 &_swigt__p_wxNativePixelData
,
36920 &_swigt__p_wxNativePixelData_Accessor
,
36921 &_swigt__p_wxNavigationKeyEvent
,
36922 &_swigt__p_wxNcPaintEvent
,
36923 &_swigt__p_wxNotifyEvent
,
36924 &_swigt__p_wxObject
,
36925 &_swigt__p_wxOverlay
,
36926 &_swigt__p_wxPCXHandler
,
36927 &_swigt__p_wxPNGHandler
,
36928 &_swigt__p_wxPNMHandler
,
36929 &_swigt__p_wxPaintDC
,
36930 &_swigt__p_wxPaintEvent
,
36931 &_swigt__p_wxPalette
,
36932 &_swigt__p_wxPaletteChangedEvent
,
36933 &_swigt__p_wxPaperSize
,
36935 &_swigt__p_wxPenList
,
36936 &_swigt__p_wxPixelDataBase
,
36937 &_swigt__p_wxPoint
,
36938 &_swigt__p_wxPoint2D
,
36939 &_swigt__p_wxPostScriptDC
,
36940 &_swigt__p_wxPrintData
,
36941 &_swigt__p_wxPrinterDC
,
36942 &_swigt__p_wxPseudoDC
,
36943 &_swigt__p_wxPyApp
,
36944 &_swigt__p_wxPyCommandEvent
,
36945 &_swigt__p_wxPyEvent
,
36946 &_swigt__p_wxPyFontEnumerator
,
36947 &_swigt__p_wxPyImageHandler
,
36948 &_swigt__p_wxPyLocale
,
36949 &_swigt__p_wxPySizer
,
36950 &_swigt__p_wxPyValidator
,
36951 &_swigt__p_wxQueryNewPaletteEvent
,
36953 &_swigt__p_wxRegion
,
36954 &_swigt__p_wxRegionIterator
,
36955 &_swigt__p_wxRendererNative
,
36956 &_swigt__p_wxRendererVersion
,
36957 &_swigt__p_wxScreenDC
,
36958 &_swigt__p_wxScrollEvent
,
36959 &_swigt__p_wxScrollWinEvent
,
36960 &_swigt__p_wxSetCursorEvent
,
36961 &_swigt__p_wxShowEvent
,
36963 &_swigt__p_wxSizeEvent
,
36964 &_swigt__p_wxSizer
,
36965 &_swigt__p_wxSizerItem
,
36966 &_swigt__p_wxSplitterRenderParams
,
36967 &_swigt__p_wxStaticBoxSizer
,
36968 &_swigt__p_wxStdDialogButtonSizer
,
36969 &_swigt__p_wxStockGDI
,
36970 &_swigt__p_wxString
,
36971 &_swigt__p_wxSysColourChangedEvent
,
36972 &_swigt__p_wxTIFFHandler
,
36973 &_swigt__p_wxUpdateUIEvent
,
36974 &_swigt__p_wxValidator
,
36975 &_swigt__p_wxWindow
,
36976 &_swigt__p_wxWindowCreateEvent
,
36977 &_swigt__p_wxWindowDC
,
36978 &_swigt__p_wxWindowDestroyEvent
,
36979 &_swigt__p_wxXPMHandler
,
36982 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
36983 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
36984 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
36985 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
36986 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
36987 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
36988 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
36989 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
36990 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
36991 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
36992 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
36993 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36994 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
36995 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
36996 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
36997 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}};
36998 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36999 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
37000 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}};
37001 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
37002 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
37003 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
37004 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
37005 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxDC
, 0, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxDC
, 0, 0},{0, 0, 0, 0}};
37006 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
37007 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
37008 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
37009 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
37010 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
37011 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
37012 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
37013 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
37014 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
37015 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}};
37016 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}};
37017 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
37018 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
37019 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
37020 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
37021 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
37022 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
37023 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
37024 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
37025 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
37026 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}};
37027 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
37028 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}};
37029 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
37030 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
37031 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
37032 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
37033 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
37034 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
37035 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
37036 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
37037 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
37038 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
37039 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
37040 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
37041 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37042 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37043 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37044 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
37045 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
37046 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
37047 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
37048 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
37049 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
37050 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
37051 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
37052 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
37053 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
37054 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37055 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37056 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37057 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37058 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
37059 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
37060 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
37061 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
37062 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37063 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37064 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
37065 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
37066 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37067 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
37068 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37069 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
37070 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37071 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37072 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37073 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
37074 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37075 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
37076 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
37077 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
37078 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
37079 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
37080 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
37081 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
37082 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
37083 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
37084 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
37085 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
37086 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
37087 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
37088 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
37089 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
37090 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
37091 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
37092 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
37093 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37094 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37095 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37096 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
37097 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
37098 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37099 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37100 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
37101 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37102 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37103 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37104 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
37105 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
37106 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
37107 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
37108 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
37109 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
37110 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
37111 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
37112 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_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_wxCURHandler
, _p_wxCURHandlerTo_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_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_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}};
37113 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
37114 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
37115 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
37116 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
37117 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
37118 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
37119 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}};
37120 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
37121 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
37122 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
37123 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
37124 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
37125 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
37126 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
37127 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
37128 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
37129 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
37130 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
37131 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
37132 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
37133 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
37134 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
37135 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
37136 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
37137 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
37138 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}};
37139 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}};
37141 static swig_cast_info
*swig_cast_initial
[] = {
37145 _swigc__p_form_ops_t
,
37147 _swigc__p_unsigned_char
,
37148 _swigc__p_unsigned_int
,
37149 _swigc__p_unsigned_long
,
37151 _swigc__p_wxANIHandler
,
37152 _swigc__p_wxAcceleratorTable
,
37153 _swigc__p_wxActivateEvent
,
37154 _swigc__p_wxAlphaPixelData
,
37155 _swigc__p_wxAlphaPixelData_Accessor
,
37156 _swigc__p_wxAutoBufferedPaintDC
,
37157 _swigc__p_wxBMPHandler
,
37158 _swigc__p_wxBitmap
,
37159 _swigc__p_wxBoxSizer
,
37161 _swigc__p_wxBrushList
,
37162 _swigc__p_wxBufferedDC
,
37163 _swigc__p_wxBufferedPaintDC
,
37164 _swigc__p_wxCURHandler
,
37166 _swigc__p_wxChildFocusEvent
,
37167 _swigc__p_wxClientDC
,
37168 _swigc__p_wxClipboardTextEvent
,
37169 _swigc__p_wxCloseEvent
,
37171 _swigc__p_wxColour
,
37172 _swigc__p_wxColourDatabase
,
37173 _swigc__p_wxCommandEvent
,
37174 _swigc__p_wxContextMenuEvent
,
37175 _swigc__p_wxControl
,
37176 _swigc__p_wxControlWithItems
,
37177 _swigc__p_wxCursor
,
37179 _swigc__p_wxDCOverlay
,
37181 _swigc__p_wxDateEvent
,
37182 _swigc__p_wxDisplayChangedEvent
,
37183 _swigc__p_wxDropFilesEvent
,
37184 _swigc__p_wxDuplexMode
,
37185 _swigc__p_wxEffects
,
37186 _swigc__p_wxEncodingConverter
,
37187 _swigc__p_wxEraseEvent
,
37189 _swigc__p_wxEvtHandler
,
37190 _swigc__p_wxFSFile
,
37191 _swigc__p_wxFileSystem
,
37192 _swigc__p_wxFlexGridSizer
,
37193 _swigc__p_wxFocusEvent
,
37195 _swigc__p_wxFontList
,
37196 _swigc__p_wxFontMapper
,
37197 _swigc__p_wxGBSizerItem
,
37199 _swigc__p_wxGDIObjListBase
,
37200 _swigc__p_wxGDIObject
,
37201 _swigc__p_wxGIFHandler
,
37202 _swigc__p_wxGraphicsContext
,
37203 _swigc__p_wxGraphicsPath
,
37204 _swigc__p_wxGridBagSizer
,
37205 _swigc__p_wxGridSizer
,
37206 _swigc__p_wxHeaderButtonParams
,
37207 _swigc__p_wxICOHandler
,
37209 _swigc__p_wxIconBundle
,
37210 _swigc__p_wxIconLocation
,
37211 _swigc__p_wxIconizeEvent
,
37212 _swigc__p_wxIdleEvent
,
37214 _swigc__p_wxImageHandler
,
37215 _swigc__p_wxImageList
,
37216 _swigc__p_wxIndividualLayoutConstraint
,
37217 _swigc__p_wxInitDialogEvent
,
37218 _swigc__p_wxJPEGHandler
,
37219 _swigc__p_wxKeyEvent
,
37220 _swigc__p_wxLanguageInfo
,
37221 _swigc__p_wxLayoutConstraints
,
37222 _swigc__p_wxLocale
,
37224 _swigc__p_wxMaximizeEvent
,
37225 _swigc__p_wxMemoryDC
,
37227 _swigc__p_wxMenuBar
,
37228 _swigc__p_wxMenuEvent
,
37229 _swigc__p_wxMenuItem
,
37230 _swigc__p_wxMetaFile
,
37231 _swigc__p_wxMetaFileDC
,
37232 _swigc__p_wxMirrorDC
,
37233 _swigc__p_wxMouseCaptureChangedEvent
,
37234 _swigc__p_wxMouseCaptureLostEvent
,
37235 _swigc__p_wxMouseEvent
,
37236 _swigc__p_wxMoveEvent
,
37237 _swigc__p_wxNativeEncodingInfo
,
37238 _swigc__p_wxNativeFontInfo
,
37239 _swigc__p_wxNativePixelData
,
37240 _swigc__p_wxNativePixelData_Accessor
,
37241 _swigc__p_wxNavigationKeyEvent
,
37242 _swigc__p_wxNcPaintEvent
,
37243 _swigc__p_wxNotifyEvent
,
37244 _swigc__p_wxObject
,
37245 _swigc__p_wxOverlay
,
37246 _swigc__p_wxPCXHandler
,
37247 _swigc__p_wxPNGHandler
,
37248 _swigc__p_wxPNMHandler
,
37249 _swigc__p_wxPaintDC
,
37250 _swigc__p_wxPaintEvent
,
37251 _swigc__p_wxPalette
,
37252 _swigc__p_wxPaletteChangedEvent
,
37253 _swigc__p_wxPaperSize
,
37255 _swigc__p_wxPenList
,
37256 _swigc__p_wxPixelDataBase
,
37258 _swigc__p_wxPoint2D
,
37259 _swigc__p_wxPostScriptDC
,
37260 _swigc__p_wxPrintData
,
37261 _swigc__p_wxPrinterDC
,
37262 _swigc__p_wxPseudoDC
,
37264 _swigc__p_wxPyCommandEvent
,
37265 _swigc__p_wxPyEvent
,
37266 _swigc__p_wxPyFontEnumerator
,
37267 _swigc__p_wxPyImageHandler
,
37268 _swigc__p_wxPyLocale
,
37269 _swigc__p_wxPySizer
,
37270 _swigc__p_wxPyValidator
,
37271 _swigc__p_wxQueryNewPaletteEvent
,
37273 _swigc__p_wxRegion
,
37274 _swigc__p_wxRegionIterator
,
37275 _swigc__p_wxRendererNative
,
37276 _swigc__p_wxRendererVersion
,
37277 _swigc__p_wxScreenDC
,
37278 _swigc__p_wxScrollEvent
,
37279 _swigc__p_wxScrollWinEvent
,
37280 _swigc__p_wxSetCursorEvent
,
37281 _swigc__p_wxShowEvent
,
37283 _swigc__p_wxSizeEvent
,
37285 _swigc__p_wxSizerItem
,
37286 _swigc__p_wxSplitterRenderParams
,
37287 _swigc__p_wxStaticBoxSizer
,
37288 _swigc__p_wxStdDialogButtonSizer
,
37289 _swigc__p_wxStockGDI
,
37290 _swigc__p_wxString
,
37291 _swigc__p_wxSysColourChangedEvent
,
37292 _swigc__p_wxTIFFHandler
,
37293 _swigc__p_wxUpdateUIEvent
,
37294 _swigc__p_wxValidator
,
37295 _swigc__p_wxWindow
,
37296 _swigc__p_wxWindowCreateEvent
,
37297 _swigc__p_wxWindowDC
,
37298 _swigc__p_wxWindowDestroyEvent
,
37299 _swigc__p_wxXPMHandler
,
37303 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37305 static swig_const_info swig_const_table
[] = {
37306 {0, 0, 0, 0.0, 0, 0}};
37311 /* -----------------------------------------------------------------------------
37312 * Type initialization:
37313 * This problem is tough by the requirement that no dynamic
37314 * memory is used. Also, since swig_type_info structures store pointers to
37315 * swig_cast_info structures and swig_cast_info structures store pointers back
37316 * to swig_type_info structures, we need some lookup code at initialization.
37317 * The idea is that swig generates all the structures that are needed.
37318 * The runtime then collects these partially filled structures.
37319 * The SWIG_InitializeModule function takes these initial arrays out of
37320 * swig_module, and does all the lookup, filling in the swig_module.types
37321 * array with the correct data and linking the correct swig_cast_info
37322 * structures together.
37324 * The generated swig_type_info structures are assigned staticly to an initial
37325 * array. We just loop though that array, and handle each type individually.
37326 * First we lookup if this type has been already loaded, and if so, use the
37327 * loaded structure instead of the generated one. Then we have to fill in the
37328 * cast linked list. The cast data is initially stored in something like a
37329 * two-dimensional array. Each row corresponds to a type (there are the same
37330 * number of rows as there are in the swig_type_initial array). Each entry in
37331 * a column is one of the swig_cast_info structures for that type.
37332 * The cast_initial array is actually an array of arrays, because each row has
37333 * a variable number of columns. So to actually build the cast linked list,
37334 * we find the array of casts associated with the type, and loop through it
37335 * adding the casts to the list. The one last trick we need to do is making
37336 * sure the type pointer in the swig_cast_info struct is correct.
37338 * First off, we lookup the cast->type name to see if it is already loaded.
37339 * There are three cases to handle:
37340 * 1) If the cast->type has already been loaded AND the type we are adding
37341 * casting info to has not been loaded (it is in this module), THEN we
37342 * replace the cast->type pointer with the type pointer that has already
37344 * 2) If BOTH types (the one we are adding casting info to, and the
37345 * cast->type) are loaded, THEN the cast info has already been loaded by
37346 * the previous module so we just ignore it.
37347 * 3) Finally, if cast->type has not already been loaded, then we add that
37348 * swig_cast_info to the linked list (because the cast->type) pointer will
37350 * ----------------------------------------------------------------------------- */
37360 #define SWIGRUNTIME_DEBUG
37364 SWIG_InitializeModule(void *clientdata
) {
37366 swig_module_info
*module_head
;
37367 static int init_run
= 0;
37369 clientdata
= clientdata
;
37371 if (init_run
) return;
37374 /* Initialize the swig_module */
37375 swig_module
.type_initial
= swig_type_initial
;
37376 swig_module
.cast_initial
= swig_cast_initial
;
37378 /* Try and load any already created modules */
37379 module_head
= SWIG_GetModule(clientdata
);
37381 swig_module
.next
= module_head
->next
;
37382 module_head
->next
= &swig_module
;
37384 /* This is the first module loaded */
37385 swig_module
.next
= &swig_module
;
37386 SWIG_SetModule(clientdata
, &swig_module
);
37389 /* Now work on filling in swig_module.types */
37390 #ifdef SWIGRUNTIME_DEBUG
37391 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
37393 for (i
= 0; i
< swig_module
.size
; ++i
) {
37394 swig_type_info
*type
= 0;
37395 swig_type_info
*ret
;
37396 swig_cast_info
*cast
;
37398 #ifdef SWIGRUNTIME_DEBUG
37399 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
37402 /* if there is another module already loaded */
37403 if (swig_module
.next
!= &swig_module
) {
37404 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
37407 /* Overwrite clientdata field */
37408 #ifdef SWIGRUNTIME_DEBUG
37409 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
37411 if (swig_module
.type_initial
[i
]->clientdata
) {
37412 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
37413 #ifdef SWIGRUNTIME_DEBUG
37414 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
37418 type
= swig_module
.type_initial
[i
];
37421 /* Insert casting types */
37422 cast
= swig_module
.cast_initial
[i
];
37423 while (cast
->type
) {
37424 /* Don't need to add information already in the list */
37426 #ifdef SWIGRUNTIME_DEBUG
37427 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
37429 if (swig_module
.next
!= &swig_module
) {
37430 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
37431 #ifdef SWIGRUNTIME_DEBUG
37432 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
37436 if (type
== swig_module
.type_initial
[i
]) {
37437 #ifdef SWIGRUNTIME_DEBUG
37438 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
37443 /* Check for casting already in the list */
37444 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
37445 #ifdef SWIGRUNTIME_DEBUG
37446 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
37448 if (!ocast
) ret
= 0;
37453 #ifdef SWIGRUNTIME_DEBUG
37454 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
37457 type
->cast
->prev
= cast
;
37458 cast
->next
= type
->cast
;
37464 /* Set entry in modules->types array equal to the type */
37465 swig_module
.types
[i
] = type
;
37467 swig_module
.types
[i
] = 0;
37469 #ifdef SWIGRUNTIME_DEBUG
37470 printf("**** SWIG_InitializeModule: Cast List ******\n");
37471 for (i
= 0; i
< swig_module
.size
; ++i
) {
37473 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
37474 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
37475 while (cast
->type
) {
37476 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
37480 printf("---- Total casts: %d\n",j
);
37482 printf("**** SWIG_InitializeModule: Cast List ******\n");
37486 /* This function will propagate the clientdata field of type to
37487 * any new swig_type_info structures that have been added into the list
37488 * of equivalent types. It is like calling
37489 * SWIG_TypeClientData(type, clientdata) a second time.
37492 SWIG_PropagateClientData(void) {
37494 swig_cast_info
*equiv
;
37495 static int init_run
= 0;
37497 if (init_run
) return;
37500 for (i
= 0; i
< swig_module
.size
; i
++) {
37501 if (swig_module
.types
[i
]->clientdata
) {
37502 equiv
= swig_module
.types
[i
]->cast
;
37504 if (!equiv
->converter
) {
37505 if (equiv
->type
&& !equiv
->type
->clientdata
)
37506 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
37508 equiv
= equiv
->next
;
37528 /* Python-specific SWIG API */
37529 #define SWIG_newvarlink() SWIG_Python_newvarlink()
37530 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37531 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37533 /* -----------------------------------------------------------------------------
37534 * global variable support code.
37535 * ----------------------------------------------------------------------------- */
37537 typedef struct swig_globalvar
{
37538 char *name
; /* Name of global variable */
37539 PyObject
*(*get_attr
)(void); /* Return the current value */
37540 int (*set_attr
)(PyObject
*); /* Set the value */
37541 struct swig_globalvar
*next
;
37544 typedef struct swig_varlinkobject
{
37546 swig_globalvar
*vars
;
37547 } swig_varlinkobject
;
37549 SWIGINTERN PyObject
*
37550 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
37551 return PyString_FromString("<Swig global variables>");
37554 SWIGINTERN PyObject
*
37555 swig_varlink_str(swig_varlinkobject
*v
) {
37556 PyObject
*str
= PyString_FromString("(");
37557 swig_globalvar
*var
;
37558 for (var
= v
->vars
; var
; var
=var
->next
) {
37559 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
37560 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
37562 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
37567 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
37568 PyObject
*str
= swig_varlink_str(v
);
37569 fprintf(fp
,"Swig global variables ");
37570 fprintf(fp
,"%s\n", PyString_AsString(str
));
37576 swig_varlink_dealloc(swig_varlinkobject
*v
) {
37577 swig_globalvar
*var
= v
->vars
;
37579 swig_globalvar
*n
= var
->next
;
37586 SWIGINTERN PyObject
*
37587 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
37588 PyObject
*res
= NULL
;
37589 swig_globalvar
*var
= v
->vars
;
37591 if (strcmp(var
->name
,n
) == 0) {
37592 res
= (*var
->get_attr
)();
37597 if (res
== NULL
&& !PyErr_Occurred()) {
37598 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37604 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
37606 swig_globalvar
*var
= v
->vars
;
37608 if (strcmp(var
->name
,n
) == 0) {
37609 res
= (*var
->set_attr
)(p
);
37614 if (res
== 1 && !PyErr_Occurred()) {
37615 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37620 SWIGINTERN PyTypeObject
*
37621 swig_varlink_type(void) {
37622 static char varlink__doc__
[] = "Swig var link object";
37623 static PyTypeObject varlink_type
;
37624 static int type_init
= 0;
37626 const PyTypeObject tmp
37628 PyObject_HEAD_INIT(NULL
)
37629 0, /* Number of items in variable part (ob_size) */
37630 (char *)"swigvarlink", /* Type name (tp_name) */
37631 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
37632 0, /* Itemsize (tp_itemsize) */
37633 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
37634 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
37635 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
37636 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
37637 0, /* tp_compare */
37638 (reprfunc
) swig_varlink_repr
, /* tp_repr */
37639 0, /* tp_as_number */
37640 0, /* tp_as_sequence */
37641 0, /* tp_as_mapping */
37644 (reprfunc
)swig_varlink_str
, /* tp_str */
37645 0, /* tp_getattro */
37646 0, /* tp_setattro */
37647 0, /* tp_as_buffer */
37649 varlink__doc__
, /* tp_doc */
37650 0, /* tp_traverse */
37652 0, /* tp_richcompare */
37653 0, /* tp_weaklistoffset */
37654 #if PY_VERSION_HEX >= 0x02020000
37655 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37657 #if PY_VERSION_HEX >= 0x02030000
37660 #ifdef COUNT_ALLOCS
37661 0,0,0,0 /* tp_alloc -> tp_next */
37664 varlink_type
= tmp
;
37665 varlink_type
.ob_type
= &PyType_Type
;
37668 return &varlink_type
;
37671 /* Create a variable linking object for use later */
37672 SWIGINTERN PyObject
*
37673 SWIG_Python_newvarlink(void) {
37674 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
37678 return ((PyObject
*) result
);
37682 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37683 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
37684 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37686 size_t size
= strlen(name
)+1;
37687 gv
->name
= (char *)malloc(size
);
37689 strncpy(gv
->name
,name
,size
);
37690 gv
->get_attr
= get_attr
;
37691 gv
->set_attr
= set_attr
;
37692 gv
->next
= v
->vars
;
37698 SWIGINTERN PyObject
*
37700 static PyObject
*_SWIG_globals
= 0;
37701 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
37702 return _SWIG_globals
;
37705 /* -----------------------------------------------------------------------------
37706 * constants/methods manipulation
37707 * ----------------------------------------------------------------------------- */
37709 /* Install Constants */
37711 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37714 for (i
= 0; constants
[i
].type
; ++i
) {
37715 switch(constants
[i
].type
) {
37716 case SWIG_PY_POINTER
:
37717 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37719 case SWIG_PY_BINARY
:
37720 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37727 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
37733 /* -----------------------------------------------------------------------------*/
37734 /* Fix SwigMethods to carry the callback ptrs when needed */
37735 /* -----------------------------------------------------------------------------*/
37738 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37739 swig_const_info
*const_table
,
37740 swig_type_info
**types
,
37741 swig_type_info
**types_initial
) {
37743 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37744 const char *c
= methods
[i
].ml_doc
;
37745 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37747 swig_const_info
*ci
= 0;
37748 const char *name
= c
+ 10;
37749 for (j
= 0; const_table
[j
].type
; ++j
) {
37750 if (strncmp(const_table
[j
].name
, name
,
37751 strlen(const_table
[j
].name
)) == 0) {
37752 ci
= &(const_table
[j
]);
37757 size_t shift
= (ci
->ptype
) - types
;
37758 swig_type_info
*ty
= types_initial
[shift
];
37759 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37760 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37761 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37764 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
37766 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37768 strncpy(buff
, "swig_ptr: ", 10);
37770 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37771 methods
[i
].ml_doc
= ndoc
;
37783 /* -----------------------------------------------------------------------------*
37784 * Partial Init method
37785 * -----------------------------------------------------------------------------*/
37790 SWIGEXPORT
void SWIG_init(void) {
37793 /* Fix SwigMethods to carry the callback ptrs when needed */
37794 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
37796 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37797 d
= PyModule_GetDict(m
);
37799 SWIG_InitializeModule(0);
37800 SWIG_InstallConstants(d
,swig_const_table
);
37803 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
37804 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
37805 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
37806 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
37807 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
37808 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
37809 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
37810 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
37811 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
37812 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
37813 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
37814 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
37815 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
37816 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
37817 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
37818 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
37819 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
37820 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
37821 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
37822 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
37823 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
37824 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
37825 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
37826 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
37827 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
37828 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
37829 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
37830 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
37831 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
37832 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
37833 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
37834 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
37835 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
37836 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
37837 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
37838 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
37839 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
37840 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
37841 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
37842 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
37843 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
37844 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
37845 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
37846 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
37847 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
37848 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
37849 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
37850 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
37851 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
37852 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
37853 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
37854 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
37855 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
37856 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
37857 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
37858 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
37859 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
37860 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
37861 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
37862 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
37863 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
37864 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
37865 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
37866 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
37867 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
37868 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
37869 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
37870 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
37871 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
37872 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
37873 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
37874 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
37875 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
37876 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
37877 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
37878 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
37879 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
37880 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
37881 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
37882 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
37883 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
37884 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
37885 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
37886 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
37887 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
37888 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
37889 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
37890 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
37891 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
37892 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
37893 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
37894 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
37895 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
37896 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
37897 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
37898 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
37899 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
37900 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
37901 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
37902 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
37903 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
37904 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
37905 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
37906 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
37907 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
37908 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
37909 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
37910 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
37911 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
37912 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
37913 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
37914 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
37915 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
37916 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
37917 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
37918 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
37919 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
37920 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
37921 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
37922 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
37923 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
37924 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
37925 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
37926 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
37927 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
37928 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
37929 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
37930 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
37931 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
37932 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
37933 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
37934 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
37936 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
37938 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
37939 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
37940 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
37941 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
37942 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
37943 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
37944 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
37945 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
37946 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
37947 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
37948 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
37949 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
37950 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
37951 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
37952 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
37953 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
37954 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
37955 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
37956 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
37957 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
37958 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
37959 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
37960 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
37961 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
37962 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
37963 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
37964 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
37965 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
37966 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
37967 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
37968 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
37969 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
37970 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
37971 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
37972 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
37973 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
37974 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
37975 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
37976 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
37977 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
37978 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
37979 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
37980 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
37981 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
37982 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
37983 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
37984 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
37985 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
37986 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
37987 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
37988 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
37989 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
37990 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
37991 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
37992 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
37993 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
37994 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
37995 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
37996 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
37997 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
37998 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
37999 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
38000 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
38001 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
38002 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
38003 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
38004 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
38005 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
38006 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
38007 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
38008 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
38009 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
38010 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
38011 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
38012 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
38013 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
38014 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
38015 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
38016 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
38017 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
38018 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
38019 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
38020 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
38021 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
38022 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
38023 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
38024 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
38025 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
38026 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
38027 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
38028 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
38029 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
38030 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
38031 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
38032 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
38033 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
38034 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
38035 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
38036 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
38037 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
38038 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
38039 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
38040 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
38041 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
38042 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
38043 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
38044 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
38045 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
38046 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
38047 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
38048 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
38049 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
38050 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
38051 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
38052 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
38053 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
38054 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
38055 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
38056 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
38057 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
38058 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
38059 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
38060 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
38061 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
38062 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
38063 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
38064 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
38065 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
38066 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
38067 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
38068 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
38069 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
38070 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
38071 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
38072 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
38073 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
38074 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
38075 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
38076 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
38077 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
38078 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
38079 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
38080 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
38081 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
38082 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
38083 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
38084 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
38085 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
38086 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
38087 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
38088 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
38089 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
38090 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
38091 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
38092 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
38093 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
38094 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
38095 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
38096 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
38097 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
38098 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
38099 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
38100 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
38101 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
38102 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
38103 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
38104 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
38105 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
38106 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
38107 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
38108 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
38109 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
38110 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
38111 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
38112 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
38113 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
38114 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
38115 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
38116 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
38117 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
38118 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
38119 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
38120 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
38121 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
38122 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
38123 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
38124 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
38125 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
38126 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
38127 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
38128 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
38129 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
38130 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
38131 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
38132 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
38133 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
38134 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
38135 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
38136 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
38137 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
38138 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
38139 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
38140 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
38141 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
38142 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
38143 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
38144 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
38145 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
38146 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
38147 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
38148 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
38149 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
38150 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
38151 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
38152 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
38153 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
38154 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
38155 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
38156 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
38157 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
38158 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
38159 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
38160 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
38161 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
38162 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
38163 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
38164 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
38165 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
38166 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
38167 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
38168 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
38169 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
38170 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
38171 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
38172 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
38173 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
38174 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
38175 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
38176 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
38177 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
38178 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
38179 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
38180 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
38181 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
38182 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
38183 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
38184 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
38185 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
38186 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
38187 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
38188 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
38189 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
38190 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
38191 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
38192 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
38193 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
38194 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
38195 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
38196 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
38197 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
38198 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
38199 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
38200 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
38201 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
38202 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
38203 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
38204 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
38205 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
38206 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
38207 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
38208 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
38209 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
38210 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
38211 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
38212 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
38213 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
38214 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
38215 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
38216 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
38217 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
38218 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
38219 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
38220 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
38221 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
38222 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
38223 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
38224 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
38225 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
38226 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
38227 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
38228 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
38229 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
38230 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
38231 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
38232 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
38233 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
38234 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
38235 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
38236 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
38237 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
38238 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
38239 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
38240 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
38241 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
38242 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
38243 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
38244 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
38245 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
38246 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
38247 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
38248 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
38249 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
38250 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
38251 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
38252 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
38253 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
38254 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
38255 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
38256 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
38258 // Work around a chicken/egg problem in drawlist.cpp
38259 wxPyDrawList_SetAPIPtr();