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 static wxGraphicsContext
* CreateFromNative( void * ) {
3597 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3598 PyErr_SetString(PyExc_NotImplementedError
,
3599 "wxGraphicsContext is not available on this platform.");
3600 wxPyEndBlockThreads(blocked
);
3604 wxGraphicsPath
* CreatePath() { return NULL
; }
3607 void Clip( const wxRegion
& ) {}
3608 void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3610 void * GetNativeContext() { return NULL
; }
3611 void Translate( wxDouble
, wxDouble
) {}
3612 void Scale( wxDouble
, wxDouble
) {}
3613 void Rotate( wxDouble
) {}
3614 void SetPen( const wxPen
& ) {}
3615 void SetBrush( const wxBrush
& ) {}
3616 void SetLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3617 const wxColour
&, const wxColour
&) {}
3618 void SetRadialGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3619 const wxColour
&, const wxColour
&) {}
3620 void SetFont( const wxFont
& ) {}
3621 void SetTextColour( const wxColour
& ) {}
3622 void StrokePath( const wxGraphicsPath
* ) {}
3623 void FillPath( const wxGraphicsPath
*, int ) {}
3624 void DrawPath( const wxGraphicsPath
*, int ) {}
3625 void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3626 void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3627 void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3628 wxDouble
*, wxDouble
* ) const {}
3629 void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3630 void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3631 void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3632 void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3633 void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3634 void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3635 void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3636 void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3637 void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3638 void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3642 class wxGCDC
: public wxWindowDC
3645 wxGCDC(const wxWindowDC
&) {
3646 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3647 PyErr_SetString(PyExc_NotImplementedError
,
3648 "wxGCDC is not available on this platform.");
3649 wxPyEndBlockThreads(blocked
);
3653 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3654 PyErr_SetString(PyExc_NotImplementedError
,
3655 "wxGCDC is not available on this platform.");
3656 wxPyEndBlockThreads(blocked
);
3659 virtual ~wxGCDC() {}
3661 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3662 void SetGraphicsContext( wxGraphicsContext
* ) {}
3667 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3668 wxDouble width
= 0.0,
3670 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3671 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3672 PyObject
* rv
= PyTuple_New(2);
3673 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3674 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3677 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3678 wxArrayDouble widths
;
3679 self
->GetPartialTextExtents(text
, widths
);
3682 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3683 size_t c1
, c2
, count
;
3684 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3685 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3687 if ( beginP
!= NULL
&& endP
!= NULL
)
3689 count
= wxMin(c1
, c2
);
3690 self
->StrokeLines(count
, beginP
, endP
);
3696 #include "wx/dcgraph.h"
3699 #include <wx/overlay.h>
3703 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3704 self
->AddColour(name
, wxColour(red
, green
, blue
));
3707 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3708 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3709 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3710 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3713 #include <wx/effects.h>
3716 #include "wx/renderer.h"
3719 SWIGINTERNINLINE PyObject
*
3720 SWIG_From_bool (bool value
)
3722 return PyBool_FromLong(value
? 1 : 0);
3726 #include "wx/wxPython/pseudodc.h"
3728 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3730 self
->GetIdBounds(id
, rect
);
3736 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3737 PyObject
*resultobj
= 0;
3738 wxGDIObject
*result
= 0 ;
3740 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3742 if (!wxPyCheckForApp()) SWIG_fail
;
3743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3744 result
= (wxGDIObject
*)new wxGDIObject();
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) SWIG_fail
;
3748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3755 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3756 PyObject
*resultobj
= 0;
3757 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3760 PyObject
*swig_obj
[1] ;
3762 if (!args
) SWIG_fail
;
3764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3765 if (!SWIG_IsOK(res1
)) {
3766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3768 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3773 wxPyEndAllowThreads(__tstate
);
3774 if (PyErr_Occurred()) SWIG_fail
;
3776 resultobj
= SWIG_Py_Void();
3783 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3784 PyObject
*resultobj
= 0;
3785 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3789 PyObject
*swig_obj
[1] ;
3791 if (!args
) SWIG_fail
;
3793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3794 if (!SWIG_IsOK(res1
)) {
3795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3797 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 result
= (bool)(arg1
)->IsNull();
3801 wxPyEndAllowThreads(__tstate
);
3802 if (PyErr_Occurred()) SWIG_fail
;
3805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3813 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3816 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3817 return SWIG_Py_Void();
3820 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3821 return SWIG_Python_InitShadowInstance(args
);
3824 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
= 0;
3826 byte arg1
= (byte
) 0 ;
3827 byte arg2
= (byte
) 0 ;
3828 byte arg3
= (byte
) 0 ;
3829 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3830 wxColour
*result
= 0 ;
3831 unsigned char val1
;
3833 unsigned char val2
;
3835 unsigned char val3
;
3837 unsigned char val4
;
3839 PyObject
* obj0
= 0 ;
3840 PyObject
* obj1
= 0 ;
3841 PyObject
* obj2
= 0 ;
3842 PyObject
* obj3
= 0 ;
3843 char * kwnames
[] = {
3844 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3849 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3850 if (!SWIG_IsOK(ecode1
)) {
3851 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3853 arg1
= static_cast< byte
>(val1
);
3856 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3857 if (!SWIG_IsOK(ecode2
)) {
3858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3860 arg2
= static_cast< byte
>(val2
);
3863 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3864 if (!SWIG_IsOK(ecode3
)) {
3865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3867 arg3
= static_cast< byte
>(val3
);
3870 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3871 if (!SWIG_IsOK(ecode4
)) {
3872 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3874 arg4
= static_cast< byte
>(val4
);
3877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3878 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3889 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
*resultobj
= 0;
3891 wxString
*arg1
= 0 ;
3892 wxColour
*result
= 0 ;
3893 bool temp1
= false ;
3894 PyObject
* obj0
= 0 ;
3895 char * kwnames
[] = {
3896 (char *) "colorName", NULL
3899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3901 arg1
= wxString_in_helper(obj0
);
3902 if (arg1
== NULL
) SWIG_fail
;
3906 if (!wxPyCheckForApp()) SWIG_fail
;
3907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3908 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3909 wxPyEndAllowThreads(__tstate
);
3910 if (PyErr_Occurred()) SWIG_fail
;
3912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3927 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3928 PyObject
*resultobj
= 0;
3929 unsigned long arg1
;
3930 wxColour
*result
= 0 ;
3931 unsigned long val1
;
3933 PyObject
* obj0
= 0 ;
3934 char * kwnames
[] = {
3935 (char *) "colRGB", NULL
3938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3939 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3940 if (!SWIG_IsOK(ecode1
)) {
3941 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3943 arg1
= static_cast< unsigned long >(val1
);
3945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3946 result
= (wxColour
*)new wxColour(arg1
);
3947 wxPyEndAllowThreads(__tstate
);
3948 if (PyErr_Occurred()) SWIG_fail
;
3950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3957 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3958 PyObject
*resultobj
= 0;
3959 wxColour
*arg1
= (wxColour
*) 0 ;
3962 PyObject
*swig_obj
[1] ;
3964 if (!args
) SWIG_fail
;
3966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3967 if (!SWIG_IsOK(res1
)) {
3968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3970 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3975 wxPyEndAllowThreads(__tstate
);
3976 if (PyErr_Occurred()) SWIG_fail
;
3978 resultobj
= SWIG_Py_Void();
3985 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3986 PyObject
*resultobj
= 0;
3987 wxColour
*arg1
= (wxColour
*) 0 ;
3991 PyObject
*swig_obj
[1] ;
3993 if (!args
) SWIG_fail
;
3995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3996 if (!SWIG_IsOK(res1
)) {
3997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3999 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4002 result
= (byte
)(arg1
)->Red();
4003 wxPyEndAllowThreads(__tstate
);
4004 if (PyErr_Occurred()) SWIG_fail
;
4006 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4013 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4014 PyObject
*resultobj
= 0;
4015 wxColour
*arg1
= (wxColour
*) 0 ;
4019 PyObject
*swig_obj
[1] ;
4021 if (!args
) SWIG_fail
;
4023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4024 if (!SWIG_IsOK(res1
)) {
4025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4027 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 result
= (byte
)(arg1
)->Green();
4031 wxPyEndAllowThreads(__tstate
);
4032 if (PyErr_Occurred()) SWIG_fail
;
4034 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4041 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4042 PyObject
*resultobj
= 0;
4043 wxColour
*arg1
= (wxColour
*) 0 ;
4047 PyObject
*swig_obj
[1] ;
4049 if (!args
) SWIG_fail
;
4051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4052 if (!SWIG_IsOK(res1
)) {
4053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4055 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 result
= (byte
)(arg1
)->Blue();
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4062 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4069 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4070 PyObject
*resultobj
= 0;
4071 wxColour
*arg1
= (wxColour
*) 0 ;
4075 PyObject
*swig_obj
[1] ;
4077 if (!args
) SWIG_fail
;
4079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4080 if (!SWIG_IsOK(res1
)) {
4081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4083 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 result
= (byte
)(arg1
)->Alpha();
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4097 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4098 PyObject
*resultobj
= 0;
4099 wxColour
*arg1
= (wxColour
*) 0 ;
4103 PyObject
*swig_obj
[1] ;
4105 if (!args
) SWIG_fail
;
4107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4108 if (!SWIG_IsOK(res1
)) {
4109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4111 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 result
= (bool)(arg1
)->IsOk();
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4127 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
*resultobj
= 0;
4129 wxColour
*arg1
= (wxColour
*) 0 ;
4133 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4136 unsigned char val2
;
4138 unsigned char val3
;
4140 unsigned char val4
;
4142 unsigned char val5
;
4144 PyObject
* obj0
= 0 ;
4145 PyObject
* obj1
= 0 ;
4146 PyObject
* obj2
= 0 ;
4147 PyObject
* obj3
= 0 ;
4148 PyObject
* obj4
= 0 ;
4149 char * kwnames
[] = {
4150 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4155 if (!SWIG_IsOK(res1
)) {
4156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4158 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4159 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4160 if (!SWIG_IsOK(ecode2
)) {
4161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4163 arg2
= static_cast< byte
>(val2
);
4164 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4165 if (!SWIG_IsOK(ecode3
)) {
4166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4168 arg3
= static_cast< byte
>(val3
);
4169 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4170 if (!SWIG_IsOK(ecode4
)) {
4171 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4173 arg4
= static_cast< byte
>(val4
);
4175 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4176 if (!SWIG_IsOK(ecode5
)) {
4177 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4179 arg5
= static_cast< byte
>(val5
);
4182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4183 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4184 wxPyEndAllowThreads(__tstate
);
4185 if (PyErr_Occurred()) SWIG_fail
;
4187 resultobj
= SWIG_Py_Void();
4194 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
*resultobj
= 0;
4196 wxColour
*arg1
= (wxColour
*) 0 ;
4197 unsigned long arg2
;
4200 unsigned long val2
;
4202 PyObject
* obj0
= 0 ;
4203 PyObject
* obj1
= 0 ;
4204 char * kwnames
[] = {
4205 (char *) "self",(char *) "colRGB", NULL
4208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4210 if (!SWIG_IsOK(res1
)) {
4211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4213 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4214 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4215 if (!SWIG_IsOK(ecode2
)) {
4216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4218 arg2
= static_cast< unsigned long >(val2
);
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= SWIG_Py_Void();
4232 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
= 0;
4234 wxColour
*arg1
= (wxColour
*) 0 ;
4235 wxString
*arg2
= 0 ;
4238 bool temp2
= false ;
4239 PyObject
* obj0
= 0 ;
4240 PyObject
* obj1
= 0 ;
4241 char * kwnames
[] = {
4242 (char *) "self",(char *) "colourName", NULL
4245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4247 if (!SWIG_IsOK(res1
)) {
4248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4250 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4252 arg2
= wxString_in_helper(obj1
);
4253 if (arg2
== NULL
) SWIG_fail
;
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4258 (arg1
)->Set((wxString
const &)*arg2
);
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4262 resultobj
= SWIG_Py_Void();
4277 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
*resultobj
= 0;
4279 wxColour
*arg1
= (wxColour
*) 0 ;
4280 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4286 PyObject
* obj0
= 0 ;
4287 PyObject
* obj1
= 0 ;
4288 char * kwnames
[] = {
4289 (char *) "self",(char *) "flags", NULL
4292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4294 if (!SWIG_IsOK(res1
)) {
4295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4297 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4299 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4300 if (!SWIG_IsOK(ecode2
)) {
4301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4303 arg2
= static_cast< long >(val2
);
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4313 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4315 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4324 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4325 PyObject
*resultobj
= 0;
4326 wxColour
*arg1
= (wxColour
*) 0 ;
4330 PyObject
*swig_obj
[1] ;
4332 if (!args
) SWIG_fail
;
4334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4335 if (!SWIG_IsOK(res1
)) {
4336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4338 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4341 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4342 wxPyEndAllowThreads(__tstate
);
4343 if (PyErr_Occurred()) SWIG_fail
;
4345 resultobj
= SWIG_From_long(static_cast< long >(result
));
4352 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
*resultobj
= 0;
4354 wxColour
*arg1
= (wxColour
*) 0 ;
4355 PyObject
*arg2
= (PyObject
*) 0 ;
4359 PyObject
* obj0
= 0 ;
4360 PyObject
* obj1
= 0 ;
4361 char * kwnames
[] = {
4362 (char *) "self",(char *) "other", NULL
4365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4367 if (!SWIG_IsOK(res1
)) {
4368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4370 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4373 result
= (bool)wxColour___eq__(arg1
,arg2
);
4374 if (PyErr_Occurred()) SWIG_fail
;
4377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4385 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
*resultobj
= 0;
4387 wxColour
*arg1
= (wxColour
*) 0 ;
4388 PyObject
*arg2
= (PyObject
*) 0 ;
4392 PyObject
* obj0
= 0 ;
4393 PyObject
* obj1
= 0 ;
4394 char * kwnames
[] = {
4395 (char *) "self",(char *) "other", NULL
4398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4400 if (!SWIG_IsOK(res1
)) {
4401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4403 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4406 result
= (bool)wxColour___ne__(arg1
,arg2
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4418 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4419 PyObject
*resultobj
= 0;
4420 wxColour
*arg1
= (wxColour
*) 0 ;
4421 bool arg2
= (bool) false ;
4422 PyObject
*result
= 0 ;
4427 PyObject
* obj0
= 0 ;
4428 PyObject
* obj1
= 0 ;
4429 char * kwnames
[] = {
4430 (char *) "self",(char *) "includeAlpha", NULL
4433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4435 if (!SWIG_IsOK(res1
)) {
4436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4438 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4440 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4441 if (!SWIG_IsOK(ecode2
)) {
4442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4444 arg2
= static_cast< bool >(val2
);
4447 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4457 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4458 PyObject
*resultobj
= 0;
4459 wxColour
*arg1
= (wxColour
*) 0 ;
4460 unsigned long result
;
4463 PyObject
*swig_obj
[1] ;
4465 if (!args
) SWIG_fail
;
4467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4468 if (!SWIG_IsOK(res1
)) {
4469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4471 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4473 result
= (unsigned long)wxColour_GetRGB(arg1
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4483 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4485 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4486 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4487 return SWIG_Py_Void();
4490 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4491 return SWIG_Python_InitShadowInstance(args
);
4494 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
*resultobj
= 0;
4497 unsigned char *arg2
= (unsigned char *) 0 ;
4498 unsigned char *arg3
= (unsigned char *) 0 ;
4499 unsigned char *arg4
= (unsigned char *) 0 ;
4500 wxPalette
*result
= 0 ;
4509 PyObject
* obj0
= 0 ;
4510 PyObject
* obj1
= 0 ;
4511 PyObject
* obj2
= 0 ;
4512 PyObject
* obj3
= 0 ;
4513 char * kwnames
[] = {
4514 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4518 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4519 if (!SWIG_IsOK(ecode1
)) {
4520 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4522 arg1
= static_cast< int >(val1
);
4523 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4524 if (!SWIG_IsOK(res2
)) {
4525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4527 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4528 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4529 if (!SWIG_IsOK(res3
)) {
4530 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4532 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4533 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4534 if (!SWIG_IsOK(res4
)) {
4535 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4537 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4539 if (!wxPyCheckForApp()) SWIG_fail
;
4540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4541 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4542 wxPyEndAllowThreads(__tstate
);
4543 if (PyErr_Occurred()) SWIG_fail
;
4545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4552 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4553 PyObject
*resultobj
= 0;
4554 wxPalette
*arg1
= (wxPalette
*) 0 ;
4557 PyObject
*swig_obj
[1] ;
4559 if (!args
) SWIG_fail
;
4561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4562 if (!SWIG_IsOK(res1
)) {
4563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4565 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) SWIG_fail
;
4573 resultobj
= SWIG_Py_Void();
4580 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
*resultobj
= 0;
4582 wxPalette
*arg1
= (wxPalette
*) 0 ;
4589 unsigned char val2
;
4591 unsigned char val3
;
4593 unsigned char val4
;
4595 PyObject
* obj0
= 0 ;
4596 PyObject
* obj1
= 0 ;
4597 PyObject
* obj2
= 0 ;
4598 PyObject
* obj3
= 0 ;
4599 char * kwnames
[] = {
4600 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4605 if (!SWIG_IsOK(res1
)) {
4606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4608 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4609 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4610 if (!SWIG_IsOK(ecode2
)) {
4611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4613 arg2
= static_cast< byte
>(val2
);
4614 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4615 if (!SWIG_IsOK(ecode3
)) {
4616 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4618 arg3
= static_cast< byte
>(val3
);
4619 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4620 if (!SWIG_IsOK(ecode4
)) {
4621 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4623 arg4
= static_cast< byte
>(val4
);
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4627 wxPyEndAllowThreads(__tstate
);
4628 if (PyErr_Occurred()) SWIG_fail
;
4630 resultobj
= SWIG_From_int(static_cast< int >(result
));
4637 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
*resultobj
= 0;
4639 wxPalette
*arg1
= (wxPalette
*) 0 ;
4641 byte
*arg3
= (byte
*) 0 ;
4642 byte
*arg4
= (byte
*) 0 ;
4643 byte
*arg5
= (byte
*) 0 ;
4650 int res3
= SWIG_TMPOBJ
;
4652 int res4
= SWIG_TMPOBJ
;
4654 int res5
= SWIG_TMPOBJ
;
4655 PyObject
* obj0
= 0 ;
4656 PyObject
* obj1
= 0 ;
4657 char * kwnames
[] = {
4658 (char *) "self",(char *) "pixel", NULL
4664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4666 if (!SWIG_IsOK(res1
)) {
4667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4669 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4670 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4671 if (!SWIG_IsOK(ecode2
)) {
4672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4674 arg2
= static_cast< int >(val2
);
4676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4677 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4684 if (SWIG_IsTmpObj(res3
)) {
4685 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4687 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4688 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4690 if (SWIG_IsTmpObj(res4
)) {
4691 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4693 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4694 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4696 if (SWIG_IsTmpObj(res5
)) {
4697 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4699 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4700 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4708 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4709 PyObject
*resultobj
= 0;
4710 wxPalette
*arg1
= (wxPalette
*) 0 ;
4714 PyObject
*swig_obj
[1] ;
4716 if (!args
) SWIG_fail
;
4718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4719 if (!SWIG_IsOK(res1
)) {
4720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4722 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4725 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4729 resultobj
= SWIG_From_int(static_cast< int >(result
));
4736 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4737 PyObject
*resultobj
= 0;
4738 wxPalette
*arg1
= (wxPalette
*) 0 ;
4742 PyObject
*swig_obj
[1] ;
4744 if (!args
) SWIG_fail
;
4746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4747 if (!SWIG_IsOK(res1
)) {
4748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4750 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4753 result
= (bool)(arg1
)->IsOk();
4754 wxPyEndAllowThreads(__tstate
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4766 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4768 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4769 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4770 return SWIG_Py_Void();
4773 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4774 return SWIG_Python_InitShadowInstance(args
);
4777 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4778 PyObject
*resultobj
= 0;
4779 wxColour
*arg1
= 0 ;
4780 int arg2
= (int) 1 ;
4781 int arg3
= (int) wxSOLID
;
4788 PyObject
* obj0
= 0 ;
4789 PyObject
* obj1
= 0 ;
4790 PyObject
* obj2
= 0 ;
4791 char * kwnames
[] = {
4792 (char *) "colour",(char *) "width",(char *) "style", NULL
4795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4798 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4802 if (!SWIG_IsOK(ecode2
)) {
4803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4805 arg2
= static_cast< int >(val2
);
4808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4809 if (!SWIG_IsOK(ecode3
)) {
4810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4812 arg3
= static_cast< int >(val3
);
4815 if (!wxPyCheckForApp()) SWIG_fail
;
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4828 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4829 PyObject
*resultobj
= 0;
4830 wxPen
*arg1
= (wxPen
*) 0 ;
4833 PyObject
*swig_obj
[1] ;
4835 if (!args
) SWIG_fail
;
4837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4838 if (!SWIG_IsOK(res1
)) {
4839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4841 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4846 wxPyEndAllowThreads(__tstate
);
4847 if (PyErr_Occurred()) SWIG_fail
;
4849 resultobj
= SWIG_Py_Void();
4856 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4857 PyObject
*resultobj
= 0;
4858 wxPen
*arg1
= (wxPen
*) 0 ;
4862 PyObject
*swig_obj
[1] ;
4864 if (!args
) SWIG_fail
;
4866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4867 if (!SWIG_IsOK(res1
)) {
4868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4870 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4873 result
= (int)(arg1
)->GetCap();
4874 wxPyEndAllowThreads(__tstate
);
4875 if (PyErr_Occurred()) SWIG_fail
;
4877 resultobj
= SWIG_From_int(static_cast< int >(result
));
4884 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4885 PyObject
*resultobj
= 0;
4886 wxPen
*arg1
= (wxPen
*) 0 ;
4890 PyObject
*swig_obj
[1] ;
4892 if (!args
) SWIG_fail
;
4894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4895 if (!SWIG_IsOK(res1
)) {
4896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4898 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4901 result
= (arg1
)->GetColour();
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4905 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4912 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4913 PyObject
*resultobj
= 0;
4914 wxPen
*arg1
= (wxPen
*) 0 ;
4918 PyObject
*swig_obj
[1] ;
4920 if (!args
) SWIG_fail
;
4922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4923 if (!SWIG_IsOK(res1
)) {
4924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4926 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4929 result
= (int)(arg1
)->GetJoin();
4930 wxPyEndAllowThreads(__tstate
);
4931 if (PyErr_Occurred()) SWIG_fail
;
4933 resultobj
= SWIG_From_int(static_cast< int >(result
));
4940 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4941 PyObject
*resultobj
= 0;
4942 wxPen
*arg1
= (wxPen
*) 0 ;
4946 PyObject
*swig_obj
[1] ;
4948 if (!args
) SWIG_fail
;
4950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4951 if (!SWIG_IsOK(res1
)) {
4952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4954 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 result
= (int)(arg1
)->GetStyle();
4958 wxPyEndAllowThreads(__tstate
);
4959 if (PyErr_Occurred()) SWIG_fail
;
4961 resultobj
= SWIG_From_int(static_cast< int >(result
));
4968 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4969 PyObject
*resultobj
= 0;
4970 wxPen
*arg1
= (wxPen
*) 0 ;
4974 PyObject
*swig_obj
[1] ;
4976 if (!args
) SWIG_fail
;
4978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4979 if (!SWIG_IsOK(res1
)) {
4980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4982 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 result
= (int)(arg1
)->GetWidth();
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4989 resultobj
= SWIG_From_int(static_cast< int >(result
));
4996 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4997 PyObject
*resultobj
= 0;
4998 wxPen
*arg1
= (wxPen
*) 0 ;
5002 PyObject
*swig_obj
[1] ;
5004 if (!args
) SWIG_fail
;
5006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5007 if (!SWIG_IsOK(res1
)) {
5008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5010 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 result
= (bool)(arg1
)->IsOk();
5014 wxPyEndAllowThreads(__tstate
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5026 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5027 PyObject
*resultobj
= 0;
5028 wxPen
*arg1
= (wxPen
*) 0 ;
5034 PyObject
* obj0
= 0 ;
5035 PyObject
* obj1
= 0 ;
5036 char * kwnames
[] = {
5037 (char *) "self",(char *) "cap_style", NULL
5040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5042 if (!SWIG_IsOK(res1
)) {
5043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5045 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5047 if (!SWIG_IsOK(ecode2
)) {
5048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5050 arg2
= static_cast< int >(val2
);
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5053 (arg1
)->SetCap(arg2
);
5054 wxPyEndAllowThreads(__tstate
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5057 resultobj
= SWIG_Py_Void();
5064 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
*resultobj
= 0;
5066 wxPen
*arg1
= (wxPen
*) 0 ;
5067 wxColour
*arg2
= 0 ;
5071 PyObject
* obj0
= 0 ;
5072 PyObject
* obj1
= 0 ;
5073 char * kwnames
[] = {
5074 (char *) "self",(char *) "colour", NULL
5077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5079 if (!SWIG_IsOK(res1
)) {
5080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5082 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5085 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 (arg1
)->SetColour(*arg2
);
5090 wxPyEndAllowThreads(__tstate
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5093 resultobj
= SWIG_Py_Void();
5100 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5101 PyObject
*resultobj
= 0;
5102 wxPen
*arg1
= (wxPen
*) 0 ;
5108 PyObject
* obj0
= 0 ;
5109 PyObject
* obj1
= 0 ;
5110 char * kwnames
[] = {
5111 (char *) "self",(char *) "join_style", NULL
5114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5116 if (!SWIG_IsOK(res1
)) {
5117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5119 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5121 if (!SWIG_IsOK(ecode2
)) {
5122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5124 arg2
= static_cast< int >(val2
);
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 (arg1
)->SetJoin(arg2
);
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5131 resultobj
= SWIG_Py_Void();
5138 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5139 PyObject
*resultobj
= 0;
5140 wxPen
*arg1
= (wxPen
*) 0 ;
5146 PyObject
* obj0
= 0 ;
5147 PyObject
* obj1
= 0 ;
5148 char * kwnames
[] = {
5149 (char *) "self",(char *) "style", NULL
5152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5154 if (!SWIG_IsOK(res1
)) {
5155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5157 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5159 if (!SWIG_IsOK(ecode2
)) {
5160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5162 arg2
= static_cast< int >(val2
);
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 (arg1
)->SetStyle(arg2
);
5166 wxPyEndAllowThreads(__tstate
);
5167 if (PyErr_Occurred()) SWIG_fail
;
5169 resultobj
= SWIG_Py_Void();
5176 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5177 PyObject
*resultobj
= 0;
5178 wxPen
*arg1
= (wxPen
*) 0 ;
5184 PyObject
* obj0
= 0 ;
5185 PyObject
* obj1
= 0 ;
5186 char * kwnames
[] = {
5187 (char *) "self",(char *) "width", NULL
5190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5192 if (!SWIG_IsOK(res1
)) {
5193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5195 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5197 if (!SWIG_IsOK(ecode2
)) {
5198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5200 arg2
= static_cast< int >(val2
);
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 (arg1
)->SetWidth(arg2
);
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5207 resultobj
= SWIG_Py_Void();
5214 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5215 PyObject
*resultobj
= 0;
5216 wxPen
*arg1
= (wxPen
*) 0 ;
5218 wxDash
*arg3
= (wxDash
*) 0 ;
5221 PyObject
* obj0
= 0 ;
5222 PyObject
* obj1
= 0 ;
5223 char * kwnames
[] = {
5224 (char *) "self",(char *) "dashes", NULL
5227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5229 if (!SWIG_IsOK(res1
)) {
5230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5232 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5234 arg2
= PyList_Size(obj1
);
5235 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5236 if (arg3
== NULL
) SWIG_fail
;
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 (arg1
)->SetDashes(arg2
,arg3
);
5241 wxPyEndAllowThreads(__tstate
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5244 resultobj
= SWIG_Py_Void();
5246 if (arg3
) delete [] arg3
;
5251 if (arg3
) delete [] arg3
;
5257 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5258 PyObject
*resultobj
= 0;
5259 wxPen
*arg1
= (wxPen
*) 0 ;
5260 PyObject
*result
= 0 ;
5263 PyObject
*swig_obj
[1] ;
5265 if (!args
) SWIG_fail
;
5267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5268 if (!SWIG_IsOK(res1
)) {
5269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5271 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5274 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5285 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
*resultobj
= 0;
5287 wxPen
*arg1
= (wxPen
*) 0 ;
5288 PyObject
*arg2
= (PyObject
*) 0 ;
5289 PyObject
*arg3
= (PyObject
*) 0 ;
5292 PyObject
* obj0
= 0 ;
5293 PyObject
* obj1
= 0 ;
5294 PyObject
* obj2
= 0 ;
5295 char * kwnames
[] = {
5296 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5301 if (!SWIG_IsOK(res1
)) {
5302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5304 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5309 wxPen__SetDashes(arg1
,arg2
,arg3
);
5310 wxPyEndAllowThreads(__tstate
);
5311 if (PyErr_Occurred()) SWIG_fail
;
5313 resultobj
= SWIG_Py_Void();
5320 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5321 PyObject
*resultobj
= 0;
5322 wxPen
*arg1
= (wxPen
*) 0 ;
5326 PyObject
*swig_obj
[1] ;
5328 if (!args
) SWIG_fail
;
5330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5331 if (!SWIG_IsOK(res1
)) {
5332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5334 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5341 resultobj
= SWIG_From_int(static_cast< int >(result
));
5348 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5349 PyObject
*resultobj
= 0;
5350 wxPen
*arg1
= (wxPen
*) 0 ;
5351 wxBitmap
*result
= 0 ;
5354 PyObject
*swig_obj
[1] ;
5356 if (!args
) SWIG_fail
;
5358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5359 if (!SWIG_IsOK(res1
)) {
5360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5362 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5365 result
= (wxBitmap
*)(arg1
)->GetStipple();
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5376 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
*resultobj
= 0;
5378 wxPen
*arg1
= (wxPen
*) 0 ;
5379 wxBitmap
*arg2
= 0 ;
5384 PyObject
* obj0
= 0 ;
5385 PyObject
* obj1
= 0 ;
5386 char * kwnames
[] = {
5387 (char *) "self",(char *) "stipple", NULL
5390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5392 if (!SWIG_IsOK(res1
)) {
5393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5395 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5396 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
5397 if (!SWIG_IsOK(res2
)) {
5398 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5401 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5403 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 (arg1
)->SetStipple(*arg2
);
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5410 resultobj
= SWIG_Py_Void();
5417 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
*resultobj
= 0;
5419 wxPen
*arg1
= (wxPen
*) 0 ;
5420 wxPen
*arg2
= (wxPen
*) 0 ;
5426 PyObject
* obj0
= 0 ;
5427 PyObject
* obj1
= 0 ;
5428 char * kwnames
[] = {
5429 (char *) "self",(char *) "other", NULL
5432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5434 if (!SWIG_IsOK(res1
)) {
5435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5437 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5438 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5439 if (!SWIG_IsOK(res2
)) {
5440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5442 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5445 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5446 wxPyEndAllowThreads(__tstate
);
5447 if (PyErr_Occurred()) SWIG_fail
;
5450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5458 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5459 PyObject
*resultobj
= 0;
5460 wxPen
*arg1
= (wxPen
*) 0 ;
5461 wxPen
*arg2
= (wxPen
*) 0 ;
5467 PyObject
* obj0
= 0 ;
5468 PyObject
* obj1
= 0 ;
5469 char * kwnames
[] = {
5470 (char *) "self",(char *) "other", NULL
5473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5475 if (!SWIG_IsOK(res1
)) {
5476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5478 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5479 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5480 if (!SWIG_IsOK(res2
)) {
5481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5483 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5486 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5487 wxPyEndAllowThreads(__tstate
);
5488 if (PyErr_Occurred()) SWIG_fail
;
5491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5499 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5501 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5502 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5503 return SWIG_Py_Void();
5506 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5507 return SWIG_Python_InitShadowInstance(args
);
5510 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
= 0;
5512 wxColour
*arg1
= 0 ;
5513 int arg2
= (int) wxSOLID
;
5514 wxBrush
*result
= 0 ;
5518 PyObject
* obj0
= 0 ;
5519 PyObject
* obj1
= 0 ;
5520 char * kwnames
[] = {
5521 (char *) "colour",(char *) "style", NULL
5524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5527 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5531 if (!SWIG_IsOK(ecode2
)) {
5532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5534 arg2
= static_cast< int >(val2
);
5537 if (!wxPyCheckForApp()) SWIG_fail
;
5538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5539 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5540 wxPyEndAllowThreads(__tstate
);
5541 if (PyErr_Occurred()) SWIG_fail
;
5543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5550 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5551 PyObject
*resultobj
= 0;
5552 wxBitmap
*arg1
= 0 ;
5553 wxBrush
*result
= 0 ;
5556 PyObject
* obj0
= 0 ;
5557 char * kwnames
[] = {
5558 (char *) "stippleBitmap", NULL
5561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5562 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5563 if (!SWIG_IsOK(res1
)) {
5564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5569 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5571 if (!wxPyCheckForApp()) SWIG_fail
;
5572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5573 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5574 wxPyEndAllowThreads(__tstate
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5584 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5585 PyObject
*resultobj
= 0;
5586 wxBrush
*arg1
= (wxBrush
*) 0 ;
5589 PyObject
*swig_obj
[1] ;
5591 if (!args
) SWIG_fail
;
5593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5594 if (!SWIG_IsOK(res1
)) {
5595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5597 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5602 wxPyEndAllowThreads(__tstate
);
5603 if (PyErr_Occurred()) SWIG_fail
;
5605 resultobj
= SWIG_Py_Void();
5612 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5613 PyObject
*resultobj
= 0;
5614 wxBrush
*arg1
= (wxBrush
*) 0 ;
5615 wxColour
*arg2
= 0 ;
5619 PyObject
* obj0
= 0 ;
5620 PyObject
* obj1
= 0 ;
5621 char * kwnames
[] = {
5622 (char *) "self",(char *) "col", NULL
5625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5627 if (!SWIG_IsOK(res1
)) {
5628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5630 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5633 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5637 (arg1
)->SetColour((wxColour
const &)*arg2
);
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5641 resultobj
= SWIG_Py_Void();
5648 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5649 PyObject
*resultobj
= 0;
5650 wxBrush
*arg1
= (wxBrush
*) 0 ;
5656 PyObject
* obj0
= 0 ;
5657 PyObject
* obj1
= 0 ;
5658 char * kwnames
[] = {
5659 (char *) "self",(char *) "style", NULL
5662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5664 if (!SWIG_IsOK(res1
)) {
5665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5667 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5668 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5669 if (!SWIG_IsOK(ecode2
)) {
5670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5672 arg2
= static_cast< int >(val2
);
5674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5675 (arg1
)->SetStyle(arg2
);
5676 wxPyEndAllowThreads(__tstate
);
5677 if (PyErr_Occurred()) SWIG_fail
;
5679 resultobj
= SWIG_Py_Void();
5686 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
*resultobj
= 0;
5688 wxBrush
*arg1
= (wxBrush
*) 0 ;
5689 wxBitmap
*arg2
= 0 ;
5694 PyObject
* obj0
= 0 ;
5695 PyObject
* obj1
= 0 ;
5696 char * kwnames
[] = {
5697 (char *) "self",(char *) "stipple", NULL
5700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5702 if (!SWIG_IsOK(res1
)) {
5703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5705 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5706 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5707 if (!SWIG_IsOK(res2
)) {
5708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5711 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5713 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5716 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5717 wxPyEndAllowThreads(__tstate
);
5718 if (PyErr_Occurred()) SWIG_fail
;
5720 resultobj
= SWIG_Py_Void();
5727 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5728 PyObject
*resultobj
= 0;
5729 wxBrush
*arg1
= (wxBrush
*) 0 ;
5733 PyObject
*swig_obj
[1] ;
5735 if (!args
) SWIG_fail
;
5737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5738 if (!SWIG_IsOK(res1
)) {
5739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5741 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 result
= ((wxBrush
const *)arg1
)->GetColour();
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5748 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5755 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5756 PyObject
*resultobj
= 0;
5757 wxBrush
*arg1
= (wxBrush
*) 0 ;
5761 PyObject
*swig_obj
[1] ;
5763 if (!args
) SWIG_fail
;
5765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5766 if (!SWIG_IsOK(res1
)) {
5767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5769 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5772 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5773 wxPyEndAllowThreads(__tstate
);
5774 if (PyErr_Occurred()) SWIG_fail
;
5776 resultobj
= SWIG_From_int(static_cast< int >(result
));
5783 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5784 PyObject
*resultobj
= 0;
5785 wxBrush
*arg1
= (wxBrush
*) 0 ;
5786 wxBitmap
*result
= 0 ;
5789 PyObject
*swig_obj
[1] ;
5791 if (!args
) SWIG_fail
;
5793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5794 if (!SWIG_IsOK(res1
)) {
5795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5797 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5800 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5811 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5812 PyObject
*resultobj
= 0;
5813 wxBrush
*arg1
= (wxBrush
*) 0 ;
5817 PyObject
*swig_obj
[1] ;
5819 if (!args
) SWIG_fail
;
5821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5822 if (!SWIG_IsOK(res1
)) {
5823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5825 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5828 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5829 wxPyEndAllowThreads(__tstate
);
5830 if (PyErr_Occurred()) SWIG_fail
;
5833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5841 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5842 PyObject
*resultobj
= 0;
5843 wxBrush
*arg1
= (wxBrush
*) 0 ;
5847 PyObject
*swig_obj
[1] ;
5849 if (!args
) SWIG_fail
;
5851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5852 if (!SWIG_IsOK(res1
)) {
5853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
5855 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 result
= (bool)(arg1
)->IsOk();
5859 wxPyEndAllowThreads(__tstate
);
5860 if (PyErr_Occurred()) SWIG_fail
;
5863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5871 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5873 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5874 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5875 return SWIG_Py_Void();
5878 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5879 return SWIG_Python_InitShadowInstance(args
);
5882 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5883 PyObject
*resultobj
= 0;
5884 wxString
*arg1
= 0 ;
5885 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5886 wxBitmap
*result
= 0 ;
5887 bool temp1
= false ;
5890 PyObject
* obj0
= 0 ;
5891 PyObject
* obj1
= 0 ;
5892 char * kwnames
[] = {
5893 (char *) "name",(char *) "type", NULL
5896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5898 arg1
= wxString_in_helper(obj0
);
5899 if (arg1
== NULL
) SWIG_fail
;
5903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5904 if (!SWIG_IsOK(ecode2
)) {
5905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5907 arg2
= static_cast< wxBitmapType
>(val2
);
5910 if (!wxPyCheckForApp()) SWIG_fail
;
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5912 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5931 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5932 PyObject
*resultobj
= 0;
5933 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5936 PyObject
*swig_obj
[1] ;
5938 if (!args
) SWIG_fail
;
5940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5941 if (!SWIG_IsOK(res1
)) {
5942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5944 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5950 resultobj
= SWIG_Py_Void();
5957 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5958 PyObject
*resultobj
= 0;
5961 int arg3
= (int) -1 ;
5962 wxBitmap
*result
= 0 ;
5969 PyObject
* obj0
= 0 ;
5970 PyObject
* obj1
= 0 ;
5971 PyObject
* obj2
= 0 ;
5972 char * kwnames
[] = {
5973 (char *) "width",(char *) "height",(char *) "depth", NULL
5976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5977 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5978 if (!SWIG_IsOK(ecode1
)) {
5979 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5981 arg1
= static_cast< int >(val1
);
5982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5983 if (!SWIG_IsOK(ecode2
)) {
5984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5986 arg2
= static_cast< int >(val2
);
5988 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5989 if (!SWIG_IsOK(ecode3
)) {
5990 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5992 arg3
= static_cast< int >(val3
);
5995 if (!wxPyCheckForApp()) SWIG_fail
;
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6008 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
*resultobj
= 0;
6011 wxBitmap
*result
= 0 ;
6014 PyObject
* obj0
= 0 ;
6015 char * kwnames
[] = {
6016 (char *) "icon", NULL
6019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6020 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6021 if (!SWIG_IsOK(res1
)) {
6022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6025 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6027 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6029 if (!wxPyCheckForApp()) SWIG_fail
;
6030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6031 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6032 wxPyEndAllowThreads(__tstate
);
6033 if (PyErr_Occurred()) SWIG_fail
;
6035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6042 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6043 PyObject
*resultobj
= 0;
6045 int arg2
= (int) -1 ;
6046 wxBitmap
*result
= 0 ;
6051 PyObject
* obj0
= 0 ;
6052 PyObject
* obj1
= 0 ;
6053 char * kwnames
[] = {
6054 (char *) "image",(char *) "depth", NULL
6057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6058 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6059 if (!SWIG_IsOK(res1
)) {
6060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6063 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6065 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6068 if (!SWIG_IsOK(ecode2
)) {
6069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6071 arg2
= static_cast< int >(val2
);
6074 if (!wxPyCheckForApp()) SWIG_fail
;
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
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_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6088 PyObject
*resultobj
= 0;
6089 PyObject
*arg1
= (PyObject
*) 0 ;
6090 wxBitmap
*result
= 0 ;
6091 PyObject
* obj0
= 0 ;
6092 char * kwnames
[] = {
6093 (char *) "listOfStrings", NULL
6096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6099 if (!wxPyCheckForApp()) SWIG_fail
;
6100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6101 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6102 wxPyEndAllowThreads(__tstate
);
6103 if (PyErr_Occurred()) SWIG_fail
;
6105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6112 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
*resultobj
= 0;
6114 PyObject
*arg1
= (PyObject
*) 0 ;
6117 int arg4
= (int) 1 ;
6118 wxBitmap
*result
= 0 ;
6125 PyObject
* obj0
= 0 ;
6126 PyObject
* obj1
= 0 ;
6127 PyObject
* obj2
= 0 ;
6128 PyObject
* obj3
= 0 ;
6129 char * kwnames
[] = {
6130 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6136 if (!SWIG_IsOK(ecode2
)) {
6137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6139 arg2
= static_cast< int >(val2
);
6140 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6141 if (!SWIG_IsOK(ecode3
)) {
6142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6144 arg3
= static_cast< int >(val3
);
6146 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6147 if (!SWIG_IsOK(ecode4
)) {
6148 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6150 arg4
= static_cast< int >(val4
);
6153 if (!wxPyCheckForApp()) SWIG_fail
;
6154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6155 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6156 wxPyEndAllowThreads(__tstate
);
6157 if (PyErr_Occurred()) SWIG_fail
;
6159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6166 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6167 PyObject
*resultobj
= 0;
6168 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6172 PyObject
*swig_obj
[1] ;
6174 if (!args
) SWIG_fail
;
6176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6177 if (!SWIG_IsOK(res1
)) {
6178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6180 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6182 result
= (long)(arg1
)->GetHandle();
6183 if (PyErr_Occurred()) SWIG_fail
;
6185 resultobj
= SWIG_From_long(static_cast< long >(result
));
6192 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6193 PyObject
*resultobj
= 0;
6194 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6200 PyObject
* obj0
= 0 ;
6201 PyObject
* obj1
= 0 ;
6202 char * kwnames
[] = {
6203 (char *) "self",(char *) "handle", NULL
6206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6208 if (!SWIG_IsOK(res1
)) {
6209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6211 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6212 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6213 if (!SWIG_IsOK(ecode2
)) {
6214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
6216 arg2
= static_cast< long >(val2
);
6218 wxBitmap_SetHandle(arg1
,arg2
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6221 resultobj
= SWIG_Py_Void();
6228 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6229 PyObject
*resultobj
= 0;
6230 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6234 PyObject
*swig_obj
[1] ;
6236 if (!args
) SWIG_fail
;
6238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6239 if (!SWIG_IsOK(res1
)) {
6240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6242 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6244 result
= (bool)(arg1
)->IsOk();
6245 if (PyErr_Occurred()) SWIG_fail
;
6248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6256 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6257 PyObject
*resultobj
= 0;
6258 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6262 PyObject
*swig_obj
[1] ;
6264 if (!args
) SWIG_fail
;
6266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6267 if (!SWIG_IsOK(res1
)) {
6268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6270 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6272 result
= (int)(arg1
)->GetWidth();
6273 if (PyErr_Occurred()) SWIG_fail
;
6275 resultobj
= SWIG_From_int(static_cast< int >(result
));
6282 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6283 PyObject
*resultobj
= 0;
6284 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6288 PyObject
*swig_obj
[1] ;
6290 if (!args
) SWIG_fail
;
6292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6293 if (!SWIG_IsOK(res1
)) {
6294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6296 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6298 result
= (int)(arg1
)->GetHeight();
6299 if (PyErr_Occurred()) SWIG_fail
;
6301 resultobj
= SWIG_From_int(static_cast< int >(result
));
6308 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6309 PyObject
*resultobj
= 0;
6310 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6314 PyObject
*swig_obj
[1] ;
6316 if (!args
) SWIG_fail
;
6318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6319 if (!SWIG_IsOK(res1
)) {
6320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6322 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6324 result
= (int)(arg1
)->GetDepth();
6325 if (PyErr_Occurred()) SWIG_fail
;
6327 resultobj
= SWIG_From_int(static_cast< int >(result
));
6334 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6335 PyObject
*resultobj
= 0;
6336 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6340 PyObject
*swig_obj
[1] ;
6342 if (!args
) SWIG_fail
;
6344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6345 if (!SWIG_IsOK(res1
)) {
6346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6348 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6350 result
= wxBitmap_GetSize(arg1
);
6351 if (PyErr_Occurred()) SWIG_fail
;
6353 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6360 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6361 PyObject
*resultobj
= 0;
6362 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6363 SwigValueWrapper
<wxImage
> result
;
6366 PyObject
*swig_obj
[1] ;
6368 if (!args
) SWIG_fail
;
6370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6371 if (!SWIG_IsOK(res1
)) {
6372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6374 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6376 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6377 if (PyErr_Occurred()) SWIG_fail
;
6379 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6386 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6387 PyObject
*resultobj
= 0;
6388 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6389 wxMask
*result
= 0 ;
6392 PyObject
*swig_obj
[1] ;
6394 if (!args
) SWIG_fail
;
6396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6397 if (!SWIG_IsOK(res1
)) {
6398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6400 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6402 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6403 if (PyErr_Occurred()) SWIG_fail
;
6405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6412 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6413 PyObject
*resultobj
= 0;
6414 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6415 wxMask
*arg2
= (wxMask
*) 0 ;
6419 PyObject
* obj0
= 0 ;
6420 PyObject
* obj1
= 0 ;
6421 char * kwnames
[] = {
6422 (char *) "self",(char *) "mask", NULL
6425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6427 if (!SWIG_IsOK(res1
)) {
6428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6430 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6431 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6432 if (!SWIG_IsOK(res2
)) {
6433 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6436 (arg1
)->SetMask(arg2
);
6437 if (PyErr_Occurred()) SWIG_fail
;
6439 resultobj
= SWIG_Py_Void();
6446 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6447 PyObject
*resultobj
= 0;
6448 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6449 wxColour
*arg2
= 0 ;
6453 PyObject
* obj0
= 0 ;
6454 PyObject
* obj1
= 0 ;
6455 char * kwnames
[] = {
6456 (char *) "self",(char *) "colour", NULL
6459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6461 if (!SWIG_IsOK(res1
)) {
6462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6464 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6467 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6470 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6473 resultobj
= SWIG_Py_Void();
6480 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6481 PyObject
*resultobj
= 0;
6482 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6484 SwigValueWrapper
<wxBitmap
> result
;
6488 PyObject
* obj0
= 0 ;
6489 PyObject
* obj1
= 0 ;
6490 char * kwnames
[] = {
6491 (char *) "self",(char *) "rect", NULL
6494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6496 if (!SWIG_IsOK(res1
)) {
6497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6499 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6502 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6505 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6508 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6515 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6516 PyObject
*resultobj
= 0;
6517 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6518 wxString
*arg2
= 0 ;
6520 wxPalette
*arg4
= (wxPalette
*) NULL
;
6524 bool temp2
= false ;
6529 PyObject
* obj0
= 0 ;
6530 PyObject
* obj1
= 0 ;
6531 PyObject
* obj2
= 0 ;
6532 PyObject
* obj3
= 0 ;
6533 char * kwnames
[] = {
6534 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6539 if (!SWIG_IsOK(res1
)) {
6540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6542 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6544 arg2
= wxString_in_helper(obj1
);
6545 if (arg2
== NULL
) SWIG_fail
;
6548 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6549 if (!SWIG_IsOK(ecode3
)) {
6550 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6552 arg3
= static_cast< wxBitmapType
>(val3
);
6554 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6555 if (!SWIG_IsOK(res4
)) {
6556 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6558 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6561 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6562 if (PyErr_Occurred()) SWIG_fail
;
6565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6581 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6582 PyObject
*resultobj
= 0;
6583 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6584 wxString
*arg2
= 0 ;
6589 bool temp2
= false ;
6592 PyObject
* obj0
= 0 ;
6593 PyObject
* obj1
= 0 ;
6594 PyObject
* obj2
= 0 ;
6595 char * kwnames
[] = {
6596 (char *) "self",(char *) "name",(char *) "type", NULL
6599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6601 if (!SWIG_IsOK(res1
)) {
6602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6604 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6606 arg2
= wxString_in_helper(obj1
);
6607 if (arg2
== NULL
) SWIG_fail
;
6610 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6611 if (!SWIG_IsOK(ecode3
)) {
6612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6614 arg3
= static_cast< wxBitmapType
>(val3
);
6616 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6617 if (PyErr_Occurred()) SWIG_fail
;
6620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6636 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6637 PyObject
*resultobj
= 0;
6638 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6639 wxPalette
*result
= 0 ;
6642 PyObject
*swig_obj
[1] ;
6644 if (!args
) SWIG_fail
;
6646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6647 if (!SWIG_IsOK(res1
)) {
6648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6650 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6652 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6653 if (PyErr_Occurred()) SWIG_fail
;
6655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6662 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
*resultobj
= 0;
6664 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6665 wxPalette
*arg2
= 0 ;
6670 PyObject
* obj0
= 0 ;
6671 PyObject
* obj1
= 0 ;
6672 char * kwnames
[] = {
6673 (char *) "self",(char *) "palette", NULL
6676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6678 if (!SWIG_IsOK(res1
)) {
6679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6681 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6682 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6683 if (!SWIG_IsOK(res2
)) {
6684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6689 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6691 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6694 resultobj
= SWIG_Py_Void();
6701 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
*resultobj
= 0;
6703 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6710 PyObject
* obj0
= 0 ;
6711 PyObject
* obj1
= 0 ;
6712 char * kwnames
[] = {
6713 (char *) "self",(char *) "icon", NULL
6716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6718 if (!SWIG_IsOK(res1
)) {
6719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6721 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6722 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6723 if (!SWIG_IsOK(res2
)) {
6724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6727 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6729 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6731 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6743 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
*resultobj
= 0;
6745 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6751 PyObject
* obj0
= 0 ;
6752 PyObject
* obj1
= 0 ;
6753 char * kwnames
[] = {
6754 (char *) "self",(char *) "height", NULL
6757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6759 if (!SWIG_IsOK(res1
)) {
6760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6762 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6764 if (!SWIG_IsOK(ecode2
)) {
6765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6767 arg2
= static_cast< int >(val2
);
6769 (arg1
)->SetHeight(arg2
);
6770 if (PyErr_Occurred()) SWIG_fail
;
6772 resultobj
= SWIG_Py_Void();
6779 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
= 0;
6781 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6787 PyObject
* obj0
= 0 ;
6788 PyObject
* obj1
= 0 ;
6789 char * kwnames
[] = {
6790 (char *) "self",(char *) "width", NULL
6793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6795 if (!SWIG_IsOK(res1
)) {
6796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6798 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6800 if (!SWIG_IsOK(ecode2
)) {
6801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6803 arg2
= static_cast< int >(val2
);
6805 (arg1
)->SetWidth(arg2
);
6806 if (PyErr_Occurred()) SWIG_fail
;
6808 resultobj
= SWIG_Py_Void();
6815 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6816 PyObject
*resultobj
= 0;
6817 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6823 PyObject
* obj0
= 0 ;
6824 PyObject
* obj1
= 0 ;
6825 char * kwnames
[] = {
6826 (char *) "self",(char *) "depth", NULL
6829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6831 if (!SWIG_IsOK(res1
)) {
6832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6834 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6836 if (!SWIG_IsOK(ecode2
)) {
6837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6839 arg2
= static_cast< int >(val2
);
6841 (arg1
)->SetDepth(arg2
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6844 resultobj
= SWIG_Py_Void();
6851 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6852 PyObject
*resultobj
= 0;
6853 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6858 PyObject
* obj0
= 0 ;
6859 PyObject
* obj1
= 0 ;
6860 char * kwnames
[] = {
6861 (char *) "self",(char *) "size", NULL
6864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6866 if (!SWIG_IsOK(res1
)) {
6867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6869 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6872 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6875 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6878 resultobj
= SWIG_Py_Void();
6885 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
*resultobj
= 0;
6887 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6888 wxCursor
*arg2
= 0 ;
6894 PyObject
* obj0
= 0 ;
6895 PyObject
* obj1
= 0 ;
6896 char * kwnames
[] = {
6897 (char *) "self",(char *) "cursor", NULL
6900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6902 if (!SWIG_IsOK(res1
)) {
6903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
6905 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6906 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
6907 if (!SWIG_IsOK(res2
)) {
6908 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6913 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
6915 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
6916 if (PyErr_Occurred()) SWIG_fail
;
6919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6927 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
*resultobj
= 0;
6929 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6930 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6936 PyObject
* obj0
= 0 ;
6937 PyObject
* obj1
= 0 ;
6938 char * kwnames
[] = {
6939 (char *) "self",(char *) "other", NULL
6942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6944 if (!SWIG_IsOK(res1
)) {
6945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6947 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6948 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6949 if (!SWIG_IsOK(res2
)) {
6950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6952 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6954 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6966 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
*resultobj
= 0;
6968 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6969 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6975 PyObject
* obj0
= 0 ;
6976 PyObject
* obj1
= 0 ;
6977 char * kwnames
[] = {
6978 (char *) "self",(char *) "other", NULL
6981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6983 if (!SWIG_IsOK(res1
)) {
6984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6986 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6987 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6988 if (!SWIG_IsOK(res2
)) {
6989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6991 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6993 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7005 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7007 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7008 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7009 return SWIG_Py_Void();
7012 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7013 return SWIG_Python_InitShadowInstance(args
);
7016 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
= 0;
7024 wxBitmap
*result
= 0 ;
7031 PyObject
* obj0
= 0 ;
7032 PyObject
* obj1
= 0 ;
7033 PyObject
* obj2
= 0 ;
7034 PyObject
* obj3
= 0 ;
7035 char * kwnames
[] = {
7036 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7040 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7041 if (!SWIG_IsOK(ecode1
)) {
7042 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7044 arg1
= static_cast< int >(val1
);
7045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7046 if (!SWIG_IsOK(ecode2
)) {
7047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7049 arg2
= static_cast< int >(val2
);
7051 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7055 if (obj3
!= Py_None
) {
7056 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7061 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7071 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7072 PyObject
*resultobj
= 0;
7077 wxBitmap
*result
= 0 ;
7083 PyObject
* obj0
= 0 ;
7084 PyObject
* obj1
= 0 ;
7085 PyObject
* obj2
= 0 ;
7086 char * kwnames
[] = {
7087 (char *) "width",(char *) "height",(char *) "data", NULL
7090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7091 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7092 if (!SWIG_IsOK(ecode1
)) {
7093 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7095 arg1
= static_cast< int >(val1
);
7096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7097 if (!SWIG_IsOK(ecode2
)) {
7098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7100 arg2
= static_cast< int >(val2
);
7102 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7106 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7116 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7117 PyObject
*resultobj
= 0;
7122 wxBitmap
*result
= 0 ;
7128 PyObject
* obj0
= 0 ;
7129 PyObject
* obj1
= 0 ;
7130 PyObject
* obj2
= 0 ;
7131 char * kwnames
[] = {
7132 (char *) "width",(char *) "height",(char *) "data", NULL
7135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7136 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7137 if (!SWIG_IsOK(ecode1
)) {
7138 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7140 arg1
= static_cast< int >(val1
);
7141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7142 if (!SWIG_IsOK(ecode2
)) {
7143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7145 arg2
= static_cast< int >(val2
);
7147 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7151 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7152 if (PyErr_Occurred()) SWIG_fail
;
7154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7161 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7162 PyObject
*resultobj
= 0;
7163 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7167 PyObject
*swig_obj
[1] ;
7169 if (!args
) SWIG_fail
;
7171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7172 if (!SWIG_IsOK(res1
)) {
7173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7175 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7177 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7178 if (PyErr_Occurred()) SWIG_fail
;
7180 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7187 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7188 PyObject
*resultobj
= 0;
7189 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7193 PyObject
*swig_obj
[1] ;
7195 if (!args
) SWIG_fail
;
7197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7198 if (!SWIG_IsOK(res1
)) {
7199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7201 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7203 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7204 if (PyErr_Occurred()) SWIG_fail
;
7206 resultobj
= SWIG_From_int(static_cast< int >(result
));
7213 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7214 PyObject
*resultobj
= 0;
7215 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7219 PyObject
*swig_obj
[1] ;
7221 if (!args
) SWIG_fail
;
7223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7224 if (!SWIG_IsOK(res1
)) {
7225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7227 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7229 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7230 if (PyErr_Occurred()) SWIG_fail
;
7232 resultobj
= SWIG_From_int(static_cast< int >(result
));
7239 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7240 PyObject
*resultobj
= 0;
7241 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7245 PyObject
*swig_obj
[1] ;
7247 if (!args
) SWIG_fail
;
7249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7250 if (!SWIG_IsOK(res1
)) {
7251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7253 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7255 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7256 if (PyErr_Occurred()) SWIG_fail
;
7258 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7265 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7266 PyObject
*resultobj
= 0;
7267 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7271 PyObject
*swig_obj
[1] ;
7273 if (!args
) SWIG_fail
;
7275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7276 if (!SWIG_IsOK(res1
)) {
7277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7279 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7281 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 resultobj
= SWIG_From_int(static_cast< int >(result
));
7291 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7293 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7294 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7295 return SWIG_Py_Void();
7298 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7299 PyObject
*resultobj
= 0;
7300 wxBitmap
*arg1
= 0 ;
7301 wxNativePixelData
*result
= 0 ;
7305 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7307 if (!SWIG_IsOK(res1
)) {
7308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7311 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7313 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7315 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7316 if (PyErr_Occurred()) SWIG_fail
;
7318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7325 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7326 PyObject
*resultobj
= 0;
7327 wxBitmap
*arg1
= 0 ;
7329 wxNativePixelData
*result
= 0 ;
7334 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7336 if (!SWIG_IsOK(res1
)) {
7337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7340 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7342 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7345 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7348 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7349 if (PyErr_Occurred()) SWIG_fail
;
7351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7358 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7359 PyObject
*resultobj
= 0;
7360 wxBitmap
*arg1
= 0 ;
7363 wxNativePixelData
*result
= 0 ;
7369 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7371 if (!SWIG_IsOK(res1
)) {
7372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7377 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7380 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7384 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7387 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7388 if (PyErr_Occurred()) SWIG_fail
;
7390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7397 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7401 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7404 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7407 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7410 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7414 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7419 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7420 PyObject
*resultobj
= 0;
7421 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7424 PyObject
*swig_obj
[1] ;
7426 if (!args
) SWIG_fail
;
7428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7429 if (!SWIG_IsOK(res1
)) {
7430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7432 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7436 if (PyErr_Occurred()) SWIG_fail
;
7438 resultobj
= SWIG_Py_Void();
7445 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7446 PyObject
*resultobj
= 0;
7447 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7448 wxNativePixelData_Accessor result
;
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_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7459 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7461 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7462 if (PyErr_Occurred()) SWIG_fail
;
7464 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7471 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7472 PyObject
*resultobj
= 0;
7473 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7476 PyObject
*swig_obj
[1] ;
7478 if (!args
) SWIG_fail
;
7480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7481 if (!SWIG_IsOK(res1
)) {
7482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7484 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7489 resultobj
= SWIG_Py_Void();
7496 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7497 PyObject
*resultobj
= 0;
7498 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7502 PyObject
*swig_obj
[1] ;
7504 if (!args
) SWIG_fail
;
7506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7507 if (!SWIG_IsOK(res1
)) {
7508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7510 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7512 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7513 if (PyErr_Occurred()) SWIG_fail
;
7516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7524 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7526 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7527 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7528 return SWIG_Py_Void();
7531 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7532 return SWIG_Python_InitShadowInstance(args
);
7535 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7536 PyObject
*resultobj
= 0;
7537 wxNativePixelData
*arg1
= 0 ;
7538 wxNativePixelData_Accessor
*result
= 0 ;
7542 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7544 if (!SWIG_IsOK(res1
)) {
7545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7550 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7552 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7553 if (PyErr_Occurred()) SWIG_fail
;
7555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7562 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7563 PyObject
*resultobj
= 0;
7564 wxBitmap
*arg1
= 0 ;
7565 wxNativePixelData
*arg2
= 0 ;
7566 wxNativePixelData_Accessor
*result
= 0 ;
7572 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7574 if (!SWIG_IsOK(res1
)) {
7575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7578 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7580 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7581 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7582 if (!SWIG_IsOK(res2
)) {
7583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7588 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7590 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7591 if (PyErr_Occurred()) SWIG_fail
;
7593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7600 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7601 PyObject
*resultobj
= 0;
7602 wxNativePixelData_Accessor
*result
= 0 ;
7604 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7606 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7607 if (PyErr_Occurred()) SWIG_fail
;
7609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7616 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7620 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7623 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7626 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7629 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7633 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7638 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7639 PyObject
*resultobj
= 0;
7640 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7643 PyObject
*swig_obj
[1] ;
7645 if (!args
) SWIG_fail
;
7647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7648 if (!SWIG_IsOK(res1
)) {
7649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7651 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7657 resultobj
= SWIG_Py_Void();
7664 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
*resultobj
= 0;
7666 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7667 wxNativePixelData
*arg2
= 0 ;
7672 PyObject
* obj0
= 0 ;
7673 PyObject
* obj1
= 0 ;
7674 char * kwnames
[] = {
7675 (char *) "self",(char *) "data", NULL
7678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7680 if (!SWIG_IsOK(res1
)) {
7681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7683 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7684 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7685 if (!SWIG_IsOK(res2
)) {
7686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7691 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7693 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7694 if (PyErr_Occurred()) SWIG_fail
;
7696 resultobj
= SWIG_Py_Void();
7703 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7704 PyObject
*resultobj
= 0;
7705 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7709 PyObject
*swig_obj
[1] ;
7711 if (!args
) SWIG_fail
;
7713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7714 if (!SWIG_IsOK(res1
)) {
7715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7717 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7719 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7720 if (PyErr_Occurred()) SWIG_fail
;
7723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7731 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7732 PyObject
*resultobj
= 0;
7733 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7736 PyObject
*swig_obj
[1] ;
7738 if (!args
) SWIG_fail
;
7740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7741 if (!SWIG_IsOK(res1
)) {
7742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7744 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7746 wxNativePixelData_Accessor_nextPixel(arg1
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7749 resultobj
= SWIG_Py_Void();
7756 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
*resultobj
= 0;
7758 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7759 wxNativePixelData
*arg2
= 0 ;
7770 PyObject
* obj0
= 0 ;
7771 PyObject
* obj1
= 0 ;
7772 PyObject
* obj2
= 0 ;
7773 PyObject
* obj3
= 0 ;
7774 char * kwnames
[] = {
7775 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7780 if (!SWIG_IsOK(res1
)) {
7781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7783 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7784 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7785 if (!SWIG_IsOK(res2
)) {
7786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7791 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7792 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7793 if (!SWIG_IsOK(ecode3
)) {
7794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7796 arg3
= static_cast< int >(val3
);
7797 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7798 if (!SWIG_IsOK(ecode4
)) {
7799 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7801 arg4
= static_cast< int >(val4
);
7803 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7804 if (PyErr_Occurred()) SWIG_fail
;
7806 resultobj
= SWIG_Py_Void();
7813 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
*resultobj
= 0;
7815 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7816 wxNativePixelData
*arg2
= 0 ;
7824 PyObject
* obj0
= 0 ;
7825 PyObject
* obj1
= 0 ;
7826 PyObject
* obj2
= 0 ;
7827 char * kwnames
[] = {
7828 (char *) "self",(char *) "data",(char *) "x", NULL
7831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7833 if (!SWIG_IsOK(res1
)) {
7834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7836 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7837 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7838 if (!SWIG_IsOK(res2
)) {
7839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7842 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7844 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7845 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7846 if (!SWIG_IsOK(ecode3
)) {
7847 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7849 arg3
= static_cast< int >(val3
);
7851 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7852 if (PyErr_Occurred()) SWIG_fail
;
7854 resultobj
= SWIG_Py_Void();
7861 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7862 PyObject
*resultobj
= 0;
7863 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7864 wxNativePixelData
*arg2
= 0 ;
7872 PyObject
* obj0
= 0 ;
7873 PyObject
* obj1
= 0 ;
7874 PyObject
* obj2
= 0 ;
7875 char * kwnames
[] = {
7876 (char *) "self",(char *) "data",(char *) "y", NULL
7879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7881 if (!SWIG_IsOK(res1
)) {
7882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7884 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7885 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7886 if (!SWIG_IsOK(res2
)) {
7887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7892 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7893 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7894 if (!SWIG_IsOK(ecode3
)) {
7895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7897 arg3
= static_cast< int >(val3
);
7899 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7900 if (PyErr_Occurred()) SWIG_fail
;
7902 resultobj
= SWIG_Py_Void();
7909 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7910 PyObject
*resultobj
= 0;
7911 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7912 wxNativePixelData
*arg2
= 0 ;
7923 PyObject
* obj0
= 0 ;
7924 PyObject
* obj1
= 0 ;
7925 PyObject
* obj2
= 0 ;
7926 PyObject
* obj3
= 0 ;
7927 char * kwnames
[] = {
7928 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7933 if (!SWIG_IsOK(res1
)) {
7934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7936 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7937 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7938 if (!SWIG_IsOK(res2
)) {
7939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7944 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7946 if (!SWIG_IsOK(ecode3
)) {
7947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7949 arg3
= static_cast< int >(val3
);
7950 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7951 if (!SWIG_IsOK(ecode4
)) {
7952 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7954 arg4
= static_cast< int >(val4
);
7956 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7959 resultobj
= SWIG_Py_Void();
7966 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
*resultobj
= 0;
7968 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7974 unsigned char val2
;
7976 unsigned char val3
;
7978 unsigned char val4
;
7980 PyObject
* obj0
= 0 ;
7981 PyObject
* obj1
= 0 ;
7982 PyObject
* obj2
= 0 ;
7983 PyObject
* obj3
= 0 ;
7984 char * kwnames
[] = {
7985 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7990 if (!SWIG_IsOK(res1
)) {
7991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7993 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7994 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7995 if (!SWIG_IsOK(ecode2
)) {
7996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7998 arg2
= static_cast< byte
>(val2
);
7999 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8000 if (!SWIG_IsOK(ecode3
)) {
8001 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8003 arg3
= static_cast< byte
>(val3
);
8004 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8005 if (!SWIG_IsOK(ecode4
)) {
8006 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8008 arg4
= static_cast< byte
>(val4
);
8010 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8011 if (PyErr_Occurred()) SWIG_fail
;
8013 resultobj
= SWIG_Py_Void();
8020 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8021 PyObject
*resultobj
= 0;
8022 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8023 PyObject
*result
= 0 ;
8026 PyObject
*swig_obj
[1] ;
8028 if (!args
) SWIG_fail
;
8030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8031 if (!SWIG_IsOK(res1
)) {
8032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8034 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8036 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8037 if (PyErr_Occurred()) SWIG_fail
;
8046 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8048 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8049 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8050 return SWIG_Py_Void();
8053 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8054 return SWIG_Python_InitShadowInstance(args
);
8057 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8058 PyObject
*resultobj
= 0;
8059 wxBitmap
*arg1
= 0 ;
8060 wxAlphaPixelData
*result
= 0 ;
8064 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8066 if (!SWIG_IsOK(res1
)) {
8067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8072 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8074 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8075 if (PyErr_Occurred()) SWIG_fail
;
8077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8084 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8085 PyObject
*resultobj
= 0;
8086 wxBitmap
*arg1
= 0 ;
8088 wxAlphaPixelData
*result
= 0 ;
8093 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8095 if (!SWIG_IsOK(res1
)) {
8096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8099 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8101 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8104 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8107 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8108 if (PyErr_Occurred()) SWIG_fail
;
8110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8117 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8118 PyObject
*resultobj
= 0;
8119 wxBitmap
*arg1
= 0 ;
8122 wxAlphaPixelData
*result
= 0 ;
8128 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8130 if (!SWIG_IsOK(res1
)) {
8131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8136 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8139 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8143 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8146 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8156 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8160 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8163 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8166 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8169 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8173 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8178 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8179 PyObject
*resultobj
= 0;
8180 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8183 PyObject
*swig_obj
[1] ;
8185 if (!args
) SWIG_fail
;
8187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8188 if (!SWIG_IsOK(res1
)) {
8189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8191 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8197 resultobj
= SWIG_Py_Void();
8204 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8205 PyObject
*resultobj
= 0;
8206 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8207 wxAlphaPixelData_Accessor result
;
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_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8218 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8220 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8221 if (PyErr_Occurred()) SWIG_fail
;
8223 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8230 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8231 PyObject
*resultobj
= 0;
8232 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8235 PyObject
*swig_obj
[1] ;
8237 if (!args
) SWIG_fail
;
8239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8240 if (!SWIG_IsOK(res1
)) {
8241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8243 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8248 resultobj
= SWIG_Py_Void();
8255 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8256 PyObject
*resultobj
= 0;
8257 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8261 PyObject
*swig_obj
[1] ;
8263 if (!args
) SWIG_fail
;
8265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8266 if (!SWIG_IsOK(res1
)) {
8267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8269 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8271 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8283 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8285 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8286 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8287 return SWIG_Py_Void();
8290 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8291 return SWIG_Python_InitShadowInstance(args
);
8294 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8295 PyObject
*resultobj
= 0;
8296 wxAlphaPixelData
*arg1
= 0 ;
8297 wxAlphaPixelData_Accessor
*result
= 0 ;
8301 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8303 if (!SWIG_IsOK(res1
)) {
8304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8309 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8311 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8312 if (PyErr_Occurred()) SWIG_fail
;
8314 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8321 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8322 PyObject
*resultobj
= 0;
8323 wxBitmap
*arg1
= 0 ;
8324 wxAlphaPixelData
*arg2
= 0 ;
8325 wxAlphaPixelData_Accessor
*result
= 0 ;
8331 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8333 if (!SWIG_IsOK(res1
)) {
8334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8339 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8340 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8341 if (!SWIG_IsOK(res2
)) {
8342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8347 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8349 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8350 if (PyErr_Occurred()) SWIG_fail
;
8352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8359 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8360 PyObject
*resultobj
= 0;
8361 wxAlphaPixelData_Accessor
*result
= 0 ;
8363 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8365 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8366 if (PyErr_Occurred()) SWIG_fail
;
8368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8375 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8379 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8382 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8385 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8388 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8392 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8397 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8398 PyObject
*resultobj
= 0;
8399 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8402 PyObject
*swig_obj
[1] ;
8404 if (!args
) SWIG_fail
;
8406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8407 if (!SWIG_IsOK(res1
)) {
8408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8410 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8416 resultobj
= SWIG_Py_Void();
8423 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8424 PyObject
*resultobj
= 0;
8425 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8426 wxAlphaPixelData
*arg2
= 0 ;
8431 PyObject
* obj0
= 0 ;
8432 PyObject
* obj1
= 0 ;
8433 char * kwnames
[] = {
8434 (char *) "self",(char *) "data", NULL
8437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8439 if (!SWIG_IsOK(res1
)) {
8440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8442 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8443 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8444 if (!SWIG_IsOK(res2
)) {
8445 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8448 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8450 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8452 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8455 resultobj
= SWIG_Py_Void();
8462 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8463 PyObject
*resultobj
= 0;
8464 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8468 PyObject
*swig_obj
[1] ;
8470 if (!args
) SWIG_fail
;
8472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8473 if (!SWIG_IsOK(res1
)) {
8474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8476 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8478 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8479 if (PyErr_Occurred()) SWIG_fail
;
8482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8490 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8491 PyObject
*resultobj
= 0;
8492 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8495 PyObject
*swig_obj
[1] ;
8497 if (!args
) SWIG_fail
;
8499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8500 if (!SWIG_IsOK(res1
)) {
8501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8503 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8505 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8508 resultobj
= SWIG_Py_Void();
8515 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8516 PyObject
*resultobj
= 0;
8517 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8518 wxAlphaPixelData
*arg2
= 0 ;
8529 PyObject
* obj0
= 0 ;
8530 PyObject
* obj1
= 0 ;
8531 PyObject
* obj2
= 0 ;
8532 PyObject
* obj3
= 0 ;
8533 char * kwnames
[] = {
8534 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8539 if (!SWIG_IsOK(res1
)) {
8540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8542 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8543 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8544 if (!SWIG_IsOK(res2
)) {
8545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8550 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8551 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8552 if (!SWIG_IsOK(ecode3
)) {
8553 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8555 arg3
= static_cast< int >(val3
);
8556 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8557 if (!SWIG_IsOK(ecode4
)) {
8558 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8560 arg4
= static_cast< int >(val4
);
8562 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8565 resultobj
= SWIG_Py_Void();
8572 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8573 PyObject
*resultobj
= 0;
8574 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8575 wxAlphaPixelData
*arg2
= 0 ;
8583 PyObject
* obj0
= 0 ;
8584 PyObject
* obj1
= 0 ;
8585 PyObject
* obj2
= 0 ;
8586 char * kwnames
[] = {
8587 (char *) "self",(char *) "data",(char *) "x", NULL
8590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8592 if (!SWIG_IsOK(res1
)) {
8593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8595 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8596 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8597 if (!SWIG_IsOK(res2
)) {
8598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8603 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8604 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8605 if (!SWIG_IsOK(ecode3
)) {
8606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8608 arg3
= static_cast< int >(val3
);
8610 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8611 if (PyErr_Occurred()) SWIG_fail
;
8613 resultobj
= SWIG_Py_Void();
8620 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8621 PyObject
*resultobj
= 0;
8622 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8623 wxAlphaPixelData
*arg2
= 0 ;
8631 PyObject
* obj0
= 0 ;
8632 PyObject
* obj1
= 0 ;
8633 PyObject
* obj2
= 0 ;
8634 char * kwnames
[] = {
8635 (char *) "self",(char *) "data",(char *) "y", NULL
8638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8640 if (!SWIG_IsOK(res1
)) {
8641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8643 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8644 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8645 if (!SWIG_IsOK(res2
)) {
8646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8651 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8652 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8653 if (!SWIG_IsOK(ecode3
)) {
8654 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8656 arg3
= static_cast< int >(val3
);
8658 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8661 resultobj
= SWIG_Py_Void();
8668 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8669 PyObject
*resultobj
= 0;
8670 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8671 wxAlphaPixelData
*arg2
= 0 ;
8682 PyObject
* obj0
= 0 ;
8683 PyObject
* obj1
= 0 ;
8684 PyObject
* obj2
= 0 ;
8685 PyObject
* obj3
= 0 ;
8686 char * kwnames
[] = {
8687 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8692 if (!SWIG_IsOK(res1
)) {
8693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8695 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8696 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8697 if (!SWIG_IsOK(res2
)) {
8698 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8701 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8703 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8704 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8705 if (!SWIG_IsOK(ecode3
)) {
8706 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8708 arg3
= static_cast< int >(val3
);
8709 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8710 if (!SWIG_IsOK(ecode4
)) {
8711 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8713 arg4
= static_cast< int >(val4
);
8715 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8718 resultobj
= SWIG_Py_Void();
8725 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
= 0;
8727 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8734 unsigned char val2
;
8736 unsigned char val3
;
8738 unsigned char val4
;
8740 unsigned char val5
;
8742 PyObject
* obj0
= 0 ;
8743 PyObject
* obj1
= 0 ;
8744 PyObject
* obj2
= 0 ;
8745 PyObject
* obj3
= 0 ;
8746 PyObject
* obj4
= 0 ;
8747 char * kwnames
[] = {
8748 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8753 if (!SWIG_IsOK(res1
)) {
8754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8756 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8757 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8758 if (!SWIG_IsOK(ecode2
)) {
8759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8761 arg2
= static_cast< byte
>(val2
);
8762 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8763 if (!SWIG_IsOK(ecode3
)) {
8764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8766 arg3
= static_cast< byte
>(val3
);
8767 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8768 if (!SWIG_IsOK(ecode4
)) {
8769 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8771 arg4
= static_cast< byte
>(val4
);
8772 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8773 if (!SWIG_IsOK(ecode5
)) {
8774 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8776 arg5
= static_cast< byte
>(val5
);
8778 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8779 if (PyErr_Occurred()) SWIG_fail
;
8781 resultobj
= SWIG_Py_Void();
8788 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8789 PyObject
*resultobj
= 0;
8790 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8791 PyObject
*result
= 0 ;
8794 PyObject
*swig_obj
[1] ;
8796 if (!args
) SWIG_fail
;
8798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8799 if (!SWIG_IsOK(res1
)) {
8800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8802 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8804 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8805 if (PyErr_Occurred()) SWIG_fail
;
8814 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8816 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8817 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8818 return SWIG_Py_Void();
8821 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8822 return SWIG_Python_InitShadowInstance(args
);
8825 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8826 PyObject
*resultobj
= 0;
8827 wxBitmap
*arg1
= 0 ;
8828 wxColour
const &arg2_defvalue
= wxNullColour
;
8829 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8830 wxMask
*result
= 0 ;
8834 PyObject
* obj0
= 0 ;
8835 PyObject
* obj1
= 0 ;
8836 char * kwnames
[] = {
8837 (char *) "bitmap",(char *) "colour", NULL
8840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8841 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8842 if (!SWIG_IsOK(res1
)) {
8843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8846 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8848 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8852 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8856 if (!wxPyCheckForApp()) SWIG_fail
;
8857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8858 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8859 wxPyEndAllowThreads(__tstate
);
8860 if (PyErr_Occurred()) SWIG_fail
;
8862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8869 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8870 PyObject
*resultobj
= 0;
8871 wxMask
*arg1
= (wxMask
*) 0 ;
8874 PyObject
*swig_obj
[1] ;
8876 if (!args
) SWIG_fail
;
8878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8879 if (!SWIG_IsOK(res1
)) {
8880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8882 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8888 resultobj
= SWIG_Py_Void();
8895 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8897 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8898 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8899 return SWIG_Py_Void();
8902 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8903 return SWIG_Python_InitShadowInstance(args
);
8906 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8907 PyObject
*resultobj
= 0;
8908 wxString
*arg1
= 0 ;
8910 int arg3
= (int) -1 ;
8911 int arg4
= (int) -1 ;
8912 wxIcon
*result
= 0 ;
8913 bool temp1
= false ;
8920 PyObject
* obj0
= 0 ;
8921 PyObject
* obj1
= 0 ;
8922 PyObject
* obj2
= 0 ;
8923 PyObject
* obj3
= 0 ;
8924 char * kwnames
[] = {
8925 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8930 arg1
= wxString_in_helper(obj0
);
8931 if (arg1
== NULL
) SWIG_fail
;
8934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8935 if (!SWIG_IsOK(ecode2
)) {
8936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8938 arg2
= static_cast< wxBitmapType
>(val2
);
8940 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8941 if (!SWIG_IsOK(ecode3
)) {
8942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8944 arg3
= static_cast< int >(val3
);
8947 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8948 if (!SWIG_IsOK(ecode4
)) {
8949 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8951 arg4
= static_cast< int >(val4
);
8954 if (!wxPyCheckForApp()) SWIG_fail
;
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8975 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8976 PyObject
*resultobj
= 0;
8977 wxIcon
*arg1
= (wxIcon
*) 0 ;
8980 PyObject
*swig_obj
[1] ;
8982 if (!args
) SWIG_fail
;
8984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8985 if (!SWIG_IsOK(res1
)) {
8986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8988 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8993 wxPyEndAllowThreads(__tstate
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8996 resultobj
= SWIG_Py_Void();
9003 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9004 PyObject
*resultobj
= 0;
9005 wxIcon
*result
= 0 ;
9007 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9009 if (!wxPyCheckForApp()) SWIG_fail
;
9010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9011 result
= (wxIcon
*)new wxIcon();
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9022 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9023 PyObject
*resultobj
= 0;
9024 wxIconLocation
*arg1
= 0 ;
9025 wxIcon
*result
= 0 ;
9028 PyObject
* obj0
= 0 ;
9029 char * kwnames
[] = {
9030 (char *) "loc", NULL
9033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9034 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9035 if (!SWIG_IsOK(res1
)) {
9036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9041 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9043 if (!wxPyCheckForApp()) SWIG_fail
;
9044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9045 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9046 wxPyEndAllowThreads(__tstate
);
9047 if (PyErr_Occurred()) SWIG_fail
;
9049 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9056 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9057 PyObject
*resultobj
= 0;
9058 wxBitmap
*arg1
= 0 ;
9059 wxIcon
*result
= 0 ;
9062 PyObject
* obj0
= 0 ;
9063 char * kwnames
[] = {
9064 (char *) "bmp", NULL
9067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9068 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9069 if (!SWIG_IsOK(res1
)) {
9070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9075 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9077 if (!wxPyCheckForApp()) SWIG_fail
;
9078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9079 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*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_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9091 PyObject
*resultobj
= 0;
9092 PyObject
*arg1
= (PyObject
*) 0 ;
9093 wxIcon
*result
= 0 ;
9094 PyObject
* obj0
= 0 ;
9095 char * kwnames
[] = {
9096 (char *) "listOfStrings", NULL
9099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9102 if (!wxPyCheckForApp()) SWIG_fail
;
9103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9104 result
= (wxIcon
*)new_wxIcon(arg1
);
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9115 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9116 PyObject
*resultobj
= 0;
9117 wxIcon
*arg1
= (wxIcon
*) 0 ;
9118 wxString
*arg2
= 0 ;
9123 bool temp2
= false ;
9126 PyObject
* obj0
= 0 ;
9127 PyObject
* obj1
= 0 ;
9128 PyObject
* obj2
= 0 ;
9129 char * kwnames
[] = {
9130 (char *) "self",(char *) "name",(char *) "type", NULL
9133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9135 if (!SWIG_IsOK(res1
)) {
9136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9138 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9140 arg2
= wxString_in_helper(obj1
);
9141 if (arg2
== NULL
) SWIG_fail
;
9144 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9145 if (!SWIG_IsOK(ecode3
)) {
9146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9148 arg3
= static_cast< wxBitmapType
>(val3
);
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9152 wxPyEndAllowThreads(__tstate
);
9153 if (PyErr_Occurred()) SWIG_fail
;
9156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9172 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9173 PyObject
*resultobj
= 0;
9174 wxIcon
*arg1
= (wxIcon
*) 0 ;
9178 PyObject
*swig_obj
[1] ;
9180 if (!args
) SWIG_fail
;
9182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9183 if (!SWIG_IsOK(res1
)) {
9184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9186 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9189 result
= (long)(arg1
)->GetHandle();
9190 wxPyEndAllowThreads(__tstate
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9193 resultobj
= SWIG_From_long(static_cast< long >(result
));
9200 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9201 PyObject
*resultobj
= 0;
9202 wxIcon
*arg1
= (wxIcon
*) 0 ;
9208 PyObject
* obj0
= 0 ;
9209 PyObject
* obj1
= 0 ;
9210 char * kwnames
[] = {
9211 (char *) "self",(char *) "handle", NULL
9214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9216 if (!SWIG_IsOK(res1
)) {
9217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9219 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9220 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9221 if (!SWIG_IsOK(ecode2
)) {
9222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9224 arg2
= static_cast< long >(val2
);
9226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9227 wxIcon_SetHandle(arg1
,arg2
);
9228 wxPyEndAllowThreads(__tstate
);
9229 if (PyErr_Occurred()) SWIG_fail
;
9231 resultobj
= SWIG_Py_Void();
9238 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9239 PyObject
*resultobj
= 0;
9240 wxIcon
*arg1
= (wxIcon
*) 0 ;
9244 PyObject
*swig_obj
[1] ;
9246 if (!args
) SWIG_fail
;
9248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9249 if (!SWIG_IsOK(res1
)) {
9250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9252 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9255 result
= (bool)(arg1
)->IsOk();
9256 wxPyEndAllowThreads(__tstate
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9268 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9269 PyObject
*resultobj
= 0;
9270 wxIcon
*arg1
= (wxIcon
*) 0 ;
9274 PyObject
*swig_obj
[1] ;
9276 if (!args
) SWIG_fail
;
9278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9279 if (!SWIG_IsOK(res1
)) {
9280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9282 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9285 result
= (int)(arg1
)->GetWidth();
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9289 resultobj
= SWIG_From_int(static_cast< int >(result
));
9296 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9297 PyObject
*resultobj
= 0;
9298 wxIcon
*arg1
= (wxIcon
*) 0 ;
9302 PyObject
*swig_obj
[1] ;
9304 if (!args
) SWIG_fail
;
9306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9307 if (!SWIG_IsOK(res1
)) {
9308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9310 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9313 result
= (int)(arg1
)->GetHeight();
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9317 resultobj
= SWIG_From_int(static_cast< int >(result
));
9324 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9325 PyObject
*resultobj
= 0;
9326 wxIcon
*arg1
= (wxIcon
*) 0 ;
9330 PyObject
*swig_obj
[1] ;
9332 if (!args
) SWIG_fail
;
9334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9335 if (!SWIG_IsOK(res1
)) {
9336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9338 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9341 result
= (int)(arg1
)->GetDepth();
9342 wxPyEndAllowThreads(__tstate
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9345 resultobj
= SWIG_From_int(static_cast< int >(result
));
9352 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9353 PyObject
*resultobj
= 0;
9354 wxIcon
*arg1
= (wxIcon
*) 0 ;
9360 PyObject
* obj0
= 0 ;
9361 PyObject
* obj1
= 0 ;
9362 char * kwnames
[] = {
9363 (char *) "self",(char *) "w", NULL
9366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9368 if (!SWIG_IsOK(res1
)) {
9369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9371 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9373 if (!SWIG_IsOK(ecode2
)) {
9374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9376 arg2
= static_cast< int >(val2
);
9378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9379 (arg1
)->SetWidth(arg2
);
9380 wxPyEndAllowThreads(__tstate
);
9381 if (PyErr_Occurred()) SWIG_fail
;
9383 resultobj
= SWIG_Py_Void();
9390 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9391 PyObject
*resultobj
= 0;
9392 wxIcon
*arg1
= (wxIcon
*) 0 ;
9398 PyObject
* obj0
= 0 ;
9399 PyObject
* obj1
= 0 ;
9400 char * kwnames
[] = {
9401 (char *) "self",(char *) "h", NULL
9404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9406 if (!SWIG_IsOK(res1
)) {
9407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9409 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9411 if (!SWIG_IsOK(ecode2
)) {
9412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9414 arg2
= static_cast< int >(val2
);
9416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9417 (arg1
)->SetHeight(arg2
);
9418 wxPyEndAllowThreads(__tstate
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9421 resultobj
= SWIG_Py_Void();
9428 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9429 PyObject
*resultobj
= 0;
9430 wxIcon
*arg1
= (wxIcon
*) 0 ;
9436 PyObject
* obj0
= 0 ;
9437 PyObject
* obj1
= 0 ;
9438 char * kwnames
[] = {
9439 (char *) "self",(char *) "d", NULL
9442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9444 if (!SWIG_IsOK(res1
)) {
9445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9447 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9449 if (!SWIG_IsOK(ecode2
)) {
9450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9452 arg2
= static_cast< int >(val2
);
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 (arg1
)->SetDepth(arg2
);
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9459 resultobj
= SWIG_Py_Void();
9466 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
*resultobj
= 0;
9468 wxIcon
*arg1
= (wxIcon
*) 0 ;
9473 PyObject
* obj0
= 0 ;
9474 PyObject
* obj1
= 0 ;
9475 char * kwnames
[] = {
9476 (char *) "self",(char *) "size", NULL
9479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9481 if (!SWIG_IsOK(res1
)) {
9482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9484 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9487 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9491 (arg1
)->SetSize((wxSize
const &)*arg2
);
9492 wxPyEndAllowThreads(__tstate
);
9493 if (PyErr_Occurred()) SWIG_fail
;
9495 resultobj
= SWIG_Py_Void();
9502 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9503 PyObject
*resultobj
= 0;
9504 wxIcon
*arg1
= (wxIcon
*) 0 ;
9505 wxBitmap
*arg2
= 0 ;
9510 PyObject
* obj0
= 0 ;
9511 PyObject
* obj1
= 0 ;
9512 char * kwnames
[] = {
9513 (char *) "self",(char *) "bmp", NULL
9516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9518 if (!SWIG_IsOK(res1
)) {
9519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9521 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9522 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9523 if (!SWIG_IsOK(res2
)) {
9524 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9527 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9529 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9532 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9533 wxPyEndAllowThreads(__tstate
);
9534 if (PyErr_Occurred()) SWIG_fail
;
9536 resultobj
= SWIG_Py_Void();
9543 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9545 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9546 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9547 return SWIG_Py_Void();
9550 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9551 return SWIG_Python_InitShadowInstance(args
);
9554 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9555 PyObject
*resultobj
= 0;
9556 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9557 int arg2
= (int) 0 ;
9558 wxIconLocation
*result
= 0 ;
9559 bool temp1
= false ;
9562 PyObject
* obj0
= 0 ;
9563 PyObject
* obj1
= 0 ;
9564 char * kwnames
[] = {
9565 (char *) "filename",(char *) "num", NULL
9568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9571 arg1
= wxString_in_helper(obj0
);
9572 if (arg1
== NULL
) SWIG_fail
;
9577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9578 if (!SWIG_IsOK(ecode2
)) {
9579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9581 arg2
= static_cast< int >(val2
);
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9589 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9604 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9605 PyObject
*resultobj
= 0;
9606 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9609 PyObject
*swig_obj
[1] ;
9611 if (!args
) SWIG_fail
;
9613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9614 if (!SWIG_IsOK(res1
)) {
9615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9617 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9625 resultobj
= SWIG_Py_Void();
9632 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9633 PyObject
*resultobj
= 0;
9634 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9638 PyObject
*swig_obj
[1] ;
9640 if (!args
) SWIG_fail
;
9642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9643 if (!SWIG_IsOK(res1
)) {
9644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9646 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9649 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9650 wxPyEndAllowThreads(__tstate
);
9651 if (PyErr_Occurred()) SWIG_fail
;
9654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9662 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9663 PyObject
*resultobj
= 0;
9664 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9665 wxString
*arg2
= 0 ;
9668 bool temp2
= false ;
9669 PyObject
* obj0
= 0 ;
9670 PyObject
* obj1
= 0 ;
9671 char * kwnames
[] = {
9672 (char *) "self",(char *) "filename", NULL
9675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9677 if (!SWIG_IsOK(res1
)) {
9678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9680 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9682 arg2
= wxString_in_helper(obj1
);
9683 if (arg2
== NULL
) SWIG_fail
;
9687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9688 (arg1
)->SetFileName((wxString
const &)*arg2
);
9689 wxPyEndAllowThreads(__tstate
);
9690 if (PyErr_Occurred()) SWIG_fail
;
9692 resultobj
= SWIG_Py_Void();
9707 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9708 PyObject
*resultobj
= 0;
9709 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9710 wxString
*result
= 0 ;
9713 PyObject
*swig_obj
[1] ;
9715 if (!args
) SWIG_fail
;
9717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9718 if (!SWIG_IsOK(res1
)) {
9719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9721 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9726 result
= (wxString
*) &_result_ref
;
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9733 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9735 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9744 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9745 PyObject
*resultobj
= 0;
9746 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9752 PyObject
* obj0
= 0 ;
9753 PyObject
* obj1
= 0 ;
9754 char * kwnames
[] = {
9755 (char *) "self",(char *) "num", NULL
9758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9760 if (!SWIG_IsOK(res1
)) {
9761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9763 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9764 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9765 if (!SWIG_IsOK(ecode2
)) {
9766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9768 arg2
= static_cast< int >(val2
);
9770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9771 wxIconLocation_SetIndex(arg1
,arg2
);
9772 wxPyEndAllowThreads(__tstate
);
9773 if (PyErr_Occurred()) SWIG_fail
;
9775 resultobj
= SWIG_Py_Void();
9782 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9783 PyObject
*resultobj
= 0;
9784 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9788 PyObject
*swig_obj
[1] ;
9790 if (!args
) SWIG_fail
;
9792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9793 if (!SWIG_IsOK(res1
)) {
9794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9796 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 result
= (int)wxIconLocation_GetIndex(arg1
);
9800 wxPyEndAllowThreads(__tstate
);
9801 if (PyErr_Occurred()) SWIG_fail
;
9803 resultobj
= SWIG_From_int(static_cast< int >(result
));
9810 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9812 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9813 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9814 return SWIG_Py_Void();
9817 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9818 return SWIG_Python_InitShadowInstance(args
);
9821 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9822 PyObject
*resultobj
= 0;
9823 wxIconBundle
*result
= 0 ;
9825 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 result
= (wxIconBundle
*)new wxIconBundle();
9829 wxPyEndAllowThreads(__tstate
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9839 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9840 PyObject
*resultobj
= 0;
9841 wxString
*arg1
= 0 ;
9843 wxIconBundle
*result
= 0 ;
9844 bool temp1
= false ;
9847 PyObject
* obj0
= 0 ;
9848 PyObject
* obj1
= 0 ;
9849 char * kwnames
[] = {
9850 (char *) "file",(char *) "type", NULL
9853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9855 arg1
= wxString_in_helper(obj0
);
9856 if (arg1
== NULL
) SWIG_fail
;
9859 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9860 if (!SWIG_IsOK(ecode2
)) {
9861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9863 arg2
= static_cast< long >(val2
);
9865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9866 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9867 wxPyEndAllowThreads(__tstate
);
9868 if (PyErr_Occurred()) SWIG_fail
;
9870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9885 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9886 PyObject
*resultobj
= 0;
9888 wxIconBundle
*result
= 0 ;
9891 PyObject
* obj0
= 0 ;
9892 char * kwnames
[] = {
9893 (char *) "icon", NULL
9896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9897 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9898 if (!SWIG_IsOK(res1
)) {
9899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9904 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9907 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9908 wxPyEndAllowThreads(__tstate
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9918 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9919 PyObject
*resultobj
= 0;
9920 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9923 PyObject
*swig_obj
[1] ;
9925 if (!args
) SWIG_fail
;
9927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9928 if (!SWIG_IsOK(res1
)) {
9929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9931 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9936 wxPyEndAllowThreads(__tstate
);
9937 if (PyErr_Occurred()) SWIG_fail
;
9939 resultobj
= SWIG_Py_Void();
9946 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
*resultobj
= 0;
9948 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9954 PyObject
* obj0
= 0 ;
9955 PyObject
* obj1
= 0 ;
9956 char * kwnames
[] = {
9957 (char *) "self",(char *) "icon", NULL
9960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9962 if (!SWIG_IsOK(res1
)) {
9963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9965 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9966 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9967 if (!SWIG_IsOK(res2
)) {
9968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9971 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9973 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9977 wxPyEndAllowThreads(__tstate
);
9978 if (PyErr_Occurred()) SWIG_fail
;
9980 resultobj
= SWIG_Py_Void();
9987 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9988 PyObject
*resultobj
= 0;
9989 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9990 wxString
*arg2
= 0 ;
9994 bool temp2
= false ;
9997 PyObject
* obj0
= 0 ;
9998 PyObject
* obj1
= 0 ;
9999 PyObject
* obj2
= 0 ;
10000 char * kwnames
[] = {
10001 (char *) "self",(char *) "file",(char *) "type", NULL
10004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10006 if (!SWIG_IsOK(res1
)) {
10007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10009 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10011 arg2
= wxString_in_helper(obj1
);
10012 if (arg2
== NULL
) SWIG_fail
;
10015 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10016 if (!SWIG_IsOK(ecode3
)) {
10017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10019 arg3
= static_cast< long >(val3
);
10021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10022 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10023 wxPyEndAllowThreads(__tstate
);
10024 if (PyErr_Occurred()) SWIG_fail
;
10026 resultobj
= SWIG_Py_Void();
10041 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10042 PyObject
*resultobj
= 0;
10043 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10045 wxIcon
*result
= 0 ;
10049 PyObject
* obj0
= 0 ;
10050 PyObject
* obj1
= 0 ;
10051 char * kwnames
[] = {
10052 (char *) "self",(char *) "size", NULL
10055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10057 if (!SWIG_IsOK(res1
)) {
10058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10060 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10063 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10068 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10069 result
= (wxIcon
*) &_result_ref
;
10071 wxPyEndAllowThreads(__tstate
);
10072 if (PyErr_Occurred()) SWIG_fail
;
10075 wxIcon
* resultptr
= new wxIcon(*result
);
10076 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10084 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10086 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10087 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10088 return SWIG_Py_Void();
10091 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10092 return SWIG_Python_InitShadowInstance(args
);
10095 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10096 PyObject
*resultobj
= 0;
10097 wxString
*arg1
= 0 ;
10099 int arg3
= (int) 0 ;
10100 int arg4
= (int) 0 ;
10101 wxCursor
*result
= 0 ;
10102 bool temp1
= false ;
10109 PyObject
* obj0
= 0 ;
10110 PyObject
* obj1
= 0 ;
10111 PyObject
* obj2
= 0 ;
10112 PyObject
* obj3
= 0 ;
10113 char * kwnames
[] = {
10114 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10119 arg1
= wxString_in_helper(obj0
);
10120 if (arg1
== NULL
) SWIG_fail
;
10123 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10124 if (!SWIG_IsOK(ecode2
)) {
10125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10127 arg2
= static_cast< long >(val2
);
10129 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10130 if (!SWIG_IsOK(ecode3
)) {
10131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10133 arg3
= static_cast< int >(val3
);
10136 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10137 if (!SWIG_IsOK(ecode4
)) {
10138 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10140 arg4
= static_cast< int >(val4
);
10143 if (!wxPyCheckForApp()) SWIG_fail
;
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10164 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10165 PyObject
*resultobj
= 0;
10166 wxCursor
*arg1
= (wxCursor
*) 0 ;
10169 PyObject
*swig_obj
[1] ;
10171 if (!args
) SWIG_fail
;
10172 swig_obj
[0] = args
;
10173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10174 if (!SWIG_IsOK(res1
)) {
10175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10177 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10182 wxPyEndAllowThreads(__tstate
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10185 resultobj
= SWIG_Py_Void();
10192 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10193 PyObject
*resultobj
= 0;
10195 wxCursor
*result
= 0 ;
10198 PyObject
* obj0
= 0 ;
10199 char * kwnames
[] = {
10200 (char *) "id", NULL
10203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10204 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10205 if (!SWIG_IsOK(ecode1
)) {
10206 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10208 arg1
= static_cast< int >(val1
);
10210 if (!wxPyCheckForApp()) SWIG_fail
;
10211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10212 result
= (wxCursor
*)new wxCursor(arg1
);
10213 wxPyEndAllowThreads(__tstate
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10223 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10224 PyObject
*resultobj
= 0;
10225 wxImage
*arg1
= 0 ;
10226 wxCursor
*result
= 0 ;
10229 PyObject
* obj0
= 0 ;
10230 char * kwnames
[] = {
10231 (char *) "image", NULL
10234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10235 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10236 if (!SWIG_IsOK(res1
)) {
10237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10240 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10242 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10244 if (!wxPyCheckForApp()) SWIG_fail
;
10245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10246 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10247 wxPyEndAllowThreads(__tstate
);
10248 if (PyErr_Occurred()) SWIG_fail
;
10250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10257 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10258 PyObject
*resultobj
= 0;
10259 wxCursor
*arg1
= (wxCursor
*) 0 ;
10263 PyObject
*swig_obj
[1] ;
10265 if (!args
) SWIG_fail
;
10266 swig_obj
[0] = args
;
10267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10268 if (!SWIG_IsOK(res1
)) {
10269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10271 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10274 result
= (long)(arg1
)->GetHandle();
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10278 resultobj
= SWIG_From_long(static_cast< long >(result
));
10285 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10286 PyObject
*resultobj
= 0;
10287 wxCursor
*arg1
= (wxCursor
*) 0 ;
10293 PyObject
* obj0
= 0 ;
10294 PyObject
* obj1
= 0 ;
10295 char * kwnames
[] = {
10296 (char *) "self",(char *) "handle", NULL
10299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10301 if (!SWIG_IsOK(res1
)) {
10302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10304 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10305 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10306 if (!SWIG_IsOK(ecode2
)) {
10307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10309 arg2
= static_cast< long >(val2
);
10311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10312 wxCursor_SetHandle(arg1
,arg2
);
10313 wxPyEndAllowThreads(__tstate
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10316 resultobj
= SWIG_Py_Void();
10323 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10324 PyObject
*resultobj
= 0;
10325 wxCursor
*arg1
= (wxCursor
*) 0 ;
10329 PyObject
*swig_obj
[1] ;
10331 if (!args
) SWIG_fail
;
10332 swig_obj
[0] = args
;
10333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10334 if (!SWIG_IsOK(res1
)) {
10335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10337 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 result
= (bool)(arg1
)->IsOk();
10341 wxPyEndAllowThreads(__tstate
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10353 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10354 PyObject
*resultobj
= 0;
10355 wxCursor
*arg1
= (wxCursor
*) 0 ;
10359 PyObject
*swig_obj
[1] ;
10361 if (!args
) SWIG_fail
;
10362 swig_obj
[0] = args
;
10363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10364 if (!SWIG_IsOK(res1
)) {
10365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10367 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10370 result
= (int)(arg1
)->GetWidth();
10371 wxPyEndAllowThreads(__tstate
);
10372 if (PyErr_Occurred()) SWIG_fail
;
10374 resultobj
= SWIG_From_int(static_cast< int >(result
));
10381 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10382 PyObject
*resultobj
= 0;
10383 wxCursor
*arg1
= (wxCursor
*) 0 ;
10387 PyObject
*swig_obj
[1] ;
10389 if (!args
) SWIG_fail
;
10390 swig_obj
[0] = args
;
10391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10392 if (!SWIG_IsOK(res1
)) {
10393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10395 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10398 result
= (int)(arg1
)->GetHeight();
10399 wxPyEndAllowThreads(__tstate
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10402 resultobj
= SWIG_From_int(static_cast< int >(result
));
10409 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10410 PyObject
*resultobj
= 0;
10411 wxCursor
*arg1
= (wxCursor
*) 0 ;
10415 PyObject
*swig_obj
[1] ;
10417 if (!args
) SWIG_fail
;
10418 swig_obj
[0] = args
;
10419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10420 if (!SWIG_IsOK(res1
)) {
10421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10423 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 result
= (int)(arg1
)->GetDepth();
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10430 resultobj
= SWIG_From_int(static_cast< int >(result
));
10437 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10438 PyObject
*resultobj
= 0;
10439 wxCursor
*arg1
= (wxCursor
*) 0 ;
10445 PyObject
* obj0
= 0 ;
10446 PyObject
* obj1
= 0 ;
10447 char * kwnames
[] = {
10448 (char *) "self",(char *) "w", NULL
10451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10453 if (!SWIG_IsOK(res1
)) {
10454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10456 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10458 if (!SWIG_IsOK(ecode2
)) {
10459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10461 arg2
= static_cast< int >(val2
);
10463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10464 (arg1
)->SetWidth(arg2
);
10465 wxPyEndAllowThreads(__tstate
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10468 resultobj
= SWIG_Py_Void();
10475 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10476 PyObject
*resultobj
= 0;
10477 wxCursor
*arg1
= (wxCursor
*) 0 ;
10483 PyObject
* obj0
= 0 ;
10484 PyObject
* obj1
= 0 ;
10485 char * kwnames
[] = {
10486 (char *) "self",(char *) "h", NULL
10489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10491 if (!SWIG_IsOK(res1
)) {
10492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10494 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10495 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10496 if (!SWIG_IsOK(ecode2
)) {
10497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
10499 arg2
= static_cast< int >(val2
);
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 (arg1
)->SetHeight(arg2
);
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10506 resultobj
= SWIG_Py_Void();
10513 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
*resultobj
= 0;
10515 wxCursor
*arg1
= (wxCursor
*) 0 ;
10521 PyObject
* obj0
= 0 ;
10522 PyObject
* obj1
= 0 ;
10523 char * kwnames
[] = {
10524 (char *) "self",(char *) "d", NULL
10527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10529 if (!SWIG_IsOK(res1
)) {
10530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10532 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10534 if (!SWIG_IsOK(ecode2
)) {
10535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
10537 arg2
= static_cast< int >(val2
);
10539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10540 (arg1
)->SetDepth(arg2
);
10541 wxPyEndAllowThreads(__tstate
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10544 resultobj
= SWIG_Py_Void();
10551 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10552 PyObject
*resultobj
= 0;
10553 wxCursor
*arg1
= (wxCursor
*) 0 ;
10558 PyObject
* obj0
= 0 ;
10559 PyObject
* obj1
= 0 ;
10560 char * kwnames
[] = {
10561 (char *) "self",(char *) "size", NULL
10564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10566 if (!SWIG_IsOK(res1
)) {
10567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
10569 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10572 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10576 (arg1
)->SetSize((wxSize
const &)*arg2
);
10577 wxPyEndAllowThreads(__tstate
);
10578 if (PyErr_Occurred()) SWIG_fail
;
10580 resultobj
= SWIG_Py_Void();
10587 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10589 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10590 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10591 return SWIG_Py_Void();
10594 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10595 return SWIG_Python_InitShadowInstance(args
);
10598 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10599 PyObject
*resultobj
= 0;
10600 int arg1
= (int) 0 ;
10601 int arg2
= (int) 0 ;
10602 int arg3
= (int) 0 ;
10603 int arg4
= (int) 0 ;
10604 wxRegion
*result
= 0 ;
10613 PyObject
* obj0
= 0 ;
10614 PyObject
* obj1
= 0 ;
10615 PyObject
* obj2
= 0 ;
10616 PyObject
* obj3
= 0 ;
10617 char * kwnames
[] = {
10618 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10623 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10624 if (!SWIG_IsOK(ecode1
)) {
10625 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10627 arg1
= static_cast< int >(val1
);
10630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10631 if (!SWIG_IsOK(ecode2
)) {
10632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10634 arg2
= static_cast< int >(val2
);
10637 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10638 if (!SWIG_IsOK(ecode3
)) {
10639 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10641 arg3
= static_cast< int >(val3
);
10644 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10645 if (!SWIG_IsOK(ecode4
)) {
10646 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10648 arg4
= static_cast< int >(val4
);
10651 if (!wxPyCheckForApp()) SWIG_fail
;
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10664 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
= 0;
10666 wxBitmap
*arg1
= 0 ;
10667 wxRegion
*result
= 0 ;
10670 PyObject
* obj0
= 0 ;
10671 char * kwnames
[] = {
10672 (char *) "bmp", NULL
10675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10676 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10677 if (!SWIG_IsOK(res1
)) {
10678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10681 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10683 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10685 if (!wxPyCheckForApp()) SWIG_fail
;
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10688 wxPyEndAllowThreads(__tstate
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10698 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10699 PyObject
*resultobj
= 0;
10700 wxBitmap
*arg1
= 0 ;
10701 wxColour
*arg2
= 0 ;
10702 int arg3
= (int) 0 ;
10703 wxRegion
*result
= 0 ;
10709 PyObject
* obj0
= 0 ;
10710 PyObject
* obj1
= 0 ;
10711 PyObject
* obj2
= 0 ;
10712 char * kwnames
[] = {
10713 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10717 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10718 if (!SWIG_IsOK(res1
)) {
10719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10722 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10724 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10727 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10730 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10731 if (!SWIG_IsOK(ecode3
)) {
10732 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10734 arg3
= static_cast< int >(val3
);
10737 if (!wxPyCheckForApp()) SWIG_fail
;
10738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10739 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10740 wxPyEndAllowThreads(__tstate
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10750 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
*resultobj
= 0;
10753 wxPoint
*arg2
= (wxPoint
*) 0 ;
10754 int arg3
= (int) wxWINDING_RULE
;
10755 wxRegion
*result
= 0 ;
10758 PyObject
* obj0
= 0 ;
10759 PyObject
* obj1
= 0 ;
10760 char * kwnames
[] = {
10761 (char *) "points",(char *) "fillStyle", NULL
10764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10766 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10767 if (arg2
== NULL
) SWIG_fail
;
10770 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10771 if (!SWIG_IsOK(ecode3
)) {
10772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10774 arg3
= static_cast< int >(val3
);
10777 if (!wxPyCheckForApp()) SWIG_fail
;
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10780 wxPyEndAllowThreads(__tstate
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10785 if (arg2
) delete [] arg2
;
10790 if (arg2
) delete [] arg2
;
10796 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10797 PyObject
*resultobj
= 0;
10798 wxRegion
*arg1
= (wxRegion
*) 0 ;
10801 PyObject
*swig_obj
[1] ;
10803 if (!args
) SWIG_fail
;
10804 swig_obj
[0] = args
;
10805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10806 if (!SWIG_IsOK(res1
)) {
10807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10809 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10814 wxPyEndAllowThreads(__tstate
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10817 resultobj
= SWIG_Py_Void();
10824 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10825 PyObject
*resultobj
= 0;
10826 wxRegion
*arg1
= (wxRegion
*) 0 ;
10829 PyObject
*swig_obj
[1] ;
10831 if (!args
) SWIG_fail
;
10832 swig_obj
[0] = args
;
10833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10834 if (!SWIG_IsOK(res1
)) {
10835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10837 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10841 wxPyEndAllowThreads(__tstate
);
10842 if (PyErr_Occurred()) SWIG_fail
;
10844 resultobj
= SWIG_Py_Void();
10851 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10852 PyObject
*resultobj
= 0;
10853 wxRegion
*arg1
= (wxRegion
*) 0 ;
10863 PyObject
* obj0
= 0 ;
10864 PyObject
* obj1
= 0 ;
10865 PyObject
* obj2
= 0 ;
10866 char * kwnames
[] = {
10867 (char *) "self",(char *) "x",(char *) "y", NULL
10870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10872 if (!SWIG_IsOK(res1
)) {
10873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10875 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10877 if (!SWIG_IsOK(ecode2
)) {
10878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10880 arg2
= static_cast< int >(val2
);
10881 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10882 if (!SWIG_IsOK(ecode3
)) {
10883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10885 arg3
= static_cast< int >(val3
);
10887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10888 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10889 wxPyEndAllowThreads(__tstate
);
10890 if (PyErr_Occurred()) SWIG_fail
;
10893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10901 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10902 PyObject
*resultobj
= 0;
10903 wxRegion
*arg1
= (wxRegion
*) 0 ;
10906 wxRegionContain result
;
10913 PyObject
* obj0
= 0 ;
10914 PyObject
* obj1
= 0 ;
10915 PyObject
* obj2
= 0 ;
10916 char * kwnames
[] = {
10917 (char *) "self",(char *) "x",(char *) "y", NULL
10920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10922 if (!SWIG_IsOK(res1
)) {
10923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10925 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10927 if (!SWIG_IsOK(ecode2
)) {
10928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10930 arg2
= static_cast< int >(val2
);
10931 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10932 if (!SWIG_IsOK(ecode3
)) {
10933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10935 arg3
= static_cast< int >(val3
);
10937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10938 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10939 wxPyEndAllowThreads(__tstate
);
10940 if (PyErr_Occurred()) SWIG_fail
;
10942 resultobj
= SWIG_From_int(static_cast< int >(result
));
10949 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10950 PyObject
*resultobj
= 0;
10951 wxRegion
*arg1
= (wxRegion
*) 0 ;
10952 wxPoint
*arg2
= 0 ;
10953 wxRegionContain result
;
10957 PyObject
* obj0
= 0 ;
10958 PyObject
* obj1
= 0 ;
10959 char * kwnames
[] = {
10960 (char *) "self",(char *) "pt", NULL
10963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10965 if (!SWIG_IsOK(res1
)) {
10966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10968 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10971 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10976 wxPyEndAllowThreads(__tstate
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10979 resultobj
= SWIG_From_int(static_cast< int >(result
));
10986 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10987 PyObject
*resultobj
= 0;
10988 wxRegion
*arg1
= (wxRegion
*) 0 ;
10990 wxRegionContain result
;
10994 PyObject
* obj0
= 0 ;
10995 PyObject
* obj1
= 0 ;
10996 char * kwnames
[] = {
10997 (char *) "self",(char *) "rect", NULL
11000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11002 if (!SWIG_IsOK(res1
)) {
11003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11005 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11008 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11012 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
11013 wxPyEndAllowThreads(__tstate
);
11014 if (PyErr_Occurred()) SWIG_fail
;
11016 resultobj
= SWIG_From_int(static_cast< int >(result
));
11023 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11024 PyObject
*resultobj
= 0;
11025 wxRegion
*arg1
= (wxRegion
*) 0 ;
11030 wxRegionContain result
;
11041 PyObject
* obj0
= 0 ;
11042 PyObject
* obj1
= 0 ;
11043 PyObject
* obj2
= 0 ;
11044 PyObject
* obj3
= 0 ;
11045 PyObject
* obj4
= 0 ;
11046 char * kwnames
[] = {
11047 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11052 if (!SWIG_IsOK(res1
)) {
11053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
11055 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11057 if (!SWIG_IsOK(ecode2
)) {
11058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
11060 arg2
= static_cast< int >(val2
);
11061 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11062 if (!SWIG_IsOK(ecode3
)) {
11063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
11065 arg3
= static_cast< int >(val3
);
11066 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11067 if (!SWIG_IsOK(ecode4
)) {
11068 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
11070 arg4
= static_cast< int >(val4
);
11071 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11072 if (!SWIG_IsOK(ecode5
)) {
11073 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
11075 arg5
= static_cast< int >(val5
);
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
11079 wxPyEndAllowThreads(__tstate
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11082 resultobj
= SWIG_From_int(static_cast< int >(result
));
11089 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11090 PyObject
*resultobj
= 0;
11091 wxRegion
*arg1
= (wxRegion
*) 0 ;
11095 PyObject
*swig_obj
[1] ;
11097 if (!args
) SWIG_fail
;
11098 swig_obj
[0] = args
;
11099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11100 if (!SWIG_IsOK(res1
)) {
11101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
11103 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11106 result
= (arg1
)->GetBox();
11107 wxPyEndAllowThreads(__tstate
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11110 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11117 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11118 PyObject
*resultobj
= 0;
11119 wxRegion
*arg1
= (wxRegion
*) 0 ;
11135 PyObject
* obj0
= 0 ;
11136 PyObject
* obj1
= 0 ;
11137 PyObject
* obj2
= 0 ;
11138 PyObject
* obj3
= 0 ;
11139 PyObject
* obj4
= 0 ;
11140 char * kwnames
[] = {
11141 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11146 if (!SWIG_IsOK(res1
)) {
11147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11149 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11151 if (!SWIG_IsOK(ecode2
)) {
11152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11154 arg2
= static_cast< int >(val2
);
11155 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11156 if (!SWIG_IsOK(ecode3
)) {
11157 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11159 arg3
= static_cast< int >(val3
);
11160 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11161 if (!SWIG_IsOK(ecode4
)) {
11162 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11164 arg4
= static_cast< int >(val4
);
11165 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11166 if (!SWIG_IsOK(ecode5
)) {
11167 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11169 arg5
= static_cast< int >(val5
);
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11172 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11173 wxPyEndAllowThreads(__tstate
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11185 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11186 PyObject
*resultobj
= 0;
11187 wxRegion
*arg1
= (wxRegion
*) 0 ;
11193 PyObject
* obj0
= 0 ;
11194 PyObject
* obj1
= 0 ;
11195 char * kwnames
[] = {
11196 (char *) "self",(char *) "rect", NULL
11199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11201 if (!SWIG_IsOK(res1
)) {
11202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11204 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11207 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11211 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11212 wxPyEndAllowThreads(__tstate
);
11213 if (PyErr_Occurred()) SWIG_fail
;
11216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11224 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11225 PyObject
*resultobj
= 0;
11226 wxRegion
*arg1
= (wxRegion
*) 0 ;
11227 wxRegion
*arg2
= 0 ;
11233 PyObject
* obj0
= 0 ;
11234 PyObject
* obj1
= 0 ;
11235 char * kwnames
[] = {
11236 (char *) "self",(char *) "region", NULL
11239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11241 if (!SWIG_IsOK(res1
)) {
11242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11244 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11245 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11246 if (!SWIG_IsOK(res2
)) {
11247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11252 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11256 wxPyEndAllowThreads(__tstate
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11268 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11269 PyObject
*resultobj
= 0;
11270 wxRegion
*arg1
= (wxRegion
*) 0 ;
11274 PyObject
*swig_obj
[1] ;
11276 if (!args
) SWIG_fail
;
11277 swig_obj
[0] = args
;
11278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11279 if (!SWIG_IsOK(res1
)) {
11280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11282 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11285 result
= (bool)(arg1
)->IsEmpty();
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11298 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11299 PyObject
*resultobj
= 0;
11300 wxRegion
*arg1
= (wxRegion
*) 0 ;
11301 wxRegion
*arg2
= 0 ;
11307 PyObject
* obj0
= 0 ;
11308 PyObject
* obj1
= 0 ;
11309 char * kwnames
[] = {
11310 (char *) "self",(char *) "region", NULL
11313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11315 if (!SWIG_IsOK(res1
)) {
11316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11318 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11319 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11320 if (!SWIG_IsOK(res2
)) {
11321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11326 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11329 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11330 wxPyEndAllowThreads(__tstate
);
11331 if (PyErr_Occurred()) SWIG_fail
;
11334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11342 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11343 PyObject
*resultobj
= 0;
11344 wxRegion
*arg1
= (wxRegion
*) 0 ;
11360 PyObject
* obj0
= 0 ;
11361 PyObject
* obj1
= 0 ;
11362 PyObject
* obj2
= 0 ;
11363 PyObject
* obj3
= 0 ;
11364 PyObject
* obj4
= 0 ;
11365 char * kwnames
[] = {
11366 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11371 if (!SWIG_IsOK(res1
)) {
11372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11374 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11376 if (!SWIG_IsOK(ecode2
)) {
11377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11379 arg2
= static_cast< int >(val2
);
11380 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11381 if (!SWIG_IsOK(ecode3
)) {
11382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11384 arg3
= static_cast< int >(val3
);
11385 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11386 if (!SWIG_IsOK(ecode4
)) {
11387 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11389 arg4
= static_cast< int >(val4
);
11390 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11391 if (!SWIG_IsOK(ecode5
)) {
11392 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11394 arg5
= static_cast< int >(val5
);
11396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11397 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11398 wxPyEndAllowThreads(__tstate
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11410 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11411 PyObject
*resultobj
= 0;
11412 wxRegion
*arg1
= (wxRegion
*) 0 ;
11418 PyObject
* obj0
= 0 ;
11419 PyObject
* obj1
= 0 ;
11420 char * kwnames
[] = {
11421 (char *) "self",(char *) "rect", NULL
11424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11426 if (!SWIG_IsOK(res1
)) {
11427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11429 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11432 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11436 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11437 wxPyEndAllowThreads(__tstate
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11449 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11450 PyObject
*resultobj
= 0;
11451 wxRegion
*arg1
= (wxRegion
*) 0 ;
11452 wxRegion
*arg2
= 0 ;
11458 PyObject
* obj0
= 0 ;
11459 PyObject
* obj1
= 0 ;
11460 char * kwnames
[] = {
11461 (char *) "self",(char *) "region", NULL
11464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11466 if (!SWIG_IsOK(res1
)) {
11467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11469 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11470 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11471 if (!SWIG_IsOK(res2
)) {
11472 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11475 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11477 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11480 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11481 wxPyEndAllowThreads(__tstate
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11493 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11494 PyObject
*resultobj
= 0;
11495 wxRegion
*arg1
= (wxRegion
*) 0 ;
11511 PyObject
* obj0
= 0 ;
11512 PyObject
* obj1
= 0 ;
11513 PyObject
* obj2
= 0 ;
11514 PyObject
* obj3
= 0 ;
11515 PyObject
* obj4
= 0 ;
11516 char * kwnames
[] = {
11517 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11522 if (!SWIG_IsOK(res1
)) {
11523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11525 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11527 if (!SWIG_IsOK(ecode2
)) {
11528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11530 arg2
= static_cast< int >(val2
);
11531 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11532 if (!SWIG_IsOK(ecode3
)) {
11533 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11535 arg3
= static_cast< int >(val3
);
11536 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11537 if (!SWIG_IsOK(ecode4
)) {
11538 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11540 arg4
= static_cast< int >(val4
);
11541 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11542 if (!SWIG_IsOK(ecode5
)) {
11543 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11545 arg5
= static_cast< int >(val5
);
11547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11548 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11549 wxPyEndAllowThreads(__tstate
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11561 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11562 PyObject
*resultobj
= 0;
11563 wxRegion
*arg1
= (wxRegion
*) 0 ;
11569 PyObject
* obj0
= 0 ;
11570 PyObject
* obj1
= 0 ;
11571 char * kwnames
[] = {
11572 (char *) "self",(char *) "rect", NULL
11575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11577 if (!SWIG_IsOK(res1
)) {
11578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11580 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11583 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11587 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11588 wxPyEndAllowThreads(__tstate
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11600 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11601 PyObject
*resultobj
= 0;
11602 wxRegion
*arg1
= (wxRegion
*) 0 ;
11603 wxRegion
*arg2
= 0 ;
11609 PyObject
* obj0
= 0 ;
11610 PyObject
* obj1
= 0 ;
11611 char * kwnames
[] = {
11612 (char *) "self",(char *) "region", NULL
11615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11617 if (!SWIG_IsOK(res1
)) {
11618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11620 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11621 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11622 if (!SWIG_IsOK(res2
)) {
11623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11628 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11631 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11632 wxPyEndAllowThreads(__tstate
);
11633 if (PyErr_Occurred()) SWIG_fail
;
11636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11644 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11645 PyObject
*resultobj
= 0;
11646 wxRegion
*arg1
= (wxRegion
*) 0 ;
11662 PyObject
* obj0
= 0 ;
11663 PyObject
* obj1
= 0 ;
11664 PyObject
* obj2
= 0 ;
11665 PyObject
* obj3
= 0 ;
11666 PyObject
* obj4
= 0 ;
11667 char * kwnames
[] = {
11668 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11673 if (!SWIG_IsOK(res1
)) {
11674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11676 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11677 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11678 if (!SWIG_IsOK(ecode2
)) {
11679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11681 arg2
= static_cast< int >(val2
);
11682 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11683 if (!SWIG_IsOK(ecode3
)) {
11684 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11686 arg3
= static_cast< int >(val3
);
11687 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11688 if (!SWIG_IsOK(ecode4
)) {
11689 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11691 arg4
= static_cast< int >(val4
);
11692 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11693 if (!SWIG_IsOK(ecode5
)) {
11694 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11696 arg5
= static_cast< int >(val5
);
11698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11699 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11700 wxPyEndAllowThreads(__tstate
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11712 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11713 PyObject
*resultobj
= 0;
11714 wxRegion
*arg1
= (wxRegion
*) 0 ;
11720 PyObject
* obj0
= 0 ;
11721 PyObject
* obj1
= 0 ;
11722 char * kwnames
[] = {
11723 (char *) "self",(char *) "rect", NULL
11726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11728 if (!SWIG_IsOK(res1
)) {
11729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11731 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11734 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11739 wxPyEndAllowThreads(__tstate
);
11740 if (PyErr_Occurred()) SWIG_fail
;
11743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11751 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11752 PyObject
*resultobj
= 0;
11753 wxRegion
*arg1
= (wxRegion
*) 0 ;
11754 wxRegion
*arg2
= 0 ;
11760 PyObject
* obj0
= 0 ;
11761 PyObject
* obj1
= 0 ;
11762 char * kwnames
[] = {
11763 (char *) "self",(char *) "region", NULL
11766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11768 if (!SWIG_IsOK(res1
)) {
11769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11771 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11772 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11773 if (!SWIG_IsOK(res2
)) {
11774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11779 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11782 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11783 wxPyEndAllowThreads(__tstate
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11795 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11796 PyObject
*resultobj
= 0;
11797 wxRegion
*arg1
= (wxRegion
*) 0 ;
11798 SwigValueWrapper
<wxBitmap
> result
;
11801 PyObject
*swig_obj
[1] ;
11803 if (!args
) SWIG_fail
;
11804 swig_obj
[0] = args
;
11805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11806 if (!SWIG_IsOK(res1
)) {
11807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11809 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 result
= (arg1
)->ConvertToBitmap();
11813 wxPyEndAllowThreads(__tstate
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11816 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11823 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
*resultobj
= 0;
11825 wxRegion
*arg1
= (wxRegion
*) 0 ;
11826 wxBitmap
*arg2
= 0 ;
11832 PyObject
* obj0
= 0 ;
11833 PyObject
* obj1
= 0 ;
11834 char * kwnames
[] = {
11835 (char *) "self",(char *) "bmp", NULL
11838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11840 if (!SWIG_IsOK(res1
)) {
11841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11843 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11844 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11845 if (!SWIG_IsOK(res2
)) {
11846 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11849 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11851 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11854 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11855 wxPyEndAllowThreads(__tstate
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11867 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11868 PyObject
*resultobj
= 0;
11869 wxRegion
*arg1
= (wxRegion
*) 0 ;
11870 wxBitmap
*arg2
= 0 ;
11871 wxColour
*arg3
= 0 ;
11872 int arg4
= (int) 0 ;
11881 PyObject
* obj0
= 0 ;
11882 PyObject
* obj1
= 0 ;
11883 PyObject
* obj2
= 0 ;
11884 PyObject
* obj3
= 0 ;
11885 char * kwnames
[] = {
11886 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11891 if (!SWIG_IsOK(res1
)) {
11892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11894 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11895 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11896 if (!SWIG_IsOK(res2
)) {
11897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11902 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11905 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11908 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11909 if (!SWIG_IsOK(ecode4
)) {
11910 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11912 arg4
= static_cast< int >(val4
);
11915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11916 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11917 wxPyEndAllowThreads(__tstate
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11929 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11931 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11932 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11933 return SWIG_Py_Void();
11936 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11937 return SWIG_Python_InitShadowInstance(args
);
11940 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11941 PyObject
*resultobj
= 0;
11942 wxRegion
*arg1
= 0 ;
11943 wxRegionIterator
*result
= 0 ;
11946 PyObject
* obj0
= 0 ;
11947 char * kwnames
[] = {
11948 (char *) "region", NULL
11951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11952 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11953 if (!SWIG_IsOK(res1
)) {
11954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11957 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11959 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11961 if (!wxPyCheckForApp()) SWIG_fail
;
11962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11963 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11964 wxPyEndAllowThreads(__tstate
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11974 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11975 PyObject
*resultobj
= 0;
11976 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11979 PyObject
*swig_obj
[1] ;
11981 if (!args
) SWIG_fail
;
11982 swig_obj
[0] = args
;
11983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11984 if (!SWIG_IsOK(res1
)) {
11985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11987 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11995 resultobj
= SWIG_Py_Void();
12002 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12003 PyObject
*resultobj
= 0;
12004 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12008 PyObject
*swig_obj
[1] ;
12010 if (!args
) SWIG_fail
;
12011 swig_obj
[0] = args
;
12012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12013 if (!SWIG_IsOK(res1
)) {
12014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12016 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12019 result
= (int)(arg1
)->GetX();
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12023 resultobj
= SWIG_From_int(static_cast< int >(result
));
12030 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12031 PyObject
*resultobj
= 0;
12032 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12036 PyObject
*swig_obj
[1] ;
12038 if (!args
) SWIG_fail
;
12039 swig_obj
[0] = args
;
12040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12041 if (!SWIG_IsOK(res1
)) {
12042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12044 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 result
= (int)(arg1
)->GetY();
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12051 resultobj
= SWIG_From_int(static_cast< int >(result
));
12058 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12059 PyObject
*resultobj
= 0;
12060 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12064 PyObject
*swig_obj
[1] ;
12066 if (!args
) SWIG_fail
;
12067 swig_obj
[0] = args
;
12068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12069 if (!SWIG_IsOK(res1
)) {
12070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12072 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12075 result
= (int)(arg1
)->GetW();
12076 wxPyEndAllowThreads(__tstate
);
12077 if (PyErr_Occurred()) SWIG_fail
;
12079 resultobj
= SWIG_From_int(static_cast< int >(result
));
12086 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12087 PyObject
*resultobj
= 0;
12088 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12092 PyObject
*swig_obj
[1] ;
12094 if (!args
) SWIG_fail
;
12095 swig_obj
[0] = args
;
12096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12097 if (!SWIG_IsOK(res1
)) {
12098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12100 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12103 result
= (int)(arg1
)->GetWidth();
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12107 resultobj
= SWIG_From_int(static_cast< int >(result
));
12114 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12115 PyObject
*resultobj
= 0;
12116 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12120 PyObject
*swig_obj
[1] ;
12122 if (!args
) SWIG_fail
;
12123 swig_obj
[0] = args
;
12124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12125 if (!SWIG_IsOK(res1
)) {
12126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12128 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12131 result
= (int)(arg1
)->GetH();
12132 wxPyEndAllowThreads(__tstate
);
12133 if (PyErr_Occurred()) SWIG_fail
;
12135 resultobj
= SWIG_From_int(static_cast< int >(result
));
12142 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12143 PyObject
*resultobj
= 0;
12144 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12148 PyObject
*swig_obj
[1] ;
12150 if (!args
) SWIG_fail
;
12151 swig_obj
[0] = args
;
12152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12153 if (!SWIG_IsOK(res1
)) {
12154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12156 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12159 result
= (int)(arg1
)->GetHeight();
12160 wxPyEndAllowThreads(__tstate
);
12161 if (PyErr_Occurred()) SWIG_fail
;
12163 resultobj
= SWIG_From_int(static_cast< int >(result
));
12170 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12171 PyObject
*resultobj
= 0;
12172 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12176 PyObject
*swig_obj
[1] ;
12178 if (!args
) SWIG_fail
;
12179 swig_obj
[0] = args
;
12180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12181 if (!SWIG_IsOK(res1
)) {
12182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12184 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 result
= (arg1
)->GetRect();
12188 wxPyEndAllowThreads(__tstate
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12191 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12198 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12199 PyObject
*resultobj
= 0;
12200 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12204 PyObject
*swig_obj
[1] ;
12206 if (!args
) SWIG_fail
;
12207 swig_obj
[0] = args
;
12208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12209 if (!SWIG_IsOK(res1
)) {
12210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12212 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 result
= (bool)(arg1
)->HaveRects();
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12228 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12229 PyObject
*resultobj
= 0;
12230 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12233 PyObject
*swig_obj
[1] ;
12235 if (!args
) SWIG_fail
;
12236 swig_obj
[0] = args
;
12237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12238 if (!SWIG_IsOK(res1
)) {
12239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12241 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12248 resultobj
= SWIG_Py_Void();
12255 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12256 PyObject
*resultobj
= 0;
12257 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12260 PyObject
*swig_obj
[1] ;
12262 if (!args
) SWIG_fail
;
12263 swig_obj
[0] = args
;
12264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12265 if (!SWIG_IsOK(res1
)) {
12266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12268 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12271 wxRegionIterator_Next(arg1
);
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12275 resultobj
= SWIG_Py_Void();
12282 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12283 PyObject
*resultobj
= 0;
12284 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12288 PyObject
*swig_obj
[1] ;
12290 if (!args
) SWIG_fail
;
12291 swig_obj
[0] = args
;
12292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12293 if (!SWIG_IsOK(res1
)) {
12294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12296 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12299 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12300 wxPyEndAllowThreads(__tstate
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12312 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12314 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12315 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12316 return SWIG_Py_Void();
12319 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12320 return SWIG_Python_InitShadowInstance(args
);
12323 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12324 PyObject
*resultobj
= 0;
12325 wxNativeFontInfo
*result
= 0 ;
12327 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12330 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12331 wxPyEndAllowThreads(__tstate
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12341 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12342 PyObject
*resultobj
= 0;
12343 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12346 PyObject
*swig_obj
[1] ;
12348 if (!args
) SWIG_fail
;
12349 swig_obj
[0] = args
;
12350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12351 if (!SWIG_IsOK(res1
)) {
12352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12354 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12362 resultobj
= SWIG_Py_Void();
12369 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12370 PyObject
*resultobj
= 0;
12371 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12374 PyObject
*swig_obj
[1] ;
12376 if (!args
) SWIG_fail
;
12377 swig_obj
[0] = args
;
12378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12379 if (!SWIG_IsOK(res1
)) {
12380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12382 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 wxPyEndAllowThreads(__tstate
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12389 resultobj
= SWIG_Py_Void();
12396 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12397 PyObject
*resultobj
= 0;
12398 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12404 PyObject
* obj0
= 0 ;
12405 PyObject
* obj1
= 0 ;
12406 char * kwnames
[] = {
12407 (char *) "self",(char *) "font", NULL
12410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12412 if (!SWIG_IsOK(res1
)) {
12413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12415 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12416 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12417 if (!SWIG_IsOK(res2
)) {
12418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12423 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12426 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12427 wxPyEndAllowThreads(__tstate
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12430 resultobj
= SWIG_Py_Void();
12437 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12438 PyObject
*resultobj
= 0;
12439 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12443 PyObject
*swig_obj
[1] ;
12445 if (!args
) SWIG_fail
;
12446 swig_obj
[0] = args
;
12447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12448 if (!SWIG_IsOK(res1
)) {
12449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12451 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12454 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12455 wxPyEndAllowThreads(__tstate
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12458 resultobj
= SWIG_From_int(static_cast< int >(result
));
12465 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12466 PyObject
*resultobj
= 0;
12467 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12471 PyObject
*swig_obj
[1] ;
12473 if (!args
) SWIG_fail
;
12474 swig_obj
[0] = args
;
12475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12476 if (!SWIG_IsOK(res1
)) {
12477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12479 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12482 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12483 wxPyEndAllowThreads(__tstate
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12486 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12493 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12494 PyObject
*resultobj
= 0;
12495 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12496 wxFontStyle result
;
12499 PyObject
*swig_obj
[1] ;
12501 if (!args
) SWIG_fail
;
12502 swig_obj
[0] = args
;
12503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12504 if (!SWIG_IsOK(res1
)) {
12505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12507 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12511 wxPyEndAllowThreads(__tstate
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12514 resultobj
= SWIG_From_int(static_cast< int >(result
));
12521 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12522 PyObject
*resultobj
= 0;
12523 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12524 wxFontWeight result
;
12527 PyObject
*swig_obj
[1] ;
12529 if (!args
) SWIG_fail
;
12530 swig_obj
[0] = args
;
12531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12532 if (!SWIG_IsOK(res1
)) {
12533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12535 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12538 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12542 resultobj
= SWIG_From_int(static_cast< int >(result
));
12549 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12550 PyObject
*resultobj
= 0;
12551 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12555 PyObject
*swig_obj
[1] ;
12557 if (!args
) SWIG_fail
;
12558 swig_obj
[0] = args
;
12559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12560 if (!SWIG_IsOK(res1
)) {
12561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12563 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12566 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12579 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12580 PyObject
*resultobj
= 0;
12581 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12585 PyObject
*swig_obj
[1] ;
12587 if (!args
) SWIG_fail
;
12588 swig_obj
[0] = args
;
12589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12590 if (!SWIG_IsOK(res1
)) {
12591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12593 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12597 wxPyEndAllowThreads(__tstate
);
12598 if (PyErr_Occurred()) SWIG_fail
;
12602 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12604 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12613 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12614 PyObject
*resultobj
= 0;
12615 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12616 wxFontFamily result
;
12619 PyObject
*swig_obj
[1] ;
12621 if (!args
) SWIG_fail
;
12622 swig_obj
[0] = args
;
12623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12624 if (!SWIG_IsOK(res1
)) {
12625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12627 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12630 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12631 wxPyEndAllowThreads(__tstate
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12634 resultobj
= SWIG_From_int(static_cast< int >(result
));
12641 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12642 PyObject
*resultobj
= 0;
12643 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12644 wxFontEncoding result
;
12647 PyObject
*swig_obj
[1] ;
12649 if (!args
) SWIG_fail
;
12650 swig_obj
[0] = args
;
12651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12652 if (!SWIG_IsOK(res1
)) {
12653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12655 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12659 wxPyEndAllowThreads(__tstate
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12662 resultobj
= SWIG_From_int(static_cast< int >(result
));
12669 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
*resultobj
= 0;
12671 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12677 PyObject
* obj0
= 0 ;
12678 PyObject
* obj1
= 0 ;
12679 char * kwnames
[] = {
12680 (char *) "self",(char *) "pointsize", NULL
12683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12685 if (!SWIG_IsOK(res1
)) {
12686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12688 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12690 if (!SWIG_IsOK(ecode2
)) {
12691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12693 arg2
= static_cast< int >(val2
);
12695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12696 (arg1
)->SetPointSize(arg2
);
12697 wxPyEndAllowThreads(__tstate
);
12698 if (PyErr_Occurred()) SWIG_fail
;
12700 resultobj
= SWIG_Py_Void();
12707 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12708 PyObject
*resultobj
= 0;
12709 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12714 PyObject
* obj0
= 0 ;
12715 PyObject
* obj1
= 0 ;
12716 char * kwnames
[] = {
12717 (char *) "self",(char *) "pixelSize", NULL
12720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12722 if (!SWIG_IsOK(res1
)) {
12723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12725 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12728 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12732 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12733 wxPyEndAllowThreads(__tstate
);
12734 if (PyErr_Occurred()) SWIG_fail
;
12736 resultobj
= SWIG_Py_Void();
12743 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12744 PyObject
*resultobj
= 0;
12745 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12751 PyObject
* obj0
= 0 ;
12752 PyObject
* obj1
= 0 ;
12753 char * kwnames
[] = {
12754 (char *) "self",(char *) "style", NULL
12757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12759 if (!SWIG_IsOK(res1
)) {
12760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12762 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12764 if (!SWIG_IsOK(ecode2
)) {
12765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12767 arg2
= static_cast< wxFontStyle
>(val2
);
12769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12770 (arg1
)->SetStyle(arg2
);
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12774 resultobj
= SWIG_Py_Void();
12781 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12782 PyObject
*resultobj
= 0;
12783 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12784 wxFontWeight arg2
;
12789 PyObject
* obj0
= 0 ;
12790 PyObject
* obj1
= 0 ;
12791 char * kwnames
[] = {
12792 (char *) "self",(char *) "weight", NULL
12795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12797 if (!SWIG_IsOK(res1
)) {
12798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12800 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12802 if (!SWIG_IsOK(ecode2
)) {
12803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12805 arg2
= static_cast< wxFontWeight
>(val2
);
12807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12808 (arg1
)->SetWeight(arg2
);
12809 wxPyEndAllowThreads(__tstate
);
12810 if (PyErr_Occurred()) SWIG_fail
;
12812 resultobj
= SWIG_Py_Void();
12819 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12820 PyObject
*resultobj
= 0;
12821 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12827 PyObject
* obj0
= 0 ;
12828 PyObject
* obj1
= 0 ;
12829 char * kwnames
[] = {
12830 (char *) "self",(char *) "underlined", NULL
12833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12835 if (!SWIG_IsOK(res1
)) {
12836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12838 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12839 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12840 if (!SWIG_IsOK(ecode2
)) {
12841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12843 arg2
= static_cast< bool >(val2
);
12845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12846 (arg1
)->SetUnderlined(arg2
);
12847 wxPyEndAllowThreads(__tstate
);
12848 if (PyErr_Occurred()) SWIG_fail
;
12850 resultobj
= SWIG_Py_Void();
12857 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12858 PyObject
*resultobj
= 0;
12859 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12864 PyObject
* obj0
= 0 ;
12865 PyObject
* obj1
= 0 ;
12866 char * kwnames
[] = {
12867 (char *) "self",(char *) "facename", NULL
12870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12872 if (!SWIG_IsOK(res1
)) {
12873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12875 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12877 wxString
* sptr
= wxString_in_helper(obj1
);
12878 if (sptr
== NULL
) SWIG_fail
;
12883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12884 result
= (bool)(arg1
)->SetFaceName(arg2
);
12885 wxPyEndAllowThreads(__tstate
);
12886 if (PyErr_Occurred()) SWIG_fail
;
12889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12897 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12898 PyObject
*resultobj
= 0;
12899 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12900 wxFontFamily arg2
;
12905 PyObject
* obj0
= 0 ;
12906 PyObject
* obj1
= 0 ;
12907 char * kwnames
[] = {
12908 (char *) "self",(char *) "family", NULL
12911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12913 if (!SWIG_IsOK(res1
)) {
12914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12916 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12918 if (!SWIG_IsOK(ecode2
)) {
12919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12921 arg2
= static_cast< wxFontFamily
>(val2
);
12923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12924 (arg1
)->SetFamily(arg2
);
12925 wxPyEndAllowThreads(__tstate
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12928 resultobj
= SWIG_Py_Void();
12935 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12936 PyObject
*resultobj
= 0;
12937 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12938 wxFontEncoding arg2
;
12943 PyObject
* obj0
= 0 ;
12944 PyObject
* obj1
= 0 ;
12945 char * kwnames
[] = {
12946 (char *) "self",(char *) "encoding", NULL
12949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12951 if (!SWIG_IsOK(res1
)) {
12952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12954 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12956 if (!SWIG_IsOK(ecode2
)) {
12957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12959 arg2
= static_cast< wxFontEncoding
>(val2
);
12961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12962 (arg1
)->SetEncoding(arg2
);
12963 wxPyEndAllowThreads(__tstate
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12966 resultobj
= SWIG_Py_Void();
12973 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12974 PyObject
*resultobj
= 0;
12975 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12976 wxString
*arg2
= 0 ;
12980 bool temp2
= false ;
12981 PyObject
* obj0
= 0 ;
12982 PyObject
* obj1
= 0 ;
12983 char * kwnames
[] = {
12984 (char *) "self",(char *) "s", NULL
12987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12989 if (!SWIG_IsOK(res1
)) {
12990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12992 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12994 arg2
= wxString_in_helper(obj1
);
12995 if (arg2
== NULL
) SWIG_fail
;
12999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13000 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13001 wxPyEndAllowThreads(__tstate
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13021 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13022 PyObject
*resultobj
= 0;
13023 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13027 PyObject
*swig_obj
[1] ;
13029 if (!args
) SWIG_fail
;
13030 swig_obj
[0] = args
;
13031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13032 if (!SWIG_IsOK(res1
)) {
13033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13035 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13038 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
13039 wxPyEndAllowThreads(__tstate
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13044 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13046 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13055 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13056 PyObject
*resultobj
= 0;
13057 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13061 PyObject
*swig_obj
[1] ;
13063 if (!args
) SWIG_fail
;
13064 swig_obj
[0] = args
;
13065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13066 if (!SWIG_IsOK(res1
)) {
13067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13069 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13072 result
= wxNativeFontInfo___str__(arg1
);
13073 wxPyEndAllowThreads(__tstate
);
13074 if (PyErr_Occurred()) SWIG_fail
;
13078 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13080 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13089 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13090 PyObject
*resultobj
= 0;
13091 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13092 wxString
*arg2
= 0 ;
13096 bool temp2
= false ;
13097 PyObject
* obj0
= 0 ;
13098 PyObject
* obj1
= 0 ;
13099 char * kwnames
[] = {
13100 (char *) "self",(char *) "s", NULL
13103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13105 if (!SWIG_IsOK(res1
)) {
13106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13108 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13110 arg2
= wxString_in_helper(obj1
);
13111 if (arg2
== NULL
) SWIG_fail
;
13115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13116 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
13117 wxPyEndAllowThreads(__tstate
);
13118 if (PyErr_Occurred()) SWIG_fail
;
13121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13137 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13138 PyObject
*resultobj
= 0;
13139 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13143 PyObject
*swig_obj
[1] ;
13145 if (!args
) SWIG_fail
;
13146 swig_obj
[0] = args
;
13147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13148 if (!SWIG_IsOK(res1
)) {
13149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13151 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13154 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
13155 wxPyEndAllowThreads(__tstate
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13160 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13162 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13171 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13173 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13174 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13175 return SWIG_Py_Void();
13178 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13179 return SWIG_Python_InitShadowInstance(args
);
13182 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13183 PyObject
*resultobj
= 0;
13184 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13185 wxString
*arg2
= (wxString
*) 0 ;
13188 bool temp2
= false ;
13189 PyObject
*swig_obj
[2] ;
13191 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13193 if (!SWIG_IsOK(res1
)) {
13194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13196 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13198 arg2
= wxString_in_helper(swig_obj
[1]);
13199 if (arg2
== NULL
) SWIG_fail
;
13202 if (arg1
) (arg1
)->facename
= *arg2
;
13204 resultobj
= SWIG_Py_Void();
13219 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13220 PyObject
*resultobj
= 0;
13221 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13222 wxString
*result
= 0 ;
13225 PyObject
*swig_obj
[1] ;
13227 if (!args
) SWIG_fail
;
13228 swig_obj
[0] = args
;
13229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13230 if (!SWIG_IsOK(res1
)) {
13231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13233 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13234 result
= (wxString
*)& ((arg1
)->facename
);
13237 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13239 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13248 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13249 PyObject
*resultobj
= 0;
13250 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13251 wxFontEncoding arg2
;
13256 PyObject
*swig_obj
[2] ;
13258 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13260 if (!SWIG_IsOK(res1
)) {
13261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13263 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13264 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13265 if (!SWIG_IsOK(ecode2
)) {
13266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13268 arg2
= static_cast< wxFontEncoding
>(val2
);
13269 if (arg1
) (arg1
)->encoding
= arg2
;
13271 resultobj
= SWIG_Py_Void();
13278 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13279 PyObject
*resultobj
= 0;
13280 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13281 wxFontEncoding result
;
13284 PyObject
*swig_obj
[1] ;
13286 if (!args
) SWIG_fail
;
13287 swig_obj
[0] = args
;
13288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13289 if (!SWIG_IsOK(res1
)) {
13290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13292 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13293 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13294 resultobj
= SWIG_From_int(static_cast< int >(result
));
13301 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13302 PyObject
*resultobj
= 0;
13303 wxNativeEncodingInfo
*result
= 0 ;
13305 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13309 wxPyEndAllowThreads(__tstate
);
13310 if (PyErr_Occurred()) SWIG_fail
;
13312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13319 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13320 PyObject
*resultobj
= 0;
13321 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13324 PyObject
*swig_obj
[1] ;
13326 if (!args
) SWIG_fail
;
13327 swig_obj
[0] = args
;
13328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13329 if (!SWIG_IsOK(res1
)) {
13330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13332 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 wxPyEndAllowThreads(__tstate
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13340 resultobj
= SWIG_Py_Void();
13347 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13348 PyObject
*resultobj
= 0;
13349 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13350 wxString
*arg2
= 0 ;
13354 bool temp2
= false ;
13355 PyObject
* obj0
= 0 ;
13356 PyObject
* obj1
= 0 ;
13357 char * kwnames
[] = {
13358 (char *) "self",(char *) "s", NULL
13361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13363 if (!SWIG_IsOK(res1
)) {
13364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13366 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13368 arg2
= wxString_in_helper(obj1
);
13369 if (arg2
== NULL
) SWIG_fail
;
13373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13374 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13395 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13396 PyObject
*resultobj
= 0;
13397 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13401 PyObject
*swig_obj
[1] ;
13403 if (!args
) SWIG_fail
;
13404 swig_obj
[0] = args
;
13405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13406 if (!SWIG_IsOK(res1
)) {
13407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13409 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13413 wxPyEndAllowThreads(__tstate
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13418 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13420 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13429 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13431 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13432 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13433 return SWIG_Py_Void();
13436 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13437 return SWIG_Python_InitShadowInstance(args
);
13440 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13441 PyObject
*resultobj
= 0;
13442 wxFontEncoding arg1
;
13443 wxNativeEncodingInfo
*result
= 0 ;
13446 PyObject
* obj0
= 0 ;
13447 char * kwnames
[] = {
13448 (char *) "encoding", NULL
13451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13452 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13453 if (!SWIG_IsOK(ecode1
)) {
13454 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13456 arg1
= static_cast< wxFontEncoding
>(val1
);
13458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13459 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13460 wxPyEndAllowThreads(__tstate
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13470 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13471 PyObject
*resultobj
= 0;
13472 wxNativeEncodingInfo
*arg1
= 0 ;
13476 PyObject
* obj0
= 0 ;
13477 char * kwnames
[] = {
13478 (char *) "info", NULL
13481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13482 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13483 if (!SWIG_IsOK(res1
)) {
13484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13489 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13505 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13506 PyObject
*resultobj
= 0;
13507 wxFontMapper
*result
= 0 ;
13509 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13512 result
= (wxFontMapper
*)new wxFontMapper();
13513 wxPyEndAllowThreads(__tstate
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13523 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13524 PyObject
*resultobj
= 0;
13525 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13528 PyObject
*swig_obj
[1] ;
13530 if (!args
) SWIG_fail
;
13531 swig_obj
[0] = args
;
13532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13533 if (!SWIG_IsOK(res1
)) {
13534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13536 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13541 wxPyEndAllowThreads(__tstate
);
13542 if (PyErr_Occurred()) SWIG_fail
;
13544 resultobj
= SWIG_Py_Void();
13551 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13552 PyObject
*resultobj
= 0;
13553 wxFontMapper
*result
= 0 ;
13555 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13558 result
= (wxFontMapper
*)wxFontMapper::Get();
13559 wxPyEndAllowThreads(__tstate
);
13560 if (PyErr_Occurred()) SWIG_fail
;
13562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13569 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13570 PyObject
*resultobj
= 0;
13571 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13572 wxFontMapper
*result
= 0 ;
13575 PyObject
* obj0
= 0 ;
13576 char * kwnames
[] = {
13577 (char *) "mapper", NULL
13580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13582 if (!SWIG_IsOK(res1
)) {
13583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13585 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13588 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13589 wxPyEndAllowThreads(__tstate
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13599 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13600 PyObject
*resultobj
= 0;
13601 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13602 wxString
*arg2
= 0 ;
13603 bool arg3
= (bool) true ;
13604 wxFontEncoding result
;
13607 bool temp2
= false ;
13610 PyObject
* obj0
= 0 ;
13611 PyObject
* obj1
= 0 ;
13612 PyObject
* obj2
= 0 ;
13613 char * kwnames
[] = {
13614 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13619 if (!SWIG_IsOK(res1
)) {
13620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13622 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13624 arg2
= wxString_in_helper(obj1
);
13625 if (arg2
== NULL
) SWIG_fail
;
13629 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13630 if (!SWIG_IsOK(ecode3
)) {
13631 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13633 arg3
= static_cast< bool >(val3
);
13636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13637 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13641 resultobj
= SWIG_From_int(static_cast< int >(result
));
13656 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13657 PyObject
*resultobj
= 0;
13660 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13663 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13664 wxPyEndAllowThreads(__tstate
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13667 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13674 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13675 PyObject
*resultobj
= 0;
13677 wxFontEncoding result
;
13680 PyObject
* obj0
= 0 ;
13681 char * kwnames
[] = {
13685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13686 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13687 if (!SWIG_IsOK(ecode1
)) {
13688 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13690 arg1
= static_cast< size_t >(val1
);
13692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13693 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13694 wxPyEndAllowThreads(__tstate
);
13695 if (PyErr_Occurred()) SWIG_fail
;
13697 resultobj
= SWIG_From_int(static_cast< int >(result
));
13704 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13705 PyObject
*resultobj
= 0;
13706 wxFontEncoding arg1
;
13710 PyObject
* obj0
= 0 ;
13711 char * kwnames
[] = {
13712 (char *) "encoding", NULL
13715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13716 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13717 if (!SWIG_IsOK(ecode1
)) {
13718 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13720 arg1
= static_cast< wxFontEncoding
>(val1
);
13722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13723 result
= wxFontMapper::GetEncodingName(arg1
);
13724 wxPyEndAllowThreads(__tstate
);
13725 if (PyErr_Occurred()) SWIG_fail
;
13729 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13731 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13740 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13741 PyObject
*resultobj
= 0;
13742 wxFontEncoding arg1
;
13746 PyObject
* obj0
= 0 ;
13747 char * kwnames
[] = {
13748 (char *) "encoding", NULL
13751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13752 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13753 if (!SWIG_IsOK(ecode1
)) {
13754 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13756 arg1
= static_cast< wxFontEncoding
>(val1
);
13758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13759 result
= wxFontMapper::GetEncodingDescription(arg1
);
13760 wxPyEndAllowThreads(__tstate
);
13761 if (PyErr_Occurred()) SWIG_fail
;
13765 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13767 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13776 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13777 PyObject
*resultobj
= 0;
13778 wxString
*arg1
= 0 ;
13779 wxFontEncoding result
;
13780 bool temp1
= false ;
13781 PyObject
* obj0
= 0 ;
13782 char * kwnames
[] = {
13783 (char *) "name", NULL
13786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13788 arg1
= wxString_in_helper(obj0
);
13789 if (arg1
== NULL
) SWIG_fail
;
13793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13794 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13795 wxPyEndAllowThreads(__tstate
);
13796 if (PyErr_Occurred()) SWIG_fail
;
13798 resultobj
= SWIG_From_int(static_cast< int >(result
));
13813 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13814 PyObject
*resultobj
= 0;
13815 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13816 wxString
*arg2
= 0 ;
13819 bool temp2
= false ;
13820 PyObject
* obj0
= 0 ;
13821 PyObject
* obj1
= 0 ;
13822 char * kwnames
[] = {
13823 (char *) "self",(char *) "prefix", NULL
13826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13828 if (!SWIG_IsOK(res1
)) {
13829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13831 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13833 arg2
= wxString_in_helper(obj1
);
13834 if (arg2
== NULL
) SWIG_fail
;
13838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13839 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13840 wxPyEndAllowThreads(__tstate
);
13841 if (PyErr_Occurred()) SWIG_fail
;
13843 resultobj
= SWIG_Py_Void();
13858 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13859 PyObject
*resultobj
= 0;
13862 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13865 result
= wxFontMapper::GetDefaultConfigPath();
13866 wxPyEndAllowThreads(__tstate
);
13867 if (PyErr_Occurred()) SWIG_fail
;
13871 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13873 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13882 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13883 PyObject
*resultobj
= 0;
13884 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13885 wxFontEncoding arg2
;
13886 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13887 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13888 bool arg4
= (bool) true ;
13889 PyObject
*result
= 0 ;
13894 bool temp3
= false ;
13897 PyObject
* obj0
= 0 ;
13898 PyObject
* obj1
= 0 ;
13899 PyObject
* obj2
= 0 ;
13900 PyObject
* obj3
= 0 ;
13901 char * kwnames
[] = {
13902 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13907 if (!SWIG_IsOK(res1
)) {
13908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13910 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13912 if (!SWIG_IsOK(ecode2
)) {
13913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13915 arg2
= static_cast< wxFontEncoding
>(val2
);
13918 arg3
= wxString_in_helper(obj2
);
13919 if (arg3
== NULL
) SWIG_fail
;
13924 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13925 if (!SWIG_IsOK(ecode4
)) {
13926 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13928 arg4
= static_cast< bool >(val4
);
13931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13932 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13933 wxPyEndAllowThreads(__tstate
);
13934 if (PyErr_Occurred()) SWIG_fail
;
13936 resultobj
= result
;
13951 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13952 PyObject
*resultobj
= 0;
13953 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13954 wxFontEncoding arg2
;
13955 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13956 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13962 bool temp3
= false ;
13963 PyObject
* obj0
= 0 ;
13964 PyObject
* obj1
= 0 ;
13965 PyObject
* obj2
= 0 ;
13966 char * kwnames
[] = {
13967 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13972 if (!SWIG_IsOK(res1
)) {
13973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13975 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13976 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13977 if (!SWIG_IsOK(ecode2
)) {
13978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13980 arg2
= static_cast< wxFontEncoding
>(val2
);
13983 arg3
= wxString_in_helper(obj2
);
13984 if (arg3
== NULL
) SWIG_fail
;
13989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13990 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13991 wxPyEndAllowThreads(__tstate
);
13992 if (PyErr_Occurred()) SWIG_fail
;
13995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14011 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14012 PyObject
*resultobj
= 0;
14013 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14014 wxWindow
*arg2
= (wxWindow
*) 0 ;
14019 PyObject
* obj0
= 0 ;
14020 PyObject
* obj1
= 0 ;
14021 char * kwnames
[] = {
14022 (char *) "self",(char *) "parent", NULL
14025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14027 if (!SWIG_IsOK(res1
)) {
14028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14030 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14031 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14032 if (!SWIG_IsOK(res2
)) {
14033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
14035 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14038 (arg1
)->SetDialogParent(arg2
);
14039 wxPyEndAllowThreads(__tstate
);
14040 if (PyErr_Occurred()) SWIG_fail
;
14042 resultobj
= SWIG_Py_Void();
14049 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14050 PyObject
*resultobj
= 0;
14051 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14052 wxString
*arg2
= 0 ;
14055 bool temp2
= false ;
14056 PyObject
* obj0
= 0 ;
14057 PyObject
* obj1
= 0 ;
14058 char * kwnames
[] = {
14059 (char *) "self",(char *) "title", NULL
14062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14064 if (!SWIG_IsOK(res1
)) {
14065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14067 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14069 arg2
= wxString_in_helper(obj1
);
14070 if (arg2
== NULL
) SWIG_fail
;
14074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14075 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
14076 wxPyEndAllowThreads(__tstate
);
14077 if (PyErr_Occurred()) SWIG_fail
;
14079 resultobj
= SWIG_Py_Void();
14094 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14096 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14097 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
14098 return SWIG_Py_Void();
14101 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14102 return SWIG_Python_InitShadowInstance(args
);
14105 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14106 PyObject
*resultobj
= 0;
14111 bool arg5
= (bool) false ;
14112 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14113 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14114 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14115 wxFont
*result
= 0 ;
14126 bool temp6
= false ;
14129 PyObject
* obj0
= 0 ;
14130 PyObject
* obj1
= 0 ;
14131 PyObject
* obj2
= 0 ;
14132 PyObject
* obj3
= 0 ;
14133 PyObject
* obj4
= 0 ;
14134 PyObject
* obj5
= 0 ;
14135 PyObject
* obj6
= 0 ;
14136 char * kwnames
[] = {
14137 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
14140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14141 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14142 if (!SWIG_IsOK(ecode1
)) {
14143 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
14145 arg1
= static_cast< int >(val1
);
14146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14147 if (!SWIG_IsOK(ecode2
)) {
14148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
14150 arg2
= static_cast< int >(val2
);
14151 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14152 if (!SWIG_IsOK(ecode3
)) {
14153 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
14155 arg3
= static_cast< int >(val3
);
14156 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14157 if (!SWIG_IsOK(ecode4
)) {
14158 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
14160 arg4
= static_cast< int >(val4
);
14162 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14163 if (!SWIG_IsOK(ecode5
)) {
14164 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
14166 arg5
= static_cast< bool >(val5
);
14170 arg6
= wxString_in_helper(obj5
);
14171 if (arg6
== NULL
) SWIG_fail
;
14176 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14177 if (!SWIG_IsOK(ecode7
)) {
14178 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14180 arg7
= static_cast< wxFontEncoding
>(val7
);
14183 if (!wxPyCheckForApp()) SWIG_fail
;
14184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14185 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14186 wxPyEndAllowThreads(__tstate
);
14187 if (PyErr_Occurred()) SWIG_fail
;
14189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14204 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14205 PyObject
*resultobj
= 0;
14206 wxFont
*arg1
= (wxFont
*) 0 ;
14209 PyObject
*swig_obj
[1] ;
14211 if (!args
) SWIG_fail
;
14212 swig_obj
[0] = args
;
14213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14214 if (!SWIG_IsOK(res1
)) {
14215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14217 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14222 wxPyEndAllowThreads(__tstate
);
14223 if (PyErr_Occurred()) SWIG_fail
;
14225 resultobj
= SWIG_Py_Void();
14232 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14233 PyObject
*resultobj
= 0;
14234 wxNativeFontInfo
*arg1
= 0 ;
14235 wxFont
*result
= 0 ;
14238 PyObject
* obj0
= 0 ;
14239 char * kwnames
[] = {
14240 (char *) "info", NULL
14243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14244 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14245 if (!SWIG_IsOK(res1
)) {
14246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14249 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14251 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14253 if (!wxPyCheckForApp()) SWIG_fail
;
14254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14255 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14256 wxPyEndAllowThreads(__tstate
);
14257 if (PyErr_Occurred()) SWIG_fail
;
14259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14266 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14267 PyObject
*resultobj
= 0;
14268 wxString
*arg1
= 0 ;
14269 wxFont
*result
= 0 ;
14270 bool temp1
= false ;
14271 PyObject
* obj0
= 0 ;
14272 char * kwnames
[] = {
14273 (char *) "info", NULL
14276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14278 arg1
= wxString_in_helper(obj0
);
14279 if (arg1
== NULL
) SWIG_fail
;
14283 if (!wxPyCheckForApp()) SWIG_fail
;
14284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14285 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14286 wxPyEndAllowThreads(__tstate
);
14287 if (PyErr_Occurred()) SWIG_fail
;
14289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14304 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14305 PyObject
*resultobj
= 0;
14307 wxFontFamily arg2
;
14308 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14309 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14310 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14311 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14312 wxFont
*result
= 0 ;
14319 bool temp4
= false ;
14322 PyObject
* obj0
= 0 ;
14323 PyObject
* obj1
= 0 ;
14324 PyObject
* obj2
= 0 ;
14325 PyObject
* obj3
= 0 ;
14326 PyObject
* obj4
= 0 ;
14327 char * kwnames
[] = {
14328 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14332 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14333 if (!SWIG_IsOK(ecode1
)) {
14334 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14336 arg1
= static_cast< int >(val1
);
14337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14338 if (!SWIG_IsOK(ecode2
)) {
14339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14341 arg2
= static_cast< wxFontFamily
>(val2
);
14343 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14344 if (!SWIG_IsOK(ecode3
)) {
14345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14347 arg3
= static_cast< int >(val3
);
14351 arg4
= wxString_in_helper(obj3
);
14352 if (arg4
== NULL
) SWIG_fail
;
14357 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14358 if (!SWIG_IsOK(ecode5
)) {
14359 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14361 arg5
= static_cast< wxFontEncoding
>(val5
);
14364 if (!wxPyCheckForApp()) SWIG_fail
;
14365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14366 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14367 wxPyEndAllowThreads(__tstate
);
14368 if (PyErr_Occurred()) SWIG_fail
;
14370 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14385 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14386 PyObject
*resultobj
= 0;
14391 bool arg5
= (bool) false ;
14392 wxString
const &arg6_defvalue
= wxEmptyString
;
14393 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14394 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14395 wxFont
*result
= 0 ;
14405 bool temp6
= false ;
14408 PyObject
* obj0
= 0 ;
14409 PyObject
* obj1
= 0 ;
14410 PyObject
* obj2
= 0 ;
14411 PyObject
* obj3
= 0 ;
14412 PyObject
* obj4
= 0 ;
14413 PyObject
* obj5
= 0 ;
14414 PyObject
* obj6
= 0 ;
14415 char * kwnames
[] = {
14416 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14422 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14424 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14425 if (!SWIG_IsOK(ecode2
)) {
14426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14428 arg2
= static_cast< int >(val2
);
14429 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14430 if (!SWIG_IsOK(ecode3
)) {
14431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14433 arg3
= static_cast< int >(val3
);
14434 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14435 if (!SWIG_IsOK(ecode4
)) {
14436 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14438 arg4
= static_cast< int >(val4
);
14440 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14441 if (!SWIG_IsOK(ecode5
)) {
14442 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14444 arg5
= static_cast< bool >(val5
);
14448 arg6
= wxString_in_helper(obj5
);
14449 if (arg6
== NULL
) SWIG_fail
;
14454 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14455 if (!SWIG_IsOK(ecode7
)) {
14456 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14458 arg7
= static_cast< wxFontEncoding
>(val7
);
14461 if (!wxPyCheckForApp()) SWIG_fail
;
14462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14463 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14464 wxPyEndAllowThreads(__tstate
);
14465 if (PyErr_Occurred()) SWIG_fail
;
14467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14482 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14483 PyObject
*resultobj
= 0;
14485 wxFontFamily arg2
;
14486 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14487 wxString
const &arg4_defvalue
= wxEmptyString
;
14488 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14489 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14490 wxFont
*result
= 0 ;
14496 bool temp4
= false ;
14499 PyObject
* obj0
= 0 ;
14500 PyObject
* obj1
= 0 ;
14501 PyObject
* obj2
= 0 ;
14502 PyObject
* obj3
= 0 ;
14503 PyObject
* obj4
= 0 ;
14504 char * kwnames
[] = {
14505 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14511 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14513 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14514 if (!SWIG_IsOK(ecode2
)) {
14515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14517 arg2
= static_cast< wxFontFamily
>(val2
);
14519 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14520 if (!SWIG_IsOK(ecode3
)) {
14521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14523 arg3
= static_cast< int >(val3
);
14527 arg4
= wxString_in_helper(obj3
);
14528 if (arg4
== NULL
) SWIG_fail
;
14533 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14534 if (!SWIG_IsOK(ecode5
)) {
14535 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14537 arg5
= static_cast< wxFontEncoding
>(val5
);
14540 if (!wxPyCheckForApp()) SWIG_fail
;
14541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14542 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14543 wxPyEndAllowThreads(__tstate
);
14544 if (PyErr_Occurred()) SWIG_fail
;
14546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14561 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14562 PyObject
*resultobj
= 0;
14563 wxFont
*arg1
= (wxFont
*) 0 ;
14567 PyObject
*swig_obj
[1] ;
14569 if (!args
) SWIG_fail
;
14570 swig_obj
[0] = args
;
14571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14572 if (!SWIG_IsOK(res1
)) {
14573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14575 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14578 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14591 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14592 PyObject
*resultobj
= 0;
14593 wxFont
*arg1
= (wxFont
*) 0 ;
14594 wxFont
*arg2
= (wxFont
*) 0 ;
14600 PyObject
* obj0
= 0 ;
14601 PyObject
* obj1
= 0 ;
14602 char * kwnames
[] = {
14603 (char *) "self",(char *) "other", NULL
14606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14608 if (!SWIG_IsOK(res1
)) {
14609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14611 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14612 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14613 if (!SWIG_IsOK(res2
)) {
14614 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14616 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14619 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14620 wxPyEndAllowThreads(__tstate
);
14621 if (PyErr_Occurred()) SWIG_fail
;
14624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14632 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14633 PyObject
*resultobj
= 0;
14634 wxFont
*arg1
= (wxFont
*) 0 ;
14635 wxFont
*arg2
= (wxFont
*) 0 ;
14641 PyObject
* obj0
= 0 ;
14642 PyObject
* obj1
= 0 ;
14643 char * kwnames
[] = {
14644 (char *) "self",(char *) "other", NULL
14647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14649 if (!SWIG_IsOK(res1
)) {
14650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14652 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14653 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14654 if (!SWIG_IsOK(res2
)) {
14655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14657 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14660 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14661 wxPyEndAllowThreads(__tstate
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14673 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14674 PyObject
*resultobj
= 0;
14675 wxFont
*arg1
= (wxFont
*) 0 ;
14679 PyObject
*swig_obj
[1] ;
14681 if (!args
) SWIG_fail
;
14682 swig_obj
[0] = args
;
14683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14684 if (!SWIG_IsOK(res1
)) {
14685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14687 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14690 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14691 wxPyEndAllowThreads(__tstate
);
14692 if (PyErr_Occurred()) SWIG_fail
;
14694 resultobj
= SWIG_From_int(static_cast< int >(result
));
14701 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14702 PyObject
*resultobj
= 0;
14703 wxFont
*arg1
= (wxFont
*) 0 ;
14707 PyObject
*swig_obj
[1] ;
14709 if (!args
) SWIG_fail
;
14710 swig_obj
[0] = args
;
14711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14712 if (!SWIG_IsOK(res1
)) {
14713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14715 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14718 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14722 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14729 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14730 PyObject
*resultobj
= 0;
14731 wxFont
*arg1
= (wxFont
*) 0 ;
14735 PyObject
*swig_obj
[1] ;
14737 if (!args
) SWIG_fail
;
14738 swig_obj
[0] = args
;
14739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14740 if (!SWIG_IsOK(res1
)) {
14741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14743 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14746 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14747 wxPyEndAllowThreads(__tstate
);
14748 if (PyErr_Occurred()) SWIG_fail
;
14751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14759 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14760 PyObject
*resultobj
= 0;
14761 wxFont
*arg1
= (wxFont
*) 0 ;
14765 PyObject
*swig_obj
[1] ;
14767 if (!args
) SWIG_fail
;
14768 swig_obj
[0] = args
;
14769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14770 if (!SWIG_IsOK(res1
)) {
14771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14773 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14776 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14777 wxPyEndAllowThreads(__tstate
);
14778 if (PyErr_Occurred()) SWIG_fail
;
14780 resultobj
= SWIG_From_int(static_cast< int >(result
));
14787 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14788 PyObject
*resultobj
= 0;
14789 wxFont
*arg1
= (wxFont
*) 0 ;
14793 PyObject
*swig_obj
[1] ;
14795 if (!args
) SWIG_fail
;
14796 swig_obj
[0] = args
;
14797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14798 if (!SWIG_IsOK(res1
)) {
14799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14801 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14804 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14805 wxPyEndAllowThreads(__tstate
);
14806 if (PyErr_Occurred()) SWIG_fail
;
14808 resultobj
= SWIG_From_int(static_cast< int >(result
));
14815 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14816 PyObject
*resultobj
= 0;
14817 wxFont
*arg1
= (wxFont
*) 0 ;
14821 PyObject
*swig_obj
[1] ;
14823 if (!args
) SWIG_fail
;
14824 swig_obj
[0] = args
;
14825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14826 if (!SWIG_IsOK(res1
)) {
14827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14829 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14832 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14833 wxPyEndAllowThreads(__tstate
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14836 resultobj
= SWIG_From_int(static_cast< int >(result
));
14843 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14844 PyObject
*resultobj
= 0;
14845 wxFont
*arg1
= (wxFont
*) 0 ;
14849 PyObject
*swig_obj
[1] ;
14851 if (!args
) SWIG_fail
;
14852 swig_obj
[0] = args
;
14853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14854 if (!SWIG_IsOK(res1
)) {
14855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14857 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14860 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14861 wxPyEndAllowThreads(__tstate
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14873 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14874 PyObject
*resultobj
= 0;
14875 wxFont
*arg1
= (wxFont
*) 0 ;
14879 PyObject
*swig_obj
[1] ;
14881 if (!args
) SWIG_fail
;
14882 swig_obj
[0] = args
;
14883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14884 if (!SWIG_IsOK(res1
)) {
14885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14887 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14890 result
= ((wxFont
const *)arg1
)->GetFaceName();
14891 wxPyEndAllowThreads(__tstate
);
14892 if (PyErr_Occurred()) SWIG_fail
;
14896 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14898 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14907 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14908 PyObject
*resultobj
= 0;
14909 wxFont
*arg1
= (wxFont
*) 0 ;
14910 wxFontEncoding result
;
14913 PyObject
*swig_obj
[1] ;
14915 if (!args
) SWIG_fail
;
14916 swig_obj
[0] = args
;
14917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14918 if (!SWIG_IsOK(res1
)) {
14919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14921 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14924 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14925 wxPyEndAllowThreads(__tstate
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14928 resultobj
= SWIG_From_int(static_cast< int >(result
));
14935 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14936 PyObject
*resultobj
= 0;
14937 wxFont
*arg1
= (wxFont
*) 0 ;
14938 wxNativeFontInfo
*result
= 0 ;
14941 PyObject
*swig_obj
[1] ;
14943 if (!args
) SWIG_fail
;
14944 swig_obj
[0] = args
;
14945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14946 if (!SWIG_IsOK(res1
)) {
14947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14949 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14952 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14953 wxPyEndAllowThreads(__tstate
);
14954 if (PyErr_Occurred()) SWIG_fail
;
14956 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14963 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14964 PyObject
*resultobj
= 0;
14965 wxFont
*arg1
= (wxFont
*) 0 ;
14969 PyObject
*swig_obj
[1] ;
14971 if (!args
) SWIG_fail
;
14972 swig_obj
[0] = args
;
14973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14974 if (!SWIG_IsOK(res1
)) {
14975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14977 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14980 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14981 wxPyEndAllowThreads(__tstate
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14993 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14994 PyObject
*resultobj
= 0;
14995 wxFont
*arg1
= (wxFont
*) 0 ;
14999 PyObject
*swig_obj
[1] ;
15001 if (!args
) SWIG_fail
;
15002 swig_obj
[0] = args
;
15003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15004 if (!SWIG_IsOK(res1
)) {
15005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15007 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15010 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
15011 wxPyEndAllowThreads(__tstate
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15016 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15018 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15027 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15028 PyObject
*resultobj
= 0;
15029 wxFont
*arg1
= (wxFont
*) 0 ;
15033 PyObject
*swig_obj
[1] ;
15035 if (!args
) SWIG_fail
;
15036 swig_obj
[0] = args
;
15037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15038 if (!SWIG_IsOK(res1
)) {
15039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15041 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15044 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
15045 wxPyEndAllowThreads(__tstate
);
15046 if (PyErr_Occurred()) SWIG_fail
;
15050 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15052 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15061 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15062 PyObject
*resultobj
= 0;
15063 wxFont
*arg1
= (wxFont
*) 0 ;
15069 PyObject
* obj0
= 0 ;
15070 PyObject
* obj1
= 0 ;
15071 char * kwnames
[] = {
15072 (char *) "self",(char *) "pointSize", NULL
15075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15077 if (!SWIG_IsOK(res1
)) {
15078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
15080 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15082 if (!SWIG_IsOK(ecode2
)) {
15083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
15085 arg2
= static_cast< int >(val2
);
15087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15088 (arg1
)->SetPointSize(arg2
);
15089 wxPyEndAllowThreads(__tstate
);
15090 if (PyErr_Occurred()) SWIG_fail
;
15092 resultobj
= SWIG_Py_Void();
15099 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15100 PyObject
*resultobj
= 0;
15101 wxFont
*arg1
= (wxFont
*) 0 ;
15106 PyObject
* obj0
= 0 ;
15107 PyObject
* obj1
= 0 ;
15108 char * kwnames
[] = {
15109 (char *) "self",(char *) "pixelSize", NULL
15112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15114 if (!SWIG_IsOK(res1
)) {
15115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
15117 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15120 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15124 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
15125 wxPyEndAllowThreads(__tstate
);
15126 if (PyErr_Occurred()) SWIG_fail
;
15128 resultobj
= SWIG_Py_Void();
15135 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15136 PyObject
*resultobj
= 0;
15137 wxFont
*arg1
= (wxFont
*) 0 ;
15143 PyObject
* obj0
= 0 ;
15144 PyObject
* obj1
= 0 ;
15145 char * kwnames
[] = {
15146 (char *) "self",(char *) "family", NULL
15149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15151 if (!SWIG_IsOK(res1
)) {
15152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
15154 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15156 if (!SWIG_IsOK(ecode2
)) {
15157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
15159 arg2
= static_cast< int >(val2
);
15161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15162 (arg1
)->SetFamily(arg2
);
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15166 resultobj
= SWIG_Py_Void();
15173 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15174 PyObject
*resultobj
= 0;
15175 wxFont
*arg1
= (wxFont
*) 0 ;
15181 PyObject
* obj0
= 0 ;
15182 PyObject
* obj1
= 0 ;
15183 char * kwnames
[] = {
15184 (char *) "self",(char *) "style", NULL
15187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15189 if (!SWIG_IsOK(res1
)) {
15190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15192 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15194 if (!SWIG_IsOK(ecode2
)) {
15195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15197 arg2
= static_cast< int >(val2
);
15199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15200 (arg1
)->SetStyle(arg2
);
15201 wxPyEndAllowThreads(__tstate
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15204 resultobj
= SWIG_Py_Void();
15211 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15212 PyObject
*resultobj
= 0;
15213 wxFont
*arg1
= (wxFont
*) 0 ;
15219 PyObject
* obj0
= 0 ;
15220 PyObject
* obj1
= 0 ;
15221 char * kwnames
[] = {
15222 (char *) "self",(char *) "weight", NULL
15225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15227 if (!SWIG_IsOK(res1
)) {
15228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15230 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15232 if (!SWIG_IsOK(ecode2
)) {
15233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15235 arg2
= static_cast< int >(val2
);
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15238 (arg1
)->SetWeight(arg2
);
15239 wxPyEndAllowThreads(__tstate
);
15240 if (PyErr_Occurred()) SWIG_fail
;
15242 resultobj
= SWIG_Py_Void();
15249 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15250 PyObject
*resultobj
= 0;
15251 wxFont
*arg1
= (wxFont
*) 0 ;
15252 wxString
*arg2
= 0 ;
15256 bool temp2
= false ;
15257 PyObject
* obj0
= 0 ;
15258 PyObject
* obj1
= 0 ;
15259 char * kwnames
[] = {
15260 (char *) "self",(char *) "faceName", NULL
15263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15265 if (!SWIG_IsOK(res1
)) {
15266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15268 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15270 arg2
= wxString_in_helper(obj1
);
15271 if (arg2
== NULL
) SWIG_fail
;
15275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15276 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15277 wxPyEndAllowThreads(__tstate
);
15278 if (PyErr_Occurred()) SWIG_fail
;
15281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15297 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15298 PyObject
*resultobj
= 0;
15299 wxFont
*arg1
= (wxFont
*) 0 ;
15305 PyObject
* obj0
= 0 ;
15306 PyObject
* obj1
= 0 ;
15307 char * kwnames
[] = {
15308 (char *) "self",(char *) "underlined", NULL
15311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15313 if (!SWIG_IsOK(res1
)) {
15314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15316 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15317 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15318 if (!SWIG_IsOK(ecode2
)) {
15319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15321 arg2
= static_cast< bool >(val2
);
15323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15324 (arg1
)->SetUnderlined(arg2
);
15325 wxPyEndAllowThreads(__tstate
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15328 resultobj
= SWIG_Py_Void();
15335 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15336 PyObject
*resultobj
= 0;
15337 wxFont
*arg1
= (wxFont
*) 0 ;
15338 wxFontEncoding arg2
;
15343 PyObject
* obj0
= 0 ;
15344 PyObject
* obj1
= 0 ;
15345 char * kwnames
[] = {
15346 (char *) "self",(char *) "encoding", NULL
15349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15351 if (!SWIG_IsOK(res1
)) {
15352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15354 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15356 if (!SWIG_IsOK(ecode2
)) {
15357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15359 arg2
= static_cast< wxFontEncoding
>(val2
);
15361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15362 (arg1
)->SetEncoding(arg2
);
15363 wxPyEndAllowThreads(__tstate
);
15364 if (PyErr_Occurred()) SWIG_fail
;
15366 resultobj
= SWIG_Py_Void();
15373 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15374 PyObject
*resultobj
= 0;
15375 wxFont
*arg1
= (wxFont
*) 0 ;
15376 wxNativeFontInfo
*arg2
= 0 ;
15381 PyObject
* obj0
= 0 ;
15382 PyObject
* obj1
= 0 ;
15383 char * kwnames
[] = {
15384 (char *) "self",(char *) "info", NULL
15387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15389 if (!SWIG_IsOK(res1
)) {
15390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15392 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15393 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15394 if (!SWIG_IsOK(res2
)) {
15395 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15398 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15400 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15403 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15404 wxPyEndAllowThreads(__tstate
);
15405 if (PyErr_Occurred()) SWIG_fail
;
15407 resultobj
= SWIG_Py_Void();
15414 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15415 PyObject
*resultobj
= 0;
15416 wxFont
*arg1
= (wxFont
*) 0 ;
15417 wxString
*arg2
= 0 ;
15421 bool temp2
= false ;
15422 PyObject
* obj0
= 0 ;
15423 PyObject
* obj1
= 0 ;
15424 char * kwnames
[] = {
15425 (char *) "self",(char *) "info", NULL
15428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15430 if (!SWIG_IsOK(res1
)) {
15431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15433 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15435 arg2
= wxString_in_helper(obj1
);
15436 if (arg2
== NULL
) SWIG_fail
;
15440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15441 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15442 wxPyEndAllowThreads(__tstate
);
15443 if (PyErr_Occurred()) SWIG_fail
;
15446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15462 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15463 PyObject
*resultobj
= 0;
15464 wxFont
*arg1
= (wxFont
*) 0 ;
15465 wxString
*arg2
= 0 ;
15469 bool temp2
= false ;
15470 PyObject
* obj0
= 0 ;
15471 PyObject
* obj1
= 0 ;
15472 char * kwnames
[] = {
15473 (char *) "self",(char *) "info", NULL
15476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15478 if (!SWIG_IsOK(res1
)) {
15479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15481 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15483 arg2
= wxString_in_helper(obj1
);
15484 if (arg2
== NULL
) SWIG_fail
;
15488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15489 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15490 wxPyEndAllowThreads(__tstate
);
15491 if (PyErr_Occurred()) SWIG_fail
;
15494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15510 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15511 PyObject
*resultobj
= 0;
15512 wxFont
*arg1
= (wxFont
*) 0 ;
15516 PyObject
*swig_obj
[1] ;
15518 if (!args
) SWIG_fail
;
15519 swig_obj
[0] = args
;
15520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15521 if (!SWIG_IsOK(res1
)) {
15522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15524 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15527 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15528 wxPyEndAllowThreads(__tstate
);
15529 if (PyErr_Occurred()) SWIG_fail
;
15533 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15535 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15544 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15545 PyObject
*resultobj
= 0;
15546 wxFont
*arg1
= (wxFont
*) 0 ;
15550 PyObject
*swig_obj
[1] ;
15552 if (!args
) SWIG_fail
;
15553 swig_obj
[0] = args
;
15554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15555 if (!SWIG_IsOK(res1
)) {
15556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15558 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15561 result
= ((wxFont
const *)arg1
)->GetStyleString();
15562 wxPyEndAllowThreads(__tstate
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15567 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15569 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15578 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15579 PyObject
*resultobj
= 0;
15580 wxFont
*arg1
= (wxFont
*) 0 ;
15584 PyObject
*swig_obj
[1] ;
15586 if (!args
) SWIG_fail
;
15587 swig_obj
[0] = args
;
15588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15589 if (!SWIG_IsOK(res1
)) {
15590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15592 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15595 result
= ((wxFont
const *)arg1
)->GetWeightString();
15596 wxPyEndAllowThreads(__tstate
);
15597 if (PyErr_Occurred()) SWIG_fail
;
15601 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15603 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15612 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15613 PyObject
*resultobj
= 0;
15614 wxFont
*arg1
= (wxFont
*) 0 ;
15615 bool arg2
= (bool) true ;
15620 PyObject
* obj0
= 0 ;
15621 PyObject
* obj1
= 0 ;
15622 char * kwnames
[] = {
15623 (char *) "self",(char *) "no", NULL
15626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15628 if (!SWIG_IsOK(res1
)) {
15629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15631 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15633 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15634 if (!SWIG_IsOK(ecode2
)) {
15635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15637 arg2
= static_cast< bool >(val2
);
15640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15641 (arg1
)->SetNoAntiAliasing(arg2
);
15642 wxPyEndAllowThreads(__tstate
);
15643 if (PyErr_Occurred()) SWIG_fail
;
15645 resultobj
= SWIG_Py_Void();
15652 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15653 PyObject
*resultobj
= 0;
15654 wxFont
*arg1
= (wxFont
*) 0 ;
15658 PyObject
*swig_obj
[1] ;
15660 if (!args
) SWIG_fail
;
15661 swig_obj
[0] = args
;
15662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15663 if (!SWIG_IsOK(res1
)) {
15664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15666 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15670 wxPyEndAllowThreads(__tstate
);
15671 if (PyErr_Occurred()) SWIG_fail
;
15674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15682 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15683 PyObject
*resultobj
= 0;
15684 wxFontEncoding result
;
15686 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15688 if (!wxPyCheckForApp()) SWIG_fail
;
15689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15690 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15694 resultobj
= SWIG_From_int(static_cast< int >(result
));
15701 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15702 PyObject
*resultobj
= 0;
15703 wxFontEncoding arg1
;
15706 PyObject
* obj0
= 0 ;
15707 char * kwnames
[] = {
15708 (char *) "encoding", NULL
15711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15712 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15713 if (!SWIG_IsOK(ecode1
)) {
15714 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15716 arg1
= static_cast< wxFontEncoding
>(val1
);
15718 if (!wxPyCheckForApp()) SWIG_fail
;
15719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15720 wxFont::SetDefaultEncoding(arg1
);
15721 wxPyEndAllowThreads(__tstate
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15724 resultobj
= SWIG_Py_Void();
15731 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15733 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15734 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15735 return SWIG_Py_Void();
15738 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15739 return SWIG_Python_InitShadowInstance(args
);
15742 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15743 PyObject
*resultobj
= 0;
15744 wxPyFontEnumerator
*result
= 0 ;
15746 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15748 if (!wxPyCheckForApp()) SWIG_fail
;
15749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15750 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15751 wxPyEndAllowThreads(__tstate
);
15752 if (PyErr_Occurred()) SWIG_fail
;
15754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15761 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15762 PyObject
*resultobj
= 0;
15763 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15766 PyObject
*swig_obj
[1] ;
15768 if (!args
) SWIG_fail
;
15769 swig_obj
[0] = args
;
15770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15771 if (!SWIG_IsOK(res1
)) {
15772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15774 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15779 wxPyEndAllowThreads(__tstate
);
15780 if (PyErr_Occurred()) SWIG_fail
;
15782 resultobj
= SWIG_Py_Void();
15789 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15790 PyObject
*resultobj
= 0;
15791 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15792 PyObject
*arg2
= (PyObject
*) 0 ;
15793 PyObject
*arg3
= (PyObject
*) 0 ;
15799 PyObject
* obj0
= 0 ;
15800 PyObject
* obj1
= 0 ;
15801 PyObject
* obj2
= 0 ;
15802 PyObject
* obj3
= 0 ;
15803 char * kwnames
[] = {
15804 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15809 if (!SWIG_IsOK(res1
)) {
15810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15812 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15815 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15816 if (!SWIG_IsOK(ecode4
)) {
15817 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15819 arg4
= static_cast< bool >(val4
);
15821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15822 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15823 wxPyEndAllowThreads(__tstate
);
15824 if (PyErr_Occurred()) SWIG_fail
;
15826 resultobj
= SWIG_Py_Void();
15833 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15834 PyObject
*resultobj
= 0;
15835 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15836 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15837 bool arg3
= (bool) false ;
15845 PyObject
* obj0
= 0 ;
15846 PyObject
* obj1
= 0 ;
15847 PyObject
* obj2
= 0 ;
15848 char * kwnames
[] = {
15849 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15854 if (!SWIG_IsOK(res1
)) {
15855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15857 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15860 if (!SWIG_IsOK(ecode2
)) {
15861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15863 arg2
= static_cast< wxFontEncoding
>(val2
);
15866 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15867 if (!SWIG_IsOK(ecode3
)) {
15868 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15870 arg3
= static_cast< bool >(val3
);
15873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15874 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15875 wxPyEndAllowThreads(__tstate
);
15876 if (PyErr_Occurred()) SWIG_fail
;
15879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15887 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15888 PyObject
*resultobj
= 0;
15889 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15890 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15891 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15895 bool temp2
= false ;
15896 PyObject
* obj0
= 0 ;
15897 PyObject
* obj1
= 0 ;
15898 char * kwnames
[] = {
15899 (char *) "self",(char *) "facename", NULL
15902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15904 if (!SWIG_IsOK(res1
)) {
15905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15907 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15910 arg2
= wxString_in_helper(obj1
);
15911 if (arg2
== NULL
) SWIG_fail
;
15916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15917 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15918 wxPyEndAllowThreads(__tstate
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15938 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15939 PyObject
*resultobj
= 0;
15940 PyObject
*result
= 0 ;
15942 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15945 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15946 wxPyEndAllowThreads(__tstate
);
15947 if (PyErr_Occurred()) SWIG_fail
;
15949 resultobj
= result
;
15956 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15957 PyObject
*resultobj
= 0;
15958 PyObject
*result
= 0 ;
15960 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15963 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15964 wxPyEndAllowThreads(__tstate
);
15965 if (PyErr_Occurred()) SWIG_fail
;
15967 resultobj
= result
;
15974 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15975 PyObject
*resultobj
= 0;
15976 wxString
*arg1
= 0 ;
15978 bool temp1
= false ;
15979 PyObject
* obj0
= 0 ;
15980 char * kwnames
[] = {
15981 (char *) "str", NULL
15984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15986 arg1
= wxString_in_helper(obj0
);
15987 if (arg1
== NULL
) SWIG_fail
;
15991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15992 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15993 wxPyEndAllowThreads(__tstate
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16013 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16015 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16016 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
16017 return SWIG_Py_Void();
16020 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16021 return SWIG_Python_InitShadowInstance(args
);
16024 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16025 PyObject
*resultobj
= 0;
16026 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16032 PyObject
*swig_obj
[2] ;
16034 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
16035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16036 if (!SWIG_IsOK(res1
)) {
16037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16039 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16040 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16041 if (!SWIG_IsOK(ecode2
)) {
16042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
16044 arg2
= static_cast< int >(val2
);
16045 if (arg1
) (arg1
)->Language
= arg2
;
16047 resultobj
= SWIG_Py_Void();
16054 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16055 PyObject
*resultobj
= 0;
16056 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16060 PyObject
*swig_obj
[1] ;
16062 if (!args
) SWIG_fail
;
16063 swig_obj
[0] = args
;
16064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16065 if (!SWIG_IsOK(res1
)) {
16066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16068 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16069 result
= (int) ((arg1
)->Language
);
16070 resultobj
= SWIG_From_int(static_cast< int >(result
));
16077 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16078 PyObject
*resultobj
= 0;
16079 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16080 wxString
*arg2
= (wxString
*) 0 ;
16083 bool temp2
= false ;
16084 PyObject
*swig_obj
[2] ;
16086 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
16087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16088 if (!SWIG_IsOK(res1
)) {
16089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16091 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16093 arg2
= wxString_in_helper(swig_obj
[1]);
16094 if (arg2
== NULL
) SWIG_fail
;
16097 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
16099 resultobj
= SWIG_Py_Void();
16114 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16115 PyObject
*resultobj
= 0;
16116 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16117 wxString
*result
= 0 ;
16120 PyObject
*swig_obj
[1] ;
16122 if (!args
) SWIG_fail
;
16123 swig_obj
[0] = args
;
16124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16125 if (!SWIG_IsOK(res1
)) {
16126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16128 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16129 result
= (wxString
*)& ((arg1
)->CanonicalName
);
16132 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16134 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16143 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16144 PyObject
*resultobj
= 0;
16145 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16146 wxString
*arg2
= (wxString
*) 0 ;
16149 bool temp2
= false ;
16150 PyObject
*swig_obj
[2] ;
16152 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
16153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16154 if (!SWIG_IsOK(res1
)) {
16155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16157 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16159 arg2
= wxString_in_helper(swig_obj
[1]);
16160 if (arg2
== NULL
) SWIG_fail
;
16163 if (arg1
) (arg1
)->Description
= *arg2
;
16165 resultobj
= SWIG_Py_Void();
16180 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16181 PyObject
*resultobj
= 0;
16182 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16183 wxString
*result
= 0 ;
16186 PyObject
*swig_obj
[1] ;
16188 if (!args
) SWIG_fail
;
16189 swig_obj
[0] = args
;
16190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16191 if (!SWIG_IsOK(res1
)) {
16192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16194 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16195 result
= (wxString
*)& ((arg1
)->Description
);
16198 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16200 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16209 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16211 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16212 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16213 return SWIG_Py_Void();
16216 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16217 PyObject
*resultobj
= 0;
16218 int arg1
= (int) -1 ;
16219 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16220 wxLocale
*result
= 0 ;
16225 PyObject
* obj0
= 0 ;
16226 PyObject
* obj1
= 0 ;
16227 char * kwnames
[] = {
16228 (char *) "language",(char *) "flags", NULL
16231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16233 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16234 if (!SWIG_IsOK(ecode1
)) {
16235 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16237 arg1
= static_cast< int >(val1
);
16240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16241 if (!SWIG_IsOK(ecode2
)) {
16242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16244 arg2
= static_cast< int >(val2
);
16247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16248 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16249 wxPyEndAllowThreads(__tstate
);
16250 if (PyErr_Occurred()) SWIG_fail
;
16252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16259 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16260 PyObject
*resultobj
= 0;
16261 wxLocale
*arg1
= (wxLocale
*) 0 ;
16264 PyObject
*swig_obj
[1] ;
16266 if (!args
) SWIG_fail
;
16267 swig_obj
[0] = args
;
16268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16269 if (!SWIG_IsOK(res1
)) {
16270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16272 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16277 wxPyEndAllowThreads(__tstate
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16280 resultobj
= SWIG_Py_Void();
16287 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16288 PyObject
*resultobj
= 0;
16289 wxLocale
*arg1
= (wxLocale
*) 0 ;
16290 wxString
*arg2
= 0 ;
16291 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16292 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16293 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16294 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16295 bool arg5
= (bool) true ;
16296 bool arg6
= (bool) false ;
16300 bool temp2
= false ;
16301 bool temp3
= false ;
16302 bool temp4
= false ;
16307 PyObject
* obj0
= 0 ;
16308 PyObject
* obj1
= 0 ;
16309 PyObject
* obj2
= 0 ;
16310 PyObject
* obj3
= 0 ;
16311 PyObject
* obj4
= 0 ;
16312 PyObject
* obj5
= 0 ;
16313 char * kwnames
[] = {
16314 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16319 if (!SWIG_IsOK(res1
)) {
16320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16322 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16324 arg2
= wxString_in_helper(obj1
);
16325 if (arg2
== NULL
) SWIG_fail
;
16330 arg3
= wxString_in_helper(obj2
);
16331 if (arg3
== NULL
) SWIG_fail
;
16337 arg4
= wxString_in_helper(obj3
);
16338 if (arg4
== NULL
) SWIG_fail
;
16343 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16344 if (!SWIG_IsOK(ecode5
)) {
16345 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16347 arg5
= static_cast< bool >(val5
);
16350 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16351 if (!SWIG_IsOK(ecode6
)) {
16352 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16354 arg6
= static_cast< bool >(val6
);
16357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16358 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16359 wxPyEndAllowThreads(__tstate
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16395 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16396 PyObject
*resultobj
= 0;
16397 wxLocale
*arg1
= (wxLocale
*) 0 ;
16398 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16399 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16407 PyObject
* obj0
= 0 ;
16408 PyObject
* obj1
= 0 ;
16409 PyObject
* obj2
= 0 ;
16410 char * kwnames
[] = {
16411 (char *) "self",(char *) "language",(char *) "flags", NULL
16414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16416 if (!SWIG_IsOK(res1
)) {
16417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16419 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16422 if (!SWIG_IsOK(ecode2
)) {
16423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16425 arg2
= static_cast< int >(val2
);
16428 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16429 if (!SWIG_IsOK(ecode3
)) {
16430 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16432 arg3
= static_cast< int >(val3
);
16435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16436 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16437 wxPyEndAllowThreads(__tstate
);
16438 if (PyErr_Occurred()) SWIG_fail
;
16441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16449 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16450 PyObject
*resultobj
= 0;
16453 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16456 result
= (int)wxLocale::GetSystemLanguage();
16457 wxPyEndAllowThreads(__tstate
);
16458 if (PyErr_Occurred()) SWIG_fail
;
16460 resultobj
= SWIG_From_int(static_cast< int >(result
));
16467 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16468 PyObject
*resultobj
= 0;
16469 wxFontEncoding result
;
16471 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16474 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16475 wxPyEndAllowThreads(__tstate
);
16476 if (PyErr_Occurred()) SWIG_fail
;
16478 resultobj
= SWIG_From_int(static_cast< int >(result
));
16485 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16486 PyObject
*resultobj
= 0;
16489 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16492 result
= wxLocale::GetSystemEncodingName();
16493 wxPyEndAllowThreads(__tstate
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16498 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16500 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16509 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16510 PyObject
*resultobj
= 0;
16511 wxLocale
*arg1
= (wxLocale
*) 0 ;
16515 PyObject
*swig_obj
[1] ;
16517 if (!args
) SWIG_fail
;
16518 swig_obj
[0] = args
;
16519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16520 if (!SWIG_IsOK(res1
)) {
16521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16523 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16526 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16527 wxPyEndAllowThreads(__tstate
);
16528 if (PyErr_Occurred()) SWIG_fail
;
16531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16539 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16540 PyObject
*resultobj
= 0;
16541 wxLocale
*arg1
= (wxLocale
*) 0 ;
16545 PyObject
*swig_obj
[1] ;
16547 if (!args
) SWIG_fail
;
16548 swig_obj
[0] = args
;
16549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16550 if (!SWIG_IsOK(res1
)) {
16551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16553 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 result
= ((wxLocale
const *)arg1
)->GetLocale();
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16562 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16564 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16573 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16574 PyObject
*resultobj
= 0;
16575 wxLocale
*arg1
= (wxLocale
*) 0 ;
16579 PyObject
*swig_obj
[1] ;
16581 if (!args
) SWIG_fail
;
16582 swig_obj
[0] = args
;
16583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16584 if (!SWIG_IsOK(res1
)) {
16585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16587 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16590 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16591 wxPyEndAllowThreads(__tstate
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16594 resultobj
= SWIG_From_int(static_cast< int >(result
));
16601 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16602 PyObject
*resultobj
= 0;
16603 wxLocale
*arg1
= (wxLocale
*) 0 ;
16607 PyObject
*swig_obj
[1] ;
16609 if (!args
) SWIG_fail
;
16610 swig_obj
[0] = args
;
16611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16612 if (!SWIG_IsOK(res1
)) {
16613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16615 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16618 result
= ((wxLocale
const *)arg1
)->GetSysName();
16619 wxPyEndAllowThreads(__tstate
);
16620 if (PyErr_Occurred()) SWIG_fail
;
16624 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16626 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16635 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16636 PyObject
*resultobj
= 0;
16637 wxLocale
*arg1
= (wxLocale
*) 0 ;
16641 PyObject
*swig_obj
[1] ;
16643 if (!args
) SWIG_fail
;
16644 swig_obj
[0] = args
;
16645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16646 if (!SWIG_IsOK(res1
)) {
16647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16649 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16652 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16653 wxPyEndAllowThreads(__tstate
);
16654 if (PyErr_Occurred()) SWIG_fail
;
16658 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16660 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16669 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16670 PyObject
*resultobj
= 0;
16671 wxString
*arg1
= 0 ;
16672 bool temp1
= false ;
16673 PyObject
* obj0
= 0 ;
16674 char * kwnames
[] = {
16675 (char *) "prefix", NULL
16678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16680 arg1
= wxString_in_helper(obj0
);
16681 if (arg1
== NULL
) SWIG_fail
;
16685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16686 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16687 wxPyEndAllowThreads(__tstate
);
16688 if (PyErr_Occurred()) SWIG_fail
;
16690 resultobj
= SWIG_Py_Void();
16705 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16706 PyObject
*resultobj
= 0;
16707 wxLocale
*arg1
= (wxLocale
*) 0 ;
16708 wxString
*arg2
= 0 ;
16712 bool temp2
= false ;
16713 PyObject
* obj0
= 0 ;
16714 PyObject
* obj1
= 0 ;
16715 char * kwnames
[] = {
16716 (char *) "self",(char *) "szDomain", NULL
16719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16721 if (!SWIG_IsOK(res1
)) {
16722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16724 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16726 arg2
= wxString_in_helper(obj1
);
16727 if (arg2
== NULL
) SWIG_fail
;
16731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16732 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16733 wxPyEndAllowThreads(__tstate
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16753 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16754 PyObject
*resultobj
= 0;
16759 PyObject
* obj0
= 0 ;
16760 char * kwnames
[] = {
16761 (char *) "lang", NULL
16764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16765 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16766 if (!SWIG_IsOK(ecode1
)) {
16767 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16769 arg1
= static_cast< int >(val1
);
16771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16772 result
= (bool)wxLocale::IsAvailable(arg1
);
16773 wxPyEndAllowThreads(__tstate
);
16774 if (PyErr_Occurred()) SWIG_fail
;
16777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16785 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16786 PyObject
*resultobj
= 0;
16787 wxLocale
*arg1
= (wxLocale
*) 0 ;
16788 wxString
*arg2
= 0 ;
16792 bool temp2
= false ;
16793 PyObject
* obj0
= 0 ;
16794 PyObject
* obj1
= 0 ;
16795 char * kwnames
[] = {
16796 (char *) "self",(char *) "szDomain", NULL
16799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16801 if (!SWIG_IsOK(res1
)) {
16802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16804 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16806 arg2
= wxString_in_helper(obj1
);
16807 if (arg2
== NULL
) SWIG_fail
;
16811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16812 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16813 wxPyEndAllowThreads(__tstate
);
16814 if (PyErr_Occurred()) SWIG_fail
;
16817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16833 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
= 0;
16836 wxLanguageInfo
*result
= 0 ;
16839 PyObject
* obj0
= 0 ;
16840 char * kwnames
[] = {
16841 (char *) "lang", NULL
16844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16845 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16846 if (!SWIG_IsOK(ecode1
)) {
16847 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16849 arg1
= static_cast< int >(val1
);
16851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16852 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16853 wxPyEndAllowThreads(__tstate
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16863 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16864 PyObject
*resultobj
= 0;
16869 PyObject
* obj0
= 0 ;
16870 char * kwnames
[] = {
16871 (char *) "lang", NULL
16874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16875 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16876 if (!SWIG_IsOK(ecode1
)) {
16877 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16879 arg1
= static_cast< int >(val1
);
16881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16882 result
= wxLocale::GetLanguageName(arg1
);
16883 wxPyEndAllowThreads(__tstate
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16888 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16890 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16899 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16900 PyObject
*resultobj
= 0;
16901 wxString
*arg1
= 0 ;
16902 wxLanguageInfo
*result
= 0 ;
16903 bool temp1
= false ;
16904 PyObject
* obj0
= 0 ;
16905 char * kwnames
[] = {
16906 (char *) "locale", NULL
16909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16911 arg1
= wxString_in_helper(obj0
);
16912 if (arg1
== NULL
) SWIG_fail
;
16916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16917 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16918 wxPyEndAllowThreads(__tstate
);
16919 if (PyErr_Occurred()) SWIG_fail
;
16921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16936 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16937 PyObject
*resultobj
= 0;
16938 wxLanguageInfo
*arg1
= 0 ;
16941 PyObject
* obj0
= 0 ;
16942 char * kwnames
[] = {
16943 (char *) "info", NULL
16946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16947 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16948 if (!SWIG_IsOK(res1
)) {
16949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16954 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16961 resultobj
= SWIG_Py_Void();
16968 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16969 PyObject
*resultobj
= 0;
16970 wxLocale
*arg1
= (wxLocale
*) 0 ;
16971 wxString
*arg2
= 0 ;
16972 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16973 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16977 bool temp2
= false ;
16978 bool temp3
= false ;
16979 PyObject
* obj0
= 0 ;
16980 PyObject
* obj1
= 0 ;
16981 PyObject
* obj2
= 0 ;
16982 char * kwnames
[] = {
16983 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16988 if (!SWIG_IsOK(res1
)) {
16989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16991 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16993 arg2
= wxString_in_helper(obj1
);
16994 if (arg2
== NULL
) SWIG_fail
;
16999 arg3
= wxString_in_helper(obj2
);
17000 if (arg3
== NULL
) SWIG_fail
;
17005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17006 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17012 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17014 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17039 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17040 PyObject
*resultobj
= 0;
17041 wxLocale
*arg1
= (wxLocale
*) 0 ;
17042 wxString
*result
= 0 ;
17045 PyObject
*swig_obj
[1] ;
17047 if (!args
) SWIG_fail
;
17048 swig_obj
[0] = args
;
17049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17050 if (!SWIG_IsOK(res1
)) {
17051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17053 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17057 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
17058 result
= (wxString
*) &_result_ref
;
17060 wxPyEndAllowThreads(__tstate
);
17061 if (PyErr_Occurred()) SWIG_fail
;
17065 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17067 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17076 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17078 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17079 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
17080 return SWIG_Py_Void();
17083 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17084 return SWIG_Python_InitShadowInstance(args
);
17087 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17088 PyObject
*resultobj
= 0;
17089 int arg1
= (int) -1 ;
17090 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
17091 wxPyLocale
*result
= 0 ;
17096 PyObject
* obj0
= 0 ;
17097 PyObject
* obj1
= 0 ;
17098 char * kwnames
[] = {
17099 (char *) "language",(char *) "flags", NULL
17102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17104 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17105 if (!SWIG_IsOK(ecode1
)) {
17106 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
17108 arg1
= static_cast< int >(val1
);
17111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17112 if (!SWIG_IsOK(ecode2
)) {
17113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
17115 arg2
= static_cast< int >(val2
);
17118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17119 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
17120 wxPyEndAllowThreads(__tstate
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
17130 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17131 PyObject
*resultobj
= 0;
17132 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17135 PyObject
*swig_obj
[1] ;
17137 if (!args
) SWIG_fail
;
17138 swig_obj
[0] = args
;
17139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
17140 if (!SWIG_IsOK(res1
)) {
17141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17143 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17148 wxPyEndAllowThreads(__tstate
);
17149 if (PyErr_Occurred()) SWIG_fail
;
17151 resultobj
= SWIG_Py_Void();
17158 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17159 PyObject
*resultobj
= 0;
17160 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17161 PyObject
*arg2
= (PyObject
*) 0 ;
17162 PyObject
*arg3
= (PyObject
*) 0 ;
17165 PyObject
* obj0
= 0 ;
17166 PyObject
* obj1
= 0 ;
17167 PyObject
* obj2
= 0 ;
17168 char * kwnames
[] = {
17169 (char *) "self",(char *) "self",(char *) "_class", NULL
17172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17174 if (!SWIG_IsOK(res1
)) {
17175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17177 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17182 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17183 wxPyEndAllowThreads(__tstate
);
17184 if (PyErr_Occurred()) SWIG_fail
;
17186 resultobj
= SWIG_Py_Void();
17193 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17194 PyObject
*resultobj
= 0;
17195 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17196 wxChar
*arg2
= (wxChar
*) 0 ;
17197 wxChar
*arg3
= (wxChar
*) NULL
;
17198 wxChar
*result
= 0 ;
17205 PyObject
* obj0
= 0 ;
17206 PyObject
* obj1
= 0 ;
17207 PyObject
* obj2
= 0 ;
17208 char * kwnames
[] = {
17209 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17214 if (!SWIG_IsOK(res1
)) {
17215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17217 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17218 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17219 if (!SWIG_IsOK(res2
)) {
17220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
17222 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17224 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17225 if (!SWIG_IsOK(res3
)) {
17226 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
17228 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17232 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17236 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17243 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17244 PyObject
*resultobj
= 0;
17245 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17246 wxChar
*arg2
= (wxChar
*) 0 ;
17247 wxChar
*arg3
= (wxChar
*) 0 ;
17249 wxChar
*arg5
= (wxChar
*) NULL
;
17250 wxChar
*result
= 0 ;
17261 PyObject
* obj0
= 0 ;
17262 PyObject
* obj1
= 0 ;
17263 PyObject
* obj2
= 0 ;
17264 PyObject
* obj3
= 0 ;
17265 PyObject
* obj4
= 0 ;
17266 char * kwnames
[] = {
17267 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
17270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17272 if (!SWIG_IsOK(res1
)) {
17273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17275 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17276 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17277 if (!SWIG_IsOK(res2
)) {
17278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
17280 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17281 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17282 if (!SWIG_IsOK(res3
)) {
17283 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
17285 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17286 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17287 if (!SWIG_IsOK(ecode4
)) {
17288 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17290 arg4
= static_cast< size_t >(val4
);
17292 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
17293 if (!SWIG_IsOK(res5
)) {
17294 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
17296 arg5
= reinterpret_cast< wxChar
* >(argp5
);
17299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17300 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
17301 wxPyEndAllowThreads(__tstate
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17311 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17313 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17314 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17315 return SWIG_Py_Void();
17318 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17319 return SWIG_Python_InitShadowInstance(args
);
17322 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17323 PyObject
*resultobj
= 0;
17324 wxLocale
*result
= 0 ;
17326 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17329 result
= (wxLocale
*)wxGetLocale();
17330 wxPyEndAllowThreads(__tstate
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17340 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17341 PyObject
*resultobj
= 0;
17342 wxString
*arg1
= 0 ;
17344 bool temp1
= false ;
17346 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17348 arg1
= wxString_in_helper(swig_obj
[0]);
17349 if (arg1
== NULL
) SWIG_fail
;
17353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17354 result
= wxGetTranslation((wxString
const &)*arg1
);
17355 wxPyEndAllowThreads(__tstate
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17360 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17362 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17379 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17380 PyObject
*resultobj
= 0;
17381 wxString
*arg1
= 0 ;
17382 wxString
*arg2
= 0 ;
17384 bool temp1
= false ;
17385 bool temp2
= false ;
17387 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17389 arg1
= wxString_in_helper(swig_obj
[0]);
17390 if (arg1
== NULL
) SWIG_fail
;
17394 arg2
= wxString_in_helper(swig_obj
[1]);
17395 if (arg2
== NULL
) SWIG_fail
;
17399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17400 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17401 wxPyEndAllowThreads(__tstate
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17433 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17434 PyObject
*resultobj
= 0;
17435 wxString
*arg1
= 0 ;
17436 wxString
*arg2
= 0 ;
17439 bool temp1
= false ;
17440 bool temp2
= false ;
17444 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17446 arg1
= wxString_in_helper(swig_obj
[0]);
17447 if (arg1
== NULL
) SWIG_fail
;
17451 arg2
= wxString_in_helper(swig_obj
[1]);
17452 if (arg2
== NULL
) SWIG_fail
;
17455 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17456 if (!SWIG_IsOK(ecode3
)) {
17457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17459 arg3
= static_cast< size_t >(val3
);
17461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17462 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17463 wxPyEndAllowThreads(__tstate
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17468 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17470 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17495 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17496 PyObject
*resultobj
= 0;
17497 wxString
*arg1
= 0 ;
17498 wxString
*arg2
= 0 ;
17500 wxString
*arg4
= 0 ;
17502 bool temp1
= false ;
17503 bool temp2
= false ;
17506 bool temp4
= false ;
17508 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17510 arg1
= wxString_in_helper(swig_obj
[0]);
17511 if (arg1
== NULL
) SWIG_fail
;
17515 arg2
= wxString_in_helper(swig_obj
[1]);
17516 if (arg2
== NULL
) SWIG_fail
;
17519 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17520 if (!SWIG_IsOK(ecode3
)) {
17521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17523 arg3
= static_cast< size_t >(val3
);
17525 arg4
= wxString_in_helper(swig_obj
[3]);
17526 if (arg4
== NULL
) SWIG_fail
;
17530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17531 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17532 wxPyEndAllowThreads(__tstate
);
17533 if (PyErr_Occurred()) SWIG_fail
;
17537 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17539 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17572 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17576 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17579 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17582 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17585 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17588 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17592 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17597 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17598 PyObject
*resultobj
= 0;
17599 wxEncodingConverter
*result
= 0 ;
17601 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17604 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17605 wxPyEndAllowThreads(__tstate
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17615 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17616 PyObject
*resultobj
= 0;
17617 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17620 PyObject
*swig_obj
[1] ;
17622 if (!args
) SWIG_fail
;
17623 swig_obj
[0] = args
;
17624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17625 if (!SWIG_IsOK(res1
)) {
17626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17628 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17633 wxPyEndAllowThreads(__tstate
);
17634 if (PyErr_Occurred()) SWIG_fail
;
17636 resultobj
= SWIG_Py_Void();
17643 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17644 PyObject
*resultobj
= 0;
17645 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17646 wxFontEncoding arg2
;
17647 wxFontEncoding arg3
;
17648 int arg4
= (int) wxCONVERT_STRICT
;
17658 PyObject
* obj0
= 0 ;
17659 PyObject
* obj1
= 0 ;
17660 PyObject
* obj2
= 0 ;
17661 PyObject
* obj3
= 0 ;
17662 char * kwnames
[] = {
17663 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17668 if (!SWIG_IsOK(res1
)) {
17669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17671 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17672 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17673 if (!SWIG_IsOK(ecode2
)) {
17674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17676 arg2
= static_cast< wxFontEncoding
>(val2
);
17677 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17678 if (!SWIG_IsOK(ecode3
)) {
17679 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17681 arg3
= static_cast< wxFontEncoding
>(val3
);
17683 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17684 if (!SWIG_IsOK(ecode4
)) {
17685 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17687 arg4
= static_cast< int >(val4
);
17690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17691 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17692 wxPyEndAllowThreads(__tstate
);
17693 if (PyErr_Occurred()) SWIG_fail
;
17696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17704 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17705 PyObject
*resultobj
= 0;
17706 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17707 wxString
*arg2
= 0 ;
17711 bool temp2
= false ;
17712 PyObject
* obj0
= 0 ;
17713 PyObject
* obj1
= 0 ;
17714 char * kwnames
[] = {
17715 (char *) "self",(char *) "input", NULL
17718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17720 if (!SWIG_IsOK(res1
)) {
17721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17723 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17725 arg2
= wxString_in_helper(obj1
);
17726 if (arg2
== NULL
) SWIG_fail
;
17730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17731 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17732 wxPyEndAllowThreads(__tstate
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17737 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17739 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17756 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17757 PyObject
*resultobj
= 0;
17758 wxFontEncoding arg1
;
17759 int arg2
= (int) wxPLATFORM_CURRENT
;
17760 wxFontEncodingArray result
;
17765 PyObject
* obj0
= 0 ;
17766 PyObject
* obj1
= 0 ;
17767 char * kwnames
[] = {
17768 (char *) "enc",(char *) "platform", NULL
17771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17772 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17773 if (!SWIG_IsOK(ecode1
)) {
17774 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17776 arg1
= static_cast< wxFontEncoding
>(val1
);
17778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17779 if (!SWIG_IsOK(ecode2
)) {
17780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17782 arg2
= static_cast< int >(val2
);
17785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17786 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17787 wxPyEndAllowThreads(__tstate
);
17788 if (PyErr_Occurred()) SWIG_fail
;
17791 resultobj
= PyList_New(0);
17792 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17793 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17794 PyList_Append(resultobj
, number
);
17804 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17805 PyObject
*resultobj
= 0;
17806 wxFontEncoding arg1
;
17807 wxFontEncodingArray result
;
17810 PyObject
* obj0
= 0 ;
17811 char * kwnames
[] = {
17812 (char *) "enc", NULL
17815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17816 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17817 if (!SWIG_IsOK(ecode1
)) {
17818 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17820 arg1
= static_cast< wxFontEncoding
>(val1
);
17822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17823 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17824 wxPyEndAllowThreads(__tstate
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17828 resultobj
= PyList_New(0);
17829 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17830 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17831 PyList_Append(resultobj
, number
);
17841 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17842 PyObject
*resultobj
= 0;
17843 wxFontEncoding arg1
;
17844 wxFontEncoding arg2
;
17850 PyObject
* obj0
= 0 ;
17851 PyObject
* obj1
= 0 ;
17852 char * kwnames
[] = {
17853 (char *) "encIn",(char *) "encOut", NULL
17856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17857 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17858 if (!SWIG_IsOK(ecode1
)) {
17859 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17861 arg1
= static_cast< wxFontEncoding
>(val1
);
17862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17863 if (!SWIG_IsOK(ecode2
)) {
17864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17866 arg2
= static_cast< wxFontEncoding
>(val2
);
17868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17869 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17870 wxPyEndAllowThreads(__tstate
);
17871 if (PyErr_Occurred()) SWIG_fail
;
17874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17882 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17884 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17885 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17886 return SWIG_Py_Void();
17889 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17890 return SWIG_Python_InitShadowInstance(args
);
17893 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17894 PyObject
*resultobj
= 0;
17895 wxDC
*arg1
= (wxDC
*) 0 ;
17898 PyObject
*swig_obj
[1] ;
17900 if (!args
) SWIG_fail
;
17901 swig_obj
[0] = args
;
17902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17903 if (!SWIG_IsOK(res1
)) {
17904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17906 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17911 wxPyEndAllowThreads(__tstate
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17914 resultobj
= SWIG_Py_Void();
17921 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17922 PyObject
*resultobj
= 0;
17923 wxDC
*arg1
= (wxDC
*) 0 ;
17926 wxColour
*arg4
= 0 ;
17927 int arg5
= (int) wxFLOOD_SURFACE
;
17938 PyObject
* obj0
= 0 ;
17939 PyObject
* obj1
= 0 ;
17940 PyObject
* obj2
= 0 ;
17941 PyObject
* obj3
= 0 ;
17942 PyObject
* obj4
= 0 ;
17943 char * kwnames
[] = {
17944 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17949 if (!SWIG_IsOK(res1
)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17952 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17954 if (!SWIG_IsOK(ecode2
)) {
17955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17957 arg2
= static_cast< int >(val2
);
17958 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17959 if (!SWIG_IsOK(ecode3
)) {
17960 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17962 arg3
= static_cast< int >(val3
);
17965 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17968 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17969 if (!SWIG_IsOK(ecode5
)) {
17970 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17972 arg5
= static_cast< int >(val5
);
17975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17976 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17977 wxPyEndAllowThreads(__tstate
);
17978 if (PyErr_Occurred()) SWIG_fail
;
17981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17989 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17990 PyObject
*resultobj
= 0;
17991 wxDC
*arg1
= (wxDC
*) 0 ;
17992 wxPoint
*arg2
= 0 ;
17993 wxColour
*arg3
= 0 ;
17994 int arg4
= (int) wxFLOOD_SURFACE
;
18002 PyObject
* obj0
= 0 ;
18003 PyObject
* obj1
= 0 ;
18004 PyObject
* obj2
= 0 ;
18005 PyObject
* obj3
= 0 ;
18006 char * kwnames
[] = {
18007 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
18010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18012 if (!SWIG_IsOK(res1
)) {
18013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18015 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18018 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18022 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18025 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18026 if (!SWIG_IsOK(ecode4
)) {
18027 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
18029 arg4
= static_cast< int >(val4
);
18032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18033 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
18034 wxPyEndAllowThreads(__tstate
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18046 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18047 PyObject
*resultobj
= 0;
18048 wxDC
*arg1
= (wxDC
*) 0 ;
18050 wxColour
*arg3
= 0 ;
18051 wxColour
*arg4
= 0 ;
18052 wxPoint
*arg5
= 0 ;
18059 PyObject
* obj0
= 0 ;
18060 PyObject
* obj1
= 0 ;
18061 PyObject
* obj2
= 0 ;
18062 PyObject
* obj3
= 0 ;
18063 PyObject
* obj4
= 0 ;
18064 char * kwnames
[] = {
18065 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
18068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18070 if (!SWIG_IsOK(res1
)) {
18071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
18073 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18076 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18080 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18084 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18088 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18092 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
18093 wxPyEndAllowThreads(__tstate
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18096 resultobj
= SWIG_Py_Void();
18103 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18104 PyObject
*resultobj
= 0;
18105 wxDC
*arg1
= (wxDC
*) 0 ;
18107 wxColour
*arg3
= 0 ;
18108 wxColour
*arg4
= 0 ;
18109 wxDirection arg5
= (wxDirection
) wxEAST
;
18117 PyObject
* obj0
= 0 ;
18118 PyObject
* obj1
= 0 ;
18119 PyObject
* obj2
= 0 ;
18120 PyObject
* obj3
= 0 ;
18121 PyObject
* obj4
= 0 ;
18122 char * kwnames
[] = {
18123 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18128 if (!SWIG_IsOK(res1
)) {
18129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18131 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18134 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18138 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18142 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18145 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18146 if (!SWIG_IsOK(ecode5
)) {
18147 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18149 arg5
= static_cast< wxDirection
>(val5
);
18152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18153 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18154 wxPyEndAllowThreads(__tstate
);
18155 if (PyErr_Occurred()) SWIG_fail
;
18157 resultobj
= SWIG_Py_Void();
18164 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
= 0;
18166 wxDC
*arg1
= (wxDC
*) 0 ;
18176 PyObject
* obj0
= 0 ;
18177 PyObject
* obj1
= 0 ;
18178 PyObject
* obj2
= 0 ;
18179 char * kwnames
[] = {
18180 (char *) "self",(char *) "x",(char *) "y", NULL
18183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18185 if (!SWIG_IsOK(res1
)) {
18186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18188 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18190 if (!SWIG_IsOK(ecode2
)) {
18191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18193 arg2
= static_cast< int >(val2
);
18194 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18195 if (!SWIG_IsOK(ecode3
)) {
18196 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18198 arg3
= static_cast< int >(val3
);
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18202 wxPyEndAllowThreads(__tstate
);
18203 if (PyErr_Occurred()) SWIG_fail
;
18205 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18212 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18213 PyObject
*resultobj
= 0;
18214 wxDC
*arg1
= (wxDC
*) 0 ;
18215 wxPoint
*arg2
= 0 ;
18220 PyObject
* obj0
= 0 ;
18221 PyObject
* obj1
= 0 ;
18222 char * kwnames
[] = {
18223 (char *) "self",(char *) "pt", NULL
18226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18228 if (!SWIG_IsOK(res1
)) {
18229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18231 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18234 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18238 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18239 wxPyEndAllowThreads(__tstate
);
18240 if (PyErr_Occurred()) SWIG_fail
;
18242 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18249 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18250 PyObject
*resultobj
= 0;
18251 wxDC
*arg1
= (wxDC
*) 0 ;
18266 PyObject
* obj0
= 0 ;
18267 PyObject
* obj1
= 0 ;
18268 PyObject
* obj2
= 0 ;
18269 PyObject
* obj3
= 0 ;
18270 PyObject
* obj4
= 0 ;
18271 char * kwnames
[] = {
18272 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18277 if (!SWIG_IsOK(res1
)) {
18278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18280 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18282 if (!SWIG_IsOK(ecode2
)) {
18283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18285 arg2
= static_cast< int >(val2
);
18286 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18287 if (!SWIG_IsOK(ecode3
)) {
18288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18290 arg3
= static_cast< int >(val3
);
18291 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18292 if (!SWIG_IsOK(ecode4
)) {
18293 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18295 arg4
= static_cast< int >(val4
);
18296 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18297 if (!SWIG_IsOK(ecode5
)) {
18298 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18300 arg5
= static_cast< int >(val5
);
18302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18303 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18304 wxPyEndAllowThreads(__tstate
);
18305 if (PyErr_Occurred()) SWIG_fail
;
18307 resultobj
= SWIG_Py_Void();
18314 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18315 PyObject
*resultobj
= 0;
18316 wxDC
*arg1
= (wxDC
*) 0 ;
18317 wxPoint
*arg2
= 0 ;
18318 wxPoint
*arg3
= 0 ;
18323 PyObject
* obj0
= 0 ;
18324 PyObject
* obj1
= 0 ;
18325 PyObject
* obj2
= 0 ;
18326 char * kwnames
[] = {
18327 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18332 if (!SWIG_IsOK(res1
)) {
18333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18335 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18338 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18342 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18346 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18347 wxPyEndAllowThreads(__tstate
);
18348 if (PyErr_Occurred()) SWIG_fail
;
18350 resultobj
= SWIG_Py_Void();
18357 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18358 PyObject
*resultobj
= 0;
18359 wxDC
*arg1
= (wxDC
*) 0 ;
18368 PyObject
* obj0
= 0 ;
18369 PyObject
* obj1
= 0 ;
18370 PyObject
* obj2
= 0 ;
18371 char * kwnames
[] = {
18372 (char *) "self",(char *) "x",(char *) "y", NULL
18375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18377 if (!SWIG_IsOK(res1
)) {
18378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18380 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18382 if (!SWIG_IsOK(ecode2
)) {
18383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18385 arg2
= static_cast< int >(val2
);
18386 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18387 if (!SWIG_IsOK(ecode3
)) {
18388 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18390 arg3
= static_cast< int >(val3
);
18392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18393 (arg1
)->CrossHair(arg2
,arg3
);
18394 wxPyEndAllowThreads(__tstate
);
18395 if (PyErr_Occurred()) SWIG_fail
;
18397 resultobj
= SWIG_Py_Void();
18404 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18405 PyObject
*resultobj
= 0;
18406 wxDC
*arg1
= (wxDC
*) 0 ;
18407 wxPoint
*arg2
= 0 ;
18411 PyObject
* obj0
= 0 ;
18412 PyObject
* obj1
= 0 ;
18413 char * kwnames
[] = {
18414 (char *) "self",(char *) "pt", NULL
18417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18419 if (!SWIG_IsOK(res1
)) {
18420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18422 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18425 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18429 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18430 wxPyEndAllowThreads(__tstate
);
18431 if (PyErr_Occurred()) SWIG_fail
;
18433 resultobj
= SWIG_Py_Void();
18440 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18441 PyObject
*resultobj
= 0;
18442 wxDC
*arg1
= (wxDC
*) 0 ;
18463 PyObject
* obj0
= 0 ;
18464 PyObject
* obj1
= 0 ;
18465 PyObject
* obj2
= 0 ;
18466 PyObject
* obj3
= 0 ;
18467 PyObject
* obj4
= 0 ;
18468 PyObject
* obj5
= 0 ;
18469 PyObject
* obj6
= 0 ;
18470 char * kwnames
[] = {
18471 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18476 if (!SWIG_IsOK(res1
)) {
18477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18479 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18481 if (!SWIG_IsOK(ecode2
)) {
18482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18484 arg2
= static_cast< int >(val2
);
18485 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18486 if (!SWIG_IsOK(ecode3
)) {
18487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18489 arg3
= static_cast< int >(val3
);
18490 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18491 if (!SWIG_IsOK(ecode4
)) {
18492 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18494 arg4
= static_cast< int >(val4
);
18495 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18496 if (!SWIG_IsOK(ecode5
)) {
18497 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18499 arg5
= static_cast< int >(val5
);
18500 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18501 if (!SWIG_IsOK(ecode6
)) {
18502 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18504 arg6
= static_cast< int >(val6
);
18505 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18506 if (!SWIG_IsOK(ecode7
)) {
18507 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18509 arg7
= static_cast< int >(val7
);
18511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18512 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18513 wxPyEndAllowThreads(__tstate
);
18514 if (PyErr_Occurred()) SWIG_fail
;
18516 resultobj
= SWIG_Py_Void();
18523 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18524 PyObject
*resultobj
= 0;
18525 wxDC
*arg1
= (wxDC
*) 0 ;
18526 wxPoint
*arg2
= 0 ;
18527 wxPoint
*arg3
= 0 ;
18528 wxPoint
*arg4
= 0 ;
18534 PyObject
* obj0
= 0 ;
18535 PyObject
* obj1
= 0 ;
18536 PyObject
* obj2
= 0 ;
18537 PyObject
* obj3
= 0 ;
18538 char * kwnames
[] = {
18539 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18544 if (!SWIG_IsOK(res1
)) {
18545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18547 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18550 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18554 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18558 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18562 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18563 wxPyEndAllowThreads(__tstate
);
18564 if (PyErr_Occurred()) SWIG_fail
;
18566 resultobj
= SWIG_Py_Void();
18573 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18574 PyObject
*resultobj
= 0;
18575 wxDC
*arg1
= (wxDC
*) 0 ;
18590 PyObject
* obj0
= 0 ;
18591 PyObject
* obj1
= 0 ;
18592 PyObject
* obj2
= 0 ;
18593 PyObject
* obj3
= 0 ;
18594 PyObject
* obj4
= 0 ;
18595 char * kwnames
[] = {
18596 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18601 if (!SWIG_IsOK(res1
)) {
18602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18604 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18606 if (!SWIG_IsOK(ecode2
)) {
18607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18609 arg2
= static_cast< int >(val2
);
18610 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18611 if (!SWIG_IsOK(ecode3
)) {
18612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18614 arg3
= static_cast< int >(val3
);
18615 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18616 if (!SWIG_IsOK(ecode4
)) {
18617 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18619 arg4
= static_cast< int >(val4
);
18620 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18621 if (!SWIG_IsOK(ecode5
)) {
18622 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18624 arg5
= static_cast< int >(val5
);
18626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18627 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18628 wxPyEndAllowThreads(__tstate
);
18629 if (PyErr_Occurred()) SWIG_fail
;
18631 resultobj
= SWIG_Py_Void();
18638 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18639 PyObject
*resultobj
= 0;
18640 wxDC
*arg1
= (wxDC
*) 0 ;
18645 PyObject
* obj0
= 0 ;
18646 PyObject
* obj1
= 0 ;
18647 char * kwnames
[] = {
18648 (char *) "self",(char *) "rect", NULL
18651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18653 if (!SWIG_IsOK(res1
)) {
18654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18656 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18659 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18663 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18664 wxPyEndAllowThreads(__tstate
);
18665 if (PyErr_Occurred()) SWIG_fail
;
18667 resultobj
= SWIG_Py_Void();
18674 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
= 0;
18676 wxDC
*arg1
= (wxDC
*) 0 ;
18697 PyObject
* obj0
= 0 ;
18698 PyObject
* obj1
= 0 ;
18699 PyObject
* obj2
= 0 ;
18700 PyObject
* obj3
= 0 ;
18701 PyObject
* obj4
= 0 ;
18702 PyObject
* obj5
= 0 ;
18703 PyObject
* obj6
= 0 ;
18704 char * kwnames
[] = {
18705 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18710 if (!SWIG_IsOK(res1
)) {
18711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18713 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18715 if (!SWIG_IsOK(ecode2
)) {
18716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18718 arg2
= static_cast< int >(val2
);
18719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18720 if (!SWIG_IsOK(ecode3
)) {
18721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18723 arg3
= static_cast< int >(val3
);
18724 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18725 if (!SWIG_IsOK(ecode4
)) {
18726 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18728 arg4
= static_cast< int >(val4
);
18729 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18730 if (!SWIG_IsOK(ecode5
)) {
18731 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18733 arg5
= static_cast< int >(val5
);
18734 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18735 if (!SWIG_IsOK(ecode6
)) {
18736 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18738 arg6
= static_cast< double >(val6
);
18739 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18740 if (!SWIG_IsOK(ecode7
)) {
18741 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18743 arg7
= static_cast< double >(val7
);
18745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18746 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18747 wxPyEndAllowThreads(__tstate
);
18748 if (PyErr_Occurred()) SWIG_fail
;
18750 resultobj
= SWIG_Py_Void();
18757 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18758 PyObject
*resultobj
= 0;
18759 wxDC
*arg1
= (wxDC
*) 0 ;
18760 wxPoint
*arg2
= 0 ;
18772 PyObject
* obj0
= 0 ;
18773 PyObject
* obj1
= 0 ;
18774 PyObject
* obj2
= 0 ;
18775 PyObject
* obj3
= 0 ;
18776 PyObject
* obj4
= 0 ;
18777 char * kwnames
[] = {
18778 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18783 if (!SWIG_IsOK(res1
)) {
18784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18786 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18789 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18793 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18795 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18796 if (!SWIG_IsOK(ecode4
)) {
18797 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18799 arg4
= static_cast< double >(val4
);
18800 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18801 if (!SWIG_IsOK(ecode5
)) {
18802 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18804 arg5
= static_cast< double >(val5
);
18806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18807 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18808 wxPyEndAllowThreads(__tstate
);
18809 if (PyErr_Occurred()) SWIG_fail
;
18811 resultobj
= SWIG_Py_Void();
18818 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18819 PyObject
*resultobj
= 0;
18820 wxDC
*arg1
= (wxDC
*) 0 ;
18829 PyObject
* obj0
= 0 ;
18830 PyObject
* obj1
= 0 ;
18831 PyObject
* obj2
= 0 ;
18832 char * kwnames
[] = {
18833 (char *) "self",(char *) "x",(char *) "y", NULL
18836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18838 if (!SWIG_IsOK(res1
)) {
18839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18841 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18843 if (!SWIG_IsOK(ecode2
)) {
18844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18846 arg2
= static_cast< int >(val2
);
18847 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18848 if (!SWIG_IsOK(ecode3
)) {
18849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18851 arg3
= static_cast< int >(val3
);
18853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18854 (arg1
)->DrawPoint(arg2
,arg3
);
18855 wxPyEndAllowThreads(__tstate
);
18856 if (PyErr_Occurred()) SWIG_fail
;
18858 resultobj
= SWIG_Py_Void();
18865 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18866 PyObject
*resultobj
= 0;
18867 wxDC
*arg1
= (wxDC
*) 0 ;
18868 wxPoint
*arg2
= 0 ;
18872 PyObject
* obj0
= 0 ;
18873 PyObject
* obj1
= 0 ;
18874 char * kwnames
[] = {
18875 (char *) "self",(char *) "pt", NULL
18878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18880 if (!SWIG_IsOK(res1
)) {
18881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18883 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18886 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18890 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18891 wxPyEndAllowThreads(__tstate
);
18892 if (PyErr_Occurred()) SWIG_fail
;
18894 resultobj
= SWIG_Py_Void();
18901 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
= 0;
18903 wxDC
*arg1
= (wxDC
*) 0 ;
18918 PyObject
* obj0
= 0 ;
18919 PyObject
* obj1
= 0 ;
18920 PyObject
* obj2
= 0 ;
18921 PyObject
* obj3
= 0 ;
18922 PyObject
* obj4
= 0 ;
18923 char * kwnames
[] = {
18924 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18929 if (!SWIG_IsOK(res1
)) {
18930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18932 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18934 if (!SWIG_IsOK(ecode2
)) {
18935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18937 arg2
= static_cast< int >(val2
);
18938 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18939 if (!SWIG_IsOK(ecode3
)) {
18940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18942 arg3
= static_cast< int >(val3
);
18943 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18944 if (!SWIG_IsOK(ecode4
)) {
18945 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18947 arg4
= static_cast< int >(val4
);
18948 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18949 if (!SWIG_IsOK(ecode5
)) {
18950 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18952 arg5
= static_cast< int >(val5
);
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18955 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18956 wxPyEndAllowThreads(__tstate
);
18957 if (PyErr_Occurred()) SWIG_fail
;
18959 resultobj
= SWIG_Py_Void();
18966 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18967 PyObject
*resultobj
= 0;
18968 wxDC
*arg1
= (wxDC
*) 0 ;
18973 PyObject
* obj0
= 0 ;
18974 PyObject
* obj1
= 0 ;
18975 char * kwnames
[] = {
18976 (char *) "self",(char *) "rect", NULL
18979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18981 if (!SWIG_IsOK(res1
)) {
18982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18984 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18987 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18991 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18992 wxPyEndAllowThreads(__tstate
);
18993 if (PyErr_Occurred()) SWIG_fail
;
18995 resultobj
= SWIG_Py_Void();
19002 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19003 PyObject
*resultobj
= 0;
19004 wxDC
*arg1
= (wxDC
*) 0 ;
19005 wxPoint
*arg2
= 0 ;
19011 PyObject
* obj0
= 0 ;
19012 PyObject
* obj1
= 0 ;
19013 PyObject
* obj2
= 0 ;
19014 char * kwnames
[] = {
19015 (char *) "self",(char *) "pt",(char *) "sz", NULL
19018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19020 if (!SWIG_IsOK(res1
)) {
19021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19023 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19026 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19030 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19034 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19035 wxPyEndAllowThreads(__tstate
);
19036 if (PyErr_Occurred()) SWIG_fail
;
19038 resultobj
= SWIG_Py_Void();
19045 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
= 0;
19047 wxDC
*arg1
= (wxDC
*) 0 ;
19065 PyObject
* obj0
= 0 ;
19066 PyObject
* obj1
= 0 ;
19067 PyObject
* obj2
= 0 ;
19068 PyObject
* obj3
= 0 ;
19069 PyObject
* obj4
= 0 ;
19070 PyObject
* obj5
= 0 ;
19071 char * kwnames
[] = {
19072 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
19075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19077 if (!SWIG_IsOK(res1
)) {
19078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19080 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19082 if (!SWIG_IsOK(ecode2
)) {
19083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
19085 arg2
= static_cast< int >(val2
);
19086 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19087 if (!SWIG_IsOK(ecode3
)) {
19088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
19090 arg3
= static_cast< int >(val3
);
19091 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19092 if (!SWIG_IsOK(ecode4
)) {
19093 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
19095 arg4
= static_cast< int >(val4
);
19096 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19097 if (!SWIG_IsOK(ecode5
)) {
19098 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
19100 arg5
= static_cast< int >(val5
);
19101 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19102 if (!SWIG_IsOK(ecode6
)) {
19103 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
19105 arg6
= static_cast< double >(val6
);
19107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19108 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
19109 wxPyEndAllowThreads(__tstate
);
19110 if (PyErr_Occurred()) SWIG_fail
;
19112 resultobj
= SWIG_Py_Void();
19119 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19120 PyObject
*resultobj
= 0;
19121 wxDC
*arg1
= (wxDC
*) 0 ;
19129 PyObject
* obj0
= 0 ;
19130 PyObject
* obj1
= 0 ;
19131 PyObject
* obj2
= 0 ;
19132 char * kwnames
[] = {
19133 (char *) "self",(char *) "r",(char *) "radius", NULL
19136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19138 if (!SWIG_IsOK(res1
)) {
19139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19141 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19144 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19146 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19147 if (!SWIG_IsOK(ecode3
)) {
19148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19150 arg3
= static_cast< double >(val3
);
19152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19153 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19154 wxPyEndAllowThreads(__tstate
);
19155 if (PyErr_Occurred()) SWIG_fail
;
19157 resultobj
= SWIG_Py_Void();
19164 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19165 PyObject
*resultobj
= 0;
19166 wxDC
*arg1
= (wxDC
*) 0 ;
19167 wxPoint
*arg2
= 0 ;
19176 PyObject
* obj0
= 0 ;
19177 PyObject
* obj1
= 0 ;
19178 PyObject
* obj2
= 0 ;
19179 PyObject
* obj3
= 0 ;
19180 char * kwnames
[] = {
19181 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19186 if (!SWIG_IsOK(res1
)) {
19187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19189 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19192 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19196 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19198 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19199 if (!SWIG_IsOK(ecode4
)) {
19200 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19202 arg4
= static_cast< double >(val4
);
19204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19205 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19206 wxPyEndAllowThreads(__tstate
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19209 resultobj
= SWIG_Py_Void();
19216 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19217 PyObject
*resultobj
= 0;
19218 wxDC
*arg1
= (wxDC
*) 0 ;
19230 PyObject
* obj0
= 0 ;
19231 PyObject
* obj1
= 0 ;
19232 PyObject
* obj2
= 0 ;
19233 PyObject
* obj3
= 0 ;
19234 char * kwnames
[] = {
19235 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19240 if (!SWIG_IsOK(res1
)) {
19241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19243 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19245 if (!SWIG_IsOK(ecode2
)) {
19246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19248 arg2
= static_cast< int >(val2
);
19249 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19250 if (!SWIG_IsOK(ecode3
)) {
19251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19253 arg3
= static_cast< int >(val3
);
19254 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19255 if (!SWIG_IsOK(ecode4
)) {
19256 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19258 arg4
= static_cast< int >(val4
);
19260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19261 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19262 wxPyEndAllowThreads(__tstate
);
19263 if (PyErr_Occurred()) SWIG_fail
;
19265 resultobj
= SWIG_Py_Void();
19272 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19273 PyObject
*resultobj
= 0;
19274 wxDC
*arg1
= (wxDC
*) 0 ;
19275 wxPoint
*arg2
= 0 ;
19282 PyObject
* obj0
= 0 ;
19283 PyObject
* obj1
= 0 ;
19284 PyObject
* obj2
= 0 ;
19285 char * kwnames
[] = {
19286 (char *) "self",(char *) "pt",(char *) "radius", NULL
19289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19291 if (!SWIG_IsOK(res1
)) {
19292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19294 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19297 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19299 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19300 if (!SWIG_IsOK(ecode3
)) {
19301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19303 arg3
= static_cast< int >(val3
);
19305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19306 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19307 wxPyEndAllowThreads(__tstate
);
19308 if (PyErr_Occurred()) SWIG_fail
;
19310 resultobj
= SWIG_Py_Void();
19317 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19318 PyObject
*resultobj
= 0;
19319 wxDC
*arg1
= (wxDC
*) 0 ;
19334 PyObject
* obj0
= 0 ;
19335 PyObject
* obj1
= 0 ;
19336 PyObject
* obj2
= 0 ;
19337 PyObject
* obj3
= 0 ;
19338 PyObject
* obj4
= 0 ;
19339 char * kwnames
[] = {
19340 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19345 if (!SWIG_IsOK(res1
)) {
19346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19348 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19350 if (!SWIG_IsOK(ecode2
)) {
19351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19353 arg2
= static_cast< int >(val2
);
19354 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19355 if (!SWIG_IsOK(ecode3
)) {
19356 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19358 arg3
= static_cast< int >(val3
);
19359 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19360 if (!SWIG_IsOK(ecode4
)) {
19361 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19363 arg4
= static_cast< int >(val4
);
19364 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19365 if (!SWIG_IsOK(ecode5
)) {
19366 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19368 arg5
= static_cast< int >(val5
);
19370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19371 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19372 wxPyEndAllowThreads(__tstate
);
19373 if (PyErr_Occurred()) SWIG_fail
;
19375 resultobj
= SWIG_Py_Void();
19382 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19383 PyObject
*resultobj
= 0;
19384 wxDC
*arg1
= (wxDC
*) 0 ;
19389 PyObject
* obj0
= 0 ;
19390 PyObject
* obj1
= 0 ;
19391 char * kwnames
[] = {
19392 (char *) "self",(char *) "rect", NULL
19395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19397 if (!SWIG_IsOK(res1
)) {
19398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19400 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19403 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19407 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19408 wxPyEndAllowThreads(__tstate
);
19409 if (PyErr_Occurred()) SWIG_fail
;
19411 resultobj
= SWIG_Py_Void();
19418 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19419 PyObject
*resultobj
= 0;
19420 wxDC
*arg1
= (wxDC
*) 0 ;
19421 wxPoint
*arg2
= 0 ;
19427 PyObject
* obj0
= 0 ;
19428 PyObject
* obj1
= 0 ;
19429 PyObject
* obj2
= 0 ;
19430 char * kwnames
[] = {
19431 (char *) "self",(char *) "pt",(char *) "sz", NULL
19434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19436 if (!SWIG_IsOK(res1
)) {
19437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19439 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19442 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19446 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19450 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19451 wxPyEndAllowThreads(__tstate
);
19452 if (PyErr_Occurred()) SWIG_fail
;
19454 resultobj
= SWIG_Py_Void();
19461 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19462 PyObject
*resultobj
= 0;
19463 wxDC
*arg1
= (wxDC
*) 0 ;
19475 PyObject
* obj0
= 0 ;
19476 PyObject
* obj1
= 0 ;
19477 PyObject
* obj2
= 0 ;
19478 PyObject
* obj3
= 0 ;
19479 char * kwnames
[] = {
19480 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19485 if (!SWIG_IsOK(res1
)) {
19486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19488 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19489 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19490 if (!SWIG_IsOK(res2
)) {
19491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19496 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19497 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19498 if (!SWIG_IsOK(ecode3
)) {
19499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19501 arg3
= static_cast< int >(val3
);
19502 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19503 if (!SWIG_IsOK(ecode4
)) {
19504 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19506 arg4
= static_cast< int >(val4
);
19508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19509 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19510 wxPyEndAllowThreads(__tstate
);
19511 if (PyErr_Occurred()) SWIG_fail
;
19513 resultobj
= SWIG_Py_Void();
19520 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19521 PyObject
*resultobj
= 0;
19522 wxDC
*arg1
= (wxDC
*) 0 ;
19524 wxPoint
*arg3
= 0 ;
19530 PyObject
* obj0
= 0 ;
19531 PyObject
* obj1
= 0 ;
19532 PyObject
* obj2
= 0 ;
19533 char * kwnames
[] = {
19534 (char *) "self",(char *) "icon",(char *) "pt", NULL
19537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19539 if (!SWIG_IsOK(res1
)) {
19540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19542 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19543 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19544 if (!SWIG_IsOK(res2
)) {
19545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19550 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19553 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19557 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19558 wxPyEndAllowThreads(__tstate
);
19559 if (PyErr_Occurred()) SWIG_fail
;
19561 resultobj
= SWIG_Py_Void();
19568 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19569 PyObject
*resultobj
= 0;
19570 wxDC
*arg1
= (wxDC
*) 0 ;
19571 wxBitmap
*arg2
= 0 ;
19574 bool arg5
= (bool) false ;
19585 PyObject
* obj0
= 0 ;
19586 PyObject
* obj1
= 0 ;
19587 PyObject
* obj2
= 0 ;
19588 PyObject
* obj3
= 0 ;
19589 PyObject
* obj4
= 0 ;
19590 char * kwnames
[] = {
19591 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19596 if (!SWIG_IsOK(res1
)) {
19597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19599 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19600 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19601 if (!SWIG_IsOK(res2
)) {
19602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19607 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19608 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19609 if (!SWIG_IsOK(ecode3
)) {
19610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19612 arg3
= static_cast< int >(val3
);
19613 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19614 if (!SWIG_IsOK(ecode4
)) {
19615 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19617 arg4
= static_cast< int >(val4
);
19619 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19620 if (!SWIG_IsOK(ecode5
)) {
19621 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19623 arg5
= static_cast< bool >(val5
);
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19628 wxPyEndAllowThreads(__tstate
);
19629 if (PyErr_Occurred()) SWIG_fail
;
19631 resultobj
= SWIG_Py_Void();
19638 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19639 PyObject
*resultobj
= 0;
19640 wxDC
*arg1
= (wxDC
*) 0 ;
19641 wxBitmap
*arg2
= 0 ;
19642 wxPoint
*arg3
= 0 ;
19643 bool arg4
= (bool) false ;
19651 PyObject
* obj0
= 0 ;
19652 PyObject
* obj1
= 0 ;
19653 PyObject
* obj2
= 0 ;
19654 PyObject
* obj3
= 0 ;
19655 char * kwnames
[] = {
19656 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19661 if (!SWIG_IsOK(res1
)) {
19662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19664 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19665 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19666 if (!SWIG_IsOK(res2
)) {
19667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19672 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19675 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19678 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19679 if (!SWIG_IsOK(ecode4
)) {
19680 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19682 arg4
= static_cast< bool >(val4
);
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19686 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19687 wxPyEndAllowThreads(__tstate
);
19688 if (PyErr_Occurred()) SWIG_fail
;
19690 resultobj
= SWIG_Py_Void();
19697 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19698 PyObject
*resultobj
= 0;
19699 wxDC
*arg1
= (wxDC
*) 0 ;
19700 wxString
*arg2
= 0 ;
19705 bool temp2
= false ;
19710 PyObject
* obj0
= 0 ;
19711 PyObject
* obj1
= 0 ;
19712 PyObject
* obj2
= 0 ;
19713 PyObject
* obj3
= 0 ;
19714 char * kwnames
[] = {
19715 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19720 if (!SWIG_IsOK(res1
)) {
19721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19723 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19725 arg2
= wxString_in_helper(obj1
);
19726 if (arg2
== NULL
) SWIG_fail
;
19729 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19730 if (!SWIG_IsOK(ecode3
)) {
19731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19733 arg3
= static_cast< int >(val3
);
19734 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19735 if (!SWIG_IsOK(ecode4
)) {
19736 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19738 arg4
= static_cast< int >(val4
);
19740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19741 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19742 wxPyEndAllowThreads(__tstate
);
19743 if (PyErr_Occurred()) SWIG_fail
;
19745 resultobj
= SWIG_Py_Void();
19760 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19761 PyObject
*resultobj
= 0;
19762 wxDC
*arg1
= (wxDC
*) 0 ;
19763 wxString
*arg2
= 0 ;
19764 wxPoint
*arg3
= 0 ;
19767 bool temp2
= false ;
19769 PyObject
* obj0
= 0 ;
19770 PyObject
* obj1
= 0 ;
19771 PyObject
* obj2
= 0 ;
19772 char * kwnames
[] = {
19773 (char *) "self",(char *) "text",(char *) "pt", NULL
19776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19778 if (!SWIG_IsOK(res1
)) {
19779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19781 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19783 arg2
= wxString_in_helper(obj1
);
19784 if (arg2
== NULL
) SWIG_fail
;
19789 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19793 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19794 wxPyEndAllowThreads(__tstate
);
19795 if (PyErr_Occurred()) SWIG_fail
;
19797 resultobj
= SWIG_Py_Void();
19812 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19813 PyObject
*resultobj
= 0;
19814 wxDC
*arg1
= (wxDC
*) 0 ;
19815 wxString
*arg2
= 0 ;
19821 bool temp2
= false ;
19828 PyObject
* obj0
= 0 ;
19829 PyObject
* obj1
= 0 ;
19830 PyObject
* obj2
= 0 ;
19831 PyObject
* obj3
= 0 ;
19832 PyObject
* obj4
= 0 ;
19833 char * kwnames
[] = {
19834 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19839 if (!SWIG_IsOK(res1
)) {
19840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19842 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19844 arg2
= wxString_in_helper(obj1
);
19845 if (arg2
== NULL
) SWIG_fail
;
19848 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19849 if (!SWIG_IsOK(ecode3
)) {
19850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19852 arg3
= static_cast< int >(val3
);
19853 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19854 if (!SWIG_IsOK(ecode4
)) {
19855 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19857 arg4
= static_cast< int >(val4
);
19858 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19859 if (!SWIG_IsOK(ecode5
)) {
19860 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19862 arg5
= static_cast< double >(val5
);
19864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19865 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19866 wxPyEndAllowThreads(__tstate
);
19867 if (PyErr_Occurred()) SWIG_fail
;
19869 resultobj
= SWIG_Py_Void();
19884 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19885 PyObject
*resultobj
= 0;
19886 wxDC
*arg1
= (wxDC
*) 0 ;
19887 wxString
*arg2
= 0 ;
19888 wxPoint
*arg3
= 0 ;
19892 bool temp2
= false ;
19896 PyObject
* obj0
= 0 ;
19897 PyObject
* obj1
= 0 ;
19898 PyObject
* obj2
= 0 ;
19899 PyObject
* obj3
= 0 ;
19900 char * kwnames
[] = {
19901 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19906 if (!SWIG_IsOK(res1
)) {
19907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19909 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19911 arg2
= wxString_in_helper(obj1
);
19912 if (arg2
== NULL
) SWIG_fail
;
19917 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19919 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19920 if (!SWIG_IsOK(ecode4
)) {
19921 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19923 arg4
= static_cast< double >(val4
);
19925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19926 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19927 wxPyEndAllowThreads(__tstate
);
19928 if (PyErr_Occurred()) SWIG_fail
;
19930 resultobj
= SWIG_Py_Void();
19945 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19946 PyObject
*resultobj
= 0;
19947 wxDC
*arg1
= (wxDC
*) 0 ;
19952 wxDC
*arg6
= (wxDC
*) 0 ;
19955 int arg9
= (int) wxCOPY
;
19956 bool arg10
= (bool) false ;
19957 int arg11
= (int) -1 ;
19958 int arg12
= (int) -1 ;
19984 PyObject
* obj0
= 0 ;
19985 PyObject
* obj1
= 0 ;
19986 PyObject
* obj2
= 0 ;
19987 PyObject
* obj3
= 0 ;
19988 PyObject
* obj4
= 0 ;
19989 PyObject
* obj5
= 0 ;
19990 PyObject
* obj6
= 0 ;
19991 PyObject
* obj7
= 0 ;
19992 PyObject
* obj8
= 0 ;
19993 PyObject
* obj9
= 0 ;
19994 PyObject
* obj10
= 0 ;
19995 PyObject
* obj11
= 0 ;
19996 char * kwnames
[] = {
19997 (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
20000 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
;
20001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20002 if (!SWIG_IsOK(res1
)) {
20003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
20005 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20007 if (!SWIG_IsOK(ecode2
)) {
20008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
20010 arg2
= static_cast< int >(val2
);
20011 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20012 if (!SWIG_IsOK(ecode3
)) {
20013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
20015 arg3
= static_cast< int >(val3
);
20016 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20017 if (!SWIG_IsOK(ecode4
)) {
20018 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
20020 arg4
= static_cast< int >(val4
);
20021 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20022 if (!SWIG_IsOK(ecode5
)) {
20023 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
20025 arg5
= static_cast< int >(val5
);
20026 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20027 if (!SWIG_IsOK(res6
)) {
20028 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
20030 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20031 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20032 if (!SWIG_IsOK(ecode7
)) {
20033 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
20035 arg7
= static_cast< int >(val7
);
20036 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20037 if (!SWIG_IsOK(ecode8
)) {
20038 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
20040 arg8
= static_cast< int >(val8
);
20042 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20043 if (!SWIG_IsOK(ecode9
)) {
20044 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
20046 arg9
= static_cast< int >(val9
);
20049 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
20050 if (!SWIG_IsOK(ecode10
)) {
20051 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
20053 arg10
= static_cast< bool >(val10
);
20056 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20057 if (!SWIG_IsOK(ecode11
)) {
20058 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
20060 arg11
= static_cast< int >(val11
);
20063 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
20064 if (!SWIG_IsOK(ecode12
)) {
20065 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
20067 arg12
= static_cast< int >(val12
);
20070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20071 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
20072 wxPyEndAllowThreads(__tstate
);
20073 if (PyErr_Occurred()) SWIG_fail
;
20076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20084 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20085 PyObject
*resultobj
= 0;
20086 wxDC
*arg1
= (wxDC
*) 0 ;
20087 wxPoint
*arg2
= 0 ;
20089 wxDC
*arg4
= (wxDC
*) 0 ;
20090 wxPoint
*arg5
= 0 ;
20091 int arg6
= (int) wxCOPY
;
20092 bool arg7
= (bool) false ;
20093 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20094 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20108 PyObject
* obj0
= 0 ;
20109 PyObject
* obj1
= 0 ;
20110 PyObject
* obj2
= 0 ;
20111 PyObject
* obj3
= 0 ;
20112 PyObject
* obj4
= 0 ;
20113 PyObject
* obj5
= 0 ;
20114 PyObject
* obj6
= 0 ;
20115 PyObject
* obj7
= 0 ;
20116 char * kwnames
[] = {
20117 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20122 if (!SWIG_IsOK(res1
)) {
20123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20125 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20128 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20132 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20134 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20135 if (!SWIG_IsOK(res4
)) {
20136 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20138 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20141 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20144 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20145 if (!SWIG_IsOK(ecode6
)) {
20146 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20148 arg6
= static_cast< int >(val6
);
20151 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20152 if (!SWIG_IsOK(ecode7
)) {
20153 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20155 arg7
= static_cast< bool >(val7
);
20160 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20165 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20166 wxPyEndAllowThreads(__tstate
);
20167 if (PyErr_Occurred()) SWIG_fail
;
20170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20178 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20179 PyObject
*resultobj
= 0;
20180 wxDC
*arg1
= (wxDC
*) 0 ;
20195 PyObject
* obj0
= 0 ;
20196 PyObject
* obj1
= 0 ;
20197 PyObject
* obj2
= 0 ;
20198 PyObject
* obj3
= 0 ;
20199 PyObject
* obj4
= 0 ;
20200 char * kwnames
[] = {
20201 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20206 if (!SWIG_IsOK(res1
)) {
20207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20209 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20210 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20211 if (!SWIG_IsOK(ecode2
)) {
20212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20214 arg2
= static_cast< int >(val2
);
20215 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20216 if (!SWIG_IsOK(ecode3
)) {
20217 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20219 arg3
= static_cast< int >(val3
);
20220 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20221 if (!SWIG_IsOK(ecode4
)) {
20222 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20224 arg4
= static_cast< int >(val4
);
20225 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20226 if (!SWIG_IsOK(ecode5
)) {
20227 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20229 arg5
= static_cast< int >(val5
);
20231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20232 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20233 wxPyEndAllowThreads(__tstate
);
20234 if (PyErr_Occurred()) SWIG_fail
;
20236 resultobj
= SWIG_Py_Void();
20243 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20244 PyObject
*resultobj
= 0;
20245 wxDC
*arg1
= (wxDC
*) 0 ;
20246 wxPoint
*arg2
= 0 ;
20252 PyObject
* obj0
= 0 ;
20253 PyObject
* obj1
= 0 ;
20254 PyObject
* obj2
= 0 ;
20255 char * kwnames
[] = {
20256 (char *) "self",(char *) "pt",(char *) "sz", NULL
20259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20261 if (!SWIG_IsOK(res1
)) {
20262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20264 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20267 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20271 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20275 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20276 wxPyEndAllowThreads(__tstate
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20279 resultobj
= SWIG_Py_Void();
20286 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20287 PyObject
*resultobj
= 0;
20288 wxDC
*arg1
= (wxDC
*) 0 ;
20289 wxRegion
*arg2
= 0 ;
20294 PyObject
* obj0
= 0 ;
20295 PyObject
* obj1
= 0 ;
20296 char * kwnames
[] = {
20297 (char *) "self",(char *) "region", NULL
20300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20302 if (!SWIG_IsOK(res1
)) {
20303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20305 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20306 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20307 if (!SWIG_IsOK(res2
)) {
20308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20311 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20313 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20316 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20317 wxPyEndAllowThreads(__tstate
);
20318 if (PyErr_Occurred()) SWIG_fail
;
20320 resultobj
= SWIG_Py_Void();
20327 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20328 PyObject
*resultobj
= 0;
20329 wxDC
*arg1
= (wxDC
*) 0 ;
20334 PyObject
* obj0
= 0 ;
20335 PyObject
* obj1
= 0 ;
20336 char * kwnames
[] = {
20337 (char *) "self",(char *) "rect", NULL
20340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20342 if (!SWIG_IsOK(res1
)) {
20343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20345 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20348 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20352 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20353 wxPyEndAllowThreads(__tstate
);
20354 if (PyErr_Occurred()) SWIG_fail
;
20356 resultobj
= SWIG_Py_Void();
20363 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20364 PyObject
*resultobj
= 0;
20365 wxDC
*arg1
= (wxDC
*) 0 ;
20367 wxPoint
*arg3
= (wxPoint
*) 0 ;
20368 int arg4
= (int) 0 ;
20369 int arg5
= (int) 0 ;
20376 PyObject
* obj0
= 0 ;
20377 PyObject
* obj1
= 0 ;
20378 PyObject
* obj2
= 0 ;
20379 PyObject
* obj3
= 0 ;
20380 char * kwnames
[] = {
20381 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20386 if (!SWIG_IsOK(res1
)) {
20387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20389 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20391 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20392 if (arg3
== NULL
) SWIG_fail
;
20395 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20396 if (!SWIG_IsOK(ecode4
)) {
20397 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20399 arg4
= static_cast< int >(val4
);
20402 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20403 if (!SWIG_IsOK(ecode5
)) {
20404 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20406 arg5
= static_cast< int >(val5
);
20409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20410 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20411 wxPyEndAllowThreads(__tstate
);
20412 if (PyErr_Occurred()) SWIG_fail
;
20414 resultobj
= SWIG_Py_Void();
20416 if (arg3
) delete [] arg3
;
20421 if (arg3
) delete [] arg3
;
20427 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20428 PyObject
*resultobj
= 0;
20429 wxDC
*arg1
= (wxDC
*) 0 ;
20431 wxPoint
*arg3
= (wxPoint
*) 0 ;
20432 int arg4
= (int) 0 ;
20433 int arg5
= (int) 0 ;
20434 int arg6
= (int) wxODDEVEN_RULE
;
20443 PyObject
* obj0
= 0 ;
20444 PyObject
* obj1
= 0 ;
20445 PyObject
* obj2
= 0 ;
20446 PyObject
* obj3
= 0 ;
20447 PyObject
* obj4
= 0 ;
20448 char * kwnames
[] = {
20449 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20454 if (!SWIG_IsOK(res1
)) {
20455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20457 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20459 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20460 if (arg3
== NULL
) SWIG_fail
;
20463 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20464 if (!SWIG_IsOK(ecode4
)) {
20465 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20467 arg4
= static_cast< int >(val4
);
20470 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20471 if (!SWIG_IsOK(ecode5
)) {
20472 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20474 arg5
= static_cast< int >(val5
);
20477 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20478 if (!SWIG_IsOK(ecode6
)) {
20479 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20481 arg6
= static_cast< int >(val6
);
20484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20485 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20486 wxPyEndAllowThreads(__tstate
);
20487 if (PyErr_Occurred()) SWIG_fail
;
20489 resultobj
= SWIG_Py_Void();
20491 if (arg3
) delete [] arg3
;
20496 if (arg3
) delete [] arg3
;
20502 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20503 PyObject
*resultobj
= 0;
20504 wxDC
*arg1
= (wxDC
*) 0 ;
20505 wxString
*arg2
= 0 ;
20507 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20508 int arg5
= (int) -1 ;
20511 bool temp2
= false ;
20517 PyObject
* obj0
= 0 ;
20518 PyObject
* obj1
= 0 ;
20519 PyObject
* obj2
= 0 ;
20520 PyObject
* obj3
= 0 ;
20521 PyObject
* obj4
= 0 ;
20522 char * kwnames
[] = {
20523 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20528 if (!SWIG_IsOK(res1
)) {
20529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20531 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20533 arg2
= wxString_in_helper(obj1
);
20534 if (arg2
== NULL
) SWIG_fail
;
20539 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20542 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20543 if (!SWIG_IsOK(ecode4
)) {
20544 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20546 arg4
= static_cast< int >(val4
);
20549 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20550 if (!SWIG_IsOK(ecode5
)) {
20551 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20553 arg5
= static_cast< int >(val5
);
20556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20557 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20558 wxPyEndAllowThreads(__tstate
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20561 resultobj
= SWIG_Py_Void();
20576 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20577 PyObject
*resultobj
= 0;
20578 wxDC
*arg1
= (wxDC
*) 0 ;
20579 wxString
*arg2
= 0 ;
20580 wxBitmap
*arg3
= 0 ;
20582 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20583 int arg6
= (int) -1 ;
20587 bool temp2
= false ;
20595 PyObject
* obj0
= 0 ;
20596 PyObject
* obj1
= 0 ;
20597 PyObject
* obj2
= 0 ;
20598 PyObject
* obj3
= 0 ;
20599 PyObject
* obj4
= 0 ;
20600 PyObject
* obj5
= 0 ;
20601 char * kwnames
[] = {
20602 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20607 if (!SWIG_IsOK(res1
)) {
20608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20610 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20612 arg2
= wxString_in_helper(obj1
);
20613 if (arg2
== NULL
) SWIG_fail
;
20616 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20617 if (!SWIG_IsOK(res3
)) {
20618 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20623 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20626 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20629 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20630 if (!SWIG_IsOK(ecode5
)) {
20631 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20633 arg5
= static_cast< int >(val5
);
20636 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20637 if (!SWIG_IsOK(ecode6
)) {
20638 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20640 arg6
= static_cast< int >(val6
);
20643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20644 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20645 wxPyEndAllowThreads(__tstate
);
20646 if (PyErr_Occurred()) SWIG_fail
;
20648 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20663 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20664 PyObject
*resultobj
= 0;
20665 wxDC
*arg1
= (wxDC
*) 0 ;
20667 wxPoint
*arg3
= (wxPoint
*) 0 ;
20670 PyObject
* obj0
= 0 ;
20671 PyObject
* obj1
= 0 ;
20672 char * kwnames
[] = {
20673 (char *) "self",(char *) "points", NULL
20676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20678 if (!SWIG_IsOK(res1
)) {
20679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20681 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20683 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20684 if (arg3
== NULL
) SWIG_fail
;
20687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20688 (arg1
)->DrawSpline(arg2
,arg3
);
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20692 resultobj
= SWIG_Py_Void();
20694 if (arg3
) delete [] arg3
;
20699 if (arg3
) delete [] arg3
;
20705 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20706 PyObject
*resultobj
= 0;
20707 wxDC
*arg1
= (wxDC
*) 0 ;
20710 PyObject
*swig_obj
[1] ;
20712 if (!args
) SWIG_fail
;
20713 swig_obj
[0] = args
;
20714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20715 if (!SWIG_IsOK(res1
)) {
20716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20718 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20722 wxPyEndAllowThreads(__tstate
);
20723 if (PyErr_Occurred()) SWIG_fail
;
20725 resultobj
= SWIG_Py_Void();
20732 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20733 PyObject
*resultobj
= 0;
20734 wxDC
*arg1
= (wxDC
*) 0 ;
20735 wxString
*arg2
= 0 ;
20739 bool temp2
= false ;
20740 PyObject
* obj0
= 0 ;
20741 PyObject
* obj1
= 0 ;
20742 char * kwnames
[] = {
20743 (char *) "self",(char *) "message", NULL
20746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20748 if (!SWIG_IsOK(res1
)) {
20749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20751 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20753 arg2
= wxString_in_helper(obj1
);
20754 if (arg2
== NULL
) SWIG_fail
;
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20759 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20760 wxPyEndAllowThreads(__tstate
);
20761 if (PyErr_Occurred()) SWIG_fail
;
20764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20780 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20781 PyObject
*resultobj
= 0;
20782 wxDC
*arg1
= (wxDC
*) 0 ;
20785 PyObject
*swig_obj
[1] ;
20787 if (!args
) SWIG_fail
;
20788 swig_obj
[0] = args
;
20789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20790 if (!SWIG_IsOK(res1
)) {
20791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20793 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20797 wxPyEndAllowThreads(__tstate
);
20798 if (PyErr_Occurred()) SWIG_fail
;
20800 resultobj
= SWIG_Py_Void();
20807 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20808 PyObject
*resultobj
= 0;
20809 wxDC
*arg1
= (wxDC
*) 0 ;
20812 PyObject
*swig_obj
[1] ;
20814 if (!args
) SWIG_fail
;
20815 swig_obj
[0] = args
;
20816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20817 if (!SWIG_IsOK(res1
)) {
20818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20820 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20823 (arg1
)->StartPage();
20824 wxPyEndAllowThreads(__tstate
);
20825 if (PyErr_Occurred()) SWIG_fail
;
20827 resultobj
= SWIG_Py_Void();
20834 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20835 PyObject
*resultobj
= 0;
20836 wxDC
*arg1
= (wxDC
*) 0 ;
20839 PyObject
*swig_obj
[1] ;
20841 if (!args
) SWIG_fail
;
20842 swig_obj
[0] = args
;
20843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20844 if (!SWIG_IsOK(res1
)) {
20845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20847 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20851 wxPyEndAllowThreads(__tstate
);
20852 if (PyErr_Occurred()) SWIG_fail
;
20854 resultobj
= SWIG_Py_Void();
20861 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20862 PyObject
*resultobj
= 0;
20863 wxDC
*arg1
= (wxDC
*) 0 ;
20869 PyObject
* obj0
= 0 ;
20870 PyObject
* obj1
= 0 ;
20871 char * kwnames
[] = {
20872 (char *) "self",(char *) "font", NULL
20875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20877 if (!SWIG_IsOK(res1
)) {
20878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20880 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20881 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20882 if (!SWIG_IsOK(res2
)) {
20883 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20886 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20888 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20891 (arg1
)->SetFont((wxFont
const &)*arg2
);
20892 wxPyEndAllowThreads(__tstate
);
20893 if (PyErr_Occurred()) SWIG_fail
;
20895 resultobj
= SWIG_Py_Void();
20902 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20903 PyObject
*resultobj
= 0;
20904 wxDC
*arg1
= (wxDC
*) 0 ;
20910 PyObject
* obj0
= 0 ;
20911 PyObject
* obj1
= 0 ;
20912 char * kwnames
[] = {
20913 (char *) "self",(char *) "pen", NULL
20916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20918 if (!SWIG_IsOK(res1
)) {
20919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20921 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20922 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20923 if (!SWIG_IsOK(res2
)) {
20924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20927 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20929 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20932 (arg1
)->SetPen((wxPen
const &)*arg2
);
20933 wxPyEndAllowThreads(__tstate
);
20934 if (PyErr_Occurred()) SWIG_fail
;
20936 resultobj
= SWIG_Py_Void();
20943 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20944 PyObject
*resultobj
= 0;
20945 wxDC
*arg1
= (wxDC
*) 0 ;
20946 wxBrush
*arg2
= 0 ;
20951 PyObject
* obj0
= 0 ;
20952 PyObject
* obj1
= 0 ;
20953 char * kwnames
[] = {
20954 (char *) "self",(char *) "brush", NULL
20957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20959 if (!SWIG_IsOK(res1
)) {
20960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20962 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20963 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20964 if (!SWIG_IsOK(res2
)) {
20965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20970 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20973 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20974 wxPyEndAllowThreads(__tstate
);
20975 if (PyErr_Occurred()) SWIG_fail
;
20977 resultobj
= SWIG_Py_Void();
20984 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20985 PyObject
*resultobj
= 0;
20986 wxDC
*arg1
= (wxDC
*) 0 ;
20987 wxBrush
*arg2
= 0 ;
20992 PyObject
* obj0
= 0 ;
20993 PyObject
* obj1
= 0 ;
20994 char * kwnames
[] = {
20995 (char *) "self",(char *) "brush", NULL
20998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21000 if (!SWIG_IsOK(res1
)) {
21001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21003 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21004 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21005 if (!SWIG_IsOK(res2
)) {
21006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21011 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21014 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
21015 wxPyEndAllowThreads(__tstate
);
21016 if (PyErr_Occurred()) SWIG_fail
;
21018 resultobj
= SWIG_Py_Void();
21025 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21026 PyObject
*resultobj
= 0;
21027 wxDC
*arg1
= (wxDC
*) 0 ;
21033 PyObject
* obj0
= 0 ;
21034 PyObject
* obj1
= 0 ;
21035 char * kwnames
[] = {
21036 (char *) "self",(char *) "mode", NULL
21039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21041 if (!SWIG_IsOK(res1
)) {
21042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21044 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21046 if (!SWIG_IsOK(ecode2
)) {
21047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21049 arg2
= static_cast< int >(val2
);
21051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21052 (arg1
)->SetBackgroundMode(arg2
);
21053 wxPyEndAllowThreads(__tstate
);
21054 if (PyErr_Occurred()) SWIG_fail
;
21056 resultobj
= SWIG_Py_Void();
21063 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21064 PyObject
*resultobj
= 0;
21065 wxDC
*arg1
= (wxDC
*) 0 ;
21066 wxPalette
*arg2
= 0 ;
21071 PyObject
* obj0
= 0 ;
21072 PyObject
* obj1
= 0 ;
21073 char * kwnames
[] = {
21074 (char *) "self",(char *) "palette", NULL
21077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21079 if (!SWIG_IsOK(res1
)) {
21080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21082 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21083 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21084 if (!SWIG_IsOK(res2
)) {
21085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21088 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21090 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21093 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21094 wxPyEndAllowThreads(__tstate
);
21095 if (PyErr_Occurred()) SWIG_fail
;
21097 resultobj
= SWIG_Py_Void();
21104 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21105 PyObject
*resultobj
= 0;
21106 wxDC
*arg1
= (wxDC
*) 0 ;
21109 PyObject
*swig_obj
[1] ;
21111 if (!args
) SWIG_fail
;
21112 swig_obj
[0] = args
;
21113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21114 if (!SWIG_IsOK(res1
)) {
21115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21117 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21120 (arg1
)->DestroyClippingRegion();
21121 wxPyEndAllowThreads(__tstate
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21124 resultobj
= SWIG_Py_Void();
21131 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21132 PyObject
*resultobj
= 0;
21133 wxDC
*arg1
= (wxDC
*) 0 ;
21134 int *arg2
= (int *) 0 ;
21135 int *arg3
= (int *) 0 ;
21136 int *arg4
= (int *) 0 ;
21137 int *arg5
= (int *) 0 ;
21141 int res2
= SWIG_TMPOBJ
;
21143 int res3
= SWIG_TMPOBJ
;
21145 int res4
= SWIG_TMPOBJ
;
21147 int res5
= SWIG_TMPOBJ
;
21148 PyObject
*swig_obj
[1] ;
21154 if (!args
) SWIG_fail
;
21155 swig_obj
[0] = args
;
21156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21157 if (!SWIG_IsOK(res1
)) {
21158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21160 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21163 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21164 wxPyEndAllowThreads(__tstate
);
21165 if (PyErr_Occurred()) SWIG_fail
;
21167 resultobj
= SWIG_Py_Void();
21168 if (SWIG_IsTmpObj(res2
)) {
21169 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21171 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21174 if (SWIG_IsTmpObj(res3
)) {
21175 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21177 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21178 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21180 if (SWIG_IsTmpObj(res4
)) {
21181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21183 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21186 if (SWIG_IsTmpObj(res5
)) {
21187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21189 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21190 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21198 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21199 PyObject
*resultobj
= 0;
21200 wxDC
*arg1
= (wxDC
*) 0 ;
21204 PyObject
*swig_obj
[1] ;
21206 if (!args
) SWIG_fail
;
21207 swig_obj
[0] = args
;
21208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21209 if (!SWIG_IsOK(res1
)) {
21210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21212 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21215 result
= wxDC_GetClippingRect(arg1
);
21216 wxPyEndAllowThreads(__tstate
);
21217 if (PyErr_Occurred()) SWIG_fail
;
21219 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21226 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21227 PyObject
*resultobj
= 0;
21228 wxDC
*arg1
= (wxDC
*) 0 ;
21232 PyObject
*swig_obj
[1] ;
21234 if (!args
) SWIG_fail
;
21235 swig_obj
[0] = args
;
21236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21237 if (!SWIG_IsOK(res1
)) {
21238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21240 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21243 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21244 wxPyEndAllowThreads(__tstate
);
21245 if (PyErr_Occurred()) SWIG_fail
;
21247 resultobj
= SWIG_From_int(static_cast< int >(result
));
21254 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21255 PyObject
*resultobj
= 0;
21256 wxDC
*arg1
= (wxDC
*) 0 ;
21260 PyObject
*swig_obj
[1] ;
21262 if (!args
) SWIG_fail
;
21263 swig_obj
[0] = args
;
21264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21265 if (!SWIG_IsOK(res1
)) {
21266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21268 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21271 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21272 wxPyEndAllowThreads(__tstate
);
21273 if (PyErr_Occurred()) SWIG_fail
;
21275 resultobj
= SWIG_From_int(static_cast< int >(result
));
21282 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21283 PyObject
*resultobj
= 0;
21284 wxDC
*arg1
= (wxDC
*) 0 ;
21285 wxString
*arg2
= 0 ;
21286 int *arg3
= (int *) 0 ;
21287 int *arg4
= (int *) 0 ;
21290 bool temp2
= false ;
21292 int res3
= SWIG_TMPOBJ
;
21294 int res4
= SWIG_TMPOBJ
;
21295 PyObject
* obj0
= 0 ;
21296 PyObject
* obj1
= 0 ;
21297 char * kwnames
[] = {
21298 (char *) "self",(char *) "string", NULL
21303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21305 if (!SWIG_IsOK(res1
)) {
21306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21308 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21310 arg2
= wxString_in_helper(obj1
);
21311 if (arg2
== NULL
) SWIG_fail
;
21315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21316 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21317 wxPyEndAllowThreads(__tstate
);
21318 if (PyErr_Occurred()) SWIG_fail
;
21320 resultobj
= SWIG_Py_Void();
21321 if (SWIG_IsTmpObj(res3
)) {
21322 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21324 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21325 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21327 if (SWIG_IsTmpObj(res4
)) {
21328 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21330 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21331 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21347 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21348 PyObject
*resultobj
= 0;
21349 wxDC
*arg1
= (wxDC
*) 0 ;
21350 wxString
*arg2
= 0 ;
21351 int *arg3
= (int *) 0 ;
21352 int *arg4
= (int *) 0 ;
21353 int *arg5
= (int *) 0 ;
21354 int *arg6
= (int *) 0 ;
21355 wxFont
*arg7
= (wxFont
*) NULL
;
21358 bool temp2
= false ;
21360 int res3
= SWIG_TMPOBJ
;
21362 int res4
= SWIG_TMPOBJ
;
21364 int res5
= SWIG_TMPOBJ
;
21366 int res6
= SWIG_TMPOBJ
;
21369 PyObject
* obj0
= 0 ;
21370 PyObject
* obj1
= 0 ;
21371 PyObject
* obj2
= 0 ;
21372 char * kwnames
[] = {
21373 (char *) "self",(char *) "string",(char *) "font", NULL
21380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21382 if (!SWIG_IsOK(res1
)) {
21383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21385 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21387 arg2
= wxString_in_helper(obj1
);
21388 if (arg2
== NULL
) SWIG_fail
;
21392 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21393 if (!SWIG_IsOK(res7
)) {
21394 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21396 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21400 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21401 wxPyEndAllowThreads(__tstate
);
21402 if (PyErr_Occurred()) SWIG_fail
;
21404 resultobj
= SWIG_Py_Void();
21405 if (SWIG_IsTmpObj(res3
)) {
21406 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21408 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21409 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21411 if (SWIG_IsTmpObj(res4
)) {
21412 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21414 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21415 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21417 if (SWIG_IsTmpObj(res5
)) {
21418 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21420 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21421 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21423 if (SWIG_IsTmpObj(res6
)) {
21424 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21426 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21427 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21443 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21444 PyObject
*resultobj
= 0;
21445 wxDC
*arg1
= (wxDC
*) 0 ;
21446 wxString
*arg2
= 0 ;
21447 int *arg3
= (int *) 0 ;
21448 int *arg4
= (int *) 0 ;
21449 int *arg5
= (int *) 0 ;
21450 wxFont
*arg6
= (wxFont
*) NULL
;
21453 bool temp2
= false ;
21455 int res3
= SWIG_TMPOBJ
;
21457 int res4
= SWIG_TMPOBJ
;
21459 int res5
= SWIG_TMPOBJ
;
21462 PyObject
* obj0
= 0 ;
21463 PyObject
* obj1
= 0 ;
21464 PyObject
* obj2
= 0 ;
21465 char * kwnames
[] = {
21466 (char *) "self",(char *) "text",(char *) "font", NULL
21472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21474 if (!SWIG_IsOK(res1
)) {
21475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21477 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21479 arg2
= wxString_in_helper(obj1
);
21480 if (arg2
== NULL
) SWIG_fail
;
21484 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21485 if (!SWIG_IsOK(res6
)) {
21486 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21488 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21492 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21493 wxPyEndAllowThreads(__tstate
);
21494 if (PyErr_Occurred()) SWIG_fail
;
21496 resultobj
= SWIG_Py_Void();
21497 if (SWIG_IsTmpObj(res3
)) {
21498 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21500 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21501 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21503 if (SWIG_IsTmpObj(res4
)) {
21504 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21506 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21507 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21509 if (SWIG_IsTmpObj(res5
)) {
21510 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21512 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21513 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21529 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21530 PyObject
*resultobj
= 0;
21531 wxDC
*arg1
= (wxDC
*) 0 ;
21532 wxString
*arg2
= 0 ;
21536 bool temp2
= false ;
21537 PyObject
* obj0
= 0 ;
21538 PyObject
* obj1
= 0 ;
21539 char * kwnames
[] = {
21540 (char *) "self",(char *) "text", NULL
21543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21545 if (!SWIG_IsOK(res1
)) {
21546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21548 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21550 arg2
= wxString_in_helper(obj1
);
21551 if (arg2
== NULL
) SWIG_fail
;
21555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21556 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21557 wxPyEndAllowThreads(__tstate
);
21558 if (PyErr_Occurred()) SWIG_fail
;
21561 resultobj
= wxArrayInt2PyList_helper(result
);
21577 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21578 PyObject
*resultobj
= 0;
21579 wxDC
*arg1
= (wxDC
*) 0 ;
21583 PyObject
*swig_obj
[1] ;
21585 if (!args
) SWIG_fail
;
21586 swig_obj
[0] = args
;
21587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21588 if (!SWIG_IsOK(res1
)) {
21589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21594 result
= (arg1
)->GetSize();
21595 wxPyEndAllowThreads(__tstate
);
21596 if (PyErr_Occurred()) SWIG_fail
;
21598 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21605 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21606 PyObject
*resultobj
= 0;
21607 wxDC
*arg1
= (wxDC
*) 0 ;
21608 int *arg2
= (int *) 0 ;
21609 int *arg3
= (int *) 0 ;
21613 int res2
= SWIG_TMPOBJ
;
21615 int res3
= SWIG_TMPOBJ
;
21616 PyObject
*swig_obj
[1] ;
21620 if (!args
) SWIG_fail
;
21621 swig_obj
[0] = args
;
21622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21623 if (!SWIG_IsOK(res1
)) {
21624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21626 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21629 (arg1
)->GetSize(arg2
,arg3
);
21630 wxPyEndAllowThreads(__tstate
);
21631 if (PyErr_Occurred()) SWIG_fail
;
21633 resultobj
= SWIG_Py_Void();
21634 if (SWIG_IsTmpObj(res2
)) {
21635 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21637 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21638 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21640 if (SWIG_IsTmpObj(res3
)) {
21641 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21643 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21644 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21652 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21653 PyObject
*resultobj
= 0;
21654 wxDC
*arg1
= (wxDC
*) 0 ;
21658 PyObject
*swig_obj
[1] ;
21660 if (!args
) SWIG_fail
;
21661 swig_obj
[0] = args
;
21662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21663 if (!SWIG_IsOK(res1
)) {
21664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21666 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21669 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21670 wxPyEndAllowThreads(__tstate
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21673 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21680 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21681 PyObject
*resultobj
= 0;
21682 wxDC
*arg1
= (wxDC
*) 0 ;
21683 int *arg2
= (int *) 0 ;
21684 int *arg3
= (int *) 0 ;
21688 int res2
= SWIG_TMPOBJ
;
21690 int res3
= SWIG_TMPOBJ
;
21691 PyObject
*swig_obj
[1] ;
21695 if (!args
) SWIG_fail
;
21696 swig_obj
[0] = args
;
21697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21698 if (!SWIG_IsOK(res1
)) {
21699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21701 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21704 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21705 wxPyEndAllowThreads(__tstate
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21708 resultobj
= SWIG_Py_Void();
21709 if (SWIG_IsTmpObj(res2
)) {
21710 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21712 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21713 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21715 if (SWIG_IsTmpObj(res3
)) {
21716 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21718 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21719 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21727 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21728 PyObject
*resultobj
= 0;
21729 wxDC
*arg1
= (wxDC
*) 0 ;
21736 PyObject
* obj0
= 0 ;
21737 PyObject
* obj1
= 0 ;
21738 char * kwnames
[] = {
21739 (char *) "self",(char *) "x", NULL
21742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21744 if (!SWIG_IsOK(res1
)) {
21745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21747 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21749 if (!SWIG_IsOK(ecode2
)) {
21750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21752 arg2
= static_cast< int >(val2
);
21754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21755 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21756 wxPyEndAllowThreads(__tstate
);
21757 if (PyErr_Occurred()) SWIG_fail
;
21759 resultobj
= SWIG_From_int(static_cast< int >(result
));
21766 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21767 PyObject
*resultobj
= 0;
21768 wxDC
*arg1
= (wxDC
*) 0 ;
21775 PyObject
* obj0
= 0 ;
21776 PyObject
* obj1
= 0 ;
21777 char * kwnames
[] = {
21778 (char *) "self",(char *) "y", NULL
21781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21783 if (!SWIG_IsOK(res1
)) {
21784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21786 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21788 if (!SWIG_IsOK(ecode2
)) {
21789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21791 arg2
= static_cast< int >(val2
);
21793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21798 resultobj
= SWIG_From_int(static_cast< int >(result
));
21805 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21806 PyObject
*resultobj
= 0;
21807 wxDC
*arg1
= (wxDC
*) 0 ;
21814 PyObject
* obj0
= 0 ;
21815 PyObject
* obj1
= 0 ;
21816 char * kwnames
[] = {
21817 (char *) "self",(char *) "x", NULL
21820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21822 if (!SWIG_IsOK(res1
)) {
21823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21825 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21827 if (!SWIG_IsOK(ecode2
)) {
21828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21830 arg2
= static_cast< int >(val2
);
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21833 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21834 wxPyEndAllowThreads(__tstate
);
21835 if (PyErr_Occurred()) SWIG_fail
;
21837 resultobj
= SWIG_From_int(static_cast< int >(result
));
21844 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21845 PyObject
*resultobj
= 0;
21846 wxDC
*arg1
= (wxDC
*) 0 ;
21853 PyObject
* obj0
= 0 ;
21854 PyObject
* obj1
= 0 ;
21855 char * kwnames
[] = {
21856 (char *) "self",(char *) "y", NULL
21859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21861 if (!SWIG_IsOK(res1
)) {
21862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21864 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21866 if (!SWIG_IsOK(ecode2
)) {
21867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21869 arg2
= static_cast< int >(val2
);
21871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21872 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21876 resultobj
= SWIG_From_int(static_cast< int >(result
));
21883 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21884 PyObject
*resultobj
= 0;
21885 wxDC
*arg1
= (wxDC
*) 0 ;
21892 PyObject
* obj0
= 0 ;
21893 PyObject
* obj1
= 0 ;
21894 char * kwnames
[] = {
21895 (char *) "self",(char *) "x", NULL
21898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21900 if (!SWIG_IsOK(res1
)) {
21901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21903 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21905 if (!SWIG_IsOK(ecode2
)) {
21906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21908 arg2
= static_cast< int >(val2
);
21910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21911 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21912 wxPyEndAllowThreads(__tstate
);
21913 if (PyErr_Occurred()) SWIG_fail
;
21915 resultobj
= SWIG_From_int(static_cast< int >(result
));
21922 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21923 PyObject
*resultobj
= 0;
21924 wxDC
*arg1
= (wxDC
*) 0 ;
21931 PyObject
* obj0
= 0 ;
21932 PyObject
* obj1
= 0 ;
21933 char * kwnames
[] = {
21934 (char *) "self",(char *) "y", NULL
21937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21939 if (!SWIG_IsOK(res1
)) {
21940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21942 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21944 if (!SWIG_IsOK(ecode2
)) {
21945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21947 arg2
= static_cast< int >(val2
);
21949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21950 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21951 wxPyEndAllowThreads(__tstate
);
21952 if (PyErr_Occurred()) SWIG_fail
;
21954 resultobj
= SWIG_From_int(static_cast< int >(result
));
21961 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21962 PyObject
*resultobj
= 0;
21963 wxDC
*arg1
= (wxDC
*) 0 ;
21970 PyObject
* obj0
= 0 ;
21971 PyObject
* obj1
= 0 ;
21972 char * kwnames
[] = {
21973 (char *) "self",(char *) "x", NULL
21976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21978 if (!SWIG_IsOK(res1
)) {
21979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21981 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21983 if (!SWIG_IsOK(ecode2
)) {
21984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21986 arg2
= static_cast< int >(val2
);
21988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21989 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21990 wxPyEndAllowThreads(__tstate
);
21991 if (PyErr_Occurred()) SWIG_fail
;
21993 resultobj
= SWIG_From_int(static_cast< int >(result
));
22000 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22001 PyObject
*resultobj
= 0;
22002 wxDC
*arg1
= (wxDC
*) 0 ;
22009 PyObject
* obj0
= 0 ;
22010 PyObject
* obj1
= 0 ;
22011 char * kwnames
[] = {
22012 (char *) "self",(char *) "y", NULL
22015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22017 if (!SWIG_IsOK(res1
)) {
22018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22020 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22022 if (!SWIG_IsOK(ecode2
)) {
22023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22025 arg2
= static_cast< int >(val2
);
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22032 resultobj
= SWIG_From_int(static_cast< int >(result
));
22039 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22040 PyObject
*resultobj
= 0;
22041 wxDC
*arg1
= (wxDC
*) 0 ;
22045 PyObject
*swig_obj
[1] ;
22047 if (!args
) SWIG_fail
;
22048 swig_obj
[0] = args
;
22049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22050 if (!SWIG_IsOK(res1
)) {
22051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22053 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22056 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22057 wxPyEndAllowThreads(__tstate
);
22058 if (PyErr_Occurred()) SWIG_fail
;
22061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22069 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22070 PyObject
*resultobj
= 0;
22071 wxDC
*arg1
= (wxDC
*) 0 ;
22075 PyObject
*swig_obj
[1] ;
22077 if (!args
) SWIG_fail
;
22078 swig_obj
[0] = args
;
22079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22080 if (!SWIG_IsOK(res1
)) {
22081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22083 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22086 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22087 wxPyEndAllowThreads(__tstate
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22099 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22100 PyObject
*resultobj
= 0;
22101 wxDC
*arg1
= (wxDC
*) 0 ;
22105 PyObject
*swig_obj
[1] ;
22107 if (!args
) SWIG_fail
;
22108 swig_obj
[0] = args
;
22109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22110 if (!SWIG_IsOK(res1
)) {
22111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22113 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22116 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22117 wxPyEndAllowThreads(__tstate
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22120 resultobj
= SWIG_From_int(static_cast< int >(result
));
22127 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22128 PyObject
*resultobj
= 0;
22129 wxDC
*arg1
= (wxDC
*) 0 ;
22133 PyObject
*swig_obj
[1] ;
22135 if (!args
) SWIG_fail
;
22136 swig_obj
[0] = args
;
22137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22138 if (!SWIG_IsOK(res1
)) {
22139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22141 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22144 result
= ((wxDC
const *)arg1
)->GetPPI();
22145 wxPyEndAllowThreads(__tstate
);
22146 if (PyErr_Occurred()) SWIG_fail
;
22148 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22155 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22156 PyObject
*resultobj
= 0;
22157 wxDC
*arg1
= (wxDC
*) 0 ;
22161 PyObject
*swig_obj
[1] ;
22163 if (!args
) SWIG_fail
;
22164 swig_obj
[0] = args
;
22165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22166 if (!SWIG_IsOK(res1
)) {
22167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22169 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22172 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22173 wxPyEndAllowThreads(__tstate
);
22174 if (PyErr_Occurred()) SWIG_fail
;
22177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22185 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22186 PyObject
*resultobj
= 0;
22187 wxDC
*arg1
= (wxDC
*) 0 ;
22191 PyObject
*swig_obj
[1] ;
22193 if (!args
) SWIG_fail
;
22194 swig_obj
[0] = args
;
22195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22196 if (!SWIG_IsOK(res1
)) {
22197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22199 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22202 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22203 wxPyEndAllowThreads(__tstate
);
22204 if (PyErr_Occurred()) SWIG_fail
;
22206 resultobj
= SWIG_From_int(static_cast< int >(result
));
22213 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22214 PyObject
*resultobj
= 0;
22215 wxDC
*arg1
= (wxDC
*) 0 ;
22216 wxBrush
*result
= 0 ;
22219 PyObject
*swig_obj
[1] ;
22221 if (!args
) SWIG_fail
;
22222 swig_obj
[0] = args
;
22223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22224 if (!SWIG_IsOK(res1
)) {
22225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22227 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22231 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22232 result
= (wxBrush
*) &_result_ref
;
22234 wxPyEndAllowThreads(__tstate
);
22235 if (PyErr_Occurred()) SWIG_fail
;
22238 wxBrush
* resultptr
= new wxBrush(*result
);
22239 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22247 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22248 PyObject
*resultobj
= 0;
22249 wxDC
*arg1
= (wxDC
*) 0 ;
22250 wxBrush
*result
= 0 ;
22253 PyObject
*swig_obj
[1] ;
22255 if (!args
) SWIG_fail
;
22256 swig_obj
[0] = args
;
22257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22258 if (!SWIG_IsOK(res1
)) {
22259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22261 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22265 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22266 result
= (wxBrush
*) &_result_ref
;
22268 wxPyEndAllowThreads(__tstate
);
22269 if (PyErr_Occurred()) SWIG_fail
;
22272 wxBrush
* resultptr
= new wxBrush(*result
);
22273 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22281 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22282 PyObject
*resultobj
= 0;
22283 wxDC
*arg1
= (wxDC
*) 0 ;
22284 wxFont
*result
= 0 ;
22287 PyObject
*swig_obj
[1] ;
22289 if (!args
) SWIG_fail
;
22290 swig_obj
[0] = args
;
22291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22292 if (!SWIG_IsOK(res1
)) {
22293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22295 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22299 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22300 result
= (wxFont
*) &_result_ref
;
22302 wxPyEndAllowThreads(__tstate
);
22303 if (PyErr_Occurred()) SWIG_fail
;
22306 wxFont
* resultptr
= new wxFont(*result
);
22307 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22315 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22316 PyObject
*resultobj
= 0;
22317 wxDC
*arg1
= (wxDC
*) 0 ;
22318 wxPen
*result
= 0 ;
22321 PyObject
*swig_obj
[1] ;
22323 if (!args
) SWIG_fail
;
22324 swig_obj
[0] = args
;
22325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22326 if (!SWIG_IsOK(res1
)) {
22327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22329 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22333 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22334 result
= (wxPen
*) &_result_ref
;
22336 wxPyEndAllowThreads(__tstate
);
22337 if (PyErr_Occurred()) SWIG_fail
;
22340 wxPen
* resultptr
= new wxPen(*result
);
22341 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22349 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22350 PyObject
*resultobj
= 0;
22351 wxDC
*arg1
= (wxDC
*) 0 ;
22352 wxColour
*result
= 0 ;
22355 PyObject
*swig_obj
[1] ;
22357 if (!args
) SWIG_fail
;
22358 swig_obj
[0] = args
;
22359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22360 if (!SWIG_IsOK(res1
)) {
22361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22363 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22367 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22368 result
= (wxColour
*) &_result_ref
;
22370 wxPyEndAllowThreads(__tstate
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22380 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22381 PyObject
*resultobj
= 0;
22382 wxDC
*arg1
= (wxDC
*) 0 ;
22383 wxColour
*result
= 0 ;
22386 PyObject
*swig_obj
[1] ;
22388 if (!args
) SWIG_fail
;
22389 swig_obj
[0] = args
;
22390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22391 if (!SWIG_IsOK(res1
)) {
22392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22394 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22398 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22399 result
= (wxColour
*) &_result_ref
;
22401 wxPyEndAllowThreads(__tstate
);
22402 if (PyErr_Occurred()) SWIG_fail
;
22404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22411 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22412 PyObject
*resultobj
= 0;
22413 wxDC
*arg1
= (wxDC
*) 0 ;
22414 wxColour
*arg2
= 0 ;
22418 PyObject
* obj0
= 0 ;
22419 PyObject
* obj1
= 0 ;
22420 char * kwnames
[] = {
22421 (char *) "self",(char *) "colour", NULL
22424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22426 if (!SWIG_IsOK(res1
)) {
22427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22429 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22432 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22436 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22437 wxPyEndAllowThreads(__tstate
);
22438 if (PyErr_Occurred()) SWIG_fail
;
22440 resultobj
= SWIG_Py_Void();
22447 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22448 PyObject
*resultobj
= 0;
22449 wxDC
*arg1
= (wxDC
*) 0 ;
22450 wxColour
*arg2
= 0 ;
22454 PyObject
* obj0
= 0 ;
22455 PyObject
* obj1
= 0 ;
22456 char * kwnames
[] = {
22457 (char *) "self",(char *) "colour", NULL
22460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22462 if (!SWIG_IsOK(res1
)) {
22463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22465 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22468 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22472 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22473 wxPyEndAllowThreads(__tstate
);
22474 if (PyErr_Occurred()) SWIG_fail
;
22476 resultobj
= SWIG_Py_Void();
22483 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22484 PyObject
*resultobj
= 0;
22485 wxDC
*arg1
= (wxDC
*) 0 ;
22489 PyObject
*swig_obj
[1] ;
22491 if (!args
) SWIG_fail
;
22492 swig_obj
[0] = args
;
22493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22494 if (!SWIG_IsOK(res1
)) {
22495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22497 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22500 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22501 wxPyEndAllowThreads(__tstate
);
22502 if (PyErr_Occurred()) SWIG_fail
;
22504 resultobj
= SWIG_From_int(static_cast< int >(result
));
22511 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22512 PyObject
*resultobj
= 0;
22513 wxDC
*arg1
= (wxDC
*) 0 ;
22519 PyObject
* obj0
= 0 ;
22520 PyObject
* obj1
= 0 ;
22521 char * kwnames
[] = {
22522 (char *) "self",(char *) "mode", NULL
22525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22527 if (!SWIG_IsOK(res1
)) {
22528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22530 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22532 if (!SWIG_IsOK(ecode2
)) {
22533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22535 arg2
= static_cast< int >(val2
);
22537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22538 (arg1
)->SetMapMode(arg2
);
22539 wxPyEndAllowThreads(__tstate
);
22540 if (PyErr_Occurred()) SWIG_fail
;
22542 resultobj
= SWIG_Py_Void();
22549 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22550 PyObject
*resultobj
= 0;
22551 wxDC
*arg1
= (wxDC
*) 0 ;
22552 double *arg2
= (double *) 0 ;
22553 double *arg3
= (double *) 0 ;
22557 int res2
= SWIG_TMPOBJ
;
22559 int res3
= SWIG_TMPOBJ
;
22560 PyObject
*swig_obj
[1] ;
22564 if (!args
) SWIG_fail
;
22565 swig_obj
[0] = args
;
22566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22567 if (!SWIG_IsOK(res1
)) {
22568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22570 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22573 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22574 wxPyEndAllowThreads(__tstate
);
22575 if (PyErr_Occurred()) SWIG_fail
;
22577 resultobj
= SWIG_Py_Void();
22578 if (SWIG_IsTmpObj(res2
)) {
22579 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22581 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22582 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22584 if (SWIG_IsTmpObj(res3
)) {
22585 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22587 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22588 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22596 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22597 PyObject
*resultobj
= 0;
22598 wxDC
*arg1
= (wxDC
*) 0 ;
22607 PyObject
* obj0
= 0 ;
22608 PyObject
* obj1
= 0 ;
22609 PyObject
* obj2
= 0 ;
22610 char * kwnames
[] = {
22611 (char *) "self",(char *) "x",(char *) "y", NULL
22614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22616 if (!SWIG_IsOK(res1
)) {
22617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22619 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22620 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22621 if (!SWIG_IsOK(ecode2
)) {
22622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22624 arg2
= static_cast< double >(val2
);
22625 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22626 if (!SWIG_IsOK(ecode3
)) {
22627 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22629 arg3
= static_cast< double >(val3
);
22631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22632 (arg1
)->SetUserScale(arg2
,arg3
);
22633 wxPyEndAllowThreads(__tstate
);
22634 if (PyErr_Occurred()) SWIG_fail
;
22636 resultobj
= SWIG_Py_Void();
22643 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22644 PyObject
*resultobj
= 0;
22645 wxDC
*arg1
= (wxDC
*) 0 ;
22646 double *arg2
= (double *) 0 ;
22647 double *arg3
= (double *) 0 ;
22651 int res2
= SWIG_TMPOBJ
;
22653 int res3
= SWIG_TMPOBJ
;
22654 PyObject
*swig_obj
[1] ;
22658 if (!args
) SWIG_fail
;
22659 swig_obj
[0] = args
;
22660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22661 if (!SWIG_IsOK(res1
)) {
22662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22664 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22667 (arg1
)->GetLogicalScale(arg2
,arg3
);
22668 wxPyEndAllowThreads(__tstate
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22671 resultobj
= SWIG_Py_Void();
22672 if (SWIG_IsTmpObj(res2
)) {
22673 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22675 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22676 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22678 if (SWIG_IsTmpObj(res3
)) {
22679 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22681 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22682 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22690 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22691 PyObject
*resultobj
= 0;
22692 wxDC
*arg1
= (wxDC
*) 0 ;
22701 PyObject
* obj0
= 0 ;
22702 PyObject
* obj1
= 0 ;
22703 PyObject
* obj2
= 0 ;
22704 char * kwnames
[] = {
22705 (char *) "self",(char *) "x",(char *) "y", NULL
22708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22710 if (!SWIG_IsOK(res1
)) {
22711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22713 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22714 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22715 if (!SWIG_IsOK(ecode2
)) {
22716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22718 arg2
= static_cast< double >(val2
);
22719 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22720 if (!SWIG_IsOK(ecode3
)) {
22721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22723 arg3
= static_cast< double >(val3
);
22725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22726 (arg1
)->SetLogicalScale(arg2
,arg3
);
22727 wxPyEndAllowThreads(__tstate
);
22728 if (PyErr_Occurred()) SWIG_fail
;
22730 resultobj
= SWIG_Py_Void();
22737 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22738 PyObject
*resultobj
= 0;
22739 wxDC
*arg1
= (wxDC
*) 0 ;
22743 PyObject
*swig_obj
[1] ;
22745 if (!args
) SWIG_fail
;
22746 swig_obj
[0] = args
;
22747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22748 if (!SWIG_IsOK(res1
)) {
22749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22751 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22754 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22755 wxPyEndAllowThreads(__tstate
);
22756 if (PyErr_Occurred()) SWIG_fail
;
22758 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22765 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22766 PyObject
*resultobj
= 0;
22767 wxDC
*arg1
= (wxDC
*) 0 ;
22768 int *arg2
= (int *) 0 ;
22769 int *arg3
= (int *) 0 ;
22773 int res2
= SWIG_TMPOBJ
;
22775 int res3
= SWIG_TMPOBJ
;
22776 PyObject
*swig_obj
[1] ;
22780 if (!args
) SWIG_fail
;
22781 swig_obj
[0] = args
;
22782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22783 if (!SWIG_IsOK(res1
)) {
22784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22786 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22789 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22790 wxPyEndAllowThreads(__tstate
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22793 resultobj
= SWIG_Py_Void();
22794 if (SWIG_IsTmpObj(res2
)) {
22795 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22797 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22798 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22800 if (SWIG_IsTmpObj(res3
)) {
22801 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22803 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22804 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22812 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22813 PyObject
*resultobj
= 0;
22814 wxDC
*arg1
= (wxDC
*) 0 ;
22823 PyObject
* obj0
= 0 ;
22824 PyObject
* obj1
= 0 ;
22825 PyObject
* obj2
= 0 ;
22826 char * kwnames
[] = {
22827 (char *) "self",(char *) "x",(char *) "y", NULL
22830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22832 if (!SWIG_IsOK(res1
)) {
22833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22835 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22837 if (!SWIG_IsOK(ecode2
)) {
22838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22840 arg2
= static_cast< int >(val2
);
22841 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22842 if (!SWIG_IsOK(ecode3
)) {
22843 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22845 arg3
= static_cast< int >(val3
);
22847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22848 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22849 wxPyEndAllowThreads(__tstate
);
22850 if (PyErr_Occurred()) SWIG_fail
;
22852 resultobj
= SWIG_Py_Void();
22859 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22860 PyObject
*resultobj
= 0;
22861 wxDC
*arg1
= (wxDC
*) 0 ;
22862 wxPoint
*arg2
= 0 ;
22866 PyObject
* obj0
= 0 ;
22867 PyObject
* obj1
= 0 ;
22868 char * kwnames
[] = {
22869 (char *) "self",(char *) "point", NULL
22872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22874 if (!SWIG_IsOK(res1
)) {
22875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22877 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22880 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22884 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22888 resultobj
= SWIG_Py_Void();
22895 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22896 PyObject
*resultobj
= 0;
22897 wxDC
*arg1
= (wxDC
*) 0 ;
22901 PyObject
*swig_obj
[1] ;
22903 if (!args
) SWIG_fail
;
22904 swig_obj
[0] = args
;
22905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22906 if (!SWIG_IsOK(res1
)) {
22907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22909 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22912 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22913 wxPyEndAllowThreads(__tstate
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22916 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22923 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22924 PyObject
*resultobj
= 0;
22925 wxDC
*arg1
= (wxDC
*) 0 ;
22926 int *arg2
= (int *) 0 ;
22927 int *arg3
= (int *) 0 ;
22931 int res2
= SWIG_TMPOBJ
;
22933 int res3
= SWIG_TMPOBJ
;
22934 PyObject
*swig_obj
[1] ;
22938 if (!args
) SWIG_fail
;
22939 swig_obj
[0] = args
;
22940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22941 if (!SWIG_IsOK(res1
)) {
22942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22944 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22947 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22948 wxPyEndAllowThreads(__tstate
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22951 resultobj
= SWIG_Py_Void();
22952 if (SWIG_IsTmpObj(res2
)) {
22953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22955 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22958 if (SWIG_IsTmpObj(res3
)) {
22959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22961 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22970 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22971 PyObject
*resultobj
= 0;
22972 wxDC
*arg1
= (wxDC
*) 0 ;
22981 PyObject
* obj0
= 0 ;
22982 PyObject
* obj1
= 0 ;
22983 PyObject
* obj2
= 0 ;
22984 char * kwnames
[] = {
22985 (char *) "self",(char *) "x",(char *) "y", NULL
22988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22990 if (!SWIG_IsOK(res1
)) {
22991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22993 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22995 if (!SWIG_IsOK(ecode2
)) {
22996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22998 arg2
= static_cast< int >(val2
);
22999 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23000 if (!SWIG_IsOK(ecode3
)) {
23001 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
23003 arg3
= static_cast< int >(val3
);
23005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23006 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
23007 wxPyEndAllowThreads(__tstate
);
23008 if (PyErr_Occurred()) SWIG_fail
;
23010 resultobj
= SWIG_Py_Void();
23017 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23018 PyObject
*resultobj
= 0;
23019 wxDC
*arg1
= (wxDC
*) 0 ;
23020 wxPoint
*arg2
= 0 ;
23024 PyObject
* obj0
= 0 ;
23025 PyObject
* obj1
= 0 ;
23026 char * kwnames
[] = {
23027 (char *) "self",(char *) "point", NULL
23030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23032 if (!SWIG_IsOK(res1
)) {
23033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23035 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23038 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23046 resultobj
= SWIG_Py_Void();
23053 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23054 PyObject
*resultobj
= 0;
23055 wxDC
*arg1
= (wxDC
*) 0 ;
23064 PyObject
* obj0
= 0 ;
23065 PyObject
* obj1
= 0 ;
23066 PyObject
* obj2
= 0 ;
23067 char * kwnames
[] = {
23068 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23073 if (!SWIG_IsOK(res1
)) {
23074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23076 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23077 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23078 if (!SWIG_IsOK(ecode2
)) {
23079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23081 arg2
= static_cast< bool >(val2
);
23082 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23083 if (!SWIG_IsOK(ecode3
)) {
23084 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23086 arg3
= static_cast< bool >(val3
);
23088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23089 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23090 wxPyEndAllowThreads(__tstate
);
23091 if (PyErr_Occurred()) SWIG_fail
;
23093 resultobj
= SWIG_Py_Void();
23100 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23101 PyObject
*resultobj
= 0;
23102 wxDC
*arg1
= (wxDC
*) 0 ;
23106 PyObject
*swig_obj
[1] ;
23108 if (!args
) SWIG_fail
;
23109 swig_obj
[0] = args
;
23110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23111 if (!SWIG_IsOK(res1
)) {
23112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23114 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23117 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23118 wxPyEndAllowThreads(__tstate
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23121 resultobj
= SWIG_From_int(static_cast< int >(result
));
23128 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23129 PyObject
*resultobj
= 0;
23130 wxDC
*arg1
= (wxDC
*) 0 ;
23136 PyObject
* obj0
= 0 ;
23137 PyObject
* obj1
= 0 ;
23138 char * kwnames
[] = {
23139 (char *) "self",(char *) "function", NULL
23142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23144 if (!SWIG_IsOK(res1
)) {
23145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23147 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23149 if (!SWIG_IsOK(ecode2
)) {
23150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23152 arg2
= static_cast< int >(val2
);
23154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23155 (arg1
)->SetLogicalFunction(arg2
);
23156 wxPyEndAllowThreads(__tstate
);
23157 if (PyErr_Occurred()) SWIG_fail
;
23159 resultobj
= SWIG_Py_Void();
23166 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23167 PyObject
*resultobj
= 0;
23168 wxDC
*arg1
= (wxDC
*) 0 ;
23171 PyObject
*swig_obj
[1] ;
23173 if (!args
) SWIG_fail
;
23174 swig_obj
[0] = args
;
23175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23176 if (!SWIG_IsOK(res1
)) {
23177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23179 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23182 (arg1
)->ComputeScaleAndOrigin();
23183 wxPyEndAllowThreads(__tstate
);
23184 if (PyErr_Occurred()) SWIG_fail
;
23186 resultobj
= SWIG_Py_Void();
23193 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23194 PyObject
*resultobj
= 0;
23195 wxDC
*arg1
= (wxDC
*) 0 ;
23204 PyObject
* obj0
= 0 ;
23205 PyObject
* obj1
= 0 ;
23206 PyObject
* obj2
= 0 ;
23207 char * kwnames
[] = {
23208 (char *) "self",(char *) "x",(char *) "y", NULL
23211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23213 if (!SWIG_IsOK(res1
)) {
23214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23216 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23218 if (!SWIG_IsOK(ecode2
)) {
23219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23221 arg2
= static_cast< int >(val2
);
23222 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23223 if (!SWIG_IsOK(ecode3
)) {
23224 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23226 arg3
= static_cast< int >(val3
);
23228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23229 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23230 wxPyEndAllowThreads(__tstate
);
23231 if (PyErr_Occurred()) SWIG_fail
;
23233 resultobj
= SWIG_Py_Void();
23240 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23241 PyObject
*resultobj
= 0;
23242 wxDC
*arg1
= (wxDC
*) 0 ;
23243 wxPoint
*arg2
= 0 ;
23247 PyObject
* obj0
= 0 ;
23248 PyObject
* obj1
= 0 ;
23249 char * kwnames
[] = {
23250 (char *) "self",(char *) "point", NULL
23253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23255 if (!SWIG_IsOK(res1
)) {
23256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23258 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23261 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23265 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23266 wxPyEndAllowThreads(__tstate
);
23267 if (PyErr_Occurred()) SWIG_fail
;
23269 resultobj
= SWIG_Py_Void();
23276 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23277 PyObject
*resultobj
= 0;
23278 wxDC
*arg1
= (wxDC
*) 0 ;
23281 PyObject
*swig_obj
[1] ;
23283 if (!args
) SWIG_fail
;
23284 swig_obj
[0] = args
;
23285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23286 if (!SWIG_IsOK(res1
)) {
23287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23289 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23292 (arg1
)->ResetBoundingBox();
23293 wxPyEndAllowThreads(__tstate
);
23294 if (PyErr_Occurred()) SWIG_fail
;
23296 resultobj
= SWIG_Py_Void();
23303 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23304 PyObject
*resultobj
= 0;
23305 wxDC
*arg1
= (wxDC
*) 0 ;
23309 PyObject
*swig_obj
[1] ;
23311 if (!args
) SWIG_fail
;
23312 swig_obj
[0] = args
;
23313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23314 if (!SWIG_IsOK(res1
)) {
23315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23317 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23320 result
= (int)((wxDC
const *)arg1
)->MinX();
23321 wxPyEndAllowThreads(__tstate
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23324 resultobj
= SWIG_From_int(static_cast< int >(result
));
23331 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23332 PyObject
*resultobj
= 0;
23333 wxDC
*arg1
= (wxDC
*) 0 ;
23337 PyObject
*swig_obj
[1] ;
23339 if (!args
) SWIG_fail
;
23340 swig_obj
[0] = args
;
23341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23342 if (!SWIG_IsOK(res1
)) {
23343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23345 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23348 result
= (int)((wxDC
const *)arg1
)->MaxX();
23349 wxPyEndAllowThreads(__tstate
);
23350 if (PyErr_Occurred()) SWIG_fail
;
23352 resultobj
= SWIG_From_int(static_cast< int >(result
));
23359 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23360 PyObject
*resultobj
= 0;
23361 wxDC
*arg1
= (wxDC
*) 0 ;
23365 PyObject
*swig_obj
[1] ;
23367 if (!args
) SWIG_fail
;
23368 swig_obj
[0] = args
;
23369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23370 if (!SWIG_IsOK(res1
)) {
23371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23373 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23376 result
= (int)((wxDC
const *)arg1
)->MinY();
23377 wxPyEndAllowThreads(__tstate
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23380 resultobj
= SWIG_From_int(static_cast< int >(result
));
23387 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23388 PyObject
*resultobj
= 0;
23389 wxDC
*arg1
= (wxDC
*) 0 ;
23393 PyObject
*swig_obj
[1] ;
23395 if (!args
) SWIG_fail
;
23396 swig_obj
[0] = args
;
23397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23398 if (!SWIG_IsOK(res1
)) {
23399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23401 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23404 result
= (int)((wxDC
const *)arg1
)->MaxY();
23405 wxPyEndAllowThreads(__tstate
);
23406 if (PyErr_Occurred()) SWIG_fail
;
23408 resultobj
= SWIG_From_int(static_cast< int >(result
));
23415 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23416 PyObject
*resultobj
= 0;
23417 wxDC
*arg1
= (wxDC
*) 0 ;
23418 int *arg2
= (int *) 0 ;
23419 int *arg3
= (int *) 0 ;
23420 int *arg4
= (int *) 0 ;
23421 int *arg5
= (int *) 0 ;
23425 int res2
= SWIG_TMPOBJ
;
23427 int res3
= SWIG_TMPOBJ
;
23429 int res4
= SWIG_TMPOBJ
;
23431 int res5
= SWIG_TMPOBJ
;
23432 PyObject
*swig_obj
[1] ;
23438 if (!args
) SWIG_fail
;
23439 swig_obj
[0] = args
;
23440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23441 if (!SWIG_IsOK(res1
)) {
23442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23444 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23447 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23448 wxPyEndAllowThreads(__tstate
);
23449 if (PyErr_Occurred()) SWIG_fail
;
23451 resultobj
= SWIG_Py_Void();
23452 if (SWIG_IsTmpObj(res2
)) {
23453 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23455 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23456 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23458 if (SWIG_IsTmpObj(res3
)) {
23459 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23461 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23462 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23464 if (SWIG_IsTmpObj(res4
)) {
23465 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23467 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23468 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23470 if (SWIG_IsTmpObj(res5
)) {
23471 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23473 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23474 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23482 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23483 PyObject
*resultobj
= 0;
23484 wxDC
*arg1
= (wxDC
*) 0 ;
23485 wxLayoutDirection result
;
23488 PyObject
*swig_obj
[1] ;
23490 if (!args
) SWIG_fail
;
23491 swig_obj
[0] = args
;
23492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23493 if (!SWIG_IsOK(res1
)) {
23494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23496 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23499 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23500 wxPyEndAllowThreads(__tstate
);
23501 if (PyErr_Occurred()) SWIG_fail
;
23503 resultobj
= SWIG_From_int(static_cast< int >(result
));
23510 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23511 PyObject
*resultobj
= 0;
23512 wxDC
*arg1
= (wxDC
*) 0 ;
23513 wxLayoutDirection arg2
;
23518 PyObject
* obj0
= 0 ;
23519 PyObject
* obj1
= 0 ;
23520 char * kwnames
[] = {
23521 (char *) "self",(char *) "dir", NULL
23524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23526 if (!SWIG_IsOK(res1
)) {
23527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23529 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23531 if (!SWIG_IsOK(ecode2
)) {
23532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23534 arg2
= static_cast< wxLayoutDirection
>(val2
);
23536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23537 (arg1
)->SetLayoutDirection(arg2
);
23538 wxPyEndAllowThreads(__tstate
);
23539 if (PyErr_Occurred()) SWIG_fail
;
23541 resultobj
= SWIG_Py_Void();
23548 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23549 PyObject
*resultobj
= 0;
23550 wxDC
*arg1
= (wxDC
*) 0 ;
23554 PyObject
*swig_obj
[1] ;
23556 if (!args
) SWIG_fail
;
23557 swig_obj
[0] = args
;
23558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23559 if (!SWIG_IsOK(res1
)) {
23560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
23562 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23565 result
= (long)(arg1
)->GetHDC();
23566 wxPyEndAllowThreads(__tstate
);
23567 if (PyErr_Occurred()) SWIG_fail
;
23569 resultobj
= SWIG_From_long(static_cast< long >(result
));
23576 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23577 PyObject
*resultobj
= 0;
23578 wxDC
*arg1
= (wxDC
*) 0 ;
23579 PyObject
*arg2
= (PyObject
*) 0 ;
23580 PyObject
*arg3
= (PyObject
*) 0 ;
23581 PyObject
*arg4
= (PyObject
*) 0 ;
23582 PyObject
*result
= 0 ;
23585 PyObject
* obj0
= 0 ;
23586 PyObject
* obj1
= 0 ;
23587 PyObject
* obj2
= 0 ;
23588 PyObject
* obj3
= 0 ;
23589 char * kwnames
[] = {
23590 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23595 if (!SWIG_IsOK(res1
)) {
23596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23598 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23604 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23605 wxPyEndAllowThreads(__tstate
);
23606 if (PyErr_Occurred()) SWIG_fail
;
23608 resultobj
= result
;
23615 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23616 PyObject
*resultobj
= 0;
23617 wxDC
*arg1
= (wxDC
*) 0 ;
23618 PyObject
*arg2
= (PyObject
*) 0 ;
23619 PyObject
*arg3
= (PyObject
*) 0 ;
23620 PyObject
*arg4
= (PyObject
*) 0 ;
23621 PyObject
*result
= 0 ;
23624 PyObject
* obj0
= 0 ;
23625 PyObject
* obj1
= 0 ;
23626 PyObject
* obj2
= 0 ;
23627 PyObject
* obj3
= 0 ;
23628 char * kwnames
[] = {
23629 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23634 if (!SWIG_IsOK(res1
)) {
23635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23637 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23643 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23644 wxPyEndAllowThreads(__tstate
);
23645 if (PyErr_Occurred()) SWIG_fail
;
23647 resultobj
= result
;
23654 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23655 PyObject
*resultobj
= 0;
23656 wxDC
*arg1
= (wxDC
*) 0 ;
23657 PyObject
*arg2
= (PyObject
*) 0 ;
23658 PyObject
*arg3
= (PyObject
*) 0 ;
23659 PyObject
*arg4
= (PyObject
*) 0 ;
23660 PyObject
*result
= 0 ;
23663 PyObject
* obj0
= 0 ;
23664 PyObject
* obj1
= 0 ;
23665 PyObject
* obj2
= 0 ;
23666 PyObject
* obj3
= 0 ;
23667 char * kwnames
[] = {
23668 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23673 if (!SWIG_IsOK(res1
)) {
23674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23676 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23682 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23683 wxPyEndAllowThreads(__tstate
);
23684 if (PyErr_Occurred()) SWIG_fail
;
23686 resultobj
= result
;
23693 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23694 PyObject
*resultobj
= 0;
23695 wxDC
*arg1
= (wxDC
*) 0 ;
23696 PyObject
*arg2
= (PyObject
*) 0 ;
23697 PyObject
*arg3
= (PyObject
*) 0 ;
23698 PyObject
*arg4
= (PyObject
*) 0 ;
23699 PyObject
*result
= 0 ;
23702 PyObject
* obj0
= 0 ;
23703 PyObject
* obj1
= 0 ;
23704 PyObject
* obj2
= 0 ;
23705 PyObject
* obj3
= 0 ;
23706 char * kwnames
[] = {
23707 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23712 if (!SWIG_IsOK(res1
)) {
23713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23715 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23721 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23722 wxPyEndAllowThreads(__tstate
);
23723 if (PyErr_Occurred()) SWIG_fail
;
23725 resultobj
= result
;
23732 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23733 PyObject
*resultobj
= 0;
23734 wxDC
*arg1
= (wxDC
*) 0 ;
23735 PyObject
*arg2
= (PyObject
*) 0 ;
23736 PyObject
*arg3
= (PyObject
*) 0 ;
23737 PyObject
*arg4
= (PyObject
*) 0 ;
23738 PyObject
*result
= 0 ;
23741 PyObject
* obj0
= 0 ;
23742 PyObject
* obj1
= 0 ;
23743 PyObject
* obj2
= 0 ;
23744 PyObject
* obj3
= 0 ;
23745 char * kwnames
[] = {
23746 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23751 if (!SWIG_IsOK(res1
)) {
23752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23754 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23760 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23761 wxPyEndAllowThreads(__tstate
);
23762 if (PyErr_Occurred()) SWIG_fail
;
23764 resultobj
= result
;
23771 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23772 PyObject
*resultobj
= 0;
23773 wxDC
*arg1
= (wxDC
*) 0 ;
23774 PyObject
*arg2
= (PyObject
*) 0 ;
23775 PyObject
*arg3
= (PyObject
*) 0 ;
23776 PyObject
*arg4
= (PyObject
*) 0 ;
23777 PyObject
*arg5
= (PyObject
*) 0 ;
23778 PyObject
*result
= 0 ;
23781 PyObject
* obj0
= 0 ;
23782 PyObject
* obj1
= 0 ;
23783 PyObject
* obj2
= 0 ;
23784 PyObject
* obj3
= 0 ;
23785 PyObject
* obj4
= 0 ;
23786 char * kwnames
[] = {
23787 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23792 if (!SWIG_IsOK(res1
)) {
23793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23795 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23802 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23803 wxPyEndAllowThreads(__tstate
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23806 resultobj
= result
;
23813 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23816 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23817 return SWIG_Py_Void();
23820 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23821 PyObject
*resultobj
= 0;
23822 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
23823 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
23824 wxMemoryDC
*result
= 0 ;
23827 PyObject
* obj0
= 0 ;
23828 char * kwnames
[] = {
23829 (char *) "bitmap", NULL
23832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
23834 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23835 if (!SWIG_IsOK(res1
)) {
23836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23841 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
23844 if (!wxPyCheckForApp()) SWIG_fail
;
23845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23846 result
= (wxMemoryDC
*)new wxMemoryDC((wxBitmap
const &)*arg1
);
23847 wxPyEndAllowThreads(__tstate
);
23848 if (PyErr_Occurred()) SWIG_fail
;
23850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23857 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23858 PyObject
*resultobj
= 0;
23859 wxDC
*arg1
= (wxDC
*) 0 ;
23860 wxMemoryDC
*result
= 0 ;
23863 PyObject
* obj0
= 0 ;
23864 char * kwnames
[] = {
23865 (char *) "oldDC", NULL
23868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23870 if (!SWIG_IsOK(res1
)) {
23871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23873 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23875 if (!wxPyCheckForApp()) SWIG_fail
;
23876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23877 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23888 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23889 PyObject
*resultobj
= 0;
23890 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23891 wxBitmap
*arg2
= 0 ;
23896 PyObject
* obj0
= 0 ;
23897 PyObject
* obj1
= 0 ;
23898 char * kwnames
[] = {
23899 (char *) "self",(char *) "bitmap", NULL
23902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23904 if (!SWIG_IsOK(res1
)) {
23905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23907 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23908 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23909 if (!SWIG_IsOK(res2
)) {
23910 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23913 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23915 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23918 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23919 wxPyEndAllowThreads(__tstate
);
23920 if (PyErr_Occurred()) SWIG_fail
;
23922 resultobj
= SWIG_Py_Void();
23929 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23931 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23932 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23933 return SWIG_Py_Void();
23936 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23937 return SWIG_Python_InitShadowInstance(args
);
23940 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23941 PyObject
*resultobj
= 0;
23942 wxScreenDC
*result
= 0 ;
23944 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23946 if (!wxPyCheckForApp()) SWIG_fail
;
23947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23948 result
= (wxScreenDC
*)new wxScreenDC();
23949 wxPyEndAllowThreads(__tstate
);
23950 if (PyErr_Occurred()) SWIG_fail
;
23952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23959 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23960 PyObject
*resultobj
= 0;
23961 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23962 wxWindow
*arg2
= (wxWindow
*) 0 ;
23968 PyObject
* obj0
= 0 ;
23969 PyObject
* obj1
= 0 ;
23970 char * kwnames
[] = {
23971 (char *) "self",(char *) "window", NULL
23974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23976 if (!SWIG_IsOK(res1
)) {
23977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23979 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23980 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23981 if (!SWIG_IsOK(res2
)) {
23982 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23984 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23987 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23988 wxPyEndAllowThreads(__tstate
);
23989 if (PyErr_Occurred()) SWIG_fail
;
23992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24000 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24001 PyObject
*resultobj
= 0;
24002 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24003 wxRect
*arg2
= (wxRect
*) NULL
;
24009 PyObject
* obj0
= 0 ;
24010 PyObject
* obj1
= 0 ;
24011 char * kwnames
[] = {
24012 (char *) "self",(char *) "rect", NULL
24015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24017 if (!SWIG_IsOK(res1
)) {
24018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24020 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24022 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24023 if (!SWIG_IsOK(res2
)) {
24024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24026 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24030 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24031 wxPyEndAllowThreads(__tstate
);
24032 if (PyErr_Occurred()) SWIG_fail
;
24035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24043 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24044 PyObject
*resultobj
= 0;
24045 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24049 PyObject
*swig_obj
[1] ;
24051 if (!args
) SWIG_fail
;
24052 swig_obj
[0] = args
;
24053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24054 if (!SWIG_IsOK(res1
)) {
24055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24057 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24060 result
= (bool)(arg1
)->EndDrawingOnTop();
24061 wxPyEndAllowThreads(__tstate
);
24062 if (PyErr_Occurred()) SWIG_fail
;
24065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24073 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24075 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24076 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24077 return SWIG_Py_Void();
24080 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24081 return SWIG_Python_InitShadowInstance(args
);
24084 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24085 PyObject
*resultobj
= 0;
24086 wxWindow
*arg1
= (wxWindow
*) 0 ;
24087 wxWindowDC
*result
= 0 ;
24090 PyObject
* obj0
= 0 ;
24091 char * kwnames
[] = {
24092 (char *) "win", NULL
24095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24097 if (!SWIG_IsOK(res1
)) {
24098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24100 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24102 if (!wxPyCheckForApp()) SWIG_fail
;
24103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24104 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24105 wxPyEndAllowThreads(__tstate
);
24106 if (PyErr_Occurred()) SWIG_fail
;
24108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24115 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24118 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24119 return SWIG_Py_Void();
24122 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24123 return SWIG_Python_InitShadowInstance(args
);
24126 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24127 PyObject
*resultobj
= 0;
24128 wxWindow
*arg1
= (wxWindow
*) 0 ;
24129 wxClientDC
*result
= 0 ;
24132 PyObject
* obj0
= 0 ;
24133 char * kwnames
[] = {
24134 (char *) "win", NULL
24137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24139 if (!SWIG_IsOK(res1
)) {
24140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24142 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24144 if (!wxPyCheckForApp()) SWIG_fail
;
24145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24146 result
= (wxClientDC
*)new wxClientDC(arg1
);
24147 wxPyEndAllowThreads(__tstate
);
24148 if (PyErr_Occurred()) SWIG_fail
;
24150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24157 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24159 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24160 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24161 return SWIG_Py_Void();
24164 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24165 return SWIG_Python_InitShadowInstance(args
);
24168 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24169 PyObject
*resultobj
= 0;
24170 wxWindow
*arg1
= (wxWindow
*) 0 ;
24171 wxPaintDC
*result
= 0 ;
24174 PyObject
* obj0
= 0 ;
24175 char * kwnames
[] = {
24176 (char *) "win", NULL
24179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24181 if (!SWIG_IsOK(res1
)) {
24182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24184 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24186 if (!wxPyCheckForApp()) SWIG_fail
;
24187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24188 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24189 wxPyEndAllowThreads(__tstate
);
24190 if (PyErr_Occurred()) SWIG_fail
;
24192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24199 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24201 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24202 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24203 return SWIG_Py_Void();
24206 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24207 return SWIG_Python_InitShadowInstance(args
);
24210 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24211 PyObject
*resultobj
= 0;
24212 wxDC
*arg1
= (wxDC
*) 0 ;
24213 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24214 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24215 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24216 wxBufferedDC
*result
= 0 ;
24224 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24226 if (!SWIG_IsOK(res1
)) {
24227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24229 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24231 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24232 if (!SWIG_IsOK(res2
)) {
24233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24238 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24241 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24242 if (!SWIG_IsOK(ecode3
)) {
24243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24245 arg3
= static_cast< int >(val3
);
24248 if (!wxPyCheckForApp()) SWIG_fail
;
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24261 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24262 PyObject
*resultobj
= 0;
24263 wxDC
*arg1
= (wxDC
*) 0 ;
24265 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24266 wxBufferedDC
*result
= 0 ;
24273 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24275 if (!SWIG_IsOK(res1
)) {
24276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24278 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24281 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24284 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24285 if (!SWIG_IsOK(ecode3
)) {
24286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24288 arg3
= static_cast< int >(val3
);
24291 if (!wxPyCheckForApp()) SWIG_fail
;
24292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24293 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24294 wxPyEndAllowThreads(__tstate
);
24295 if (PyErr_Occurred()) SWIG_fail
;
24297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24304 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24308 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24310 if ((argc
>= 1) && (argc
<= 3)) {
24314 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
24315 _v
= SWIG_CheckState(res
);
24317 if (!_v
) goto check_1
;
24319 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24323 if ((argc
>= 2) && (argc
<= 3)) {
24324 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24328 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24333 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24334 PyObject
*resultobj
= 0;
24335 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24338 PyObject
*swig_obj
[1] ;
24340 if (!args
) SWIG_fail
;
24341 swig_obj
[0] = args
;
24342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24343 if (!SWIG_IsOK(res1
)) {
24344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24346 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24351 wxPyEndAllowThreads(__tstate
);
24352 if (PyErr_Occurred()) SWIG_fail
;
24354 resultobj
= SWIG_Py_Void();
24361 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24362 PyObject
*resultobj
= 0;
24363 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24366 PyObject
*swig_obj
[1] ;
24368 if (!args
) SWIG_fail
;
24369 swig_obj
[0] = args
;
24370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24371 if (!SWIG_IsOK(res1
)) {
24372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24374 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24378 wxPyEndAllowThreads(__tstate
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24381 resultobj
= SWIG_Py_Void();
24388 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24390 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24391 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24392 return SWIG_Py_Void();
24395 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24396 return SWIG_Python_InitShadowInstance(args
);
24399 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24400 PyObject
*resultobj
= 0;
24401 wxWindow
*arg1
= (wxWindow
*) 0 ;
24402 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24403 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24404 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24405 wxBufferedPaintDC
*result
= 0 ;
24412 PyObject
* obj0
= 0 ;
24413 PyObject
* obj1
= 0 ;
24414 PyObject
* obj2
= 0 ;
24415 char * kwnames
[] = {
24416 (char *) "window",(char *) "buffer",(char *) "style", NULL
24419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24421 if (!SWIG_IsOK(res1
)) {
24422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24424 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24426 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24427 if (!SWIG_IsOK(res2
)) {
24428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24431 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24433 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24436 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24437 if (!SWIG_IsOK(ecode3
)) {
24438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24440 arg3
= static_cast< int >(val3
);
24443 if (!wxPyCheckForApp()) SWIG_fail
;
24444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24446 wxPyEndAllowThreads(__tstate
);
24447 if (PyErr_Occurred()) SWIG_fail
;
24449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24456 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24458 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24459 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24460 return SWIG_Py_Void();
24463 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24464 return SWIG_Python_InitShadowInstance(args
);
24467 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24468 PyObject
*resultobj
= 0;
24469 wxWindow
*arg1
= (wxWindow
*) 0 ;
24470 wxAutoBufferedPaintDC
*result
= 0 ;
24473 PyObject
* obj0
= 0 ;
24474 char * kwnames
[] = {
24475 (char *) "win", NULL
24478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24480 if (!SWIG_IsOK(res1
)) {
24481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24483 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24486 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24487 wxPyEndAllowThreads(__tstate
);
24488 if (PyErr_Occurred()) SWIG_fail
;
24490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24497 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24499 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24500 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24501 return SWIG_Py_Void();
24504 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24505 return SWIG_Python_InitShadowInstance(args
);
24508 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24509 PyObject
*resultobj
= 0;
24510 wxWindow
*arg1
= (wxWindow
*) 0 ;
24514 PyObject
* obj0
= 0 ;
24515 char * kwnames
[] = {
24516 (char *) "window", NULL
24519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24521 if (!SWIG_IsOK(res1
)) {
24522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24524 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24527 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24528 wxPyEndAllowThreads(__tstate
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24532 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24540 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24541 PyObject
*resultobj
= 0;
24544 wxMirrorDC
*result
= 0 ;
24549 PyObject
* obj0
= 0 ;
24550 PyObject
* obj1
= 0 ;
24551 char * kwnames
[] = {
24552 (char *) "dc",(char *) "mirror", NULL
24555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24556 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24557 if (!SWIG_IsOK(res1
)) {
24558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24563 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24564 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24565 if (!SWIG_IsOK(ecode2
)) {
24566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24568 arg2
= static_cast< bool >(val2
);
24570 if (!wxPyCheckForApp()) SWIG_fail
;
24571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24572 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24573 wxPyEndAllowThreads(__tstate
);
24574 if (PyErr_Occurred()) SWIG_fail
;
24576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24583 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24585 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24586 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24587 return SWIG_Py_Void();
24590 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24591 return SWIG_Python_InitShadowInstance(args
);
24594 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24595 PyObject
*resultobj
= 0;
24596 wxPrintData
*arg1
= 0 ;
24597 wxPostScriptDC
*result
= 0 ;
24600 PyObject
* obj0
= 0 ;
24601 char * kwnames
[] = {
24602 (char *) "printData", NULL
24605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24606 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24607 if (!SWIG_IsOK(res1
)) {
24608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24613 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24615 if (!wxPyCheckForApp()) SWIG_fail
;
24616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24617 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24618 wxPyEndAllowThreads(__tstate
);
24619 if (PyErr_Occurred()) SWIG_fail
;
24621 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24628 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24629 PyObject
*resultobj
= 0;
24630 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24631 wxPrintData
*result
= 0 ;
24634 PyObject
*swig_obj
[1] ;
24636 if (!args
) SWIG_fail
;
24637 swig_obj
[0] = args
;
24638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24639 if (!SWIG_IsOK(res1
)) {
24640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24642 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24646 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24647 result
= (wxPrintData
*) &_result_ref
;
24649 wxPyEndAllowThreads(__tstate
);
24650 if (PyErr_Occurred()) SWIG_fail
;
24652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24659 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24660 PyObject
*resultobj
= 0;
24661 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24662 wxPrintData
*arg2
= 0 ;
24667 PyObject
* obj0
= 0 ;
24668 PyObject
* obj1
= 0 ;
24669 char * kwnames
[] = {
24670 (char *) "self",(char *) "data", NULL
24673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24675 if (!SWIG_IsOK(res1
)) {
24676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24678 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24679 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24680 if (!SWIG_IsOK(res2
)) {
24681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24686 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24689 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24690 wxPyEndAllowThreads(__tstate
);
24691 if (PyErr_Occurred()) SWIG_fail
;
24693 resultobj
= SWIG_Py_Void();
24700 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24701 PyObject
*resultobj
= 0;
24705 PyObject
* obj0
= 0 ;
24706 char * kwnames
[] = {
24707 (char *) "ppi", NULL
24710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24711 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24712 if (!SWIG_IsOK(ecode1
)) {
24713 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24715 arg1
= static_cast< int >(val1
);
24717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24718 wxPostScriptDC::SetResolution(arg1
);
24719 wxPyEndAllowThreads(__tstate
);
24720 if (PyErr_Occurred()) SWIG_fail
;
24722 resultobj
= SWIG_Py_Void();
24729 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24730 PyObject
*resultobj
= 0;
24733 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24736 result
= (int)wxPostScriptDC::GetResolution();
24737 wxPyEndAllowThreads(__tstate
);
24738 if (PyErr_Occurred()) SWIG_fail
;
24740 resultobj
= SWIG_From_int(static_cast< int >(result
));
24747 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24749 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24750 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24751 return SWIG_Py_Void();
24754 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24755 return SWIG_Python_InitShadowInstance(args
);
24758 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24759 PyObject
*resultobj
= 0;
24760 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24761 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24762 wxMetaFile
*result
= 0 ;
24763 bool temp1
= false ;
24764 PyObject
* obj0
= 0 ;
24765 char * kwnames
[] = {
24766 (char *) "filename", NULL
24769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24772 arg1
= wxString_in_helper(obj0
);
24773 if (arg1
== NULL
) SWIG_fail
;
24778 if (!wxPyCheckForApp()) SWIG_fail
;
24779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24780 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24781 wxPyEndAllowThreads(__tstate
);
24782 if (PyErr_Occurred()) SWIG_fail
;
24784 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24799 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24800 PyObject
*resultobj
= 0;
24801 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24804 PyObject
*swig_obj
[1] ;
24806 if (!args
) SWIG_fail
;
24807 swig_obj
[0] = args
;
24808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
24809 if (!SWIG_IsOK(res1
)) {
24810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24812 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24817 wxPyEndAllowThreads(__tstate
);
24818 if (PyErr_Occurred()) SWIG_fail
;
24820 resultobj
= SWIG_Py_Void();
24827 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24828 PyObject
*resultobj
= 0;
24829 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24833 PyObject
*swig_obj
[1] ;
24835 if (!args
) SWIG_fail
;
24836 swig_obj
[0] = args
;
24837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24838 if (!SWIG_IsOK(res1
)) {
24839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24841 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 result
= (bool)(arg1
)->IsOk();
24845 wxPyEndAllowThreads(__tstate
);
24846 if (PyErr_Occurred()) SWIG_fail
;
24849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24857 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24858 PyObject
*resultobj
= 0;
24859 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24860 int arg2
= (int) 0 ;
24861 int arg3
= (int) 0 ;
24869 PyObject
* obj0
= 0 ;
24870 PyObject
* obj1
= 0 ;
24871 PyObject
* obj2
= 0 ;
24872 char * kwnames
[] = {
24873 (char *) "self",(char *) "width",(char *) "height", NULL
24876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24878 if (!SWIG_IsOK(res1
)) {
24879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24881 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24884 if (!SWIG_IsOK(ecode2
)) {
24885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
24887 arg2
= static_cast< int >(val2
);
24890 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24891 if (!SWIG_IsOK(ecode3
)) {
24892 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
24894 arg3
= static_cast< int >(val3
);
24897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24898 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
24899 wxPyEndAllowThreads(__tstate
);
24900 if (PyErr_Occurred()) SWIG_fail
;
24903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24911 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24912 PyObject
*resultobj
= 0;
24913 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24917 PyObject
*swig_obj
[1] ;
24919 if (!args
) SWIG_fail
;
24920 swig_obj
[0] = args
;
24921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24922 if (!SWIG_IsOK(res1
)) {
24923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24925 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24928 result
= (arg1
)->GetSize();
24929 wxPyEndAllowThreads(__tstate
);
24930 if (PyErr_Occurred()) SWIG_fail
;
24932 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24939 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24940 PyObject
*resultobj
= 0;
24941 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24945 PyObject
*swig_obj
[1] ;
24947 if (!args
) SWIG_fail
;
24948 swig_obj
[0] = args
;
24949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24950 if (!SWIG_IsOK(res1
)) {
24951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24953 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24956 result
= (int)(arg1
)->GetWidth();
24957 wxPyEndAllowThreads(__tstate
);
24958 if (PyErr_Occurred()) SWIG_fail
;
24960 resultobj
= SWIG_From_int(static_cast< int >(result
));
24967 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24968 PyObject
*resultobj
= 0;
24969 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24973 PyObject
*swig_obj
[1] ;
24975 if (!args
) SWIG_fail
;
24976 swig_obj
[0] = args
;
24977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24978 if (!SWIG_IsOK(res1
)) {
24979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24981 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24984 result
= (int)(arg1
)->GetHeight();
24985 wxPyEndAllowThreads(__tstate
);
24986 if (PyErr_Occurred()) SWIG_fail
;
24988 resultobj
= SWIG_From_int(static_cast< int >(result
));
24995 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24996 PyObject
*resultobj
= 0;
24997 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24998 wxString
*result
= 0 ;
25001 PyObject
*swig_obj
[1] ;
25003 if (!args
) SWIG_fail
;
25004 swig_obj
[0] = args
;
25005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25006 if (!SWIG_IsOK(res1
)) {
25007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
25009 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25013 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
25014 result
= (wxString
*) &_result_ref
;
25016 wxPyEndAllowThreads(__tstate
);
25017 if (PyErr_Occurred()) SWIG_fail
;
25021 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25023 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25032 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25034 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25035 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25036 return SWIG_Py_Void();
25039 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25040 return SWIG_Python_InitShadowInstance(args
);
25043 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25044 PyObject
*resultobj
= 0;
25045 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25046 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25047 int arg2
= (int) 0 ;
25048 int arg3
= (int) 0 ;
25049 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25050 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25051 wxMetaFileDC
*result
= 0 ;
25052 bool temp1
= false ;
25057 bool temp4
= false ;
25058 PyObject
* obj0
= 0 ;
25059 PyObject
* obj1
= 0 ;
25060 PyObject
* obj2
= 0 ;
25061 PyObject
* obj3
= 0 ;
25062 char * kwnames
[] = {
25063 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25069 arg1
= wxString_in_helper(obj0
);
25070 if (arg1
== NULL
) SWIG_fail
;
25075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25076 if (!SWIG_IsOK(ecode2
)) {
25077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25079 arg2
= static_cast< int >(val2
);
25082 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25083 if (!SWIG_IsOK(ecode3
)) {
25084 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25086 arg3
= static_cast< int >(val3
);
25090 arg4
= wxString_in_helper(obj3
);
25091 if (arg4
== NULL
) SWIG_fail
;
25096 if (!wxPyCheckForApp()) SWIG_fail
;
25097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25098 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25099 wxPyEndAllowThreads(__tstate
);
25100 if (PyErr_Occurred()) SWIG_fail
;
25102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25125 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25126 PyObject
*resultobj
= 0;
25127 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25128 wxMetaFile
*result
= 0 ;
25131 PyObject
*swig_obj
[1] ;
25133 if (!args
) SWIG_fail
;
25134 swig_obj
[0] = args
;
25135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25136 if (!SWIG_IsOK(res1
)) {
25137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25139 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25142 result
= (wxMetaFile
*)(arg1
)->Close();
25143 wxPyEndAllowThreads(__tstate
);
25144 if (PyErr_Occurred()) SWIG_fail
;
25146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25153 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25155 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25156 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25157 return SWIG_Py_Void();
25160 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25161 return SWIG_Python_InitShadowInstance(args
);
25164 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25165 PyObject
*resultobj
= 0;
25166 wxPrintData
*arg1
= 0 ;
25167 wxPrinterDC
*result
= 0 ;
25170 PyObject
* obj0
= 0 ;
25171 char * kwnames
[] = {
25172 (char *) "printData", NULL
25175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25176 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25177 if (!SWIG_IsOK(res1
)) {
25178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25183 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25185 if (!wxPyCheckForApp()) SWIG_fail
;
25186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25187 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25188 wxPyEndAllowThreads(__tstate
);
25189 if (PyErr_Occurred()) SWIG_fail
;
25191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25198 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25200 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25201 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25202 return SWIG_Py_Void();
25205 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25206 return SWIG_Python_InitShadowInstance(args
);
25209 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25210 PyObject
*resultobj
= 0;
25211 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25214 PyObject
*swig_obj
[1] ;
25216 if (!args
) SWIG_fail
;
25217 swig_obj
[0] = args
;
25218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
25219 if (!SWIG_IsOK(res1
)) {
25220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25222 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25226 if (PyErr_Occurred()) SWIG_fail
;
25228 resultobj
= SWIG_Py_Void();
25235 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25236 PyObject
*resultobj
= 0;
25237 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25246 PyObject
* obj0
= 0 ;
25247 PyObject
* obj1
= 0 ;
25248 PyObject
* obj2
= 0 ;
25249 char * kwnames
[] = {
25250 (char *) "self",(char *) "x",(char *) "y", NULL
25253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_MoveToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25255 if (!SWIG_IsOK(res1
)) {
25256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25258 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25259 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25260 if (!SWIG_IsOK(ecode2
)) {
25261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25263 arg2
= static_cast< wxDouble
>(val2
);
25264 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25265 if (!SWIG_IsOK(ecode3
)) {
25266 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25268 arg3
= static_cast< wxDouble
>(val3
);
25270 (arg1
)->MoveToPoint(arg2
,arg3
);
25271 if (PyErr_Occurred()) SWIG_fail
;
25273 resultobj
= SWIG_Py_Void();
25280 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25281 PyObject
*resultobj
= 0;
25282 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25291 PyObject
* obj0
= 0 ;
25292 PyObject
* obj1
= 0 ;
25293 PyObject
* obj2
= 0 ;
25294 char * kwnames
[] = {
25295 (char *) "self",(char *) "x",(char *) "y", NULL
25298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_AddLineToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25300 if (!SWIG_IsOK(res1
)) {
25301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25303 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25304 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25305 if (!SWIG_IsOK(ecode2
)) {
25306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25308 arg2
= static_cast< wxDouble
>(val2
);
25309 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25310 if (!SWIG_IsOK(ecode3
)) {
25311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25313 arg3
= static_cast< wxDouble
>(val3
);
25315 (arg1
)->AddLineToPoint(arg2
,arg3
);
25316 if (PyErr_Occurred()) SWIG_fail
;
25318 resultobj
= SWIG_Py_Void();
25325 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25326 PyObject
*resultobj
= 0;
25327 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25348 PyObject
* obj0
= 0 ;
25349 PyObject
* obj1
= 0 ;
25350 PyObject
* obj2
= 0 ;
25351 PyObject
* obj3
= 0 ;
25352 PyObject
* obj4
= 0 ;
25353 PyObject
* obj5
= 0 ;
25354 PyObject
* obj6
= 0 ;
25355 char * kwnames
[] = {
25356 (char *) "self",(char *) "cx1",(char *) "cy1",(char *) "cx2",(char *) "cy2",(char *) "x",(char *) "y", NULL
25359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25361 if (!SWIG_IsOK(res1
)) {
25362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25364 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25365 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25366 if (!SWIG_IsOK(ecode2
)) {
25367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25369 arg2
= static_cast< wxDouble
>(val2
);
25370 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25371 if (!SWIG_IsOK(ecode3
)) {
25372 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25374 arg3
= static_cast< wxDouble
>(val3
);
25375 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25376 if (!SWIG_IsOK(ecode4
)) {
25377 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25379 arg4
= static_cast< wxDouble
>(val4
);
25380 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25381 if (!SWIG_IsOK(ecode5
)) {
25382 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25384 arg5
= static_cast< wxDouble
>(val5
);
25385 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25386 if (!SWIG_IsOK(ecode6
)) {
25387 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
25389 arg6
= static_cast< wxDouble
>(val6
);
25390 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25391 if (!SWIG_IsOK(ecode7
)) {
25392 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
25394 arg7
= static_cast< wxDouble
>(val7
);
25396 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25397 if (PyErr_Occurred()) SWIG_fail
;
25399 resultobj
= SWIG_Py_Void();
25406 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25407 PyObject
*resultobj
= 0;
25408 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25411 PyObject
*swig_obj
[1] ;
25413 if (!args
) SWIG_fail
;
25414 swig_obj
[0] = args
;
25415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25416 if (!SWIG_IsOK(res1
)) {
25417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25419 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25421 (arg1
)->CloseSubpath();
25422 if (PyErr_Occurred()) SWIG_fail
;
25424 resultobj
= SWIG_Py_Void();
25431 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25432 PyObject
*resultobj
= 0;
25433 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25437 PyObject
*swig_obj
[1] ;
25439 if (!args
) SWIG_fail
;
25440 swig_obj
[0] = args
;
25441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25442 if (!SWIG_IsOK(res1
)) {
25443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25445 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25447 result
= (arg1
)->GetCurrentPoint();
25448 if (PyErr_Occurred()) SWIG_fail
;
25450 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
25457 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25458 PyObject
*resultobj
= 0;
25459 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25480 PyObject
* obj0
= 0 ;
25481 PyObject
* obj1
= 0 ;
25482 PyObject
* obj2
= 0 ;
25483 PyObject
* obj3
= 0 ;
25484 PyObject
* obj4
= 0 ;
25485 PyObject
* obj5
= 0 ;
25486 PyObject
* obj6
= 0 ;
25487 char * kwnames
[] = {
25488 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "startAngle",(char *) "endAngle",(char *) "clockwise", NULL
25491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25493 if (!SWIG_IsOK(res1
)) {
25494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25496 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25497 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25498 if (!SWIG_IsOK(ecode2
)) {
25499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
25501 arg2
= static_cast< wxDouble
>(val2
);
25502 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25503 if (!SWIG_IsOK(ecode3
)) {
25504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
25506 arg3
= static_cast< wxDouble
>(val3
);
25507 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25508 if (!SWIG_IsOK(ecode4
)) {
25509 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
25511 arg4
= static_cast< wxDouble
>(val4
);
25512 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25513 if (!SWIG_IsOK(ecode5
)) {
25514 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
25516 arg5
= static_cast< wxDouble
>(val5
);
25517 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25518 if (!SWIG_IsOK(ecode6
)) {
25519 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
25521 arg6
= static_cast< wxDouble
>(val6
);
25522 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
25523 if (!SWIG_IsOK(ecode7
)) {
25524 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
25526 arg7
= static_cast< bool >(val7
);
25528 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25529 if (PyErr_Occurred()) SWIG_fail
;
25531 resultobj
= SWIG_Py_Void();
25538 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25539 PyObject
*resultobj
= 0;
25540 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25555 PyObject
* obj0
= 0 ;
25556 PyObject
* obj1
= 0 ;
25557 PyObject
* obj2
= 0 ;
25558 PyObject
* obj3
= 0 ;
25559 PyObject
* obj4
= 0 ;
25560 char * kwnames
[] = {
25561 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
25564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25566 if (!SWIG_IsOK(res1
)) {
25567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25569 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25570 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25571 if (!SWIG_IsOK(ecode2
)) {
25572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25574 arg2
= static_cast< wxDouble
>(val2
);
25575 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25576 if (!SWIG_IsOK(ecode3
)) {
25577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25579 arg3
= static_cast< wxDouble
>(val3
);
25580 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25581 if (!SWIG_IsOK(ecode4
)) {
25582 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25584 arg4
= static_cast< wxDouble
>(val4
);
25585 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25586 if (!SWIG_IsOK(ecode5
)) {
25587 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25589 arg5
= static_cast< wxDouble
>(val5
);
25591 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
25592 if (PyErr_Occurred()) SWIG_fail
;
25594 resultobj
= SWIG_Py_Void();
25601 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25602 PyObject
*resultobj
= 0;
25603 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25618 PyObject
* obj0
= 0 ;
25619 PyObject
* obj1
= 0 ;
25620 PyObject
* obj2
= 0 ;
25621 PyObject
* obj3
= 0 ;
25622 PyObject
* obj4
= 0 ;
25623 char * kwnames
[] = {
25624 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25629 if (!SWIG_IsOK(res1
)) {
25630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25632 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25633 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25634 if (!SWIG_IsOK(ecode2
)) {
25635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
25637 arg2
= static_cast< wxDouble
>(val2
);
25638 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25639 if (!SWIG_IsOK(ecode3
)) {
25640 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
25642 arg3
= static_cast< wxDouble
>(val3
);
25643 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25644 if (!SWIG_IsOK(ecode4
)) {
25645 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
25647 arg4
= static_cast< wxDouble
>(val4
);
25648 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25649 if (!SWIG_IsOK(ecode5
)) {
25650 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
25652 arg5
= static_cast< wxDouble
>(val5
);
25654 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25657 resultobj
= SWIG_Py_Void();
25664 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25665 PyObject
*resultobj
= 0;
25666 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25678 PyObject
* obj0
= 0 ;
25679 PyObject
* obj1
= 0 ;
25680 PyObject
* obj2
= 0 ;
25681 PyObject
* obj3
= 0 ;
25682 char * kwnames
[] = {
25683 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
25686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25688 if (!SWIG_IsOK(res1
)) {
25689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25691 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25692 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25693 if (!SWIG_IsOK(ecode2
)) {
25694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
25696 arg2
= static_cast< wxDouble
>(val2
);
25697 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25698 if (!SWIG_IsOK(ecode3
)) {
25699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
25701 arg3
= static_cast< wxDouble
>(val3
);
25702 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25703 if (!SWIG_IsOK(ecode4
)) {
25704 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
25706 arg4
= static_cast< wxDouble
>(val4
);
25708 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
25709 if (PyErr_Occurred()) SWIG_fail
;
25711 resultobj
= SWIG_Py_Void();
25718 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25719 PyObject
*resultobj
= 0;
25720 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25738 PyObject
* obj0
= 0 ;
25739 PyObject
* obj1
= 0 ;
25740 PyObject
* obj2
= 0 ;
25741 PyObject
* obj3
= 0 ;
25742 PyObject
* obj4
= 0 ;
25743 PyObject
* obj5
= 0 ;
25744 char * kwnames
[] = {
25745 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
25748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25750 if (!SWIG_IsOK(res1
)) {
25751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25753 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25754 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25755 if (!SWIG_IsOK(ecode2
)) {
25756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25758 arg2
= static_cast< wxDouble
>(val2
);
25759 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25760 if (!SWIG_IsOK(ecode3
)) {
25761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25763 arg3
= static_cast< wxDouble
>(val3
);
25764 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25765 if (!SWIG_IsOK(ecode4
)) {
25766 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25768 arg4
= static_cast< wxDouble
>(val4
);
25769 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25770 if (!SWIG_IsOK(ecode5
)) {
25771 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25773 arg5
= static_cast< wxDouble
>(val5
);
25774 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25775 if (!SWIG_IsOK(ecode6
)) {
25776 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
25778 arg6
= static_cast< wxDouble
>(val6
);
25780 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
25781 if (PyErr_Occurred()) SWIG_fail
;
25783 resultobj
= SWIG_Py_Void();
25790 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25792 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25793 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
25794 return SWIG_Py_Void();
25797 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25798 PyObject
*resultobj
= 0;
25799 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25802 PyObject
*swig_obj
[1] ;
25804 if (!args
) SWIG_fail
;
25805 swig_obj
[0] = args
;
25806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
25807 if (!SWIG_IsOK(res1
)) {
25808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25810 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25814 if (PyErr_Occurred()) SWIG_fail
;
25816 resultobj
= SWIG_Py_Void();
25823 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25824 PyObject
*resultobj
= 0;
25825 wxWindowDC
*arg1
= 0 ;
25826 wxGraphicsContext
*result
= 0 ;
25830 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
25832 if (!SWIG_IsOK(res1
)) {
25833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
25836 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
25838 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
25840 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
25841 if (PyErr_Occurred()) SWIG_fail
;
25843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
25850 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25851 PyObject
*resultobj
= 0;
25852 wxWindow
*arg1
= (wxWindow
*) 0 ;
25853 wxGraphicsContext
*result
= 0 ;
25857 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25859 if (!SWIG_IsOK(res1
)) {
25860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
25862 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25864 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
25865 if (PyErr_Occurred()) SWIG_fail
;
25867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
25874 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
25878 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
25883 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
25884 _v
= SWIG_CheckState(res
);
25886 if (!_v
) goto check_1
;
25887 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
25892 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
25896 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
25901 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25902 PyObject
*resultobj
= 0;
25903 void *arg1
= (void *) 0 ;
25904 wxGraphicsContext
*result
= 0 ;
25906 PyObject
* obj0
= 0 ;
25907 char * kwnames
[] = {
25908 (char *) "context", NULL
25911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
25912 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
25913 if (!SWIG_IsOK(res1
)) {
25914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
25917 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
25918 if (PyErr_Occurred()) SWIG_fail
;
25920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
25927 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25928 PyObject
*resultobj
= 0;
25929 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25930 wxGraphicsPath
*result
= 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_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25941 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25943 result
= (wxGraphicsPath
*)(arg1
)->CreatePath();
25944 if (PyErr_Occurred()) SWIG_fail
;
25946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
25953 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(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_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25966 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25968 (arg1
)->PushState();
25969 if (PyErr_Occurred()) SWIG_fail
;
25971 resultobj
= SWIG_Py_Void();
25978 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25979 PyObject
*resultobj
= 0;
25980 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25983 PyObject
*swig_obj
[1] ;
25985 if (!args
) SWIG_fail
;
25986 swig_obj
[0] = args
;
25987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25988 if (!SWIG_IsOK(res1
)) {
25989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25991 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25993 (arg1
)->PopState();
25994 if (PyErr_Occurred()) SWIG_fail
;
25996 resultobj
= SWIG_Py_Void();
26003 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26004 PyObject
*resultobj
= 0;
26005 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26006 wxRegion
*arg2
= 0 ;
26011 PyObject
* obj0
= 0 ;
26012 PyObject
* obj1
= 0 ;
26013 char * kwnames
[] = {
26014 (char *) "self",(char *) "region", NULL
26017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26019 if (!SWIG_IsOK(res1
)) {
26020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26022 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26023 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
26024 if (!SWIG_IsOK(res2
)) {
26025 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
26028 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
26030 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
26032 (arg1
)->Clip((wxRegion
const &)*arg2
);
26033 if (PyErr_Occurred()) SWIG_fail
;
26035 resultobj
= SWIG_Py_Void();
26042 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26043 PyObject
*resultobj
= 0;
26044 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26059 PyObject
* obj0
= 0 ;
26060 PyObject
* obj1
= 0 ;
26061 PyObject
* obj2
= 0 ;
26062 PyObject
* obj3
= 0 ;
26063 PyObject
* obj4
= 0 ;
26064 char * kwnames
[] = {
26065 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26070 if (!SWIG_IsOK(res1
)) {
26071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26073 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26074 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26075 if (!SWIG_IsOK(ecode2
)) {
26076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
26078 arg2
= static_cast< wxDouble
>(val2
);
26079 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26080 if (!SWIG_IsOK(ecode3
)) {
26081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
26083 arg3
= static_cast< wxDouble
>(val3
);
26084 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26085 if (!SWIG_IsOK(ecode4
)) {
26086 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
26088 arg4
= static_cast< wxDouble
>(val4
);
26089 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26090 if (!SWIG_IsOK(ecode5
)) {
26091 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
26093 arg5
= static_cast< wxDouble
>(val5
);
26095 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
26096 if (PyErr_Occurred()) SWIG_fail
;
26098 resultobj
= SWIG_Py_Void();
26105 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26106 PyObject
*resultobj
= 0;
26107 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26110 PyObject
*swig_obj
[1] ;
26112 if (!args
) SWIG_fail
;
26113 swig_obj
[0] = args
;
26114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26115 if (!SWIG_IsOK(res1
)) {
26116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26118 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26120 (arg1
)->ResetClip();
26121 if (PyErr_Occurred()) SWIG_fail
;
26123 resultobj
= SWIG_Py_Void();
26130 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26131 PyObject
*resultobj
= 0;
26132 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26136 PyObject
*swig_obj
[1] ;
26138 if (!args
) SWIG_fail
;
26139 swig_obj
[0] = args
;
26140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26141 if (!SWIG_IsOK(res1
)) {
26142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26144 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26146 result
= (void *)(arg1
)->GetNativeContext();
26147 if (PyErr_Occurred()) SWIG_fail
;
26149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26156 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26157 PyObject
*resultobj
= 0;
26158 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26167 PyObject
* obj0
= 0 ;
26168 PyObject
* obj1
= 0 ;
26169 PyObject
* obj2
= 0 ;
26170 char * kwnames
[] = {
26171 (char *) "self",(char *) "dx",(char *) "dy", NULL
26174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26176 if (!SWIG_IsOK(res1
)) {
26177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26179 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26180 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26181 if (!SWIG_IsOK(ecode2
)) {
26182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26184 arg2
= static_cast< wxDouble
>(val2
);
26185 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26186 if (!SWIG_IsOK(ecode3
)) {
26187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26189 arg3
= static_cast< wxDouble
>(val3
);
26191 (arg1
)->Translate(arg2
,arg3
);
26192 if (PyErr_Occurred()) SWIG_fail
;
26194 resultobj
= SWIG_Py_Void();
26201 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26202 PyObject
*resultobj
= 0;
26203 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26212 PyObject
* obj0
= 0 ;
26213 PyObject
* obj1
= 0 ;
26214 PyObject
* obj2
= 0 ;
26215 char * kwnames
[] = {
26216 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26221 if (!SWIG_IsOK(res1
)) {
26222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26224 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26225 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26226 if (!SWIG_IsOK(ecode2
)) {
26227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26229 arg2
= static_cast< wxDouble
>(val2
);
26230 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26231 if (!SWIG_IsOK(ecode3
)) {
26232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26234 arg3
= static_cast< wxDouble
>(val3
);
26236 (arg1
)->Scale(arg2
,arg3
);
26237 if (PyErr_Occurred()) SWIG_fail
;
26239 resultobj
= SWIG_Py_Void();
26246 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26247 PyObject
*resultobj
= 0;
26248 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26254 PyObject
* obj0
= 0 ;
26255 PyObject
* obj1
= 0 ;
26256 char * kwnames
[] = {
26257 (char *) "self",(char *) "angle", NULL
26260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26262 if (!SWIG_IsOK(res1
)) {
26263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26265 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26266 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26267 if (!SWIG_IsOK(ecode2
)) {
26268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26270 arg2
= static_cast< wxDouble
>(val2
);
26272 (arg1
)->Rotate(arg2
);
26273 if (PyErr_Occurred()) SWIG_fail
;
26275 resultobj
= SWIG_Py_Void();
26282 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26283 PyObject
*resultobj
= 0;
26284 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26290 PyObject
* obj0
= 0 ;
26291 PyObject
* obj1
= 0 ;
26292 char * kwnames
[] = {
26293 (char *) "self",(char *) "pen", NULL
26296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26298 if (!SWIG_IsOK(res1
)) {
26299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26301 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26302 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
26303 if (!SWIG_IsOK(res2
)) {
26304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
26307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
26309 arg2
= reinterpret_cast< wxPen
* >(argp2
);
26311 (arg1
)->SetPen((wxPen
const &)*arg2
);
26312 if (PyErr_Occurred()) SWIG_fail
;
26314 resultobj
= SWIG_Py_Void();
26321 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26322 PyObject
*resultobj
= 0;
26323 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26324 wxBrush
*arg2
= 0 ;
26329 PyObject
* obj0
= 0 ;
26330 PyObject
* obj1
= 0 ;
26331 char * kwnames
[] = {
26332 (char *) "self",(char *) "brush", NULL
26335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26337 if (!SWIG_IsOK(res1
)) {
26338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26340 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26341 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
26342 if (!SWIG_IsOK(res2
)) {
26343 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
26346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
26348 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
26350 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26353 resultobj
= SWIG_Py_Void();
26360 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26361 PyObject
*resultobj
= 0;
26362 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26367 wxColour
*arg6
= 0 ;
26368 wxColour
*arg7
= 0 ;
26381 PyObject
* obj0
= 0 ;
26382 PyObject
* obj1
= 0 ;
26383 PyObject
* obj2
= 0 ;
26384 PyObject
* obj3
= 0 ;
26385 PyObject
* obj4
= 0 ;
26386 PyObject
* obj5
= 0 ;
26387 PyObject
* obj6
= 0 ;
26388 char * kwnames
[] = {
26389 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
26392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_SetLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26394 if (!SWIG_IsOK(res1
)) {
26395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26397 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26398 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26399 if (!SWIG_IsOK(ecode2
)) {
26400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
26402 arg2
= static_cast< wxDouble
>(val2
);
26403 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26404 if (!SWIG_IsOK(ecode3
)) {
26405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
26407 arg3
= static_cast< wxDouble
>(val3
);
26408 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26409 if (!SWIG_IsOK(ecode4
)) {
26410 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
26412 arg4
= static_cast< wxDouble
>(val4
);
26413 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26414 if (!SWIG_IsOK(ecode5
)) {
26415 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
26417 arg5
= static_cast< wxDouble
>(val5
);
26420 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
26424 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
26427 (arg1
)->SetLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
26428 if (PyErr_Occurred()) SWIG_fail
;
26430 resultobj
= SWIG_Py_Void();
26437 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26438 PyObject
*resultobj
= 0;
26439 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26445 wxColour
*arg7
= 0 ;
26446 wxColour
*arg8
= 0 ;
26461 PyObject
* obj0
= 0 ;
26462 PyObject
* obj1
= 0 ;
26463 PyObject
* obj2
= 0 ;
26464 PyObject
* obj3
= 0 ;
26465 PyObject
* obj4
= 0 ;
26466 PyObject
* obj5
= 0 ;
26467 PyObject
* obj6
= 0 ;
26468 PyObject
* obj7
= 0 ;
26469 char * kwnames
[] = {
26470 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColour",(char *) "cColour", NULL
26473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_SetRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
26474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26475 if (!SWIG_IsOK(res1
)) {
26476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26478 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26479 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26480 if (!SWIG_IsOK(ecode2
)) {
26481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
26483 arg2
= static_cast< wxDouble
>(val2
);
26484 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26485 if (!SWIG_IsOK(ecode3
)) {
26486 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
26488 arg3
= static_cast< wxDouble
>(val3
);
26489 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26490 if (!SWIG_IsOK(ecode4
)) {
26491 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
26493 arg4
= static_cast< wxDouble
>(val4
);
26494 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26495 if (!SWIG_IsOK(ecode5
)) {
26496 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
26498 arg5
= static_cast< wxDouble
>(val5
);
26499 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26500 if (!SWIG_IsOK(ecode6
)) {
26501 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
26503 arg6
= static_cast< wxDouble
>(val6
);
26506 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
26510 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
26513 (arg1
)->SetRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
26514 if (PyErr_Occurred()) SWIG_fail
;
26516 resultobj
= SWIG_Py_Void();
26523 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26524 PyObject
*resultobj
= 0;
26525 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26531 PyObject
* obj0
= 0 ;
26532 PyObject
* obj1
= 0 ;
26533 char * kwnames
[] = {
26534 (char *) "self",(char *) "font", NULL
26537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26539 if (!SWIG_IsOK(res1
)) {
26540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26542 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26543 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26544 if (!SWIG_IsOK(res2
)) {
26545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26550 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26552 (arg1
)->SetFont((wxFont
const &)*arg2
);
26553 if (PyErr_Occurred()) SWIG_fail
;
26555 resultobj
= SWIG_Py_Void();
26562 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26563 PyObject
*resultobj
= 0;
26564 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26565 wxColour
*arg2
= 0 ;
26569 PyObject
* obj0
= 0 ;
26570 PyObject
* obj1
= 0 ;
26571 char * kwnames
[] = {
26572 (char *) "self",(char *) "col", NULL
26575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26577 if (!SWIG_IsOK(res1
)) {
26578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTextColour" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26580 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26583 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26586 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26587 if (PyErr_Occurred()) SWIG_fail
;
26589 resultobj
= SWIG_Py_Void();
26596 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26597 PyObject
*resultobj
= 0;
26598 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26599 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
26604 PyObject
* obj0
= 0 ;
26605 PyObject
* obj1
= 0 ;
26606 char * kwnames
[] = {
26607 (char *) "self",(char *) "path", NULL
26610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26612 if (!SWIG_IsOK(res1
)) {
26613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26615 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26616 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26617 if (!SWIG_IsOK(res2
)) {
26618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
26620 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26622 (arg1
)->StrokePath((wxGraphicsPath
const *)arg2
);
26623 if (PyErr_Occurred()) SWIG_fail
;
26625 resultobj
= SWIG_Py_Void();
26632 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26633 PyObject
*resultobj
= 0;
26634 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26635 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
26636 int arg3
= (int) wxWINDING_RULE
;
26643 PyObject
* obj0
= 0 ;
26644 PyObject
* obj1
= 0 ;
26645 PyObject
* obj2
= 0 ;
26646 char * kwnames
[] = {
26647 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
26650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26652 if (!SWIG_IsOK(res1
)) {
26653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26655 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26656 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26657 if (!SWIG_IsOK(res2
)) {
26658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
26660 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26662 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26663 if (!SWIG_IsOK(ecode3
)) {
26664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
26666 arg3
= static_cast< int >(val3
);
26669 (arg1
)->FillPath((wxGraphicsPath
const *)arg2
,arg3
);
26670 if (PyErr_Occurred()) SWIG_fail
;
26672 resultobj
= SWIG_Py_Void();
26679 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26680 PyObject
*resultobj
= 0;
26681 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26682 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
26683 int arg3
= (int) wxWINDING_RULE
;
26690 PyObject
* obj0
= 0 ;
26691 PyObject
* obj1
= 0 ;
26692 PyObject
* obj2
= 0 ;
26693 char * kwnames
[] = {
26694 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
26697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26699 if (!SWIG_IsOK(res1
)) {
26700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26702 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26703 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26704 if (!SWIG_IsOK(res2
)) {
26705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
26707 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26709 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26710 if (!SWIG_IsOK(ecode3
)) {
26711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
26713 arg3
= static_cast< int >(val3
);
26716 (arg1
)->DrawPath((wxGraphicsPath
const *)arg2
,arg3
);
26717 if (PyErr_Occurred()) SWIG_fail
;
26719 resultobj
= SWIG_Py_Void();
26726 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26727 PyObject
*resultobj
= 0;
26728 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26729 wxString
*arg2
= 0 ;
26734 bool temp2
= false ;
26739 PyObject
* obj0
= 0 ;
26740 PyObject
* obj1
= 0 ;
26741 PyObject
* obj2
= 0 ;
26742 PyObject
* obj3
= 0 ;
26743 char * kwnames
[] = {
26744 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
26747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26749 if (!SWIG_IsOK(res1
)) {
26750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26752 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26754 arg2
= wxString_in_helper(obj1
);
26755 if (arg2
== NULL
) SWIG_fail
;
26758 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26759 if (!SWIG_IsOK(ecode3
)) {
26760 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
26762 arg3
= static_cast< wxDouble
>(val3
);
26763 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26764 if (!SWIG_IsOK(ecode4
)) {
26765 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
26767 arg4
= static_cast< wxDouble
>(val4
);
26769 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
26770 if (PyErr_Occurred()) SWIG_fail
;
26772 resultobj
= SWIG_Py_Void();
26787 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26788 PyObject
*resultobj
= 0;
26789 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26790 wxString
*arg2
= 0 ;
26796 bool temp2
= false ;
26803 PyObject
* obj0
= 0 ;
26804 PyObject
* obj1
= 0 ;
26805 PyObject
* obj2
= 0 ;
26806 PyObject
* obj3
= 0 ;
26807 PyObject
* obj4
= 0 ;
26808 char * kwnames
[] = {
26809 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
26812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26814 if (!SWIG_IsOK(res1
)) {
26815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26817 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26819 arg2
= wxString_in_helper(obj1
);
26820 if (arg2
== NULL
) SWIG_fail
;
26823 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26824 if (!SWIG_IsOK(ecode3
)) {
26825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
26827 arg3
= static_cast< wxDouble
>(val3
);
26828 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26829 if (!SWIG_IsOK(ecode4
)) {
26830 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
26832 arg4
= static_cast< wxDouble
>(val4
);
26833 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26834 if (!SWIG_IsOK(ecode5
)) {
26835 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
26837 arg5
= static_cast< wxDouble
>(val5
);
26839 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26840 if (PyErr_Occurred()) SWIG_fail
;
26842 resultobj
= SWIG_Py_Void();
26857 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26858 PyObject
*resultobj
= 0;
26859 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26860 wxString
*arg2
= 0 ;
26861 wxDouble
*arg3
= (wxDouble
*) 0 ;
26862 wxDouble
*arg4
= (wxDouble
*) 0 ;
26863 wxDouble
*arg5
= (wxDouble
*) 0 ;
26864 wxDouble
*arg6
= (wxDouble
*) 0 ;
26867 bool temp2
= false ;
26869 int res3
= SWIG_TMPOBJ
;
26871 int res4
= SWIG_TMPOBJ
;
26873 int res5
= SWIG_TMPOBJ
;
26875 int res6
= SWIG_TMPOBJ
;
26876 PyObject
* obj0
= 0 ;
26877 PyObject
* obj1
= 0 ;
26878 char * kwnames
[] = {
26879 (char *) "self",(char *) "text", NULL
26886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26888 if (!SWIG_IsOK(res1
)) {
26889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
26891 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26893 arg2
= wxString_in_helper(obj1
);
26894 if (arg2
== NULL
) SWIG_fail
;
26898 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26899 if (PyErr_Occurred()) SWIG_fail
;
26901 resultobj
= SWIG_Py_Void();
26902 if (SWIG_IsTmpObj(res3
)) {
26903 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26905 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26906 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26908 if (SWIG_IsTmpObj(res4
)) {
26909 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
26911 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26912 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
26914 if (SWIG_IsTmpObj(res5
)) {
26915 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
26917 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26918 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
26920 if (SWIG_IsTmpObj(res6
)) {
26921 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
26923 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26924 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
26940 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26941 PyObject
*resultobj
= 0;
26942 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26943 wxString
*arg2
= 0 ;
26944 PyObject
*result
= 0 ;
26947 bool temp2
= false ;
26948 PyObject
* obj0
= 0 ;
26949 PyObject
* obj1
= 0 ;
26950 char * kwnames
[] = {
26951 (char *) "self",(char *) "text", NULL
26954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26956 if (!SWIG_IsOK(res1
)) {
26957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26959 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26961 arg2
= wxString_in_helper(obj1
);
26962 if (arg2
== NULL
) SWIG_fail
;
26966 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
26967 if (PyErr_Occurred()) SWIG_fail
;
26969 resultobj
= result
;
26984 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26985 PyObject
*resultobj
= 0;
26986 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26987 wxString
*arg2
= 0 ;
26988 wxArrayDouble result
;
26991 bool temp2
= false ;
26992 PyObject
* obj0
= 0 ;
26993 PyObject
* obj1
= 0 ;
26994 char * kwnames
[] = {
26995 (char *) "self",(char *) "text", NULL
26998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27000 if (!SWIG_IsOK(res1
)) {
27001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27003 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27005 arg2
= wxString_in_helper(obj1
);
27006 if (arg2
== NULL
) SWIG_fail
;
27010 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
27011 if (PyErr_Occurred()) SWIG_fail
;
27014 resultobj
= wxArrayDouble2PyList_helper(result
);
27030 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27031 PyObject
*resultobj
= 0;
27032 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27033 wxBitmap
*arg2
= 0 ;
27050 PyObject
* obj0
= 0 ;
27051 PyObject
* obj1
= 0 ;
27052 PyObject
* obj2
= 0 ;
27053 PyObject
* obj3
= 0 ;
27054 PyObject
* obj4
= 0 ;
27055 PyObject
* obj5
= 0 ;
27056 char * kwnames
[] = {
27057 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27062 if (!SWIG_IsOK(res1
)) {
27063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27065 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27066 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27067 if (!SWIG_IsOK(res2
)) {
27068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27073 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27074 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27075 if (!SWIG_IsOK(ecode3
)) {
27076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
27078 arg3
= static_cast< wxDouble
>(val3
);
27079 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27080 if (!SWIG_IsOK(ecode4
)) {
27081 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
27083 arg4
= static_cast< wxDouble
>(val4
);
27084 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27085 if (!SWIG_IsOK(ecode5
)) {
27086 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
27088 arg5
= static_cast< wxDouble
>(val5
);
27089 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27090 if (!SWIG_IsOK(ecode6
)) {
27091 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
27093 arg6
= static_cast< wxDouble
>(val6
);
27095 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27096 if (PyErr_Occurred()) SWIG_fail
;
27098 resultobj
= SWIG_Py_Void();
27105 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27106 PyObject
*resultobj
= 0;
27107 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27125 PyObject
* obj0
= 0 ;
27126 PyObject
* obj1
= 0 ;
27127 PyObject
* obj2
= 0 ;
27128 PyObject
* obj3
= 0 ;
27129 PyObject
* obj4
= 0 ;
27130 PyObject
* obj5
= 0 ;
27131 char * kwnames
[] = {
27132 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27137 if (!SWIG_IsOK(res1
)) {
27138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27140 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27141 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
27142 if (!SWIG_IsOK(res2
)) {
27143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27146 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27148 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
27149 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27150 if (!SWIG_IsOK(ecode3
)) {
27151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
27153 arg3
= static_cast< wxDouble
>(val3
);
27154 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27155 if (!SWIG_IsOK(ecode4
)) {
27156 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
27158 arg4
= static_cast< wxDouble
>(val4
);
27159 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27160 if (!SWIG_IsOK(ecode5
)) {
27161 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
27163 arg5
= static_cast< wxDouble
>(val5
);
27164 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27165 if (!SWIG_IsOK(ecode6
)) {
27166 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
27168 arg6
= static_cast< wxDouble
>(val6
);
27170 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27171 if (PyErr_Occurred()) SWIG_fail
;
27173 resultobj
= SWIG_Py_Void();
27180 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27181 PyObject
*resultobj
= 0;
27182 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27197 PyObject
* obj0
= 0 ;
27198 PyObject
* obj1
= 0 ;
27199 PyObject
* obj2
= 0 ;
27200 PyObject
* obj3
= 0 ;
27201 PyObject
* obj4
= 0 ;
27202 char * kwnames
[] = {
27203 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
27206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27208 if (!SWIG_IsOK(res1
)) {
27209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27211 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27212 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27213 if (!SWIG_IsOK(ecode2
)) {
27214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
27216 arg2
= static_cast< wxDouble
>(val2
);
27217 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27218 if (!SWIG_IsOK(ecode3
)) {
27219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
27221 arg3
= static_cast< wxDouble
>(val3
);
27222 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27223 if (!SWIG_IsOK(ecode4
)) {
27224 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
27226 arg4
= static_cast< wxDouble
>(val4
);
27227 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27228 if (!SWIG_IsOK(ecode5
)) {
27229 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
27231 arg5
= static_cast< wxDouble
>(val5
);
27233 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
27234 if (PyErr_Occurred()) SWIG_fail
;
27236 resultobj
= SWIG_Py_Void();
27243 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27244 PyObject
*resultobj
= 0;
27245 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27247 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
27250 PyObject
* obj0
= 0 ;
27251 PyObject
* obj1
= 0 ;
27252 char * kwnames
[] = {
27253 (char *) "self",(char *) "points", NULL
27256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27258 if (!SWIG_IsOK(res1
)) {
27259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27261 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27263 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
27264 if (arg3
== NULL
) SWIG_fail
;
27267 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
27268 if (PyErr_Occurred()) SWIG_fail
;
27270 resultobj
= SWIG_Py_Void();
27272 if (arg3
) delete [] arg3
;
27277 if (arg3
) delete [] arg3
;
27283 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27284 PyObject
*resultobj
= 0;
27285 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27286 PyObject
*arg2
= (PyObject
*) 0 ;
27287 PyObject
*arg3
= (PyObject
*) 0 ;
27290 PyObject
* obj0
= 0 ;
27291 PyObject
* obj1
= 0 ;
27292 PyObject
* obj2
= 0 ;
27293 char * kwnames
[] = {
27294 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
27297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27299 if (!SWIG_IsOK(res1
)) {
27300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27302 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27306 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
27307 if (PyErr_Occurred()) SWIG_fail
;
27309 resultobj
= SWIG_Py_Void();
27316 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27317 PyObject
*resultobj
= 0;
27318 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27320 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
27321 int arg4
= (int) wxWINDING_RULE
;
27326 PyObject
* obj0
= 0 ;
27327 PyObject
* obj1
= 0 ;
27328 PyObject
* obj2
= 0 ;
27329 char * kwnames
[] = {
27330 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
27333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27335 if (!SWIG_IsOK(res1
)) {
27336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27338 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27340 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
27341 if (arg3
== NULL
) SWIG_fail
;
27344 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
27345 if (!SWIG_IsOK(ecode4
)) {
27346 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
27348 arg4
= static_cast< int >(val4
);
27351 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
27352 if (PyErr_Occurred()) SWIG_fail
;
27354 resultobj
= SWIG_Py_Void();
27356 if (arg3
) delete [] arg3
;
27361 if (arg3
) delete [] arg3
;
27367 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27368 PyObject
*resultobj
= 0;
27369 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27384 PyObject
* obj0
= 0 ;
27385 PyObject
* obj1
= 0 ;
27386 PyObject
* obj2
= 0 ;
27387 PyObject
* obj3
= 0 ;
27388 PyObject
* obj4
= 0 ;
27389 char * kwnames
[] = {
27390 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27395 if (!SWIG_IsOK(res1
)) {
27396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27398 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27399 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27400 if (!SWIG_IsOK(ecode2
)) {
27401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27403 arg2
= static_cast< wxDouble
>(val2
);
27404 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27405 if (!SWIG_IsOK(ecode3
)) {
27406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27408 arg3
= static_cast< wxDouble
>(val3
);
27409 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27410 if (!SWIG_IsOK(ecode4
)) {
27411 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27413 arg4
= static_cast< wxDouble
>(val4
);
27414 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27415 if (!SWIG_IsOK(ecode5
)) {
27416 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27418 arg5
= static_cast< wxDouble
>(val5
);
27420 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
27421 if (PyErr_Occurred()) SWIG_fail
;
27423 resultobj
= SWIG_Py_Void();
27430 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27431 PyObject
*resultobj
= 0;
27432 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27447 PyObject
* obj0
= 0 ;
27448 PyObject
* obj1
= 0 ;
27449 PyObject
* obj2
= 0 ;
27450 PyObject
* obj3
= 0 ;
27451 PyObject
* obj4
= 0 ;
27452 char * kwnames
[] = {
27453 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27458 if (!SWIG_IsOK(res1
)) {
27459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27461 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27462 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27463 if (!SWIG_IsOK(ecode2
)) {
27464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27466 arg2
= static_cast< wxDouble
>(val2
);
27467 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27468 if (!SWIG_IsOK(ecode3
)) {
27469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27471 arg3
= static_cast< wxDouble
>(val3
);
27472 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27473 if (!SWIG_IsOK(ecode4
)) {
27474 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27476 arg4
= static_cast< wxDouble
>(val4
);
27477 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27478 if (!SWIG_IsOK(ecode5
)) {
27479 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27481 arg5
= static_cast< wxDouble
>(val5
);
27483 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
27484 if (PyErr_Occurred()) SWIG_fail
;
27486 resultobj
= SWIG_Py_Void();
27493 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27494 PyObject
*resultobj
= 0;
27495 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27513 PyObject
* obj0
= 0 ;
27514 PyObject
* obj1
= 0 ;
27515 PyObject
* obj2
= 0 ;
27516 PyObject
* obj3
= 0 ;
27517 PyObject
* obj4
= 0 ;
27518 PyObject
* obj5
= 0 ;
27519 char * kwnames
[] = {
27520 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27525 if (!SWIG_IsOK(res1
)) {
27526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27528 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27529 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27530 if (!SWIG_IsOK(ecode2
)) {
27531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27533 arg2
= static_cast< wxDouble
>(val2
);
27534 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27535 if (!SWIG_IsOK(ecode3
)) {
27536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27538 arg3
= static_cast< wxDouble
>(val3
);
27539 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27540 if (!SWIG_IsOK(ecode4
)) {
27541 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27543 arg4
= static_cast< wxDouble
>(val4
);
27544 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27545 if (!SWIG_IsOK(ecode5
)) {
27546 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27548 arg5
= static_cast< wxDouble
>(val5
);
27549 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27550 if (!SWIG_IsOK(ecode6
)) {
27551 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27553 arg6
= static_cast< wxDouble
>(val6
);
27555 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27556 if (PyErr_Occurred()) SWIG_fail
;
27558 resultobj
= SWIG_Py_Void();
27565 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27567 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27568 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
27569 return SWIG_Py_Void();
27572 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27573 PyObject
*resultobj
= 0;
27574 wxWindowDC
*arg1
= 0 ;
27575 wxGCDC
*result
= 0 ;
27578 PyObject
* obj0
= 0 ;
27579 char * kwnames
[] = {
27580 (char *) "dc", NULL
27583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
27584 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27585 if (!SWIG_IsOK(res1
)) {
27586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27591 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27593 if (!wxPyCheckForApp()) SWIG_fail
;
27594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27595 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
27596 wxPyEndAllowThreads(__tstate
);
27597 if (PyErr_Occurred()) SWIG_fail
;
27599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
27606 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27607 PyObject
*resultobj
= 0;
27608 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
27611 PyObject
*swig_obj
[1] ;
27613 if (!args
) SWIG_fail
;
27614 swig_obj
[0] = args
;
27615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
27616 if (!SWIG_IsOK(res1
)) {
27617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
27619 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
27623 if (PyErr_Occurred()) SWIG_fail
;
27625 resultobj
= SWIG_Py_Void();
27632 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27633 PyObject
*resultobj
= 0;
27634 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
27635 wxGraphicsContext
*result
= 0 ;
27638 PyObject
*swig_obj
[1] ;
27640 if (!args
) SWIG_fail
;
27641 swig_obj
[0] = args
;
27642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
27643 if (!SWIG_IsOK(res1
)) {
27644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
27646 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
27648 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
27649 if (PyErr_Occurred()) SWIG_fail
;
27651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27658 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27659 PyObject
*resultobj
= 0;
27660 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
27661 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
27666 PyObject
* obj0
= 0 ;
27667 PyObject
* obj1
= 0 ;
27668 char * kwnames
[] = {
27669 (char *) "self",(char *) "ctx", NULL
27672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
27674 if (!SWIG_IsOK(res1
)) {
27675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
27677 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
27678 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27679 if (!SWIG_IsOK(res2
)) {
27680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
27682 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
27684 (arg1
)->SetGraphicsContext(arg2
);
27685 if (PyErr_Occurred()) SWIG_fail
;
27687 resultobj
= SWIG_Py_Void();
27694 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27696 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27697 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
27698 return SWIG_Py_Void();
27701 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27702 return SWIG_Python_InitShadowInstance(args
);
27705 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27706 PyObject
*resultobj
= 0;
27707 wxOverlay
*result
= 0 ;
27709 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
27711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27712 result
= (wxOverlay
*)new wxOverlay();
27713 wxPyEndAllowThreads(__tstate
);
27714 if (PyErr_Occurred()) SWIG_fail
;
27716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
27723 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27724 PyObject
*resultobj
= 0;
27725 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
27728 PyObject
*swig_obj
[1] ;
27730 if (!args
) SWIG_fail
;
27731 swig_obj
[0] = args
;
27732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
27733 if (!SWIG_IsOK(res1
)) {
27734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
27736 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27741 wxPyEndAllowThreads(__tstate
);
27742 if (PyErr_Occurred()) SWIG_fail
;
27744 resultobj
= SWIG_Py_Void();
27751 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27752 PyObject
*resultobj
= 0;
27753 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
27756 PyObject
*swig_obj
[1] ;
27758 if (!args
) SWIG_fail
;
27759 swig_obj
[0] = args
;
27760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
27761 if (!SWIG_IsOK(res1
)) {
27762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
27764 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27768 wxPyEndAllowThreads(__tstate
);
27769 if (PyErr_Occurred()) SWIG_fail
;
27771 resultobj
= SWIG_Py_Void();
27778 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27780 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27781 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
27782 return SWIG_Py_Void();
27785 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27786 return SWIG_Python_InitShadowInstance(args
);
27789 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27790 PyObject
*resultobj
= 0;
27791 wxOverlay
*arg1
= 0 ;
27792 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
27797 wxDCOverlay
*result
= 0 ;
27811 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
27812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
27813 if (!SWIG_IsOK(res1
)) {
27814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27819 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27820 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
27821 if (!SWIG_IsOK(res2
)) {
27822 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
27824 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
27825 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27826 if (!SWIG_IsOK(ecode3
)) {
27827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
27829 arg3
= static_cast< int >(val3
);
27830 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27831 if (!SWIG_IsOK(ecode4
)) {
27832 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
27834 arg4
= static_cast< int >(val4
);
27835 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
27836 if (!SWIG_IsOK(ecode5
)) {
27837 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
27839 arg5
= static_cast< int >(val5
);
27840 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
27841 if (!SWIG_IsOK(ecode6
)) {
27842 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
27844 arg6
= static_cast< int >(val6
);
27846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27847 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
27848 wxPyEndAllowThreads(__tstate
);
27849 if (PyErr_Occurred()) SWIG_fail
;
27851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
27858 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27859 PyObject
*resultobj
= 0;
27860 wxOverlay
*arg1
= 0 ;
27861 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
27862 wxDCOverlay
*result
= 0 ;
27868 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
27870 if (!SWIG_IsOK(res1
)) {
27871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27874 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27876 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27877 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
27878 if (!SWIG_IsOK(res2
)) {
27879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
27881 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
27883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27884 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
27885 wxPyEndAllowThreads(__tstate
);
27886 if (PyErr_Occurred()) SWIG_fail
;
27888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
27895 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
27899 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
27902 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
27905 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
27909 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
27914 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27915 PyObject
*resultobj
= 0;
27916 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
27919 PyObject
*swig_obj
[1] ;
27921 if (!args
) SWIG_fail
;
27922 swig_obj
[0] = args
;
27923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
27924 if (!SWIG_IsOK(res1
)) {
27925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
27927 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
27929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27932 wxPyEndAllowThreads(__tstate
);
27933 if (PyErr_Occurred()) SWIG_fail
;
27935 resultobj
= SWIG_Py_Void();
27942 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27943 PyObject
*resultobj
= 0;
27944 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
27947 PyObject
*swig_obj
[1] ;
27949 if (!args
) SWIG_fail
;
27950 swig_obj
[0] = args
;
27951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
27952 if (!SWIG_IsOK(res1
)) {
27953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
27955 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
27957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27959 wxPyEndAllowThreads(__tstate
);
27960 if (PyErr_Occurred()) SWIG_fail
;
27962 resultobj
= SWIG_Py_Void();
27969 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27971 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27972 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
27973 return SWIG_Py_Void();
27976 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27977 return SWIG_Python_InitShadowInstance(args
);
27980 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27981 PyObject
*resultobj
= 0;
27984 int arg3
= (int) true ;
27985 int arg4
= (int) 1 ;
27986 wxImageList
*result
= 0 ;
27995 PyObject
* obj0
= 0 ;
27996 PyObject
* obj1
= 0 ;
27997 PyObject
* obj2
= 0 ;
27998 PyObject
* obj3
= 0 ;
27999 char * kwnames
[] = {
28000 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
28003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28004 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28005 if (!SWIG_IsOK(ecode1
)) {
28006 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
28008 arg1
= static_cast< int >(val1
);
28009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28010 if (!SWIG_IsOK(ecode2
)) {
28011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
28013 arg2
= static_cast< int >(val2
);
28015 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28016 if (!SWIG_IsOK(ecode3
)) {
28017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
28019 arg3
= static_cast< int >(val3
);
28022 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28023 if (!SWIG_IsOK(ecode4
)) {
28024 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
28026 arg4
= static_cast< int >(val4
);
28029 if (!wxPyCheckForApp()) SWIG_fail
;
28030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28031 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
28032 wxPyEndAllowThreads(__tstate
);
28033 if (PyErr_Occurred()) SWIG_fail
;
28035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
28042 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28043 PyObject
*resultobj
= 0;
28044 wxImageList
*arg1
= (wxImageList
*) 0 ;
28047 PyObject
*swig_obj
[1] ;
28049 if (!args
) SWIG_fail
;
28050 swig_obj
[0] = args
;
28051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
28052 if (!SWIG_IsOK(res1
)) {
28053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
28055 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28060 wxPyEndAllowThreads(__tstate
);
28061 if (PyErr_Occurred()) SWIG_fail
;
28063 resultobj
= SWIG_Py_Void();
28070 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28071 PyObject
*resultobj
= 0;
28072 wxImageList
*arg1
= (wxImageList
*) 0 ;
28073 wxBitmap
*arg2
= 0 ;
28074 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
28075 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
28083 PyObject
* obj0
= 0 ;
28084 PyObject
* obj1
= 0 ;
28085 PyObject
* obj2
= 0 ;
28086 char * kwnames
[] = {
28087 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
28090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28092 if (!SWIG_IsOK(res1
)) {
28093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
28095 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28096 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28097 if (!SWIG_IsOK(res2
)) {
28098 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
28101 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
28103 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
28105 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28106 if (!SWIG_IsOK(res3
)) {
28107 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
28110 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
28112 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
28115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28116 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
28117 wxPyEndAllowThreads(__tstate
);
28118 if (PyErr_Occurred()) SWIG_fail
;
28120 resultobj
= SWIG_From_int(static_cast< int >(result
));
28127 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28128 PyObject
*resultobj
= 0;
28129 wxImageList
*arg1
= (wxImageList
*) 0 ;
28130 wxBitmap
*arg2
= 0 ;
28131 wxColour
*arg3
= 0 ;
28138 PyObject
* obj0
= 0 ;
28139 PyObject
* obj1
= 0 ;
28140 PyObject
* obj2
= 0 ;
28141 char * kwnames
[] = {
28142 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
28145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28147 if (!SWIG_IsOK(res1
)) {
28148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
28150 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28152 if (!SWIG_IsOK(res2
)) {
28153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
28156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
28158 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
28161 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28165 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
28166 wxPyEndAllowThreads(__tstate
);
28167 if (PyErr_Occurred()) SWIG_fail
;
28169 resultobj
= SWIG_From_int(static_cast< int >(result
));
28176 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28177 PyObject
*resultobj
= 0;
28178 wxImageList
*arg1
= (wxImageList
*) 0 ;
28185 PyObject
* obj0
= 0 ;
28186 PyObject
* obj1
= 0 ;
28187 char * kwnames
[] = {
28188 (char *) "self",(char *) "icon", NULL
28191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28193 if (!SWIG_IsOK(res1
)) {
28194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
28196 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28197 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
28198 if (!SWIG_IsOK(res2
)) {
28199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
28202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
28204 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
28206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28207 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
28208 wxPyEndAllowThreads(__tstate
);
28209 if (PyErr_Occurred()) SWIG_fail
;
28211 resultobj
= SWIG_From_int(static_cast< int >(result
));
28218 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28219 PyObject
*resultobj
= 0;
28220 wxImageList
*arg1
= (wxImageList
*) 0 ;
28222 SwigValueWrapper
<wxBitmap
> result
;
28227 PyObject
* obj0
= 0 ;
28228 PyObject
* obj1
= 0 ;
28229 char * kwnames
[] = {
28230 (char *) "self",(char *) "index", NULL
28233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28235 if (!SWIG_IsOK(res1
)) {
28236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
28238 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28240 if (!SWIG_IsOK(ecode2
)) {
28241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
28243 arg2
= static_cast< int >(val2
);
28245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28246 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
28247 wxPyEndAllowThreads(__tstate
);
28248 if (PyErr_Occurred()) SWIG_fail
;
28250 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
28257 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28258 PyObject
*resultobj
= 0;
28259 wxImageList
*arg1
= (wxImageList
*) 0 ;
28266 PyObject
* obj0
= 0 ;
28267 PyObject
* obj1
= 0 ;
28268 char * kwnames
[] = {
28269 (char *) "self",(char *) "index", NULL
28272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28274 if (!SWIG_IsOK(res1
)) {
28275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
28277 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28279 if (!SWIG_IsOK(ecode2
)) {
28280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
28282 arg2
= static_cast< int >(val2
);
28284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28285 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
28286 wxPyEndAllowThreads(__tstate
);
28287 if (PyErr_Occurred()) SWIG_fail
;
28289 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
28296 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28297 PyObject
*resultobj
= 0;
28298 wxImageList
*arg1
= (wxImageList
*) 0 ;
28300 wxBitmap
*arg3
= 0 ;
28301 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
28302 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
28312 PyObject
* obj0
= 0 ;
28313 PyObject
* obj1
= 0 ;
28314 PyObject
* obj2
= 0 ;
28315 PyObject
* obj3
= 0 ;
28316 char * kwnames
[] = {
28317 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
28320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28322 if (!SWIG_IsOK(res1
)) {
28323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
28325 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28327 if (!SWIG_IsOK(ecode2
)) {
28328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
28330 arg2
= static_cast< int >(val2
);
28331 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28332 if (!SWIG_IsOK(res3
)) {
28333 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
28336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
28338 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
28340 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28341 if (!SWIG_IsOK(res4
)) {
28342 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
28345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
28347 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
28350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28351 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
28352 wxPyEndAllowThreads(__tstate
);
28353 if (PyErr_Occurred()) SWIG_fail
;
28356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28364 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28365 PyObject
*resultobj
= 0;
28366 wxImageList
*arg1
= (wxImageList
*) 0 ;
28371 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
28372 bool arg7
= (bool) (bool)false ;
28388 PyObject
* obj0
= 0 ;
28389 PyObject
* obj1
= 0 ;
28390 PyObject
* obj2
= 0 ;
28391 PyObject
* obj3
= 0 ;
28392 PyObject
* obj4
= 0 ;
28393 PyObject
* obj5
= 0 ;
28394 PyObject
* obj6
= 0 ;
28395 char * kwnames
[] = {
28396 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
28399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28401 if (!SWIG_IsOK(res1
)) {
28402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
28404 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28406 if (!SWIG_IsOK(ecode2
)) {
28407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
28409 arg2
= static_cast< int >(val2
);
28410 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28411 if (!SWIG_IsOK(res3
)) {
28412 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
28415 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
28417 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28418 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28419 if (!SWIG_IsOK(ecode4
)) {
28420 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
28422 arg4
= static_cast< int >(val4
);
28423 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28424 if (!SWIG_IsOK(ecode5
)) {
28425 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
28427 arg5
= static_cast< int >(val5
);
28429 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
28430 if (!SWIG_IsOK(ecode6
)) {
28431 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
28433 arg6
= static_cast< int >(val6
);
28436 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
28437 if (!SWIG_IsOK(ecode7
)) {
28438 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
28440 arg7
= static_cast< bool >(val7
);
28443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28444 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
28445 wxPyEndAllowThreads(__tstate
);
28446 if (PyErr_Occurred()) SWIG_fail
;
28449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28457 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(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_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
28471 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28474 result
= (int)(arg1
)->GetImageCount();
28475 wxPyEndAllowThreads(__tstate
);
28476 if (PyErr_Occurred()) SWIG_fail
;
28478 resultobj
= SWIG_From_int(static_cast< int >(result
));
28485 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28486 PyObject
*resultobj
= 0;
28487 wxImageList
*arg1
= (wxImageList
*) 0 ;
28494 PyObject
* obj0
= 0 ;
28495 PyObject
* obj1
= 0 ;
28496 char * kwnames
[] = {
28497 (char *) "self",(char *) "index", NULL
28500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28502 if (!SWIG_IsOK(res1
)) {
28503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
28505 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28507 if (!SWIG_IsOK(ecode2
)) {
28508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
28510 arg2
= static_cast< int >(val2
);
28512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28513 result
= (bool)(arg1
)->Remove(arg2
);
28514 wxPyEndAllowThreads(__tstate
);
28515 if (PyErr_Occurred()) SWIG_fail
;
28518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28526 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28527 PyObject
*resultobj
= 0;
28528 wxImageList
*arg1
= (wxImageList
*) 0 ;
28532 PyObject
*swig_obj
[1] ;
28534 if (!args
) SWIG_fail
;
28535 swig_obj
[0] = args
;
28536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28537 if (!SWIG_IsOK(res1
)) {
28538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
28540 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28543 result
= (bool)(arg1
)->RemoveAll();
28544 wxPyEndAllowThreads(__tstate
);
28545 if (PyErr_Occurred()) SWIG_fail
;
28548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28556 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28557 PyObject
*resultobj
= 0;
28558 wxImageList
*arg1
= (wxImageList
*) 0 ;
28567 int res3
= SWIG_TMPOBJ
;
28569 int res4
= SWIG_TMPOBJ
;
28570 PyObject
* obj0
= 0 ;
28571 PyObject
* obj1
= 0 ;
28572 char * kwnames
[] = {
28573 (char *) "self",(char *) "index", NULL
28578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
28580 if (!SWIG_IsOK(res1
)) {
28581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
28583 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
28584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28585 if (!SWIG_IsOK(ecode2
)) {
28586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
28588 arg2
= static_cast< int >(val2
);
28590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28591 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
28592 wxPyEndAllowThreads(__tstate
);
28593 if (PyErr_Occurred()) SWIG_fail
;
28595 resultobj
= SWIG_Py_Void();
28596 if (SWIG_IsTmpObj(res3
)) {
28597 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28599 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28600 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28602 if (SWIG_IsTmpObj(res4
)) {
28603 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28605 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28606 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28614 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28616 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28617 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
28618 return SWIG_Py_Void();
28621 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28622 return SWIG_Python_InitShadowInstance(args
);
28625 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28626 PyObject
*resultobj
= 0;
28627 wxStockGDI
*result
= 0 ;
28629 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
28631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28632 result
= (wxStockGDI
*)new wxStockGDI();
28633 wxPyEndAllowThreads(__tstate
);
28634 if (PyErr_Occurred()) SWIG_fail
;
28636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
28643 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28644 PyObject
*resultobj
= 0;
28645 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
28648 PyObject
*swig_obj
[1] ;
28650 if (!args
) SWIG_fail
;
28651 swig_obj
[0] = args
;
28652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
28653 if (!SWIG_IsOK(res1
)) {
28654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
28656 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
28658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28661 wxPyEndAllowThreads(__tstate
);
28662 if (PyErr_Occurred()) SWIG_fail
;
28664 resultobj
= SWIG_Py_Void();
28671 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28672 PyObject
*resultobj
= 0;
28674 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
28676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28677 wxStockGDI::DeleteAll();
28678 wxPyEndAllowThreads(__tstate
);
28679 if (PyErr_Occurred()) SWIG_fail
;
28681 resultobj
= SWIG_Py_Void();
28688 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28689 PyObject
*resultobj
= 0;
28690 wxStockGDI
*result
= 0 ;
28692 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
28694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28696 wxStockGDI
&_result_ref
= wxStockGDI::instance();
28697 result
= (wxStockGDI
*) &_result_ref
;
28699 wxPyEndAllowThreads(__tstate
);
28700 if (PyErr_Occurred()) SWIG_fail
;
28702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
28709 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28710 PyObject
*resultobj
= 0;
28711 wxStockGDI::Item arg1
;
28712 wxBrush
*result
= 0 ;
28715 PyObject
* obj0
= 0 ;
28716 char * kwnames
[] = {
28717 (char *) "item", NULL
28720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
28721 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28722 if (!SWIG_IsOK(ecode1
)) {
28723 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28725 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28728 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
28729 wxPyEndAllowThreads(__tstate
);
28730 if (PyErr_Occurred()) SWIG_fail
;
28732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
28739 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28740 PyObject
*resultobj
= 0;
28741 wxStockGDI::Item arg1
;
28742 wxColour
*result
= 0 ;
28745 PyObject
* obj0
= 0 ;
28746 char * kwnames
[] = {
28747 (char *) "item", NULL
28750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
28751 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28752 if (!SWIG_IsOK(ecode1
)) {
28753 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28755 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28758 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
28759 wxPyEndAllowThreads(__tstate
);
28760 if (PyErr_Occurred()) SWIG_fail
;
28762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
28769 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28770 PyObject
*resultobj
= 0;
28771 wxStockGDI::Item arg1
;
28772 wxCursor
*result
= 0 ;
28775 PyObject
* obj0
= 0 ;
28776 char * kwnames
[] = {
28777 (char *) "item", NULL
28780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
28781 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28782 if (!SWIG_IsOK(ecode1
)) {
28783 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28785 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28788 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
28789 wxPyEndAllowThreads(__tstate
);
28790 if (PyErr_Occurred()) SWIG_fail
;
28792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
28799 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28800 PyObject
*resultobj
= 0;
28801 wxStockGDI::Item arg1
;
28802 wxPen
*result
= 0 ;
28805 PyObject
* obj0
= 0 ;
28806 char * kwnames
[] = {
28807 (char *) "item", NULL
28810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
28811 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28812 if (!SWIG_IsOK(ecode1
)) {
28813 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28815 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28818 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
28819 wxPyEndAllowThreads(__tstate
);
28820 if (PyErr_Occurred()) SWIG_fail
;
28822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
28829 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28830 PyObject
*resultobj
= 0;
28831 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
28832 wxStockGDI::Item arg2
;
28833 wxFont
*result
= 0 ;
28838 PyObject
* obj0
= 0 ;
28839 PyObject
* obj1
= 0 ;
28840 char * kwnames
[] = {
28841 (char *) "self",(char *) "item", NULL
28844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
28846 if (!SWIG_IsOK(res1
)) {
28847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
28849 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
28850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28851 if (!SWIG_IsOK(ecode2
)) {
28852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
28854 arg2
= static_cast< wxStockGDI::Item
>(val2
);
28856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28857 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
28858 wxPyEndAllowThreads(__tstate
);
28859 if (PyErr_Occurred()) SWIG_fail
;
28861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
28868 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28870 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28871 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
28872 return SWIG_Py_Void();
28875 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28876 return SWIG_Python_InitShadowInstance(args
);
28879 SWIGINTERN
int NullBitmap_set(PyObject
*) {
28880 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
28885 SWIGINTERN PyObject
*NullBitmap_get(void) {
28886 PyObject
*pyobj
= 0;
28888 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
28893 SWIGINTERN
int NullIcon_set(PyObject
*) {
28894 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
28899 SWIGINTERN PyObject
*NullIcon_get(void) {
28900 PyObject
*pyobj
= 0;
28902 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
28907 SWIGINTERN
int NullCursor_set(PyObject
*) {
28908 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
28913 SWIGINTERN PyObject
*NullCursor_get(void) {
28914 PyObject
*pyobj
= 0;
28916 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
28921 SWIGINTERN
int NullPen_set(PyObject
*) {
28922 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
28927 SWIGINTERN PyObject
*NullPen_get(void) {
28928 PyObject
*pyobj
= 0;
28930 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
28935 SWIGINTERN
int NullBrush_set(PyObject
*) {
28936 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
28941 SWIGINTERN PyObject
*NullBrush_get(void) {
28942 PyObject
*pyobj
= 0;
28944 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
28949 SWIGINTERN
int NullPalette_set(PyObject
*) {
28950 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
28955 SWIGINTERN PyObject
*NullPalette_get(void) {
28956 PyObject
*pyobj
= 0;
28958 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
28963 SWIGINTERN
int NullFont_set(PyObject
*) {
28964 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
28969 SWIGINTERN PyObject
*NullFont_get(void) {
28970 PyObject
*pyobj
= 0;
28972 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
28977 SWIGINTERN
int NullColour_set(PyObject
*) {
28978 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
28983 SWIGINTERN PyObject
*NullColour_get(void) {
28984 PyObject
*pyobj
= 0;
28986 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
28991 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28992 PyObject
*resultobj
= 0;
28993 wxGDIObjListBase
*result
= 0 ;
28995 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
28997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28998 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
28999 wxPyEndAllowThreads(__tstate
);
29000 if (PyErr_Occurred()) SWIG_fail
;
29002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
29009 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29010 PyObject
*resultobj
= 0;
29011 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
29014 PyObject
*swig_obj
[1] ;
29016 if (!args
) SWIG_fail
;
29017 swig_obj
[0] = args
;
29018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
29019 if (!SWIG_IsOK(res1
)) {
29020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
29022 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
29024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29027 wxPyEndAllowThreads(__tstate
);
29028 if (PyErr_Occurred()) SWIG_fail
;
29030 resultobj
= SWIG_Py_Void();
29037 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29040 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
29041 return SWIG_Py_Void();
29044 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29045 return SWIG_Python_InitShadowInstance(args
);
29048 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29049 PyObject
*resultobj
= 0;
29050 wxPenList
*arg1
= (wxPenList
*) 0 ;
29051 wxColour
*arg2
= 0 ;
29054 wxPen
*result
= 0 ;
29062 PyObject
* obj0
= 0 ;
29063 PyObject
* obj1
= 0 ;
29064 PyObject
* obj2
= 0 ;
29065 PyObject
* obj3
= 0 ;
29066 char * kwnames
[] = {
29067 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
29070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
29072 if (!SWIG_IsOK(res1
)) {
29073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
29075 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
29078 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29081 if (!SWIG_IsOK(ecode3
)) {
29082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
29084 arg3
= static_cast< int >(val3
);
29085 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29086 if (!SWIG_IsOK(ecode4
)) {
29087 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
29089 arg4
= static_cast< int >(val4
);
29091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29092 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
29093 wxPyEndAllowThreads(__tstate
);
29094 if (PyErr_Occurred()) SWIG_fail
;
29096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
29103 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29104 PyObject
*resultobj
= 0;
29105 wxPenList
*arg1
= (wxPenList
*) 0 ;
29106 wxPen
*arg2
= (wxPen
*) 0 ;
29111 PyObject
* obj0
= 0 ;
29112 PyObject
* obj1
= 0 ;
29113 char * kwnames
[] = {
29114 (char *) "self",(char *) "pen", NULL
29117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
29119 if (!SWIG_IsOK(res1
)) {
29120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
29122 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
29123 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
29124 if (!SWIG_IsOK(res2
)) {
29125 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
29127 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29130 (arg1
)->AddPen(arg2
);
29131 wxPyEndAllowThreads(__tstate
);
29132 if (PyErr_Occurred()) SWIG_fail
;
29134 resultobj
= SWIG_Py_Void();
29141 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29142 PyObject
*resultobj
= 0;
29143 wxPenList
*arg1
= (wxPenList
*) 0 ;
29144 wxPen
*arg2
= (wxPen
*) 0 ;
29149 PyObject
* obj0
= 0 ;
29150 PyObject
* obj1
= 0 ;
29151 char * kwnames
[] = {
29152 (char *) "self",(char *) "pen", NULL
29155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
29157 if (!SWIG_IsOK(res1
)) {
29158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
29160 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
29161 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
29162 if (!SWIG_IsOK(res2
)) {
29163 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
29165 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29168 (arg1
)->RemovePen(arg2
);
29169 wxPyEndAllowThreads(__tstate
);
29170 if (PyErr_Occurred()) SWIG_fail
;
29172 resultobj
= SWIG_Py_Void();
29179 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29182 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
29183 return SWIG_Py_Void();
29186 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29187 PyObject
*resultobj
= 0;
29188 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
29189 wxColour
*arg2
= 0 ;
29190 int arg3
= (int) wxSOLID
;
29191 wxBrush
*result
= 0 ;
29197 PyObject
* obj0
= 0 ;
29198 PyObject
* obj1
= 0 ;
29199 PyObject
* obj2
= 0 ;
29200 char * kwnames
[] = {
29201 (char *) "self",(char *) "colour",(char *) "style", NULL
29204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
29206 if (!SWIG_IsOK(res1
)) {
29207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
29209 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
29212 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29215 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29216 if (!SWIG_IsOK(ecode3
)) {
29217 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
29219 arg3
= static_cast< int >(val3
);
29222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29223 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
29224 wxPyEndAllowThreads(__tstate
);
29225 if (PyErr_Occurred()) SWIG_fail
;
29227 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
29234 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29235 PyObject
*resultobj
= 0;
29236 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
29237 wxBrush
*arg2
= (wxBrush
*) 0 ;
29242 PyObject
* obj0
= 0 ;
29243 PyObject
* obj1
= 0 ;
29244 char * kwnames
[] = {
29245 (char *) "self",(char *) "brush", NULL
29248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
29250 if (!SWIG_IsOK(res1
)) {
29251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
29253 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
29254 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
29255 if (!SWIG_IsOK(res2
)) {
29256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
29258 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29261 (arg1
)->AddBrush(arg2
);
29262 wxPyEndAllowThreads(__tstate
);
29263 if (PyErr_Occurred()) SWIG_fail
;
29265 resultobj
= SWIG_Py_Void();
29272 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29273 PyObject
*resultobj
= 0;
29274 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
29275 wxBrush
*arg2
= (wxBrush
*) 0 ;
29280 PyObject
* obj0
= 0 ;
29281 PyObject
* obj1
= 0 ;
29282 char * kwnames
[] = {
29283 (char *) "self",(char *) "brush", NULL
29286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
29288 if (!SWIG_IsOK(res1
)) {
29289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
29291 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
29292 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
29293 if (!SWIG_IsOK(res2
)) {
29294 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
29296 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29299 (arg1
)->RemoveBrush(arg2
);
29300 wxPyEndAllowThreads(__tstate
);
29301 if (PyErr_Occurred()) SWIG_fail
;
29303 resultobj
= SWIG_Py_Void();
29310 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29312 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29313 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
29314 return SWIG_Py_Void();
29317 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29318 PyObject
*resultobj
= 0;
29319 wxFontList
*arg1
= (wxFontList
*) 0 ;
29324 bool arg6
= (bool) false ;
29325 wxString
const &arg7_defvalue
= wxPyEmptyString
;
29326 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29327 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
29328 wxFont
*result
= 0 ;
29341 bool temp7
= false ;
29344 PyObject
* obj0
= 0 ;
29345 PyObject
* obj1
= 0 ;
29346 PyObject
* obj2
= 0 ;
29347 PyObject
* obj3
= 0 ;
29348 PyObject
* obj4
= 0 ;
29349 PyObject
* obj5
= 0 ;
29350 PyObject
* obj6
= 0 ;
29351 PyObject
* obj7
= 0 ;
29352 char * kwnames
[] = {
29353 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
29356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
29358 if (!SWIG_IsOK(res1
)) {
29359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
29361 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
29362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29363 if (!SWIG_IsOK(ecode2
)) {
29364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
29366 arg2
= static_cast< int >(val2
);
29367 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29368 if (!SWIG_IsOK(ecode3
)) {
29369 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
29371 arg3
= static_cast< int >(val3
);
29372 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29373 if (!SWIG_IsOK(ecode4
)) {
29374 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
29376 arg4
= static_cast< int >(val4
);
29377 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29378 if (!SWIG_IsOK(ecode5
)) {
29379 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
29381 arg5
= static_cast< int >(val5
);
29383 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
29384 if (!SWIG_IsOK(ecode6
)) {
29385 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
29387 arg6
= static_cast< bool >(val6
);
29391 arg7
= wxString_in_helper(obj6
);
29392 if (arg7
== NULL
) SWIG_fail
;
29397 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
29398 if (!SWIG_IsOK(ecode8
)) {
29399 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
29401 arg8
= static_cast< wxFontEncoding
>(val8
);
29404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29405 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
29406 wxPyEndAllowThreads(__tstate
);
29407 if (PyErr_Occurred()) SWIG_fail
;
29409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
29424 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29425 PyObject
*resultobj
= 0;
29426 wxFontList
*arg1
= (wxFontList
*) 0 ;
29427 wxFont
*arg2
= (wxFont
*) 0 ;
29432 PyObject
* obj0
= 0 ;
29433 PyObject
* obj1
= 0 ;
29434 char * kwnames
[] = {
29435 (char *) "self",(char *) "font", NULL
29438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
29440 if (!SWIG_IsOK(res1
)) {
29441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
29443 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
29444 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29445 if (!SWIG_IsOK(res2
)) {
29446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
29448 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29451 (arg1
)->AddFont(arg2
);
29452 wxPyEndAllowThreads(__tstate
);
29453 if (PyErr_Occurred()) SWIG_fail
;
29455 resultobj
= SWIG_Py_Void();
29462 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29463 PyObject
*resultobj
= 0;
29464 wxFontList
*arg1
= (wxFontList
*) 0 ;
29465 wxFont
*arg2
= (wxFont
*) 0 ;
29470 PyObject
* obj0
= 0 ;
29471 PyObject
* obj1
= 0 ;
29472 char * kwnames
[] = {
29473 (char *) "self",(char *) "font", NULL
29476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
29478 if (!SWIG_IsOK(res1
)) {
29479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
29481 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
29482 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29483 if (!SWIG_IsOK(res2
)) {
29484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
29486 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29489 (arg1
)->RemoveFont(arg2
);
29490 wxPyEndAllowThreads(__tstate
);
29491 if (PyErr_Occurred()) SWIG_fail
;
29493 resultobj
= SWIG_Py_Void();
29500 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29502 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29503 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
29504 return SWIG_Py_Void();
29507 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29508 PyObject
*resultobj
= 0;
29509 wxColourDatabase
*result
= 0 ;
29511 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
29513 if (!wxPyCheckForApp()) SWIG_fail
;
29514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29515 result
= (wxColourDatabase
*)new wxColourDatabase();
29516 wxPyEndAllowThreads(__tstate
);
29517 if (PyErr_Occurred()) SWIG_fail
;
29519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
29526 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29527 PyObject
*resultobj
= 0;
29528 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29531 PyObject
*swig_obj
[1] ;
29533 if (!args
) SWIG_fail
;
29534 swig_obj
[0] = args
;
29535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
29536 if (!SWIG_IsOK(res1
)) {
29537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
29539 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29544 wxPyEndAllowThreads(__tstate
);
29545 if (PyErr_Occurred()) SWIG_fail
;
29547 resultobj
= SWIG_Py_Void();
29554 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29555 PyObject
*resultobj
= 0;
29556 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29557 wxString
*arg2
= 0 ;
29561 bool temp2
= false ;
29562 PyObject
* obj0
= 0 ;
29563 PyObject
* obj1
= 0 ;
29564 char * kwnames
[] = {
29565 (char *) "self",(char *) "name", NULL
29568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29570 if (!SWIG_IsOK(res1
)) {
29571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
29573 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29575 arg2
= wxString_in_helper(obj1
);
29576 if (arg2
== NULL
) SWIG_fail
;
29580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29581 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
29582 wxPyEndAllowThreads(__tstate
);
29583 if (PyErr_Occurred()) SWIG_fail
;
29585 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29600 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29601 PyObject
*resultobj
= 0;
29602 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29603 wxColour
*arg2
= 0 ;
29608 PyObject
* obj0
= 0 ;
29609 PyObject
* obj1
= 0 ;
29610 char * kwnames
[] = {
29611 (char *) "self",(char *) "colour", NULL
29614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29616 if (!SWIG_IsOK(res1
)) {
29617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
29619 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29622 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29626 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
29627 wxPyEndAllowThreads(__tstate
);
29628 if (PyErr_Occurred()) SWIG_fail
;
29632 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29634 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29643 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29644 PyObject
*resultobj
= 0;
29645 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29646 wxString
*arg2
= 0 ;
29647 wxColour
*arg3
= 0 ;
29650 bool temp2
= false ;
29652 PyObject
* obj0
= 0 ;
29653 PyObject
* obj1
= 0 ;
29654 PyObject
* obj2
= 0 ;
29655 char * kwnames
[] = {
29656 (char *) "self",(char *) "name",(char *) "colour", NULL
29659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29661 if (!SWIG_IsOK(res1
)) {
29662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
29664 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29666 arg2
= wxString_in_helper(obj1
);
29667 if (arg2
== NULL
) SWIG_fail
;
29672 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29676 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
29677 wxPyEndAllowThreads(__tstate
);
29678 if (PyErr_Occurred()) SWIG_fail
;
29680 resultobj
= SWIG_Py_Void();
29695 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29696 PyObject
*resultobj
= 0;
29697 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29698 wxString
*arg2
= 0 ;
29704 bool temp2
= false ;
29711 PyObject
* obj0
= 0 ;
29712 PyObject
* obj1
= 0 ;
29713 PyObject
* obj2
= 0 ;
29714 PyObject
* obj3
= 0 ;
29715 PyObject
* obj4
= 0 ;
29716 char * kwnames
[] = {
29717 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
29720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29722 if (!SWIG_IsOK(res1
)) {
29723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
29725 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29727 arg2
= wxString_in_helper(obj1
);
29728 if (arg2
== NULL
) SWIG_fail
;
29731 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29732 if (!SWIG_IsOK(ecode3
)) {
29733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
29735 arg3
= static_cast< int >(val3
);
29736 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29737 if (!SWIG_IsOK(ecode4
)) {
29738 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
29740 arg4
= static_cast< int >(val4
);
29741 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29742 if (!SWIG_IsOK(ecode5
)) {
29743 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
29745 arg5
= static_cast< int >(val5
);
29747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29748 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29749 wxPyEndAllowThreads(__tstate
);
29750 if (PyErr_Occurred()) SWIG_fail
;
29752 resultobj
= SWIG_Py_Void();
29767 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29769 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29770 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
29771 return SWIG_Py_Void();
29774 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29775 return SWIG_Python_InitShadowInstance(args
);
29778 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29779 PyObject
*resultobj
= 0;
29780 wxFontList
*result
= 0 ;
29782 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
29784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29785 result
= (wxFontList
*)_wxPyInitTheFontList();
29786 wxPyEndAllowThreads(__tstate
);
29787 if (PyErr_Occurred()) SWIG_fail
;
29789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
29796 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29797 PyObject
*resultobj
= 0;
29798 wxPenList
*result
= 0 ;
29800 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
29802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29803 result
= (wxPenList
*)_wxPyInitThePenList();
29804 wxPyEndAllowThreads(__tstate
);
29805 if (PyErr_Occurred()) SWIG_fail
;
29807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
29814 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29815 PyObject
*resultobj
= 0;
29816 wxBrushList
*result
= 0 ;
29818 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
29820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29821 result
= (wxBrushList
*)_wxPyInitTheBrushList();
29822 wxPyEndAllowThreads(__tstate
);
29823 if (PyErr_Occurred()) SWIG_fail
;
29825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
29832 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29833 PyObject
*resultobj
= 0;
29834 wxColourDatabase
*result
= 0 ;
29836 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
29838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29839 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
29840 wxPyEndAllowThreads(__tstate
);
29841 if (PyErr_Occurred()) SWIG_fail
;
29843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29850 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29851 PyObject
*resultobj
= 0;
29852 wxEffects
*result
= 0 ;
29854 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
29856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29857 result
= (wxEffects
*)new wxEffects();
29858 wxPyEndAllowThreads(__tstate
);
29859 if (PyErr_Occurred()) SWIG_fail
;
29861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
29868 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29869 PyObject
*resultobj
= 0;
29870 wxEffects
*arg1
= (wxEffects
*) 0 ;
29874 PyObject
*swig_obj
[1] ;
29876 if (!args
) SWIG_fail
;
29877 swig_obj
[0] = args
;
29878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29879 if (!SWIG_IsOK(res1
)) {
29880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
29882 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29885 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
29886 wxPyEndAllowThreads(__tstate
);
29887 if (PyErr_Occurred()) SWIG_fail
;
29889 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29896 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29897 PyObject
*resultobj
= 0;
29898 wxEffects
*arg1
= (wxEffects
*) 0 ;
29902 PyObject
*swig_obj
[1] ;
29904 if (!args
) SWIG_fail
;
29905 swig_obj
[0] = args
;
29906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29907 if (!SWIG_IsOK(res1
)) {
29908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29910 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29913 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
29914 wxPyEndAllowThreads(__tstate
);
29915 if (PyErr_Occurred()) SWIG_fail
;
29917 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29924 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29925 PyObject
*resultobj
= 0;
29926 wxEffects
*arg1
= (wxEffects
*) 0 ;
29930 PyObject
*swig_obj
[1] ;
29932 if (!args
) SWIG_fail
;
29933 swig_obj
[0] = args
;
29934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29935 if (!SWIG_IsOK(res1
)) {
29936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
29938 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29941 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
29942 wxPyEndAllowThreads(__tstate
);
29943 if (PyErr_Occurred()) SWIG_fail
;
29945 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29952 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29953 PyObject
*resultobj
= 0;
29954 wxEffects
*arg1
= (wxEffects
*) 0 ;
29958 PyObject
*swig_obj
[1] ;
29960 if (!args
) SWIG_fail
;
29961 swig_obj
[0] = args
;
29962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29963 if (!SWIG_IsOK(res1
)) {
29964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29966 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29969 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
29970 wxPyEndAllowThreads(__tstate
);
29971 if (PyErr_Occurred()) SWIG_fail
;
29973 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29980 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29981 PyObject
*resultobj
= 0;
29982 wxEffects
*arg1
= (wxEffects
*) 0 ;
29986 PyObject
*swig_obj
[1] ;
29988 if (!args
) SWIG_fail
;
29989 swig_obj
[0] = args
;
29990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29991 if (!SWIG_IsOK(res1
)) {
29992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29994 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29997 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
29998 wxPyEndAllowThreads(__tstate
);
29999 if (PyErr_Occurred()) SWIG_fail
;
30001 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30008 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30009 PyObject
*resultobj
= 0;
30010 wxEffects
*arg1
= (wxEffects
*) 0 ;
30011 wxColour
*arg2
= 0 ;
30015 PyObject
* obj0
= 0 ;
30016 PyObject
* obj1
= 0 ;
30017 char * kwnames
[] = {
30018 (char *) "self",(char *) "c", NULL
30021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30023 if (!SWIG_IsOK(res1
)) {
30024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
30026 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30029 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30033 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
30034 wxPyEndAllowThreads(__tstate
);
30035 if (PyErr_Occurred()) SWIG_fail
;
30037 resultobj
= SWIG_Py_Void();
30044 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30045 PyObject
*resultobj
= 0;
30046 wxEffects
*arg1
= (wxEffects
*) 0 ;
30047 wxColour
*arg2
= 0 ;
30051 PyObject
* obj0
= 0 ;
30052 PyObject
* obj1
= 0 ;
30053 char * kwnames
[] = {
30054 (char *) "self",(char *) "c", NULL
30057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30059 if (!SWIG_IsOK(res1
)) {
30060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
30062 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30065 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30069 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
30070 wxPyEndAllowThreads(__tstate
);
30071 if (PyErr_Occurred()) SWIG_fail
;
30073 resultobj
= SWIG_Py_Void();
30080 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30081 PyObject
*resultobj
= 0;
30082 wxEffects
*arg1
= (wxEffects
*) 0 ;
30083 wxColour
*arg2
= 0 ;
30087 PyObject
* obj0
= 0 ;
30088 PyObject
* obj1
= 0 ;
30089 char * kwnames
[] = {
30090 (char *) "self",(char *) "c", NULL
30093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30095 if (!SWIG_IsOK(res1
)) {
30096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
30098 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30101 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30105 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
30106 wxPyEndAllowThreads(__tstate
);
30107 if (PyErr_Occurred()) SWIG_fail
;
30109 resultobj
= SWIG_Py_Void();
30116 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30117 PyObject
*resultobj
= 0;
30118 wxEffects
*arg1
= (wxEffects
*) 0 ;
30119 wxColour
*arg2
= 0 ;
30123 PyObject
* obj0
= 0 ;
30124 PyObject
* obj1
= 0 ;
30125 char * kwnames
[] = {
30126 (char *) "self",(char *) "c", NULL
30129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30131 if (!SWIG_IsOK(res1
)) {
30132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
30134 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30137 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30141 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
30142 wxPyEndAllowThreads(__tstate
);
30143 if (PyErr_Occurred()) SWIG_fail
;
30145 resultobj
= SWIG_Py_Void();
30152 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30153 PyObject
*resultobj
= 0;
30154 wxEffects
*arg1
= (wxEffects
*) 0 ;
30155 wxColour
*arg2
= 0 ;
30159 PyObject
* obj0
= 0 ;
30160 PyObject
* obj1
= 0 ;
30161 char * kwnames
[] = {
30162 (char *) "self",(char *) "c", NULL
30165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30167 if (!SWIG_IsOK(res1
)) {
30168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
30170 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30173 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30177 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
30178 wxPyEndAllowThreads(__tstate
);
30179 if (PyErr_Occurred()) SWIG_fail
;
30181 resultobj
= SWIG_Py_Void();
30188 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30189 PyObject
*resultobj
= 0;
30190 wxEffects
*arg1
= (wxEffects
*) 0 ;
30191 wxColour
*arg2
= 0 ;
30192 wxColour
*arg3
= 0 ;
30193 wxColour
*arg4
= 0 ;
30194 wxColour
*arg5
= 0 ;
30195 wxColour
*arg6
= 0 ;
30203 PyObject
* obj0
= 0 ;
30204 PyObject
* obj1
= 0 ;
30205 PyObject
* obj2
= 0 ;
30206 PyObject
* obj3
= 0 ;
30207 PyObject
* obj4
= 0 ;
30208 PyObject
* obj5
= 0 ;
30209 char * kwnames
[] = {
30210 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
30213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30215 if (!SWIG_IsOK(res1
)) {
30216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
30218 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30221 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30225 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30229 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
30233 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
30237 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30241 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
30242 wxPyEndAllowThreads(__tstate
);
30243 if (PyErr_Occurred()) SWIG_fail
;
30245 resultobj
= SWIG_Py_Void();
30252 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30253 PyObject
*resultobj
= 0;
30254 wxEffects
*arg1
= (wxEffects
*) 0 ;
30257 int arg4
= (int) 1 ;
30265 PyObject
* obj0
= 0 ;
30266 PyObject
* obj1
= 0 ;
30267 PyObject
* obj2
= 0 ;
30268 PyObject
* obj3
= 0 ;
30269 char * kwnames
[] = {
30270 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
30273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30275 if (!SWIG_IsOK(res1
)) {
30276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
30278 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30279 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
30280 if (!SWIG_IsOK(res2
)) {
30281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
30284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
30286 arg2
= reinterpret_cast< wxDC
* >(argp2
);
30289 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
30292 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30293 if (!SWIG_IsOK(ecode4
)) {
30294 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
30296 arg4
= static_cast< int >(val4
);
30299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30300 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
30301 wxPyEndAllowThreads(__tstate
);
30302 if (PyErr_Occurred()) SWIG_fail
;
30304 resultobj
= SWIG_Py_Void();
30311 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30312 PyObject
*resultobj
= 0;
30313 wxEffects
*arg1
= (wxEffects
*) 0 ;
30316 wxBitmap
*arg4
= 0 ;
30325 PyObject
* obj0
= 0 ;
30326 PyObject
* obj1
= 0 ;
30327 PyObject
* obj2
= 0 ;
30328 PyObject
* obj3
= 0 ;
30329 char * kwnames
[] = {
30330 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
30333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
30335 if (!SWIG_IsOK(res1
)) {
30336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
30338 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
30341 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30343 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30344 if (!SWIG_IsOK(res3
)) {
30345 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
30348 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
30350 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30351 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
30352 if (!SWIG_IsOK(res4
)) {
30353 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
30356 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
30358 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
30360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30361 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
30362 wxPyEndAllowThreads(__tstate
);
30363 if (PyErr_Occurred()) SWIG_fail
;
30366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30374 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30376 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30377 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
30378 return SWIG_Py_Void();
30381 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30382 return SWIG_Python_InitShadowInstance(args
);
30385 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30386 PyObject
*resultobj
= 0;
30390 wxSplitterRenderParams
*result
= 0 ;
30397 PyObject
* obj0
= 0 ;
30398 PyObject
* obj1
= 0 ;
30399 PyObject
* obj2
= 0 ;
30400 char * kwnames
[] = {
30401 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
30404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30405 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30406 if (!SWIG_IsOK(ecode1
)) {
30407 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
30409 arg1
= static_cast< int >(val1
);
30410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30411 if (!SWIG_IsOK(ecode2
)) {
30412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
30414 arg2
= static_cast< int >(val2
);
30415 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30416 if (!SWIG_IsOK(ecode3
)) {
30417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
30419 arg3
= static_cast< bool >(val3
);
30421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30422 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
30423 wxPyEndAllowThreads(__tstate
);
30424 if (PyErr_Occurred()) SWIG_fail
;
30426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
30433 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30434 PyObject
*resultobj
= 0;
30435 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30438 PyObject
*swig_obj
[1] ;
30440 if (!args
) SWIG_fail
;
30441 swig_obj
[0] = args
;
30442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
30443 if (!SWIG_IsOK(res1
)) {
30444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30446 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30451 wxPyEndAllowThreads(__tstate
);
30452 if (PyErr_Occurred()) SWIG_fail
;
30454 resultobj
= SWIG_Py_Void();
30461 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30462 PyObject
*resultobj
= 0;
30463 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30467 PyObject
*swig_obj
[1] ;
30469 if (!args
) SWIG_fail
;
30470 swig_obj
[0] = args
;
30471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
30472 if (!SWIG_IsOK(res1
)) {
30473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30475 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30476 result
= (int)(int) ((arg1
)->widthSash
);
30477 resultobj
= SWIG_From_int(static_cast< int >(result
));
30484 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30485 PyObject
*resultobj
= 0;
30486 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30490 PyObject
*swig_obj
[1] ;
30492 if (!args
) SWIG_fail
;
30493 swig_obj
[0] = args
;
30494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
30495 if (!SWIG_IsOK(res1
)) {
30496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30498 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30499 result
= (int)(int) ((arg1
)->border
);
30500 resultobj
= SWIG_From_int(static_cast< int >(result
));
30507 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30508 PyObject
*resultobj
= 0;
30509 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
30513 PyObject
*swig_obj
[1] ;
30515 if (!args
) SWIG_fail
;
30516 swig_obj
[0] = args
;
30517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
30518 if (!SWIG_IsOK(res1
)) {
30519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
30521 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
30522 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
30523 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
30530 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30532 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30533 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
30534 return SWIG_Py_Void();
30537 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30538 return SWIG_Python_InitShadowInstance(args
);
30541 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30542 PyObject
*resultobj
= 0;
30543 wxHeaderButtonParams
*result
= 0 ;
30545 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
30547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30548 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
30549 wxPyEndAllowThreads(__tstate
);
30550 if (PyErr_Occurred()) SWIG_fail
;
30552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
30559 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30560 PyObject
*resultobj
= 0;
30561 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30564 PyObject
*swig_obj
[1] ;
30566 if (!args
) SWIG_fail
;
30567 swig_obj
[0] = args
;
30568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
30569 if (!SWIG_IsOK(res1
)) {
30570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30572 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30577 wxPyEndAllowThreads(__tstate
);
30578 if (PyErr_Occurred()) SWIG_fail
;
30580 resultobj
= SWIG_Py_Void();
30587 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30588 PyObject
*resultobj
= 0;
30589 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30590 wxColour
*arg2
= (wxColour
*) 0 ;
30594 PyObject
*swig_obj
[2] ;
30596 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
30597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30598 if (!SWIG_IsOK(res1
)) {
30599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30601 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30604 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
30606 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
30608 resultobj
= SWIG_Py_Void();
30615 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30616 PyObject
*resultobj
= 0;
30617 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30618 wxColour
*result
= 0 ;
30621 PyObject
*swig_obj
[1] ;
30623 if (!args
) SWIG_fail
;
30624 swig_obj
[0] = args
;
30625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30626 if (!SWIG_IsOK(res1
)) {
30627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30629 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30630 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
30631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30638 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30639 PyObject
*resultobj
= 0;
30640 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30641 wxColour
*arg2
= (wxColour
*) 0 ;
30645 PyObject
*swig_obj
[2] ;
30647 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
30648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30649 if (!SWIG_IsOK(res1
)) {
30650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30652 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30655 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
30657 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
30659 resultobj
= SWIG_Py_Void();
30666 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30667 PyObject
*resultobj
= 0;
30668 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30669 wxColour
*result
= 0 ;
30672 PyObject
*swig_obj
[1] ;
30674 if (!args
) SWIG_fail
;
30675 swig_obj
[0] = args
;
30676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30677 if (!SWIG_IsOK(res1
)) {
30678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30680 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30681 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
30682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30689 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30690 PyObject
*resultobj
= 0;
30691 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30692 wxString
*arg2
= (wxString
*) 0 ;
30695 bool temp2
= false ;
30696 PyObject
*swig_obj
[2] ;
30698 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
30699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30700 if (!SWIG_IsOK(res1
)) {
30701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30703 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30705 arg2
= wxString_in_helper(swig_obj
[1]);
30706 if (arg2
== NULL
) SWIG_fail
;
30709 if (arg1
) (arg1
)->m_labelText
= *arg2
;
30711 resultobj
= SWIG_Py_Void();
30726 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30727 PyObject
*resultobj
= 0;
30728 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30729 wxString
*result
= 0 ;
30732 PyObject
*swig_obj
[1] ;
30734 if (!args
) SWIG_fail
;
30735 swig_obj
[0] = args
;
30736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30737 if (!SWIG_IsOK(res1
)) {
30738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30740 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30741 result
= (wxString
*)& ((arg1
)->m_labelText
);
30744 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30746 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30755 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30756 PyObject
*resultobj
= 0;
30757 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30758 wxFont
*arg2
= (wxFont
*) 0 ;
30763 PyObject
*swig_obj
[2] ;
30765 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
30766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30767 if (!SWIG_IsOK(res1
)) {
30768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30770 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30771 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
30772 if (!SWIG_IsOK(res2
)) {
30773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
30775 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30776 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
30778 resultobj
= SWIG_Py_Void();
30785 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30786 PyObject
*resultobj
= 0;
30787 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30788 wxFont
*result
= 0 ;
30791 PyObject
*swig_obj
[1] ;
30793 if (!args
) SWIG_fail
;
30794 swig_obj
[0] = args
;
30795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30796 if (!SWIG_IsOK(res1
)) {
30797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30799 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30800 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
30801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
30808 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30809 PyObject
*resultobj
= 0;
30810 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30811 wxColour
*arg2
= (wxColour
*) 0 ;
30815 PyObject
*swig_obj
[2] ;
30817 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
30818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30819 if (!SWIG_IsOK(res1
)) {
30820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30822 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30825 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
30827 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
30829 resultobj
= SWIG_Py_Void();
30836 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30837 PyObject
*resultobj
= 0;
30838 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30839 wxColour
*result
= 0 ;
30842 PyObject
*swig_obj
[1] ;
30844 if (!args
) SWIG_fail
;
30845 swig_obj
[0] = args
;
30846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30847 if (!SWIG_IsOK(res1
)) {
30848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30850 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30851 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
30852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30859 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30860 PyObject
*resultobj
= 0;
30861 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30862 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30867 PyObject
*swig_obj
[2] ;
30869 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
30870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30871 if (!SWIG_IsOK(res1
)) {
30872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30874 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30875 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
30876 if (!SWIG_IsOK(res2
)) {
30877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
30879 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30880 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
30882 resultobj
= SWIG_Py_Void();
30889 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30890 PyObject
*resultobj
= 0;
30891 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30892 wxBitmap
*result
= 0 ;
30895 PyObject
*swig_obj
[1] ;
30897 if (!args
) SWIG_fail
;
30898 swig_obj
[0] = args
;
30899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30900 if (!SWIG_IsOK(res1
)) {
30901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30903 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30904 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
30905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
30912 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30913 PyObject
*resultobj
= 0;
30914 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30920 PyObject
*swig_obj
[2] ;
30922 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
30923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30924 if (!SWIG_IsOK(res1
)) {
30925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30927 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30928 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30929 if (!SWIG_IsOK(ecode2
)) {
30930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
30932 arg2
= static_cast< int >(val2
);
30933 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
30935 resultobj
= SWIG_Py_Void();
30942 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30943 PyObject
*resultobj
= 0;
30944 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30948 PyObject
*swig_obj
[1] ;
30950 if (!args
) SWIG_fail
;
30951 swig_obj
[0] = args
;
30952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30953 if (!SWIG_IsOK(res1
)) {
30954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30956 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30957 result
= (int) ((arg1
)->m_labelAlignment
);
30958 resultobj
= SWIG_From_int(static_cast< int >(result
));
30965 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30967 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30968 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
30969 return SWIG_Py_Void();
30972 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30973 return SWIG_Python_InitShadowInstance(args
);
30976 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30977 PyObject
*resultobj
= 0;
30980 wxRendererVersion
*result
= 0 ;
30985 PyObject
* obj0
= 0 ;
30986 PyObject
* obj1
= 0 ;
30987 char * kwnames
[] = {
30988 (char *) "version_",(char *) "age_", NULL
30991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30992 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30993 if (!SWIG_IsOK(ecode1
)) {
30994 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
30996 arg1
= static_cast< int >(val1
);
30997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30998 if (!SWIG_IsOK(ecode2
)) {
30999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
31001 arg2
= static_cast< int >(val2
);
31003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31004 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
31005 wxPyEndAllowThreads(__tstate
);
31006 if (PyErr_Occurred()) SWIG_fail
;
31008 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
31015 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31016 PyObject
*resultobj
= 0;
31017 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
31020 PyObject
*swig_obj
[1] ;
31022 if (!args
) SWIG_fail
;
31023 swig_obj
[0] = args
;
31024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
31025 if (!SWIG_IsOK(res1
)) {
31026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
31028 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
31030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31033 wxPyEndAllowThreads(__tstate
);
31034 if (PyErr_Occurred()) SWIG_fail
;
31036 resultobj
= SWIG_Py_Void();
31043 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31044 PyObject
*resultobj
= 0;
31045 wxRendererVersion
*arg1
= 0 ;
31049 PyObject
* obj0
= 0 ;
31050 char * kwnames
[] = {
31051 (char *) "ver", NULL
31054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
31055 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
31056 if (!SWIG_IsOK(res1
)) {
31057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
31060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
31062 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
31064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31065 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
31066 wxPyEndAllowThreads(__tstate
);
31067 if (PyErr_Occurred()) SWIG_fail
;
31070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31078 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31079 PyObject
*resultobj
= 0;
31080 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
31084 PyObject
*swig_obj
[1] ;
31086 if (!args
) SWIG_fail
;
31087 swig_obj
[0] = args
;
31088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
31089 if (!SWIG_IsOK(res1
)) {
31090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
31092 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
31093 result
= (int)(int) ((arg1
)->version
);
31094 resultobj
= SWIG_From_int(static_cast< int >(result
));
31101 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31102 PyObject
*resultobj
= 0;
31103 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
31107 PyObject
*swig_obj
[1] ;
31109 if (!args
) SWIG_fail
;
31110 swig_obj
[0] = args
;
31111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
31112 if (!SWIG_IsOK(res1
)) {
31113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
31115 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
31116 result
= (int)(int) ((arg1
)->age
);
31117 resultobj
= SWIG_From_int(static_cast< int >(result
));
31124 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31126 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31127 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
31128 return SWIG_Py_Void();
31131 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31132 return SWIG_Python_InitShadowInstance(args
);
31135 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31136 PyObject
*resultobj
= 0;
31137 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31138 wxWindow
*arg2
= (wxWindow
*) 0 ;
31141 int arg5
= (int) 0 ;
31142 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
31143 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
31157 PyObject
* obj0
= 0 ;
31158 PyObject
* obj1
= 0 ;
31159 PyObject
* obj2
= 0 ;
31160 PyObject
* obj3
= 0 ;
31161 PyObject
* obj4
= 0 ;
31162 PyObject
* obj5
= 0 ;
31163 PyObject
* obj6
= 0 ;
31164 char * kwnames
[] = {
31165 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
31168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31170 if (!SWIG_IsOK(res1
)) {
31171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31173 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31174 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31175 if (!SWIG_IsOK(res2
)) {
31176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31178 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31179 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31180 if (!SWIG_IsOK(res3
)) {
31181 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
31184 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
31186 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31189 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31192 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31193 if (!SWIG_IsOK(ecode5
)) {
31194 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
31196 arg5
= static_cast< int >(val5
);
31199 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31200 if (!SWIG_IsOK(ecode6
)) {
31201 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
31203 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
31206 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
31207 if (!SWIG_IsOK(res7
)) {
31208 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
31210 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
31213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31214 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
31215 wxPyEndAllowThreads(__tstate
);
31216 if (PyErr_Occurred()) SWIG_fail
;
31218 resultobj
= SWIG_Py_Void();
31225 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31226 PyObject
*resultobj
= 0;
31227 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31228 wxWindow
*arg2
= (wxWindow
*) 0 ;
31231 int arg5
= (int) 0 ;
31232 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
31233 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
31247 PyObject
* obj0
= 0 ;
31248 PyObject
* obj1
= 0 ;
31249 PyObject
* obj2
= 0 ;
31250 PyObject
* obj3
= 0 ;
31251 PyObject
* obj4
= 0 ;
31252 PyObject
* obj5
= 0 ;
31253 PyObject
* obj6
= 0 ;
31254 char * kwnames
[] = {
31255 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
31258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31260 if (!SWIG_IsOK(res1
)) {
31261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31263 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31264 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31265 if (!SWIG_IsOK(res2
)) {
31266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
31268 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31269 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31270 if (!SWIG_IsOK(res3
)) {
31271 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
31274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
31276 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31279 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31282 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31283 if (!SWIG_IsOK(ecode5
)) {
31284 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
31286 arg5
= static_cast< int >(val5
);
31289 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31290 if (!SWIG_IsOK(ecode6
)) {
31291 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
31293 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
31296 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
31297 if (!SWIG_IsOK(res7
)) {
31298 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
31300 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
31303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31304 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
31305 wxPyEndAllowThreads(__tstate
);
31306 if (PyErr_Occurred()) SWIG_fail
;
31308 resultobj
= SWIG_Py_Void();
31315 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31316 PyObject
*resultobj
= 0;
31317 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31318 wxWindow
*arg2
= (wxWindow
*) 0 ;
31324 PyObject
* obj0
= 0 ;
31325 PyObject
* obj1
= 0 ;
31326 char * kwnames
[] = {
31327 (char *) "self",(char *) "win", NULL
31330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31332 if (!SWIG_IsOK(res1
)) {
31333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31335 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31336 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31337 if (!SWIG_IsOK(res2
)) {
31338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
31340 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31343 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
31344 wxPyEndAllowThreads(__tstate
);
31345 if (PyErr_Occurred()) SWIG_fail
;
31347 resultobj
= SWIG_From_int(static_cast< int >(result
));
31354 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31355 PyObject
*resultobj
= 0;
31356 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31357 wxWindow
*arg2
= (wxWindow
*) 0 ;
31360 int arg5
= (int) 0 ;
31370 PyObject
* obj0
= 0 ;
31371 PyObject
* obj1
= 0 ;
31372 PyObject
* obj2
= 0 ;
31373 PyObject
* obj3
= 0 ;
31374 PyObject
* obj4
= 0 ;
31375 char * kwnames
[] = {
31376 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31381 if (!SWIG_IsOK(res1
)) {
31382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31384 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31385 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31386 if (!SWIG_IsOK(res2
)) {
31387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31389 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31390 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31391 if (!SWIG_IsOK(res3
)) {
31392 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
31395 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
31397 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31400 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31403 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31404 if (!SWIG_IsOK(ecode5
)) {
31405 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
31407 arg5
= static_cast< int >(val5
);
31410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31411 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31412 wxPyEndAllowThreads(__tstate
);
31413 if (PyErr_Occurred()) SWIG_fail
;
31415 resultobj
= SWIG_Py_Void();
31422 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31423 PyObject
*resultobj
= 0;
31424 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31425 wxWindow
*arg2
= (wxWindow
*) 0 ;
31428 int arg5
= (int) 0 ;
31438 PyObject
* obj0
= 0 ;
31439 PyObject
* obj1
= 0 ;
31440 PyObject
* obj2
= 0 ;
31441 PyObject
* obj3
= 0 ;
31442 PyObject
* obj4
= 0 ;
31443 char * kwnames
[] = {
31444 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31449 if (!SWIG_IsOK(res1
)) {
31450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31452 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31453 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31454 if (!SWIG_IsOK(res2
)) {
31455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
31457 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31458 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31459 if (!SWIG_IsOK(res3
)) {
31460 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
31463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
31465 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31468 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31471 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31472 if (!SWIG_IsOK(ecode5
)) {
31473 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
31475 arg5
= static_cast< int >(val5
);
31478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31479 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31480 wxPyEndAllowThreads(__tstate
);
31481 if (PyErr_Occurred()) SWIG_fail
;
31483 resultobj
= SWIG_Py_Void();
31490 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31491 PyObject
*resultobj
= 0;
31492 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31493 wxWindow
*arg2
= (wxWindow
*) 0 ;
31497 wxOrientation arg6
;
31498 int arg7
= (int) 0 ;
31512 PyObject
* obj0
= 0 ;
31513 PyObject
* obj1
= 0 ;
31514 PyObject
* obj2
= 0 ;
31515 PyObject
* obj3
= 0 ;
31516 PyObject
* obj4
= 0 ;
31517 PyObject
* obj5
= 0 ;
31518 PyObject
* obj6
= 0 ;
31519 char * kwnames
[] = {
31520 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
31523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31525 if (!SWIG_IsOK(res1
)) {
31526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31528 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31529 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31530 if (!SWIG_IsOK(res2
)) {
31531 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
31533 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31534 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31535 if (!SWIG_IsOK(res3
)) {
31536 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
31539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
31541 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31544 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31546 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31547 if (!SWIG_IsOK(ecode5
)) {
31548 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
31550 arg5
= static_cast< int >(val5
);
31551 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31552 if (!SWIG_IsOK(ecode6
)) {
31553 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
31555 arg6
= static_cast< wxOrientation
>(val6
);
31557 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
31558 if (!SWIG_IsOK(ecode7
)) {
31559 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
31561 arg7
= static_cast< int >(val7
);
31564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31565 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
31566 wxPyEndAllowThreads(__tstate
);
31567 if (PyErr_Occurred()) SWIG_fail
;
31569 resultobj
= SWIG_Py_Void();
31576 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31577 PyObject
*resultobj
= 0;
31578 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31579 wxWindow
*arg2
= (wxWindow
*) 0 ;
31582 int arg5
= (int) 0 ;
31592 PyObject
* obj0
= 0 ;
31593 PyObject
* obj1
= 0 ;
31594 PyObject
* obj2
= 0 ;
31595 PyObject
* obj3
= 0 ;
31596 PyObject
* obj4
= 0 ;
31597 char * kwnames
[] = {
31598 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31603 if (!SWIG_IsOK(res1
)) {
31604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31606 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31607 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31608 if (!SWIG_IsOK(res2
)) {
31609 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31611 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31612 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31613 if (!SWIG_IsOK(res3
)) {
31614 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
31617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
31619 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31622 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31625 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31626 if (!SWIG_IsOK(ecode5
)) {
31627 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
31629 arg5
= static_cast< int >(val5
);
31632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31633 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31634 wxPyEndAllowThreads(__tstate
);
31635 if (PyErr_Occurred()) SWIG_fail
;
31637 resultobj
= SWIG_Py_Void();
31644 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31645 PyObject
*resultobj
= 0;
31646 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31647 wxWindow
*arg2
= (wxWindow
*) 0 ;
31650 int arg5
= (int) 0 ;
31660 PyObject
* obj0
= 0 ;
31661 PyObject
* obj1
= 0 ;
31662 PyObject
* obj2
= 0 ;
31663 PyObject
* obj3
= 0 ;
31664 PyObject
* obj4
= 0 ;
31665 char * kwnames
[] = {
31666 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31671 if (!SWIG_IsOK(res1
)) {
31672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31674 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31675 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31676 if (!SWIG_IsOK(res2
)) {
31677 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
31679 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31680 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31681 if (!SWIG_IsOK(res3
)) {
31682 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
31685 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
31687 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31690 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31693 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31694 if (!SWIG_IsOK(ecode5
)) {
31695 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
31697 arg5
= static_cast< int >(val5
);
31700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31701 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31702 wxPyEndAllowThreads(__tstate
);
31703 if (PyErr_Occurred()) SWIG_fail
;
31705 resultobj
= SWIG_Py_Void();
31712 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31713 PyObject
*resultobj
= 0;
31714 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31715 wxWindow
*arg2
= (wxWindow
*) 0 ;
31718 int arg5
= (int) 0 ;
31728 PyObject
* obj0
= 0 ;
31729 PyObject
* obj1
= 0 ;
31730 PyObject
* obj2
= 0 ;
31731 PyObject
* obj3
= 0 ;
31732 PyObject
* obj4
= 0 ;
31733 char * kwnames
[] = {
31734 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31739 if (!SWIG_IsOK(res1
)) {
31740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31742 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31743 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31744 if (!SWIG_IsOK(res2
)) {
31745 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
31747 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31748 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31749 if (!SWIG_IsOK(res3
)) {
31750 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
31753 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
31755 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31758 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31761 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31762 if (!SWIG_IsOK(ecode5
)) {
31763 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
31765 arg5
= static_cast< int >(val5
);
31768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31769 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31770 wxPyEndAllowThreads(__tstate
);
31771 if (PyErr_Occurred()) SWIG_fail
;
31773 resultobj
= SWIG_Py_Void();
31780 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31781 PyObject
*resultobj
= 0;
31782 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31783 wxWindow
*arg2
= (wxWindow
*) 0 ;
31786 int arg5
= (int) 0 ;
31796 PyObject
* obj0
= 0 ;
31797 PyObject
* obj1
= 0 ;
31798 PyObject
* obj2
= 0 ;
31799 PyObject
* obj3
= 0 ;
31800 PyObject
* obj4
= 0 ;
31801 char * kwnames
[] = {
31802 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31807 if (!SWIG_IsOK(res1
)) {
31808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31810 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31811 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31812 if (!SWIG_IsOK(res2
)) {
31813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31815 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31816 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31817 if (!SWIG_IsOK(res3
)) {
31818 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
31821 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
31823 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31826 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31829 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31830 if (!SWIG_IsOK(ecode5
)) {
31831 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
31833 arg5
= static_cast< int >(val5
);
31836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31837 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31838 wxPyEndAllowThreads(__tstate
);
31839 if (PyErr_Occurred()) SWIG_fail
;
31841 resultobj
= SWIG_Py_Void();
31848 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31849 PyObject
*resultobj
= 0;
31850 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31851 wxWindow
*arg2
= (wxWindow
*) 0 ;
31854 int arg5
= (int) 0 ;
31864 PyObject
* obj0
= 0 ;
31865 PyObject
* obj1
= 0 ;
31866 PyObject
* obj2
= 0 ;
31867 PyObject
* obj3
= 0 ;
31868 PyObject
* obj4
= 0 ;
31869 char * kwnames
[] = {
31870 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31875 if (!SWIG_IsOK(res1
)) {
31876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31878 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31879 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31880 if (!SWIG_IsOK(res2
)) {
31881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
31883 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31884 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31885 if (!SWIG_IsOK(res3
)) {
31886 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
31889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
31891 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31894 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31897 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31898 if (!SWIG_IsOK(ecode5
)) {
31899 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
31901 arg5
= static_cast< int >(val5
);
31904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31905 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31906 wxPyEndAllowThreads(__tstate
);
31907 if (PyErr_Occurred()) SWIG_fail
;
31909 resultobj
= SWIG_Py_Void();
31916 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31917 PyObject
*resultobj
= 0;
31918 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31919 wxWindow
*arg2
= (wxWindow
*) 0 ;
31920 SwigValueWrapper
<wxSplitterRenderParams
> result
;
31925 PyObject
* obj0
= 0 ;
31926 PyObject
* obj1
= 0 ;
31927 char * kwnames
[] = {
31928 (char *) "self",(char *) "win", NULL
31931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31933 if (!SWIG_IsOK(res1
)) {
31934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31936 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31937 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31938 if (!SWIG_IsOK(res2
)) {
31939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
31941 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31944 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
31945 wxPyEndAllowThreads(__tstate
);
31946 if (PyErr_Occurred()) SWIG_fail
;
31948 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
31955 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31956 PyObject
*resultobj
= 0;
31957 wxRendererNative
*result
= 0 ;
31959 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
31961 if (!wxPyCheckForApp()) SWIG_fail
;
31962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31964 wxRendererNative
&_result_ref
= wxRendererNative::Get();
31965 result
= (wxRendererNative
*) &_result_ref
;
31967 wxPyEndAllowThreads(__tstate
);
31968 if (PyErr_Occurred()) SWIG_fail
;
31970 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31977 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31978 PyObject
*resultobj
= 0;
31979 wxRendererNative
*result
= 0 ;
31981 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
31983 if (!wxPyCheckForApp()) SWIG_fail
;
31984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31986 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
31987 result
= (wxRendererNative
*) &_result_ref
;
31989 wxPyEndAllowThreads(__tstate
);
31990 if (PyErr_Occurred()) SWIG_fail
;
31992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31999 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32000 PyObject
*resultobj
= 0;
32001 wxRendererNative
*result
= 0 ;
32003 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
32005 if (!wxPyCheckForApp()) SWIG_fail
;
32006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32008 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
32009 result
= (wxRendererNative
*) &_result_ref
;
32011 wxPyEndAllowThreads(__tstate
);
32012 if (PyErr_Occurred()) SWIG_fail
;
32014 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
32021 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32022 PyObject
*resultobj
= 0;
32023 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
32024 wxRendererNative
*result
= 0 ;
32027 PyObject
* obj0
= 0 ;
32028 char * kwnames
[] = {
32029 (char *) "renderer", NULL
32032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
32033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
32034 if (!SWIG_IsOK(res1
)) {
32035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
32037 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
32039 if (!wxPyCheckForApp()) SWIG_fail
;
32040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32041 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
32042 wxPyEndAllowThreads(__tstate
);
32043 if (PyErr_Occurred()) SWIG_fail
;
32045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
32052 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32053 PyObject
*resultobj
= 0;
32054 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
32055 SwigValueWrapper
<wxRendererVersion
> result
;
32058 PyObject
*swig_obj
[1] ;
32060 if (!args
) SWIG_fail
;
32061 swig_obj
[0] = args
;
32062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
32063 if (!SWIG_IsOK(res1
)) {
32064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
32066 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
32068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32069 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
32070 wxPyEndAllowThreads(__tstate
);
32071 if (PyErr_Occurred()) SWIG_fail
;
32073 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
32080 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32082 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32083 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
32084 return SWIG_Py_Void();
32087 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32088 PyObject
*resultobj
= 0;
32089 wxPseudoDC
*result
= 0 ;
32091 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
32093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32094 result
= (wxPseudoDC
*)new wxPseudoDC();
32095 wxPyEndAllowThreads(__tstate
);
32096 if (PyErr_Occurred()) SWIG_fail
;
32098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
32105 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32106 PyObject
*resultobj
= 0;
32107 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32110 PyObject
*swig_obj
[1] ;
32112 if (!args
) SWIG_fail
;
32113 swig_obj
[0] = args
;
32114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32115 if (!SWIG_IsOK(res1
)) {
32116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32118 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32121 (arg1
)->BeginDrawing();
32122 wxPyEndAllowThreads(__tstate
);
32123 if (PyErr_Occurred()) SWIG_fail
;
32125 resultobj
= SWIG_Py_Void();
32132 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32133 PyObject
*resultobj
= 0;
32134 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32137 PyObject
*swig_obj
[1] ;
32139 if (!args
) SWIG_fail
;
32140 swig_obj
[0] = args
;
32141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32142 if (!SWIG_IsOK(res1
)) {
32143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32145 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32148 (arg1
)->EndDrawing();
32149 wxPyEndAllowThreads(__tstate
);
32150 if (PyErr_Occurred()) SWIG_fail
;
32152 resultobj
= SWIG_Py_Void();
32159 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32160 PyObject
*resultobj
= 0;
32161 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32164 PyObject
*swig_obj
[1] ;
32166 if (!args
) SWIG_fail
;
32167 swig_obj
[0] = args
;
32168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
32169 if (!SWIG_IsOK(res1
)) {
32170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32172 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32177 wxPyEndAllowThreads(__tstate
);
32178 if (PyErr_Occurred()) SWIG_fail
;
32180 resultobj
= SWIG_Py_Void();
32187 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32188 PyObject
*resultobj
= 0;
32189 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32192 PyObject
*swig_obj
[1] ;
32194 if (!args
) SWIG_fail
;
32195 swig_obj
[0] = args
;
32196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32197 if (!SWIG_IsOK(res1
)) {
32198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32200 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32203 (arg1
)->RemoveAll();
32204 wxPyEndAllowThreads(__tstate
);
32205 if (PyErr_Occurred()) SWIG_fail
;
32207 resultobj
= SWIG_Py_Void();
32214 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32215 PyObject
*resultobj
= 0;
32216 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32220 PyObject
*swig_obj
[1] ;
32222 if (!args
) SWIG_fail
;
32223 swig_obj
[0] = args
;
32224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32225 if (!SWIG_IsOK(res1
)) {
32226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32228 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32231 result
= (int)(arg1
)->GetLen();
32232 wxPyEndAllowThreads(__tstate
);
32233 if (PyErr_Occurred()) SWIG_fail
;
32235 resultobj
= SWIG_From_int(static_cast< int >(result
));
32242 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32243 PyObject
*resultobj
= 0;
32244 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32250 PyObject
* obj0
= 0 ;
32251 PyObject
* obj1
= 0 ;
32252 char * kwnames
[] = {
32253 (char *) "self",(char *) "id", NULL
32256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32258 if (!SWIG_IsOK(res1
)) {
32259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32261 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32263 if (!SWIG_IsOK(ecode2
)) {
32264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
32266 arg2
= static_cast< int >(val2
);
32268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32269 (arg1
)->SetId(arg2
);
32270 wxPyEndAllowThreads(__tstate
);
32271 if (PyErr_Occurred()) SWIG_fail
;
32273 resultobj
= SWIG_Py_Void();
32280 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32281 PyObject
*resultobj
= 0;
32282 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32288 PyObject
* obj0
= 0 ;
32289 PyObject
* obj1
= 0 ;
32290 char * kwnames
[] = {
32291 (char *) "self",(char *) "id", NULL
32294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32296 if (!SWIG_IsOK(res1
)) {
32297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32299 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32301 if (!SWIG_IsOK(ecode2
)) {
32302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
32304 arg2
= static_cast< int >(val2
);
32306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32307 (arg1
)->ClearId(arg2
);
32308 wxPyEndAllowThreads(__tstate
);
32309 if (PyErr_Occurred()) SWIG_fail
;
32311 resultobj
= SWIG_Py_Void();
32318 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32319 PyObject
*resultobj
= 0;
32320 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32326 PyObject
* obj0
= 0 ;
32327 PyObject
* obj1
= 0 ;
32328 char * kwnames
[] = {
32329 (char *) "self",(char *) "id", NULL
32332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32334 if (!SWIG_IsOK(res1
)) {
32335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32337 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32339 if (!SWIG_IsOK(ecode2
)) {
32340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
32342 arg2
= static_cast< int >(val2
);
32344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32345 (arg1
)->RemoveId(arg2
);
32346 wxPyEndAllowThreads(__tstate
);
32347 if (PyErr_Occurred()) SWIG_fail
;
32349 resultobj
= SWIG_Py_Void();
32356 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32357 PyObject
*resultobj
= 0;
32358 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32370 PyObject
* obj0
= 0 ;
32371 PyObject
* obj1
= 0 ;
32372 PyObject
* obj2
= 0 ;
32373 PyObject
* obj3
= 0 ;
32374 char * kwnames
[] = {
32375 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
32378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32380 if (!SWIG_IsOK(res1
)) {
32381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32383 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32384 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32385 if (!SWIG_IsOK(ecode2
)) {
32386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
32388 arg2
= static_cast< int >(val2
);
32389 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32390 if (!SWIG_IsOK(ecode3
)) {
32391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
32393 arg3
= static_cast< int >(val3
);
32394 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32395 if (!SWIG_IsOK(ecode4
)) {
32396 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
32398 arg4
= static_cast< int >(val4
);
32400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32401 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
32402 wxPyEndAllowThreads(__tstate
);
32403 if (PyErr_Occurred()) SWIG_fail
;
32405 resultobj
= SWIG_Py_Void();
32412 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32413 PyObject
*resultobj
= 0;
32414 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32416 bool arg3
= (bool) true ;
32423 PyObject
* obj0
= 0 ;
32424 PyObject
* obj1
= 0 ;
32425 PyObject
* obj2
= 0 ;
32426 char * kwnames
[] = {
32427 (char *) "self",(char *) "id",(char *) "greyout", NULL
32430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32432 if (!SWIG_IsOK(res1
)) {
32433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32435 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32437 if (!SWIG_IsOK(ecode2
)) {
32438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
32440 arg2
= static_cast< int >(val2
);
32442 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32443 if (!SWIG_IsOK(ecode3
)) {
32444 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
32446 arg3
= static_cast< bool >(val3
);
32449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32450 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
32451 wxPyEndAllowThreads(__tstate
);
32452 if (PyErr_Occurred()) SWIG_fail
;
32454 resultobj
= SWIG_Py_Void();
32461 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32462 PyObject
*resultobj
= 0;
32463 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32470 PyObject
* obj0
= 0 ;
32471 PyObject
* obj1
= 0 ;
32472 char * kwnames
[] = {
32473 (char *) "self",(char *) "id", NULL
32476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32478 if (!SWIG_IsOK(res1
)) {
32479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32481 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32483 if (!SWIG_IsOK(ecode2
)) {
32484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
32486 arg2
= static_cast< int >(val2
);
32488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32489 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
32490 wxPyEndAllowThreads(__tstate
);
32491 if (PyErr_Occurred()) SWIG_fail
;
32494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32502 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32503 PyObject
*resultobj
= 0;
32504 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32507 int arg4
= (int) 1 ;
32508 wxColor
const &arg5_defvalue
= *wxWHITE
;
32509 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
32510 PyObject
*result
= 0 ;
32521 PyObject
* obj0
= 0 ;
32522 PyObject
* obj1
= 0 ;
32523 PyObject
* obj2
= 0 ;
32524 PyObject
* obj3
= 0 ;
32525 PyObject
* obj4
= 0 ;
32526 char * kwnames
[] = {
32527 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
32530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32532 if (!SWIG_IsOK(res1
)) {
32533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32535 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32537 if (!SWIG_IsOK(ecode2
)) {
32538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
32540 arg2
= static_cast< int >(val2
);
32541 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32542 if (!SWIG_IsOK(ecode3
)) {
32543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
32545 arg3
= static_cast< int >(val3
);
32547 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32548 if (!SWIG_IsOK(ecode4
)) {
32549 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
32551 arg4
= static_cast< int >(val4
);
32554 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
32555 if (!SWIG_IsOK(res5
)) {
32556 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
32559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
32561 arg5
= reinterpret_cast< wxColor
* >(argp5
);
32564 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
32565 if (PyErr_Occurred()) SWIG_fail
;
32567 resultobj
= result
;
32574 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32575 PyObject
*resultobj
= 0;
32576 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32579 PyObject
*result
= 0 ;
32586 PyObject
* obj0
= 0 ;
32587 PyObject
* obj1
= 0 ;
32588 PyObject
* obj2
= 0 ;
32589 char * kwnames
[] = {
32590 (char *) "self",(char *) "x",(char *) "y", NULL
32593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32595 if (!SWIG_IsOK(res1
)) {
32596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32598 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32600 if (!SWIG_IsOK(ecode2
)) {
32601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
32603 arg2
= static_cast< int >(val2
);
32604 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32605 if (!SWIG_IsOK(ecode3
)) {
32606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
32608 arg3
= static_cast< int >(val3
);
32610 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
32611 if (PyErr_Occurred()) SWIG_fail
;
32613 resultobj
= result
;
32620 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32621 PyObject
*resultobj
= 0;
32622 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32624 wxDC
*arg3
= (wxDC
*) 0 ;
32631 PyObject
* obj0
= 0 ;
32632 PyObject
* obj1
= 0 ;
32633 PyObject
* obj2
= 0 ;
32634 char * kwnames
[] = {
32635 (char *) "self",(char *) "id",(char *) "dc", NULL
32638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32640 if (!SWIG_IsOK(res1
)) {
32641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32643 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32645 if (!SWIG_IsOK(ecode2
)) {
32646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
32648 arg2
= static_cast< int >(val2
);
32649 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
32650 if (!SWIG_IsOK(res3
)) {
32651 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
32653 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32656 (arg1
)->DrawIdToDC(arg2
,arg3
);
32657 wxPyEndAllowThreads(__tstate
);
32658 if (PyErr_Occurred()) SWIG_fail
;
32660 resultobj
= SWIG_Py_Void();
32667 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32668 PyObject
*resultobj
= 0;
32669 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32677 PyObject
* obj0
= 0 ;
32678 PyObject
* obj1
= 0 ;
32679 PyObject
* obj2
= 0 ;
32680 char * kwnames
[] = {
32681 (char *) "self",(char *) "id",(char *) "rect", NULL
32684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32686 if (!SWIG_IsOK(res1
)) {
32687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32689 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32691 if (!SWIG_IsOK(ecode2
)) {
32692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
32694 arg2
= static_cast< int >(val2
);
32697 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
32700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32701 (arg1
)->SetIdBounds(arg2
,*arg3
);
32702 wxPyEndAllowThreads(__tstate
);
32703 if (PyErr_Occurred()) SWIG_fail
;
32705 resultobj
= SWIG_Py_Void();
32712 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32713 PyObject
*resultobj
= 0;
32714 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32721 PyObject
* obj0
= 0 ;
32722 PyObject
* obj1
= 0 ;
32723 char * kwnames
[] = {
32724 (char *) "self",(char *) "id", NULL
32727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32729 if (!SWIG_IsOK(res1
)) {
32730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32732 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32734 if (!SWIG_IsOK(ecode2
)) {
32735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
32737 arg2
= static_cast< int >(val2
);
32739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32740 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
32741 wxPyEndAllowThreads(__tstate
);
32742 if (PyErr_Occurred()) SWIG_fail
;
32744 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
32751 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32752 PyObject
*resultobj
= 0;
32753 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32754 wxDC
*arg2
= (wxDC
*) 0 ;
32761 PyObject
* obj0
= 0 ;
32762 PyObject
* obj1
= 0 ;
32763 PyObject
* obj2
= 0 ;
32764 char * kwnames
[] = {
32765 (char *) "self",(char *) "dc",(char *) "rect", NULL
32768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32770 if (!SWIG_IsOK(res1
)) {
32771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32773 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32774 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32775 if (!SWIG_IsOK(res2
)) {
32776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
32778 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32781 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
32784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32785 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
32786 wxPyEndAllowThreads(__tstate
);
32787 if (PyErr_Occurred()) SWIG_fail
;
32789 resultobj
= SWIG_Py_Void();
32796 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32797 PyObject
*resultobj
= 0;
32798 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32799 wxDC
*arg2
= (wxDC
*) 0 ;
32800 wxRegion
*arg3
= 0 ;
32807 PyObject
* obj0
= 0 ;
32808 PyObject
* obj1
= 0 ;
32809 PyObject
* obj2
= 0 ;
32810 char * kwnames
[] = {
32811 (char *) "self",(char *) "dc",(char *) "region", NULL
32814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32816 if (!SWIG_IsOK(res1
)) {
32817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32819 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32820 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32821 if (!SWIG_IsOK(res2
)) {
32822 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
32824 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32825 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
32826 if (!SWIG_IsOK(res3
)) {
32827 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
32830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
32832 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
32834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32835 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
32836 wxPyEndAllowThreads(__tstate
);
32837 if (PyErr_Occurred()) SWIG_fail
;
32839 resultobj
= SWIG_Py_Void();
32846 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32847 PyObject
*resultobj
= 0;
32848 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32849 wxDC
*arg2
= (wxDC
*) 0 ;
32854 PyObject
* obj0
= 0 ;
32855 PyObject
* obj1
= 0 ;
32856 char * kwnames
[] = {
32857 (char *) "self",(char *) "dc", NULL
32860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32862 if (!SWIG_IsOK(res1
)) {
32863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32865 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32866 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32867 if (!SWIG_IsOK(res2
)) {
32868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
32870 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32873 (arg1
)->DrawToDC(arg2
);
32874 wxPyEndAllowThreads(__tstate
);
32875 if (PyErr_Occurred()) SWIG_fail
;
32877 resultobj
= SWIG_Py_Void();
32884 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32885 PyObject
*resultobj
= 0;
32886 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32889 wxColour
*arg4
= 0 ;
32890 int arg5
= (int) wxFLOOD_SURFACE
;
32900 PyObject
* obj0
= 0 ;
32901 PyObject
* obj1
= 0 ;
32902 PyObject
* obj2
= 0 ;
32903 PyObject
* obj3
= 0 ;
32904 PyObject
* obj4
= 0 ;
32905 char * kwnames
[] = {
32906 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
32909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32911 if (!SWIG_IsOK(res1
)) {
32912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32914 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32916 if (!SWIG_IsOK(ecode2
)) {
32917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
32919 arg2
= static_cast< int >(val2
);
32920 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32921 if (!SWIG_IsOK(ecode3
)) {
32922 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
32924 arg3
= static_cast< int >(val3
);
32927 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
32930 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32931 if (!SWIG_IsOK(ecode5
)) {
32932 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
32934 arg5
= static_cast< int >(val5
);
32937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32938 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
32939 wxPyEndAllowThreads(__tstate
);
32940 if (PyErr_Occurred()) SWIG_fail
;
32942 resultobj
= SWIG_Py_Void();
32949 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32950 PyObject
*resultobj
= 0;
32951 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32952 wxPoint
*arg2
= 0 ;
32953 wxColour
*arg3
= 0 ;
32954 int arg4
= (int) wxFLOOD_SURFACE
;
32961 PyObject
* obj0
= 0 ;
32962 PyObject
* obj1
= 0 ;
32963 PyObject
* obj2
= 0 ;
32964 PyObject
* obj3
= 0 ;
32965 char * kwnames
[] = {
32966 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
32969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32971 if (!SWIG_IsOK(res1
)) {
32972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32974 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32977 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32981 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32984 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32985 if (!SWIG_IsOK(ecode4
)) {
32986 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
32988 arg4
= static_cast< int >(val4
);
32991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32992 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
32993 wxPyEndAllowThreads(__tstate
);
32994 if (PyErr_Occurred()) SWIG_fail
;
32996 resultobj
= SWIG_Py_Void();
33003 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33004 PyObject
*resultobj
= 0;
33005 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33020 PyObject
* obj0
= 0 ;
33021 PyObject
* obj1
= 0 ;
33022 PyObject
* obj2
= 0 ;
33023 PyObject
* obj3
= 0 ;
33024 PyObject
* obj4
= 0 ;
33025 char * kwnames
[] = {
33026 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
33029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33031 if (!SWIG_IsOK(res1
)) {
33032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33034 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33036 if (!SWIG_IsOK(ecode2
)) {
33037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
33039 arg2
= static_cast< int >(val2
);
33040 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33041 if (!SWIG_IsOK(ecode3
)) {
33042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
33044 arg3
= static_cast< int >(val3
);
33045 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33046 if (!SWIG_IsOK(ecode4
)) {
33047 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
33049 arg4
= static_cast< int >(val4
);
33050 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33051 if (!SWIG_IsOK(ecode5
)) {
33052 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
33054 arg5
= static_cast< int >(val5
);
33056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33057 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
33058 wxPyEndAllowThreads(__tstate
);
33059 if (PyErr_Occurred()) SWIG_fail
;
33061 resultobj
= SWIG_Py_Void();
33068 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33069 PyObject
*resultobj
= 0;
33070 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33071 wxPoint
*arg2
= 0 ;
33072 wxPoint
*arg3
= 0 ;
33077 PyObject
* obj0
= 0 ;
33078 PyObject
* obj1
= 0 ;
33079 PyObject
* obj2
= 0 ;
33080 char * kwnames
[] = {
33081 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
33084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33086 if (!SWIG_IsOK(res1
)) {
33087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33089 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33092 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33096 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33100 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
33101 wxPyEndAllowThreads(__tstate
);
33102 if (PyErr_Occurred()) SWIG_fail
;
33104 resultobj
= SWIG_Py_Void();
33111 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33112 PyObject
*resultobj
= 0;
33113 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33122 PyObject
* obj0
= 0 ;
33123 PyObject
* obj1
= 0 ;
33124 PyObject
* obj2
= 0 ;
33125 char * kwnames
[] = {
33126 (char *) "self",(char *) "x",(char *) "y", NULL
33129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33131 if (!SWIG_IsOK(res1
)) {
33132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33134 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33136 if (!SWIG_IsOK(ecode2
)) {
33137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
33139 arg2
= static_cast< int >(val2
);
33140 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33141 if (!SWIG_IsOK(ecode3
)) {
33142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
33144 arg3
= static_cast< int >(val3
);
33146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33147 (arg1
)->CrossHair(arg2
,arg3
);
33148 wxPyEndAllowThreads(__tstate
);
33149 if (PyErr_Occurred()) SWIG_fail
;
33151 resultobj
= SWIG_Py_Void();
33158 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33159 PyObject
*resultobj
= 0;
33160 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33161 wxPoint
*arg2
= 0 ;
33165 PyObject
* obj0
= 0 ;
33166 PyObject
* obj1
= 0 ;
33167 char * kwnames
[] = {
33168 (char *) "self",(char *) "pt", NULL
33171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33173 if (!SWIG_IsOK(res1
)) {
33174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33176 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33179 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33183 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
33184 wxPyEndAllowThreads(__tstate
);
33185 if (PyErr_Occurred()) SWIG_fail
;
33187 resultobj
= SWIG_Py_Void();
33194 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33195 PyObject
*resultobj
= 0;
33196 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33217 PyObject
* obj0
= 0 ;
33218 PyObject
* obj1
= 0 ;
33219 PyObject
* obj2
= 0 ;
33220 PyObject
* obj3
= 0 ;
33221 PyObject
* obj4
= 0 ;
33222 PyObject
* obj5
= 0 ;
33223 PyObject
* obj6
= 0 ;
33224 char * kwnames
[] = {
33225 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
33228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33230 if (!SWIG_IsOK(res1
)) {
33231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33233 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33235 if (!SWIG_IsOK(ecode2
)) {
33236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
33238 arg2
= static_cast< int >(val2
);
33239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33240 if (!SWIG_IsOK(ecode3
)) {
33241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
33243 arg3
= static_cast< int >(val3
);
33244 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33245 if (!SWIG_IsOK(ecode4
)) {
33246 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
33248 arg4
= static_cast< int >(val4
);
33249 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33250 if (!SWIG_IsOK(ecode5
)) {
33251 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
33253 arg5
= static_cast< int >(val5
);
33254 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33255 if (!SWIG_IsOK(ecode6
)) {
33256 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
33258 arg6
= static_cast< int >(val6
);
33259 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
33260 if (!SWIG_IsOK(ecode7
)) {
33261 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
33263 arg7
= static_cast< int >(val7
);
33265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33266 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
33267 wxPyEndAllowThreads(__tstate
);
33268 if (PyErr_Occurred()) SWIG_fail
;
33270 resultobj
= SWIG_Py_Void();
33277 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33278 PyObject
*resultobj
= 0;
33279 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33280 wxPoint
*arg2
= 0 ;
33281 wxPoint
*arg3
= 0 ;
33282 wxPoint
*arg4
= 0 ;
33288 PyObject
* obj0
= 0 ;
33289 PyObject
* obj1
= 0 ;
33290 PyObject
* obj2
= 0 ;
33291 PyObject
* obj3
= 0 ;
33292 char * kwnames
[] = {
33293 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
33296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33298 if (!SWIG_IsOK(res1
)) {
33299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33301 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33304 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33308 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33312 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33316 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
33317 wxPyEndAllowThreads(__tstate
);
33318 if (PyErr_Occurred()) SWIG_fail
;
33320 resultobj
= SWIG_Py_Void();
33327 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33328 PyObject
*resultobj
= 0;
33329 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33344 PyObject
* obj0
= 0 ;
33345 PyObject
* obj1
= 0 ;
33346 PyObject
* obj2
= 0 ;
33347 PyObject
* obj3
= 0 ;
33348 PyObject
* obj4
= 0 ;
33349 char * kwnames
[] = {
33350 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33355 if (!SWIG_IsOK(res1
)) {
33356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33358 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33360 if (!SWIG_IsOK(ecode2
)) {
33361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
33363 arg2
= static_cast< int >(val2
);
33364 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33365 if (!SWIG_IsOK(ecode3
)) {
33366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
33368 arg3
= static_cast< int >(val3
);
33369 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33370 if (!SWIG_IsOK(ecode4
)) {
33371 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
33373 arg4
= static_cast< int >(val4
);
33374 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33375 if (!SWIG_IsOK(ecode5
)) {
33376 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
33378 arg5
= static_cast< int >(val5
);
33380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33381 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
33382 wxPyEndAllowThreads(__tstate
);
33383 if (PyErr_Occurred()) SWIG_fail
;
33385 resultobj
= SWIG_Py_Void();
33392 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33393 PyObject
*resultobj
= 0;
33394 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33399 PyObject
* obj0
= 0 ;
33400 PyObject
* obj1
= 0 ;
33401 char * kwnames
[] = {
33402 (char *) "self",(char *) "rect", NULL
33405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33407 if (!SWIG_IsOK(res1
)) {
33408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33410 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33413 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33417 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
33418 wxPyEndAllowThreads(__tstate
);
33419 if (PyErr_Occurred()) SWIG_fail
;
33421 resultobj
= SWIG_Py_Void();
33428 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33429 PyObject
*resultobj
= 0;
33430 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33451 PyObject
* obj0
= 0 ;
33452 PyObject
* obj1
= 0 ;
33453 PyObject
* obj2
= 0 ;
33454 PyObject
* obj3
= 0 ;
33455 PyObject
* obj4
= 0 ;
33456 PyObject
* obj5
= 0 ;
33457 PyObject
* obj6
= 0 ;
33458 char * kwnames
[] = {
33459 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
33462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33464 if (!SWIG_IsOK(res1
)) {
33465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33467 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33469 if (!SWIG_IsOK(ecode2
)) {
33470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
33472 arg2
= static_cast< int >(val2
);
33473 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33474 if (!SWIG_IsOK(ecode3
)) {
33475 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
33477 arg3
= static_cast< int >(val3
);
33478 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33479 if (!SWIG_IsOK(ecode4
)) {
33480 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
33482 arg4
= static_cast< int >(val4
);
33483 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33484 if (!SWIG_IsOK(ecode5
)) {
33485 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
33487 arg5
= static_cast< int >(val5
);
33488 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
33489 if (!SWIG_IsOK(ecode6
)) {
33490 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
33492 arg6
= static_cast< double >(val6
);
33493 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
33494 if (!SWIG_IsOK(ecode7
)) {
33495 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
33497 arg7
= static_cast< double >(val7
);
33499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33500 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
33501 wxPyEndAllowThreads(__tstate
);
33502 if (PyErr_Occurred()) SWIG_fail
;
33504 resultobj
= SWIG_Py_Void();
33511 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33512 PyObject
*resultobj
= 0;
33513 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33514 wxPoint
*arg2
= 0 ;
33526 PyObject
* obj0
= 0 ;
33527 PyObject
* obj1
= 0 ;
33528 PyObject
* obj2
= 0 ;
33529 PyObject
* obj3
= 0 ;
33530 PyObject
* obj4
= 0 ;
33531 char * kwnames
[] = {
33532 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
33535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33537 if (!SWIG_IsOK(res1
)) {
33538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33540 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33543 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33547 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33549 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33550 if (!SWIG_IsOK(ecode4
)) {
33551 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
33553 arg4
= static_cast< double >(val4
);
33554 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
33555 if (!SWIG_IsOK(ecode5
)) {
33556 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
33558 arg5
= static_cast< double >(val5
);
33560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33561 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
33562 wxPyEndAllowThreads(__tstate
);
33563 if (PyErr_Occurred()) SWIG_fail
;
33565 resultobj
= SWIG_Py_Void();
33572 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33573 PyObject
*resultobj
= 0;
33574 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33583 PyObject
* obj0
= 0 ;
33584 PyObject
* obj1
= 0 ;
33585 PyObject
* obj2
= 0 ;
33586 char * kwnames
[] = {
33587 (char *) "self",(char *) "x",(char *) "y", NULL
33590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33592 if (!SWIG_IsOK(res1
)) {
33593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33595 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33597 if (!SWIG_IsOK(ecode2
)) {
33598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
33600 arg2
= static_cast< int >(val2
);
33601 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33602 if (!SWIG_IsOK(ecode3
)) {
33603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
33605 arg3
= static_cast< int >(val3
);
33607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33608 (arg1
)->DrawPoint(arg2
,arg3
);
33609 wxPyEndAllowThreads(__tstate
);
33610 if (PyErr_Occurred()) SWIG_fail
;
33612 resultobj
= SWIG_Py_Void();
33619 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33620 PyObject
*resultobj
= 0;
33621 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33622 wxPoint
*arg2
= 0 ;
33626 PyObject
* obj0
= 0 ;
33627 PyObject
* obj1
= 0 ;
33628 char * kwnames
[] = {
33629 (char *) "self",(char *) "pt", NULL
33632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33634 if (!SWIG_IsOK(res1
)) {
33635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33637 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33640 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33644 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
33645 wxPyEndAllowThreads(__tstate
);
33646 if (PyErr_Occurred()) SWIG_fail
;
33648 resultobj
= SWIG_Py_Void();
33655 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33656 PyObject
*resultobj
= 0;
33657 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33672 PyObject
* obj0
= 0 ;
33673 PyObject
* obj1
= 0 ;
33674 PyObject
* obj2
= 0 ;
33675 PyObject
* obj3
= 0 ;
33676 PyObject
* obj4
= 0 ;
33677 char * kwnames
[] = {
33678 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33683 if (!SWIG_IsOK(res1
)) {
33684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33686 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33688 if (!SWIG_IsOK(ecode2
)) {
33689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
33691 arg2
= static_cast< int >(val2
);
33692 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33693 if (!SWIG_IsOK(ecode3
)) {
33694 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
33696 arg3
= static_cast< int >(val3
);
33697 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33698 if (!SWIG_IsOK(ecode4
)) {
33699 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
33701 arg4
= static_cast< int >(val4
);
33702 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33703 if (!SWIG_IsOK(ecode5
)) {
33704 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
33706 arg5
= static_cast< int >(val5
);
33708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33709 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
33710 wxPyEndAllowThreads(__tstate
);
33711 if (PyErr_Occurred()) SWIG_fail
;
33713 resultobj
= SWIG_Py_Void();
33720 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33721 PyObject
*resultobj
= 0;
33722 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33727 PyObject
* obj0
= 0 ;
33728 PyObject
* obj1
= 0 ;
33729 char * kwnames
[] = {
33730 (char *) "self",(char *) "rect", NULL
33733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33735 if (!SWIG_IsOK(res1
)) {
33736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33738 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33741 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33745 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
33746 wxPyEndAllowThreads(__tstate
);
33747 if (PyErr_Occurred()) SWIG_fail
;
33749 resultobj
= SWIG_Py_Void();
33756 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33757 PyObject
*resultobj
= 0;
33758 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33759 wxPoint
*arg2
= 0 ;
33765 PyObject
* obj0
= 0 ;
33766 PyObject
* obj1
= 0 ;
33767 PyObject
* obj2
= 0 ;
33768 char * kwnames
[] = {
33769 (char *) "self",(char *) "pt",(char *) "sz", NULL
33772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33774 if (!SWIG_IsOK(res1
)) {
33775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33777 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33780 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33784 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33788 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
33789 wxPyEndAllowThreads(__tstate
);
33790 if (PyErr_Occurred()) SWIG_fail
;
33792 resultobj
= SWIG_Py_Void();
33799 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33800 PyObject
*resultobj
= 0;
33801 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33819 PyObject
* obj0
= 0 ;
33820 PyObject
* obj1
= 0 ;
33821 PyObject
* obj2
= 0 ;
33822 PyObject
* obj3
= 0 ;
33823 PyObject
* obj4
= 0 ;
33824 PyObject
* obj5
= 0 ;
33825 char * kwnames
[] = {
33826 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
33829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33831 if (!SWIG_IsOK(res1
)) {
33832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33834 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33836 if (!SWIG_IsOK(ecode2
)) {
33837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
33839 arg2
= static_cast< int >(val2
);
33840 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33841 if (!SWIG_IsOK(ecode3
)) {
33842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
33844 arg3
= static_cast< int >(val3
);
33845 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33846 if (!SWIG_IsOK(ecode4
)) {
33847 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
33849 arg4
= static_cast< int >(val4
);
33850 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33851 if (!SWIG_IsOK(ecode5
)) {
33852 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
33854 arg5
= static_cast< int >(val5
);
33855 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
33856 if (!SWIG_IsOK(ecode6
)) {
33857 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
33859 arg6
= static_cast< double >(val6
);
33861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33862 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
33863 wxPyEndAllowThreads(__tstate
);
33864 if (PyErr_Occurred()) SWIG_fail
;
33866 resultobj
= SWIG_Py_Void();
33873 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33874 PyObject
*resultobj
= 0;
33875 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33883 PyObject
* obj0
= 0 ;
33884 PyObject
* obj1
= 0 ;
33885 PyObject
* obj2
= 0 ;
33886 char * kwnames
[] = {
33887 (char *) "self",(char *) "r",(char *) "radius", NULL
33890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33892 if (!SWIG_IsOK(res1
)) {
33893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33895 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33898 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33900 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
33901 if (!SWIG_IsOK(ecode3
)) {
33902 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
33904 arg3
= static_cast< double >(val3
);
33906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33907 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
33908 wxPyEndAllowThreads(__tstate
);
33909 if (PyErr_Occurred()) SWIG_fail
;
33911 resultobj
= SWIG_Py_Void();
33918 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33919 PyObject
*resultobj
= 0;
33920 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33921 wxPoint
*arg2
= 0 ;
33930 PyObject
* obj0
= 0 ;
33931 PyObject
* obj1
= 0 ;
33932 PyObject
* obj2
= 0 ;
33933 PyObject
* obj3
= 0 ;
33934 char * kwnames
[] = {
33935 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
33938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33940 if (!SWIG_IsOK(res1
)) {
33941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33943 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33946 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33950 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33952 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33953 if (!SWIG_IsOK(ecode4
)) {
33954 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
33956 arg4
= static_cast< double >(val4
);
33958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33959 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
33960 wxPyEndAllowThreads(__tstate
);
33961 if (PyErr_Occurred()) SWIG_fail
;
33963 resultobj
= SWIG_Py_Void();
33970 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33971 PyObject
*resultobj
= 0;
33972 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33984 PyObject
* obj0
= 0 ;
33985 PyObject
* obj1
= 0 ;
33986 PyObject
* obj2
= 0 ;
33987 PyObject
* obj3
= 0 ;
33988 char * kwnames
[] = {
33989 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
33992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33994 if (!SWIG_IsOK(res1
)) {
33995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33997 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33999 if (!SWIG_IsOK(ecode2
)) {
34000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
34002 arg2
= static_cast< int >(val2
);
34003 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34004 if (!SWIG_IsOK(ecode3
)) {
34005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
34007 arg3
= static_cast< int >(val3
);
34008 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34009 if (!SWIG_IsOK(ecode4
)) {
34010 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
34012 arg4
= static_cast< int >(val4
);
34014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34015 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
34016 wxPyEndAllowThreads(__tstate
);
34017 if (PyErr_Occurred()) SWIG_fail
;
34019 resultobj
= SWIG_Py_Void();
34026 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34027 PyObject
*resultobj
= 0;
34028 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34029 wxPoint
*arg2
= 0 ;
34036 PyObject
* obj0
= 0 ;
34037 PyObject
* obj1
= 0 ;
34038 PyObject
* obj2
= 0 ;
34039 char * kwnames
[] = {
34040 (char *) "self",(char *) "pt",(char *) "radius", NULL
34043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34045 if (!SWIG_IsOK(res1
)) {
34046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34048 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34051 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34053 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34054 if (!SWIG_IsOK(ecode3
)) {
34055 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
34057 arg3
= static_cast< int >(val3
);
34059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34060 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
34061 wxPyEndAllowThreads(__tstate
);
34062 if (PyErr_Occurred()) SWIG_fail
;
34064 resultobj
= SWIG_Py_Void();
34071 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34072 PyObject
*resultobj
= 0;
34073 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34088 PyObject
* obj0
= 0 ;
34089 PyObject
* obj1
= 0 ;
34090 PyObject
* obj2
= 0 ;
34091 PyObject
* obj3
= 0 ;
34092 PyObject
* obj4
= 0 ;
34093 char * kwnames
[] = {
34094 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
34097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34099 if (!SWIG_IsOK(res1
)) {
34100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34102 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34104 if (!SWIG_IsOK(ecode2
)) {
34105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
34107 arg2
= static_cast< int >(val2
);
34108 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34109 if (!SWIG_IsOK(ecode3
)) {
34110 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
34112 arg3
= static_cast< int >(val3
);
34113 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34114 if (!SWIG_IsOK(ecode4
)) {
34115 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
34117 arg4
= static_cast< int >(val4
);
34118 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34119 if (!SWIG_IsOK(ecode5
)) {
34120 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
34122 arg5
= static_cast< int >(val5
);
34124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34125 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
34126 wxPyEndAllowThreads(__tstate
);
34127 if (PyErr_Occurred()) SWIG_fail
;
34129 resultobj
= SWIG_Py_Void();
34136 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34137 PyObject
*resultobj
= 0;
34138 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34143 PyObject
* obj0
= 0 ;
34144 PyObject
* obj1
= 0 ;
34145 char * kwnames
[] = {
34146 (char *) "self",(char *) "rect", NULL
34149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34151 if (!SWIG_IsOK(res1
)) {
34152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34154 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34157 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34161 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
34162 wxPyEndAllowThreads(__tstate
);
34163 if (PyErr_Occurred()) SWIG_fail
;
34165 resultobj
= SWIG_Py_Void();
34172 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34173 PyObject
*resultobj
= 0;
34174 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34175 wxPoint
*arg2
= 0 ;
34181 PyObject
* obj0
= 0 ;
34182 PyObject
* obj1
= 0 ;
34183 PyObject
* obj2
= 0 ;
34184 char * kwnames
[] = {
34185 (char *) "self",(char *) "pt",(char *) "sz", NULL
34188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34190 if (!SWIG_IsOK(res1
)) {
34191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34193 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34196 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34200 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
34203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34204 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
34205 wxPyEndAllowThreads(__tstate
);
34206 if (PyErr_Occurred()) SWIG_fail
;
34208 resultobj
= SWIG_Py_Void();
34215 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34216 PyObject
*resultobj
= 0;
34217 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34229 PyObject
* obj0
= 0 ;
34230 PyObject
* obj1
= 0 ;
34231 PyObject
* obj2
= 0 ;
34232 PyObject
* obj3
= 0 ;
34233 char * kwnames
[] = {
34234 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
34237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34239 if (!SWIG_IsOK(res1
)) {
34240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34242 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34243 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
34244 if (!SWIG_IsOK(res2
)) {
34245 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
34248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
34250 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
34251 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34252 if (!SWIG_IsOK(ecode3
)) {
34253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
34255 arg3
= static_cast< int >(val3
);
34256 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34257 if (!SWIG_IsOK(ecode4
)) {
34258 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
34260 arg4
= static_cast< int >(val4
);
34262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34263 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
34264 wxPyEndAllowThreads(__tstate
);
34265 if (PyErr_Occurred()) SWIG_fail
;
34267 resultobj
= SWIG_Py_Void();
34274 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34275 PyObject
*resultobj
= 0;
34276 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34278 wxPoint
*arg3
= 0 ;
34284 PyObject
* obj0
= 0 ;
34285 PyObject
* obj1
= 0 ;
34286 PyObject
* obj2
= 0 ;
34287 char * kwnames
[] = {
34288 (char *) "self",(char *) "icon",(char *) "pt", NULL
34291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34293 if (!SWIG_IsOK(res1
)) {
34294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34296 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34297 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
34298 if (!SWIG_IsOK(res2
)) {
34299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
34302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
34304 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
34307 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34311 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
34312 wxPyEndAllowThreads(__tstate
);
34313 if (PyErr_Occurred()) SWIG_fail
;
34315 resultobj
= SWIG_Py_Void();
34322 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34323 PyObject
*resultobj
= 0;
34324 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34325 wxBitmap
*arg2
= 0 ;
34328 bool arg5
= (bool) false ;
34339 PyObject
* obj0
= 0 ;
34340 PyObject
* obj1
= 0 ;
34341 PyObject
* obj2
= 0 ;
34342 PyObject
* obj3
= 0 ;
34343 PyObject
* obj4
= 0 ;
34344 char * kwnames
[] = {
34345 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
34348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34350 if (!SWIG_IsOK(res1
)) {
34351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34353 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34354 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
34355 if (!SWIG_IsOK(res2
)) {
34356 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34361 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34362 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34363 if (!SWIG_IsOK(ecode3
)) {
34364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
34366 arg3
= static_cast< int >(val3
);
34367 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34368 if (!SWIG_IsOK(ecode4
)) {
34369 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
34371 arg4
= static_cast< int >(val4
);
34373 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
34374 if (!SWIG_IsOK(ecode5
)) {
34375 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
34377 arg5
= static_cast< bool >(val5
);
34380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34381 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
34382 wxPyEndAllowThreads(__tstate
);
34383 if (PyErr_Occurred()) SWIG_fail
;
34385 resultobj
= SWIG_Py_Void();
34392 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34393 PyObject
*resultobj
= 0;
34394 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34395 wxBitmap
*arg2
= 0 ;
34396 wxPoint
*arg3
= 0 ;
34397 bool arg4
= (bool) false ;
34405 PyObject
* obj0
= 0 ;
34406 PyObject
* obj1
= 0 ;
34407 PyObject
* obj2
= 0 ;
34408 PyObject
* obj3
= 0 ;
34409 char * kwnames
[] = {
34410 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
34413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34415 if (!SWIG_IsOK(res1
)) {
34416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34418 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34419 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
34420 if (!SWIG_IsOK(res2
)) {
34421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
34426 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34429 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34432 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
34433 if (!SWIG_IsOK(ecode4
)) {
34434 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
34436 arg4
= static_cast< bool >(val4
);
34439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34440 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
34441 wxPyEndAllowThreads(__tstate
);
34442 if (PyErr_Occurred()) SWIG_fail
;
34444 resultobj
= SWIG_Py_Void();
34451 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34452 PyObject
*resultobj
= 0;
34453 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34454 wxString
*arg2
= 0 ;
34459 bool temp2
= false ;
34464 PyObject
* obj0
= 0 ;
34465 PyObject
* obj1
= 0 ;
34466 PyObject
* obj2
= 0 ;
34467 PyObject
* obj3
= 0 ;
34468 char * kwnames
[] = {
34469 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
34472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34474 if (!SWIG_IsOK(res1
)) {
34475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34477 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34479 arg2
= wxString_in_helper(obj1
);
34480 if (arg2
== NULL
) SWIG_fail
;
34483 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34484 if (!SWIG_IsOK(ecode3
)) {
34485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
34487 arg3
= static_cast< int >(val3
);
34488 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34489 if (!SWIG_IsOK(ecode4
)) {
34490 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
34492 arg4
= static_cast< int >(val4
);
34494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34495 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
34496 wxPyEndAllowThreads(__tstate
);
34497 if (PyErr_Occurred()) SWIG_fail
;
34499 resultobj
= SWIG_Py_Void();
34514 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34515 PyObject
*resultobj
= 0;
34516 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34517 wxString
*arg2
= 0 ;
34518 wxPoint
*arg3
= 0 ;
34521 bool temp2
= false ;
34523 PyObject
* obj0
= 0 ;
34524 PyObject
* obj1
= 0 ;
34525 PyObject
* obj2
= 0 ;
34526 char * kwnames
[] = {
34527 (char *) "self",(char *) "text",(char *) "pt", NULL
34530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34532 if (!SWIG_IsOK(res1
)) {
34533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34535 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34537 arg2
= wxString_in_helper(obj1
);
34538 if (arg2
== NULL
) SWIG_fail
;
34543 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34547 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
34548 wxPyEndAllowThreads(__tstate
);
34549 if (PyErr_Occurred()) SWIG_fail
;
34551 resultobj
= SWIG_Py_Void();
34566 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34567 PyObject
*resultobj
= 0;
34568 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34569 wxString
*arg2
= 0 ;
34575 bool temp2
= false ;
34582 PyObject
* obj0
= 0 ;
34583 PyObject
* obj1
= 0 ;
34584 PyObject
* obj2
= 0 ;
34585 PyObject
* obj3
= 0 ;
34586 PyObject
* obj4
= 0 ;
34587 char * kwnames
[] = {
34588 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
34591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34593 if (!SWIG_IsOK(res1
)) {
34594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34596 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34598 arg2
= wxString_in_helper(obj1
);
34599 if (arg2
== NULL
) SWIG_fail
;
34602 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34603 if (!SWIG_IsOK(ecode3
)) {
34604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
34606 arg3
= static_cast< int >(val3
);
34607 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34608 if (!SWIG_IsOK(ecode4
)) {
34609 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
34611 arg4
= static_cast< int >(val4
);
34612 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
34613 if (!SWIG_IsOK(ecode5
)) {
34614 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
34616 arg5
= static_cast< double >(val5
);
34618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34619 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
34620 wxPyEndAllowThreads(__tstate
);
34621 if (PyErr_Occurred()) SWIG_fail
;
34623 resultobj
= SWIG_Py_Void();
34638 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34639 PyObject
*resultobj
= 0;
34640 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34641 wxString
*arg2
= 0 ;
34642 wxPoint
*arg3
= 0 ;
34646 bool temp2
= false ;
34650 PyObject
* obj0
= 0 ;
34651 PyObject
* obj1
= 0 ;
34652 PyObject
* obj2
= 0 ;
34653 PyObject
* obj3
= 0 ;
34654 char * kwnames
[] = {
34655 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
34658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34660 if (!SWIG_IsOK(res1
)) {
34661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34663 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34665 arg2
= wxString_in_helper(obj1
);
34666 if (arg2
== NULL
) SWIG_fail
;
34671 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34673 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
34674 if (!SWIG_IsOK(ecode4
)) {
34675 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
34677 arg4
= static_cast< double >(val4
);
34679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34680 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
34681 wxPyEndAllowThreads(__tstate
);
34682 if (PyErr_Occurred()) SWIG_fail
;
34684 resultobj
= SWIG_Py_Void();
34699 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34700 PyObject
*resultobj
= 0;
34701 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34703 wxPoint
*arg3
= (wxPoint
*) 0 ;
34704 int arg4
= (int) 0 ;
34705 int arg5
= (int) 0 ;
34712 PyObject
* obj0
= 0 ;
34713 PyObject
* obj1
= 0 ;
34714 PyObject
* obj2
= 0 ;
34715 PyObject
* obj3
= 0 ;
34716 char * kwnames
[] = {
34717 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
34720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34722 if (!SWIG_IsOK(res1
)) {
34723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34725 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34727 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34728 if (arg3
== NULL
) SWIG_fail
;
34731 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
34732 if (!SWIG_IsOK(ecode4
)) {
34733 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
34735 arg4
= static_cast< int >(val4
);
34738 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
34739 if (!SWIG_IsOK(ecode5
)) {
34740 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
34742 arg5
= static_cast< int >(val5
);
34745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34746 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
34747 wxPyEndAllowThreads(__tstate
);
34748 if (PyErr_Occurred()) SWIG_fail
;
34750 resultobj
= SWIG_Py_Void();
34752 if (arg3
) delete [] arg3
;
34757 if (arg3
) delete [] arg3
;
34763 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34764 PyObject
*resultobj
= 0;
34765 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34767 wxPoint
*arg3
= (wxPoint
*) 0 ;
34768 int arg4
= (int) 0 ;
34769 int arg5
= (int) 0 ;
34770 int arg6
= (int) wxODDEVEN_RULE
;
34779 PyObject
* obj0
= 0 ;
34780 PyObject
* obj1
= 0 ;
34781 PyObject
* obj2
= 0 ;
34782 PyObject
* obj3
= 0 ;
34783 PyObject
* obj4
= 0 ;
34784 char * kwnames
[] = {
34785 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
34788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34790 if (!SWIG_IsOK(res1
)) {
34791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34793 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34795 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34796 if (arg3
== NULL
) SWIG_fail
;
34799 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
34800 if (!SWIG_IsOK(ecode4
)) {
34801 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
34803 arg4
= static_cast< int >(val4
);
34806 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
34807 if (!SWIG_IsOK(ecode5
)) {
34808 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
34810 arg5
= static_cast< int >(val5
);
34813 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
34814 if (!SWIG_IsOK(ecode6
)) {
34815 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
34817 arg6
= static_cast< int >(val6
);
34820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34821 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
34822 wxPyEndAllowThreads(__tstate
);
34823 if (PyErr_Occurred()) SWIG_fail
;
34825 resultobj
= SWIG_Py_Void();
34827 if (arg3
) delete [] arg3
;
34832 if (arg3
) delete [] arg3
;
34838 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34839 PyObject
*resultobj
= 0;
34840 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34841 wxString
*arg2
= 0 ;
34843 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
34844 int arg5
= (int) -1 ;
34847 bool temp2
= false ;
34853 PyObject
* obj0
= 0 ;
34854 PyObject
* obj1
= 0 ;
34855 PyObject
* obj2
= 0 ;
34856 PyObject
* obj3
= 0 ;
34857 PyObject
* obj4
= 0 ;
34858 char * kwnames
[] = {
34859 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
34862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34864 if (!SWIG_IsOK(res1
)) {
34865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34867 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34869 arg2
= wxString_in_helper(obj1
);
34870 if (arg2
== NULL
) SWIG_fail
;
34875 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
34878 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34879 if (!SWIG_IsOK(ecode4
)) {
34880 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
34882 arg4
= static_cast< int >(val4
);
34885 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34886 if (!SWIG_IsOK(ecode5
)) {
34887 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
34889 arg5
= static_cast< int >(val5
);
34892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34893 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
34894 wxPyEndAllowThreads(__tstate
);
34895 if (PyErr_Occurred()) SWIG_fail
;
34897 resultobj
= SWIG_Py_Void();
34912 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34913 PyObject
*resultobj
= 0;
34914 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34915 wxString
*arg2
= 0 ;
34916 wxBitmap
*arg3
= 0 ;
34918 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
34919 int arg6
= (int) -1 ;
34922 bool temp2
= false ;
34930 PyObject
* obj0
= 0 ;
34931 PyObject
* obj1
= 0 ;
34932 PyObject
* obj2
= 0 ;
34933 PyObject
* obj3
= 0 ;
34934 PyObject
* obj4
= 0 ;
34935 PyObject
* obj5
= 0 ;
34936 char * kwnames
[] = {
34937 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
34940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
34941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34942 if (!SWIG_IsOK(res1
)) {
34943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34945 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34947 arg2
= wxString_in_helper(obj1
);
34948 if (arg2
== NULL
) SWIG_fail
;
34951 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
34952 if (!SWIG_IsOK(res3
)) {
34953 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
34956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
34958 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
34961 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34964 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34965 if (!SWIG_IsOK(ecode5
)) {
34966 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
34968 arg5
= static_cast< int >(val5
);
34971 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34972 if (!SWIG_IsOK(ecode6
)) {
34973 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
34975 arg6
= static_cast< int >(val6
);
34978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34979 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
34980 wxPyEndAllowThreads(__tstate
);
34981 if (PyErr_Occurred()) SWIG_fail
;
34983 resultobj
= SWIG_Py_Void();
34998 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34999 PyObject
*resultobj
= 0;
35000 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35002 wxPoint
*arg3
= (wxPoint
*) 0 ;
35005 PyObject
* obj0
= 0 ;
35006 PyObject
* obj1
= 0 ;
35007 char * kwnames
[] = {
35008 (char *) "self",(char *) "points", NULL
35011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35013 if (!SWIG_IsOK(res1
)) {
35014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35016 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35018 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
35019 if (arg3
== NULL
) SWIG_fail
;
35022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35023 (arg1
)->DrawSpline(arg2
,arg3
);
35024 wxPyEndAllowThreads(__tstate
);
35025 if (PyErr_Occurred()) SWIG_fail
;
35027 resultobj
= SWIG_Py_Void();
35029 if (arg3
) delete [] arg3
;
35034 if (arg3
) delete [] arg3
;
35040 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35041 PyObject
*resultobj
= 0;
35042 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35045 PyObject
*swig_obj
[1] ;
35047 if (!args
) SWIG_fail
;
35048 swig_obj
[0] = args
;
35049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35050 if (!SWIG_IsOK(res1
)) {
35051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35053 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35057 wxPyEndAllowThreads(__tstate
);
35058 if (PyErr_Occurred()) SWIG_fail
;
35060 resultobj
= SWIG_Py_Void();
35067 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35068 PyObject
*resultobj
= 0;
35069 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35075 PyObject
* obj0
= 0 ;
35076 PyObject
* obj1
= 0 ;
35077 char * kwnames
[] = {
35078 (char *) "self",(char *) "font", NULL
35081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35083 if (!SWIG_IsOK(res1
)) {
35084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35086 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35087 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
35088 if (!SWIG_IsOK(res2
)) {
35089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35094 arg2
= reinterpret_cast< wxFont
* >(argp2
);
35096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35097 (arg1
)->SetFont((wxFont
const &)*arg2
);
35098 wxPyEndAllowThreads(__tstate
);
35099 if (PyErr_Occurred()) SWIG_fail
;
35101 resultobj
= SWIG_Py_Void();
35108 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35109 PyObject
*resultobj
= 0;
35110 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35116 PyObject
* obj0
= 0 ;
35117 PyObject
* obj1
= 0 ;
35118 char * kwnames
[] = {
35119 (char *) "self",(char *) "pen", NULL
35122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35124 if (!SWIG_IsOK(res1
)) {
35125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35127 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35128 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
35129 if (!SWIG_IsOK(res2
)) {
35130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
35133 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
35135 arg2
= reinterpret_cast< wxPen
* >(argp2
);
35137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35138 (arg1
)->SetPen((wxPen
const &)*arg2
);
35139 wxPyEndAllowThreads(__tstate
);
35140 if (PyErr_Occurred()) SWIG_fail
;
35142 resultobj
= SWIG_Py_Void();
35149 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35150 PyObject
*resultobj
= 0;
35151 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35152 wxBrush
*arg2
= 0 ;
35157 PyObject
* obj0
= 0 ;
35158 PyObject
* obj1
= 0 ;
35159 char * kwnames
[] = {
35160 (char *) "self",(char *) "brush", NULL
35163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35165 if (!SWIG_IsOK(res1
)) {
35166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35168 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35169 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
35170 if (!SWIG_IsOK(res2
)) {
35171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
35174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
35176 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
35178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35179 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
35180 wxPyEndAllowThreads(__tstate
);
35181 if (PyErr_Occurred()) SWIG_fail
;
35183 resultobj
= SWIG_Py_Void();
35190 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35191 PyObject
*resultobj
= 0;
35192 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35193 wxBrush
*arg2
= 0 ;
35198 PyObject
* obj0
= 0 ;
35199 PyObject
* obj1
= 0 ;
35200 char * kwnames
[] = {
35201 (char *) "self",(char *) "brush", NULL
35204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35206 if (!SWIG_IsOK(res1
)) {
35207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35209 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35210 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
35211 if (!SWIG_IsOK(res2
)) {
35212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
35215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
35217 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
35219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35220 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
35221 wxPyEndAllowThreads(__tstate
);
35222 if (PyErr_Occurred()) SWIG_fail
;
35224 resultobj
= SWIG_Py_Void();
35231 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35232 PyObject
*resultobj
= 0;
35233 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35239 PyObject
* obj0
= 0 ;
35240 PyObject
* obj1
= 0 ;
35241 char * kwnames
[] = {
35242 (char *) "self",(char *) "mode", NULL
35245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35247 if (!SWIG_IsOK(res1
)) {
35248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35250 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35252 if (!SWIG_IsOK(ecode2
)) {
35253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
35255 arg2
= static_cast< int >(val2
);
35257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35258 (arg1
)->SetBackgroundMode(arg2
);
35259 wxPyEndAllowThreads(__tstate
);
35260 if (PyErr_Occurred()) SWIG_fail
;
35262 resultobj
= SWIG_Py_Void();
35269 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35270 PyObject
*resultobj
= 0;
35271 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35272 wxPalette
*arg2
= 0 ;
35277 PyObject
* obj0
= 0 ;
35278 PyObject
* obj1
= 0 ;
35279 char * kwnames
[] = {
35280 (char *) "self",(char *) "palette", NULL
35283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35285 if (!SWIG_IsOK(res1
)) {
35286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35288 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35289 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
35290 if (!SWIG_IsOK(res2
)) {
35291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
35294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
35296 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
35298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35299 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
35300 wxPyEndAllowThreads(__tstate
);
35301 if (PyErr_Occurred()) SWIG_fail
;
35303 resultobj
= SWIG_Py_Void();
35310 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35311 PyObject
*resultobj
= 0;
35312 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35313 wxColour
*arg2
= 0 ;
35317 PyObject
* obj0
= 0 ;
35318 PyObject
* obj1
= 0 ;
35319 char * kwnames
[] = {
35320 (char *) "self",(char *) "colour", NULL
35323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35325 if (!SWIG_IsOK(res1
)) {
35326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35328 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35331 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
35334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35335 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
35336 wxPyEndAllowThreads(__tstate
);
35337 if (PyErr_Occurred()) SWIG_fail
;
35339 resultobj
= SWIG_Py_Void();
35346 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35347 PyObject
*resultobj
= 0;
35348 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35349 wxColour
*arg2
= 0 ;
35353 PyObject
* obj0
= 0 ;
35354 PyObject
* obj1
= 0 ;
35355 char * kwnames
[] = {
35356 (char *) "self",(char *) "colour", NULL
35359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35361 if (!SWIG_IsOK(res1
)) {
35362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35364 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35367 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
35370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35371 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
35372 wxPyEndAllowThreads(__tstate
);
35373 if (PyErr_Occurred()) SWIG_fail
;
35375 resultobj
= SWIG_Py_Void();
35382 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35383 PyObject
*resultobj
= 0;
35384 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35390 PyObject
* obj0
= 0 ;
35391 PyObject
* obj1
= 0 ;
35392 char * kwnames
[] = {
35393 (char *) "self",(char *) "function", NULL
35396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35398 if (!SWIG_IsOK(res1
)) {
35399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35401 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35403 if (!SWIG_IsOK(ecode2
)) {
35404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
35406 arg2
= static_cast< int >(val2
);
35408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35409 (arg1
)->SetLogicalFunction(arg2
);
35410 wxPyEndAllowThreads(__tstate
);
35411 if (PyErr_Occurred()) SWIG_fail
;
35413 resultobj
= SWIG_Py_Void();
35420 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35422 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35423 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
35424 return SWIG_Py_Void();
35427 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35428 return SWIG_Python_InitShadowInstance(args
);
35431 static PyMethodDef SwigMethods
[] = {
35432 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
35433 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
35434 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
35435 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
35436 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
35437 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
35441 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
35442 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
35443 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
35444 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
35445 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
35446 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
35451 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
35455 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
35456 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
35457 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
35459 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
35462 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
35463 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
35464 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
35465 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
35467 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
35468 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
35469 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
35470 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
35471 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
35472 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
35473 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35474 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35475 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35477 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
35480 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
35482 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
35483 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35485 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35486 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
35487 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
35488 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35489 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35490 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
35491 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35492 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35493 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35494 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
35495 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
35496 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
35497 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
35498 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
35499 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
35500 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
35501 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35502 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
35503 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35504 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35505 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35506 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35507 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
35509 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
35511 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
35512 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
35513 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
35514 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
35515 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
35516 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
35517 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35518 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35519 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
35523 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35524 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35525 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35526 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35527 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35528 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35529 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35530 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35531 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35532 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
35533 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
35534 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35535 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
35538 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
35539 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
35540 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
35541 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
35542 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
35543 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
35544 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
35545 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
35546 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
35547 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
35548 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
35549 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
35550 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
35551 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
35552 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35553 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
35554 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
35555 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35556 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35557 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35558 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35559 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35560 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
35561 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
35562 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
35563 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
35564 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
35565 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
35566 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
35567 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
35568 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
35569 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
35570 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
35571 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
35572 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
35574 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
35575 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35576 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35577 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35580 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
35581 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
35582 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
35583 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
35585 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
35586 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
35587 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
35589 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
35590 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35591 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35592 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35593 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35594 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
35595 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35596 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
35597 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
35598 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
35599 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
35600 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35601 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35603 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35604 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35605 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
35606 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
35607 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35608 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
35609 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
35610 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35611 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
35612 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35613 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
35614 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
35615 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
35616 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
35617 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35618 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35619 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
35620 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35621 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35622 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35623 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
35624 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
35625 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35626 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
35627 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35628 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35629 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
35630 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35631 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
35632 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
35633 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
35634 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
35635 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35636 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35637 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35638 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35639 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
35640 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
35641 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35642 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35643 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35644 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35645 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
35646 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
35647 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35648 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35649 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35650 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35651 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35652 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
35653 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35654 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35655 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35656 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
35657 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35658 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35659 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35660 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35661 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35662 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35663 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35664 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35665 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35666 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35667 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
35668 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35669 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35670 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
35671 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
35672 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35673 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
35674 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
35675 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
35676 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
35677 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
35678 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
35679 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
35680 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
35681 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
35682 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
35683 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
35684 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
35685 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
35686 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
35687 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
35688 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
35689 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
35690 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35691 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
35692 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
35693 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
35694 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
35695 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
35696 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
35697 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
35698 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
35699 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35700 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35701 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35702 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35703 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35704 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35705 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35706 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35707 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35708 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
35709 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
35710 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35711 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
35712 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
35713 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
35714 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
35715 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
35716 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
35717 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
35718 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
35719 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
35720 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35721 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
35722 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
35723 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
35724 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35725 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35726 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
35727 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
35728 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
35729 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35730 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35731 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
35732 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35733 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35734 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35735 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35736 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35737 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
35738 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35739 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35740 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35741 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35742 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
35743 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
35744 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35745 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
35746 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35747 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35748 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35749 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35750 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35751 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
35752 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35753 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35754 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
35755 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
35756 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
35757 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
35758 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
35759 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
35760 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
35761 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
35762 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
35763 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
35764 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
35765 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
35766 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
35767 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35768 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35769 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35770 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35771 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35772 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35773 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35774 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35775 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35776 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35777 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35778 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
35779 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
35780 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
35781 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35782 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
35783 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
35784 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35785 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
35786 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
35787 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
35788 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
35789 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35790 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35791 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35792 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
35793 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
35794 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35795 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
35796 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
35797 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
35798 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
35799 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
35800 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
35801 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
35802 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
35803 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
35804 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35805 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
35806 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35807 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35808 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
35809 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
35810 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
35811 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
35812 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
35813 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
35814 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
35815 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
35816 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35817 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35818 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35819 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35820 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35821 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35822 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35823 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35824 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35825 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
35826 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
35827 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
35828 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35829 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
35830 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35831 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35832 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35833 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
35834 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
35835 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
35836 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
35837 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
35838 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
35839 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35840 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35841 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35842 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35843 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35844 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
35845 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
35846 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
35847 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35848 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35849 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35850 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35851 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35852 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35853 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35854 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35855 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35856 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35857 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35858 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35859 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35860 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35861 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35862 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35863 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35864 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35865 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35866 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35867 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35868 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35869 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35870 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35871 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35872 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35873 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35874 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35875 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35876 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35877 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35878 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35879 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35880 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35881 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35882 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35883 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35884 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35885 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35886 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35887 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35888 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35889 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35890 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35891 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35892 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35893 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35894 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35895 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
35896 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35897 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
35898 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
35899 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
35900 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35901 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35902 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35903 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35904 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35905 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35906 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
35907 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
35908 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
35909 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
35910 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
35911 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35912 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35913 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35914 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35915 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
35916 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
35917 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
35918 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
35919 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35920 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35921 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35922 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35923 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35924 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35925 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35926 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35927 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
35928 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
35929 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
35930 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
35931 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
35932 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
35933 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
35934 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
35935 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
35936 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
35937 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
35938 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
35939 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35940 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35941 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
35942 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35943 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
35944 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35945 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
35946 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35947 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
35948 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
35949 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35950 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35951 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
35952 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
35953 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35954 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35955 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35956 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
35957 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35958 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
35959 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35960 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35961 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
35962 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
35963 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
35964 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
35965 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
35966 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
35967 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
35968 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35969 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
35970 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35971 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35972 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35973 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35974 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35975 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35976 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
35977 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35978 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35979 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35980 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
35981 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
35982 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
35983 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35984 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35985 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
35986 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
35987 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
35988 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35989 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
35990 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
35991 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35992 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
35993 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
35994 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35995 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
35996 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
35997 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
35998 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
35999 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
36000 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
36001 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
36002 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36003 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
36004 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
36005 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36006 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
36007 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
36008 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36009 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36010 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
36011 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
36012 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36013 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
36014 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36015 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36016 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
36017 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
36018 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
36019 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36020 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
36021 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
36022 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36023 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
36024 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
36025 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
36026 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
36027 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
36028 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
36029 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36030 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
36031 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
36032 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
36033 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36034 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
36035 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
36036 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
36037 { (char *)"GraphicsPath_MoveToPoint", (PyCFunction
) _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36038 { (char *)"GraphicsPath_AddLineToPoint", (PyCFunction
) _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36039 { (char *)"GraphicsPath_AddCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36040 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
36041 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
36042 { (char *)"GraphicsPath_AddArc", (PyCFunction
) _wrap_GraphicsPath_AddArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36043 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36044 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36045 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36046 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36047 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
36048 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
36049 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
36050 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36051 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
36052 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
36053 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
36054 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36055 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36056 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
36057 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
36058 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36059 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36060 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36061 { (char *)"GraphicsContext_SetPen", (PyCFunction
) _wrap_GraphicsContext_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36062 { (char *)"GraphicsContext_SetBrush", (PyCFunction
) _wrap_GraphicsContext_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36063 { (char *)"GraphicsContext_SetLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36064 { (char *)"GraphicsContext_SetRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36065 { (char *)"GraphicsContext_SetFont", (PyCFunction
) _wrap_GraphicsContext_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36066 { (char *)"GraphicsContext_SetTextColour", (PyCFunction
) _wrap_GraphicsContext_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36067 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36068 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36069 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36070 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36071 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36072 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36073 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36074 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36075 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36076 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36077 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36078 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36079 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36080 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36081 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36082 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36083 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36084 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
36085 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36086 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
36087 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
36088 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36089 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
36090 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
36091 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
36092 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
36093 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
36094 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
36095 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
36096 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
36097 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
36098 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
36099 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
36100 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
36101 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36102 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
36103 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36104 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36105 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36106 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36107 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36108 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36109 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36110 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
36111 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36112 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
36113 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36114 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
36115 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
36116 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
36117 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
36118 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
36119 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
36120 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36121 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36122 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36123 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36124 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36125 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
36126 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
36127 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
36128 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
36129 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
36130 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
36131 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36132 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36133 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36134 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
36135 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36136 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36137 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36138 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
36139 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36140 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36141 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36142 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
36143 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
36144 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
36145 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36146 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36147 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36148 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36149 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
36150 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
36151 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
36152 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
36153 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
36154 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
36155 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
36156 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
36157 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
36158 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
36159 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
36160 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
36161 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36162 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36163 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36164 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36165 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36166 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36167 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36168 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36169 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
36170 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
36171 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36172 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
36173 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
36174 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
36175 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
36176 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
36177 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
36178 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
36179 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
36180 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
36181 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
36182 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
36183 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
36184 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
36185 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
36186 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
36187 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
36188 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
36189 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
36190 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
36191 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
36192 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
36193 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
36194 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
36195 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
36196 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36197 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
36198 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36199 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
36200 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
36201 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
36202 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
36203 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36204 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36205 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36206 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36207 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36208 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36209 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36210 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36211 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36212 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36213 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36214 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36215 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
36216 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
36217 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
36218 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36219 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
36220 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
36221 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
36222 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
36223 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
36224 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
36225 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
36226 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
36227 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36228 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36229 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36230 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36231 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36232 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36233 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36234 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36235 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36236 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36237 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36238 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36239 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36240 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36241 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36242 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36243 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36244 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36245 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36246 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36247 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36248 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36249 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36250 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36251 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36252 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36253 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36254 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36255 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36256 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36257 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36258 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36259 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36260 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36261 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36262 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36263 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36264 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36265 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36266 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36267 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36268 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36269 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36270 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36271 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36272 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36273 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36274 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36275 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36276 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36277 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36278 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36279 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
36280 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36281 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36282 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36283 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36284 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36285 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36286 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36287 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36288 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36289 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
36290 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
36291 { NULL
, NULL
, 0, NULL
}
36295 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36297 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
36298 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
36300 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
36301 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
36303 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
36304 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
36306 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
36307 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
36309 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
36310 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
36312 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
36313 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
36315 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
36316 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
36318 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
36319 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
36321 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
36322 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
36324 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
36325 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
36327 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
36328 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
36330 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
36331 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
36333 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
36334 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
36336 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
36337 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
36339 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
36340 return (void *)((wxDC
*) ((wxGCDC
*) x
));
36342 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
36343 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
36345 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
36346 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
36348 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
36349 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
36351 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
36352 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
36354 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
36355 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
36357 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
36358 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
36360 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
36361 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
36363 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
36364 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
36366 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
36367 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
36369 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
36370 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
36372 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
36373 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
36375 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
36376 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
36378 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
36379 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
36381 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
36382 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
36384 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
36385 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
36387 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
36388 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
36390 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36391 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36393 static void *_p_wxPenTo_p_wxObject(void *x
) {
36394 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
36396 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
36397 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
36399 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36400 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36402 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36403 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36405 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36406 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36408 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36409 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36411 static void *_p_wxIconTo_p_wxObject(void *x
) {
36412 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
36414 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36415 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36417 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36418 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36420 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36421 return (void *)((wxObject
*) ((wxSizer
*) x
));
36423 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36424 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36426 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36427 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36429 static void *_p_wxEventTo_p_wxObject(void *x
) {
36430 return (void *)((wxObject
*) ((wxEvent
*) x
));
36432 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36433 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36435 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36436 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36438 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36439 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36441 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
36442 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
36444 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
36445 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
36447 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36448 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36450 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36451 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36453 static void *_p_wxDCTo_p_wxObject(void *x
) {
36454 return (void *)((wxObject
*) ((wxDC
*) x
));
36456 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36457 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36459 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36460 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36462 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36463 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36465 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36466 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36468 static void *_p_wxControlTo_p_wxObject(void *x
) {
36469 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36471 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36472 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36474 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
36475 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
36477 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36478 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36480 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
36481 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
36483 static void *_p_wxRegionTo_p_wxObject(void *x
) {
36484 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
36486 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36487 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36489 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
36490 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
36492 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
36493 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
36495 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
36496 return (void *)((wxObject
*) ((wxEffects
*) x
));
36498 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36499 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36501 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36502 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36504 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
36505 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
36507 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36508 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36510 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36511 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36513 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
36514 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
36516 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36517 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36519 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36520 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36522 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36523 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36525 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36526 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36528 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36529 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36531 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36532 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36534 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36535 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36537 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36538 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36540 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36541 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36543 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36544 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36546 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36547 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36549 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36550 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36552 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36553 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36555 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36556 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36558 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36559 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36561 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36562 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36564 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36565 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36567 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
36568 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
36570 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36571 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36573 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36574 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36576 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36577 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36579 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36580 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36582 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
36583 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
36585 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
36586 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
36588 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
36589 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
36591 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
36592 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
36594 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
36595 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
36597 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
36598 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
36600 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
36601 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
36603 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36604 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36606 static void *_p_wxImageTo_p_wxObject(void *x
) {
36607 return (void *)((wxObject
*) ((wxImage
*) x
));
36609 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36610 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36612 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
36613 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
36615 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
36616 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
36618 static void *_p_wxImageListTo_p_wxObject(void *x
) {
36619 return (void *)((wxObject
*) ((wxImageList
*) x
));
36621 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
36622 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
36624 static void *_p_wxCursorTo_p_wxObject(void *x
) {
36625 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
36627 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
36628 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
36630 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
36631 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
36633 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36634 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36636 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36637 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36639 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36640 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36642 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36643 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36645 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36646 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36648 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36651 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
36652 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
36654 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36655 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36657 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
36658 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
36660 static void *_p_wxMaskTo_p_wxObject(void *x
) {
36661 return (void *)((wxObject
*) ((wxMask
*) x
));
36663 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36664 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36666 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36667 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36669 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36670 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36672 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36673 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36675 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36676 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36678 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36679 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36681 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36682 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36684 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36685 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36687 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36688 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36690 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36691 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36693 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36694 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36696 static void *_p_wxFontTo_p_wxObject(void *x
) {
36697 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
36699 static void *_p_wxBrushTo_p_wxObject(void *x
) {
36700 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
36702 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
36703 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
36705 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36708 static void *_p_wxColourTo_p_wxObject(void *x
) {
36709 return (void *)((wxObject
*) ((wxColour
*) x
));
36711 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36712 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36714 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36715 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36717 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36718 return (void *)((wxWindow
*) ((wxControl
*) x
));
36720 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36721 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36723 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36724 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36726 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
36727 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
36729 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
36730 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
36732 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
36733 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
36734 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
36735 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};
36736 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
36737 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
36738 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
36739 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
36740 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
36741 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
36742 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
36743 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
36744 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
36745 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
36746 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
36747 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
36748 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
36749 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
36750 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
36751 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
36752 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
36753 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
36754 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
36755 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
36756 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
36757 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
36758 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
36759 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
36760 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
36761 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
36762 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
36763 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
36764 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
36765 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
36766 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
36767 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
36768 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
36769 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
36770 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
36771 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
36772 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
36773 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
36774 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
36775 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
36776 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
36777 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
36778 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
36779 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
36780 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
36781 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
36782 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
36783 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
36784 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
36785 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
36786 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
36787 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
36788 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
36789 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
36790 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
36791 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
36792 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
36793 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
36794 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
36795 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
36796 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
36797 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
36798 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
36799 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
36800 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
36801 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
36802 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
36803 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
36804 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
36805 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
36806 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
36807 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
36808 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
36809 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
36810 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
36811 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
36812 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
36813 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
36814 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
36815 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
36816 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
36817 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
36818 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
36819 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
36820 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
36821 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
36822 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
36823 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
36824 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
36825 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
36826 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
36827 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
36828 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
36829 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
36830 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
36831 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
36832 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
36833 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
36834 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
36835 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
36836 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
36837 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
36838 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
36839 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
36840 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
36841 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
36842 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
36843 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
36844 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
36845 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
36846 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
36847 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
36848 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
36849 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
36850 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
36851 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
36852 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
36853 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
36854 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
36855 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
36856 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
36857 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
36858 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
36859 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
36860 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
36861 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
36862 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
36863 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
36864 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
36865 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
36866 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
36867 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
36868 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
36869 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
36870 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
36871 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
36872 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
36873 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
36874 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
36875 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
36876 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
36877 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
36878 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
36879 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
36880 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
36881 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
36882 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
36883 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
36884 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
36885 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
36886 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
36887 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
36888 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
36889 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
36891 static swig_type_info
*swig_type_initial
[] = {
36895 &_swigt__p_form_ops_t
,
36897 &_swigt__p_unsigned_char
,
36898 &_swigt__p_unsigned_int
,
36899 &_swigt__p_unsigned_long
,
36901 &_swigt__p_wxANIHandler
,
36902 &_swigt__p_wxAcceleratorTable
,
36903 &_swigt__p_wxActivateEvent
,
36904 &_swigt__p_wxAlphaPixelData
,
36905 &_swigt__p_wxAlphaPixelData_Accessor
,
36906 &_swigt__p_wxAutoBufferedPaintDC
,
36907 &_swigt__p_wxBMPHandler
,
36908 &_swigt__p_wxBitmap
,
36909 &_swigt__p_wxBoxSizer
,
36910 &_swigt__p_wxBrush
,
36911 &_swigt__p_wxBrushList
,
36912 &_swigt__p_wxBufferedDC
,
36913 &_swigt__p_wxBufferedPaintDC
,
36914 &_swigt__p_wxCURHandler
,
36916 &_swigt__p_wxChildFocusEvent
,
36917 &_swigt__p_wxClientDC
,
36918 &_swigt__p_wxClipboardTextEvent
,
36919 &_swigt__p_wxCloseEvent
,
36920 &_swigt__p_wxColor
,
36921 &_swigt__p_wxColour
,
36922 &_swigt__p_wxColourDatabase
,
36923 &_swigt__p_wxCommandEvent
,
36924 &_swigt__p_wxContextMenuEvent
,
36925 &_swigt__p_wxControl
,
36926 &_swigt__p_wxControlWithItems
,
36927 &_swigt__p_wxCursor
,
36929 &_swigt__p_wxDCOverlay
,
36931 &_swigt__p_wxDateEvent
,
36932 &_swigt__p_wxDisplayChangedEvent
,
36933 &_swigt__p_wxDropFilesEvent
,
36934 &_swigt__p_wxDuplexMode
,
36935 &_swigt__p_wxEffects
,
36936 &_swigt__p_wxEncodingConverter
,
36937 &_swigt__p_wxEraseEvent
,
36938 &_swigt__p_wxEvent
,
36939 &_swigt__p_wxEvtHandler
,
36940 &_swigt__p_wxFSFile
,
36941 &_swigt__p_wxFileSystem
,
36942 &_swigt__p_wxFlexGridSizer
,
36943 &_swigt__p_wxFocusEvent
,
36945 &_swigt__p_wxFontList
,
36946 &_swigt__p_wxFontMapper
,
36947 &_swigt__p_wxGBSizerItem
,
36949 &_swigt__p_wxGDIObjListBase
,
36950 &_swigt__p_wxGDIObject
,
36951 &_swigt__p_wxGIFHandler
,
36952 &_swigt__p_wxGraphicsContext
,
36953 &_swigt__p_wxGraphicsPath
,
36954 &_swigt__p_wxGridBagSizer
,
36955 &_swigt__p_wxGridSizer
,
36956 &_swigt__p_wxHeaderButtonParams
,
36957 &_swigt__p_wxICOHandler
,
36959 &_swigt__p_wxIconBundle
,
36960 &_swigt__p_wxIconLocation
,
36961 &_swigt__p_wxIconizeEvent
,
36962 &_swigt__p_wxIdleEvent
,
36963 &_swigt__p_wxImage
,
36964 &_swigt__p_wxImageHandler
,
36965 &_swigt__p_wxImageList
,
36966 &_swigt__p_wxIndividualLayoutConstraint
,
36967 &_swigt__p_wxInitDialogEvent
,
36968 &_swigt__p_wxJPEGHandler
,
36969 &_swigt__p_wxKeyEvent
,
36970 &_swigt__p_wxLanguageInfo
,
36971 &_swigt__p_wxLayoutConstraints
,
36972 &_swigt__p_wxLocale
,
36974 &_swigt__p_wxMaximizeEvent
,
36975 &_swigt__p_wxMemoryDC
,
36977 &_swigt__p_wxMenuBar
,
36978 &_swigt__p_wxMenuEvent
,
36979 &_swigt__p_wxMenuItem
,
36980 &_swigt__p_wxMetaFile
,
36981 &_swigt__p_wxMetaFileDC
,
36982 &_swigt__p_wxMirrorDC
,
36983 &_swigt__p_wxMouseCaptureChangedEvent
,
36984 &_swigt__p_wxMouseCaptureLostEvent
,
36985 &_swigt__p_wxMouseEvent
,
36986 &_swigt__p_wxMoveEvent
,
36987 &_swigt__p_wxNativeEncodingInfo
,
36988 &_swigt__p_wxNativeFontInfo
,
36989 &_swigt__p_wxNativePixelData
,
36990 &_swigt__p_wxNativePixelData_Accessor
,
36991 &_swigt__p_wxNavigationKeyEvent
,
36992 &_swigt__p_wxNcPaintEvent
,
36993 &_swigt__p_wxNotifyEvent
,
36994 &_swigt__p_wxObject
,
36995 &_swigt__p_wxOverlay
,
36996 &_swigt__p_wxPCXHandler
,
36997 &_swigt__p_wxPNGHandler
,
36998 &_swigt__p_wxPNMHandler
,
36999 &_swigt__p_wxPaintDC
,
37000 &_swigt__p_wxPaintEvent
,
37001 &_swigt__p_wxPalette
,
37002 &_swigt__p_wxPaletteChangedEvent
,
37003 &_swigt__p_wxPaperSize
,
37005 &_swigt__p_wxPenList
,
37006 &_swigt__p_wxPixelDataBase
,
37007 &_swigt__p_wxPoint
,
37008 &_swigt__p_wxPoint2D
,
37009 &_swigt__p_wxPostScriptDC
,
37010 &_swigt__p_wxPrintData
,
37011 &_swigt__p_wxPrinterDC
,
37012 &_swigt__p_wxPseudoDC
,
37013 &_swigt__p_wxPyApp
,
37014 &_swigt__p_wxPyCommandEvent
,
37015 &_swigt__p_wxPyEvent
,
37016 &_swigt__p_wxPyFontEnumerator
,
37017 &_swigt__p_wxPyImageHandler
,
37018 &_swigt__p_wxPyLocale
,
37019 &_swigt__p_wxPySizer
,
37020 &_swigt__p_wxPyValidator
,
37021 &_swigt__p_wxQueryNewPaletteEvent
,
37023 &_swigt__p_wxRegion
,
37024 &_swigt__p_wxRegionIterator
,
37025 &_swigt__p_wxRendererNative
,
37026 &_swigt__p_wxRendererVersion
,
37027 &_swigt__p_wxScreenDC
,
37028 &_swigt__p_wxScrollEvent
,
37029 &_swigt__p_wxScrollWinEvent
,
37030 &_swigt__p_wxSetCursorEvent
,
37031 &_swigt__p_wxShowEvent
,
37033 &_swigt__p_wxSizeEvent
,
37034 &_swigt__p_wxSizer
,
37035 &_swigt__p_wxSizerItem
,
37036 &_swigt__p_wxSplitterRenderParams
,
37037 &_swigt__p_wxStaticBoxSizer
,
37038 &_swigt__p_wxStdDialogButtonSizer
,
37039 &_swigt__p_wxStockGDI
,
37040 &_swigt__p_wxString
,
37041 &_swigt__p_wxSysColourChangedEvent
,
37042 &_swigt__p_wxTIFFHandler
,
37043 &_swigt__p_wxUpdateUIEvent
,
37044 &_swigt__p_wxValidator
,
37045 &_swigt__p_wxWindow
,
37046 &_swigt__p_wxWindowCreateEvent
,
37047 &_swigt__p_wxWindowDC
,
37048 &_swigt__p_wxWindowDestroyEvent
,
37049 &_swigt__p_wxXPMHandler
,
37052 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
37053 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
37054 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
37055 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
37056 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
37057 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
37058 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
37059 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
37060 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
37061 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
37062 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
37063 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
37064 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
37065 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
37066 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
37067 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}};
37068 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
37069 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
37070 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}};
37071 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
37072 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
37073 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
37074 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
37075 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}};
37076 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
37077 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
37078 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
37079 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
37080 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
37081 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
37082 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
37083 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
37084 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
37085 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}};
37086 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}};
37087 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
37088 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
37089 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
37090 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
37091 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
37092 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
37093 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
37094 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
37095 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
37096 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}};
37097 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
37098 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}};
37099 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
37100 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
37101 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
37102 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
37103 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
37104 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
37105 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
37106 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
37107 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
37108 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
37109 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
37110 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
37111 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37112 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37113 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37114 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
37115 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
37116 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
37117 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
37118 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
37119 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
37120 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
37121 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
37122 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
37123 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
37124 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37125 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37126 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37127 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37128 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
37129 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
37130 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
37131 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
37132 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37133 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37134 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
37135 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
37136 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37137 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
37138 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37139 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
37140 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37141 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37142 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37143 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
37144 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37145 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
37146 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
37147 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
37148 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
37149 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
37150 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
37151 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
37152 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
37153 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
37154 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
37155 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
37156 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
37157 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
37158 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
37159 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
37160 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
37161 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
37162 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
37163 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37164 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37165 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37166 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
37167 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
37168 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37169 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37170 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
37171 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37172 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37173 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37174 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
37175 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
37176 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
37177 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
37178 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
37179 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
37180 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
37181 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
37182 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}};
37183 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
37184 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
37185 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
37186 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
37187 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
37188 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
37189 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}};
37190 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
37191 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
37192 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
37193 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
37194 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
37195 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
37196 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
37197 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
37198 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
37199 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
37200 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
37201 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
37202 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
37203 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
37204 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
37205 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
37206 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
37207 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
37208 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}};
37209 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}};
37211 static swig_cast_info
*swig_cast_initial
[] = {
37215 _swigc__p_form_ops_t
,
37217 _swigc__p_unsigned_char
,
37218 _swigc__p_unsigned_int
,
37219 _swigc__p_unsigned_long
,
37221 _swigc__p_wxANIHandler
,
37222 _swigc__p_wxAcceleratorTable
,
37223 _swigc__p_wxActivateEvent
,
37224 _swigc__p_wxAlphaPixelData
,
37225 _swigc__p_wxAlphaPixelData_Accessor
,
37226 _swigc__p_wxAutoBufferedPaintDC
,
37227 _swigc__p_wxBMPHandler
,
37228 _swigc__p_wxBitmap
,
37229 _swigc__p_wxBoxSizer
,
37231 _swigc__p_wxBrushList
,
37232 _swigc__p_wxBufferedDC
,
37233 _swigc__p_wxBufferedPaintDC
,
37234 _swigc__p_wxCURHandler
,
37236 _swigc__p_wxChildFocusEvent
,
37237 _swigc__p_wxClientDC
,
37238 _swigc__p_wxClipboardTextEvent
,
37239 _swigc__p_wxCloseEvent
,
37241 _swigc__p_wxColour
,
37242 _swigc__p_wxColourDatabase
,
37243 _swigc__p_wxCommandEvent
,
37244 _swigc__p_wxContextMenuEvent
,
37245 _swigc__p_wxControl
,
37246 _swigc__p_wxControlWithItems
,
37247 _swigc__p_wxCursor
,
37249 _swigc__p_wxDCOverlay
,
37251 _swigc__p_wxDateEvent
,
37252 _swigc__p_wxDisplayChangedEvent
,
37253 _swigc__p_wxDropFilesEvent
,
37254 _swigc__p_wxDuplexMode
,
37255 _swigc__p_wxEffects
,
37256 _swigc__p_wxEncodingConverter
,
37257 _swigc__p_wxEraseEvent
,
37259 _swigc__p_wxEvtHandler
,
37260 _swigc__p_wxFSFile
,
37261 _swigc__p_wxFileSystem
,
37262 _swigc__p_wxFlexGridSizer
,
37263 _swigc__p_wxFocusEvent
,
37265 _swigc__p_wxFontList
,
37266 _swigc__p_wxFontMapper
,
37267 _swigc__p_wxGBSizerItem
,
37269 _swigc__p_wxGDIObjListBase
,
37270 _swigc__p_wxGDIObject
,
37271 _swigc__p_wxGIFHandler
,
37272 _swigc__p_wxGraphicsContext
,
37273 _swigc__p_wxGraphicsPath
,
37274 _swigc__p_wxGridBagSizer
,
37275 _swigc__p_wxGridSizer
,
37276 _swigc__p_wxHeaderButtonParams
,
37277 _swigc__p_wxICOHandler
,
37279 _swigc__p_wxIconBundle
,
37280 _swigc__p_wxIconLocation
,
37281 _swigc__p_wxIconizeEvent
,
37282 _swigc__p_wxIdleEvent
,
37284 _swigc__p_wxImageHandler
,
37285 _swigc__p_wxImageList
,
37286 _swigc__p_wxIndividualLayoutConstraint
,
37287 _swigc__p_wxInitDialogEvent
,
37288 _swigc__p_wxJPEGHandler
,
37289 _swigc__p_wxKeyEvent
,
37290 _swigc__p_wxLanguageInfo
,
37291 _swigc__p_wxLayoutConstraints
,
37292 _swigc__p_wxLocale
,
37294 _swigc__p_wxMaximizeEvent
,
37295 _swigc__p_wxMemoryDC
,
37297 _swigc__p_wxMenuBar
,
37298 _swigc__p_wxMenuEvent
,
37299 _swigc__p_wxMenuItem
,
37300 _swigc__p_wxMetaFile
,
37301 _swigc__p_wxMetaFileDC
,
37302 _swigc__p_wxMirrorDC
,
37303 _swigc__p_wxMouseCaptureChangedEvent
,
37304 _swigc__p_wxMouseCaptureLostEvent
,
37305 _swigc__p_wxMouseEvent
,
37306 _swigc__p_wxMoveEvent
,
37307 _swigc__p_wxNativeEncodingInfo
,
37308 _swigc__p_wxNativeFontInfo
,
37309 _swigc__p_wxNativePixelData
,
37310 _swigc__p_wxNativePixelData_Accessor
,
37311 _swigc__p_wxNavigationKeyEvent
,
37312 _swigc__p_wxNcPaintEvent
,
37313 _swigc__p_wxNotifyEvent
,
37314 _swigc__p_wxObject
,
37315 _swigc__p_wxOverlay
,
37316 _swigc__p_wxPCXHandler
,
37317 _swigc__p_wxPNGHandler
,
37318 _swigc__p_wxPNMHandler
,
37319 _swigc__p_wxPaintDC
,
37320 _swigc__p_wxPaintEvent
,
37321 _swigc__p_wxPalette
,
37322 _swigc__p_wxPaletteChangedEvent
,
37323 _swigc__p_wxPaperSize
,
37325 _swigc__p_wxPenList
,
37326 _swigc__p_wxPixelDataBase
,
37328 _swigc__p_wxPoint2D
,
37329 _swigc__p_wxPostScriptDC
,
37330 _swigc__p_wxPrintData
,
37331 _swigc__p_wxPrinterDC
,
37332 _swigc__p_wxPseudoDC
,
37334 _swigc__p_wxPyCommandEvent
,
37335 _swigc__p_wxPyEvent
,
37336 _swigc__p_wxPyFontEnumerator
,
37337 _swigc__p_wxPyImageHandler
,
37338 _swigc__p_wxPyLocale
,
37339 _swigc__p_wxPySizer
,
37340 _swigc__p_wxPyValidator
,
37341 _swigc__p_wxQueryNewPaletteEvent
,
37343 _swigc__p_wxRegion
,
37344 _swigc__p_wxRegionIterator
,
37345 _swigc__p_wxRendererNative
,
37346 _swigc__p_wxRendererVersion
,
37347 _swigc__p_wxScreenDC
,
37348 _swigc__p_wxScrollEvent
,
37349 _swigc__p_wxScrollWinEvent
,
37350 _swigc__p_wxSetCursorEvent
,
37351 _swigc__p_wxShowEvent
,
37353 _swigc__p_wxSizeEvent
,
37355 _swigc__p_wxSizerItem
,
37356 _swigc__p_wxSplitterRenderParams
,
37357 _swigc__p_wxStaticBoxSizer
,
37358 _swigc__p_wxStdDialogButtonSizer
,
37359 _swigc__p_wxStockGDI
,
37360 _swigc__p_wxString
,
37361 _swigc__p_wxSysColourChangedEvent
,
37362 _swigc__p_wxTIFFHandler
,
37363 _swigc__p_wxUpdateUIEvent
,
37364 _swigc__p_wxValidator
,
37365 _swigc__p_wxWindow
,
37366 _swigc__p_wxWindowCreateEvent
,
37367 _swigc__p_wxWindowDC
,
37368 _swigc__p_wxWindowDestroyEvent
,
37369 _swigc__p_wxXPMHandler
,
37373 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37375 static swig_const_info swig_const_table
[] = {
37376 {0, 0, 0, 0.0, 0, 0}};
37381 /* -----------------------------------------------------------------------------
37382 * Type initialization:
37383 * This problem is tough by the requirement that no dynamic
37384 * memory is used. Also, since swig_type_info structures store pointers to
37385 * swig_cast_info structures and swig_cast_info structures store pointers back
37386 * to swig_type_info structures, we need some lookup code at initialization.
37387 * The idea is that swig generates all the structures that are needed.
37388 * The runtime then collects these partially filled structures.
37389 * The SWIG_InitializeModule function takes these initial arrays out of
37390 * swig_module, and does all the lookup, filling in the swig_module.types
37391 * array with the correct data and linking the correct swig_cast_info
37392 * structures together.
37394 * The generated swig_type_info structures are assigned staticly to an initial
37395 * array. We just loop though that array, and handle each type individually.
37396 * First we lookup if this type has been already loaded, and if so, use the
37397 * loaded structure instead of the generated one. Then we have to fill in the
37398 * cast linked list. The cast data is initially stored in something like a
37399 * two-dimensional array. Each row corresponds to a type (there are the same
37400 * number of rows as there are in the swig_type_initial array). Each entry in
37401 * a column is one of the swig_cast_info structures for that type.
37402 * The cast_initial array is actually an array of arrays, because each row has
37403 * a variable number of columns. So to actually build the cast linked list,
37404 * we find the array of casts associated with the type, and loop through it
37405 * adding the casts to the list. The one last trick we need to do is making
37406 * sure the type pointer in the swig_cast_info struct is correct.
37408 * First off, we lookup the cast->type name to see if it is already loaded.
37409 * There are three cases to handle:
37410 * 1) If the cast->type has already been loaded AND the type we are adding
37411 * casting info to has not been loaded (it is in this module), THEN we
37412 * replace the cast->type pointer with the type pointer that has already
37414 * 2) If BOTH types (the one we are adding casting info to, and the
37415 * cast->type) are loaded, THEN the cast info has already been loaded by
37416 * the previous module so we just ignore it.
37417 * 3) Finally, if cast->type has not already been loaded, then we add that
37418 * swig_cast_info to the linked list (because the cast->type) pointer will
37420 * ----------------------------------------------------------------------------- */
37430 #define SWIGRUNTIME_DEBUG
37434 SWIG_InitializeModule(void *clientdata
) {
37436 swig_module_info
*module_head
;
37437 static int init_run
= 0;
37439 clientdata
= clientdata
;
37441 if (init_run
) return;
37444 /* Initialize the swig_module */
37445 swig_module
.type_initial
= swig_type_initial
;
37446 swig_module
.cast_initial
= swig_cast_initial
;
37448 /* Try and load any already created modules */
37449 module_head
= SWIG_GetModule(clientdata
);
37451 swig_module
.next
= module_head
->next
;
37452 module_head
->next
= &swig_module
;
37454 /* This is the first module loaded */
37455 swig_module
.next
= &swig_module
;
37456 SWIG_SetModule(clientdata
, &swig_module
);
37459 /* Now work on filling in swig_module.types */
37460 #ifdef SWIGRUNTIME_DEBUG
37461 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
37463 for (i
= 0; i
< swig_module
.size
; ++i
) {
37464 swig_type_info
*type
= 0;
37465 swig_type_info
*ret
;
37466 swig_cast_info
*cast
;
37468 #ifdef SWIGRUNTIME_DEBUG
37469 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
37472 /* if there is another module already loaded */
37473 if (swig_module
.next
!= &swig_module
) {
37474 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
37477 /* Overwrite clientdata field */
37478 #ifdef SWIGRUNTIME_DEBUG
37479 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
37481 if (swig_module
.type_initial
[i
]->clientdata
) {
37482 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
37483 #ifdef SWIGRUNTIME_DEBUG
37484 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
37488 type
= swig_module
.type_initial
[i
];
37491 /* Insert casting types */
37492 cast
= swig_module
.cast_initial
[i
];
37493 while (cast
->type
) {
37494 /* Don't need to add information already in the list */
37496 #ifdef SWIGRUNTIME_DEBUG
37497 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
37499 if (swig_module
.next
!= &swig_module
) {
37500 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
37501 #ifdef SWIGRUNTIME_DEBUG
37502 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
37506 if (type
== swig_module
.type_initial
[i
]) {
37507 #ifdef SWIGRUNTIME_DEBUG
37508 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
37513 /* Check for casting already in the list */
37514 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
37515 #ifdef SWIGRUNTIME_DEBUG
37516 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
37518 if (!ocast
) ret
= 0;
37523 #ifdef SWIGRUNTIME_DEBUG
37524 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
37527 type
->cast
->prev
= cast
;
37528 cast
->next
= type
->cast
;
37534 /* Set entry in modules->types array equal to the type */
37535 swig_module
.types
[i
] = type
;
37537 swig_module
.types
[i
] = 0;
37539 #ifdef SWIGRUNTIME_DEBUG
37540 printf("**** SWIG_InitializeModule: Cast List ******\n");
37541 for (i
= 0; i
< swig_module
.size
; ++i
) {
37543 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
37544 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
37545 while (cast
->type
) {
37546 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
37550 printf("---- Total casts: %d\n",j
);
37552 printf("**** SWIG_InitializeModule: Cast List ******\n");
37556 /* This function will propagate the clientdata field of type to
37557 * any new swig_type_info structures that have been added into the list
37558 * of equivalent types. It is like calling
37559 * SWIG_TypeClientData(type, clientdata) a second time.
37562 SWIG_PropagateClientData(void) {
37564 swig_cast_info
*equiv
;
37565 static int init_run
= 0;
37567 if (init_run
) return;
37570 for (i
= 0; i
< swig_module
.size
; i
++) {
37571 if (swig_module
.types
[i
]->clientdata
) {
37572 equiv
= swig_module
.types
[i
]->cast
;
37574 if (!equiv
->converter
) {
37575 if (equiv
->type
&& !equiv
->type
->clientdata
)
37576 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
37578 equiv
= equiv
->next
;
37598 /* Python-specific SWIG API */
37599 #define SWIG_newvarlink() SWIG_Python_newvarlink()
37600 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
37601 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
37603 /* -----------------------------------------------------------------------------
37604 * global variable support code.
37605 * ----------------------------------------------------------------------------- */
37607 typedef struct swig_globalvar
{
37608 char *name
; /* Name of global variable */
37609 PyObject
*(*get_attr
)(void); /* Return the current value */
37610 int (*set_attr
)(PyObject
*); /* Set the value */
37611 struct swig_globalvar
*next
;
37614 typedef struct swig_varlinkobject
{
37616 swig_globalvar
*vars
;
37617 } swig_varlinkobject
;
37619 SWIGINTERN PyObject
*
37620 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
37621 return PyString_FromString("<Swig global variables>");
37624 SWIGINTERN PyObject
*
37625 swig_varlink_str(swig_varlinkobject
*v
) {
37626 PyObject
*str
= PyString_FromString("(");
37627 swig_globalvar
*var
;
37628 for (var
= v
->vars
; var
; var
=var
->next
) {
37629 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
37630 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
37632 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
37637 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
37638 PyObject
*str
= swig_varlink_str(v
);
37639 fprintf(fp
,"Swig global variables ");
37640 fprintf(fp
,"%s\n", PyString_AsString(str
));
37646 swig_varlink_dealloc(swig_varlinkobject
*v
) {
37647 swig_globalvar
*var
= v
->vars
;
37649 swig_globalvar
*n
= var
->next
;
37656 SWIGINTERN PyObject
*
37657 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
37658 PyObject
*res
= NULL
;
37659 swig_globalvar
*var
= v
->vars
;
37661 if (strcmp(var
->name
,n
) == 0) {
37662 res
= (*var
->get_attr
)();
37667 if (res
== NULL
&& !PyErr_Occurred()) {
37668 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37674 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
37676 swig_globalvar
*var
= v
->vars
;
37678 if (strcmp(var
->name
,n
) == 0) {
37679 res
= (*var
->set_attr
)(p
);
37684 if (res
== 1 && !PyErr_Occurred()) {
37685 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37690 SWIGINTERN PyTypeObject
*
37691 swig_varlink_type(void) {
37692 static char varlink__doc__
[] = "Swig var link object";
37693 static PyTypeObject varlink_type
;
37694 static int type_init
= 0;
37696 const PyTypeObject tmp
37698 PyObject_HEAD_INIT(NULL
)
37699 0, /* Number of items in variable part (ob_size) */
37700 (char *)"swigvarlink", /* Type name (tp_name) */
37701 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
37702 0, /* Itemsize (tp_itemsize) */
37703 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
37704 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
37705 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
37706 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
37707 0, /* tp_compare */
37708 (reprfunc
) swig_varlink_repr
, /* tp_repr */
37709 0, /* tp_as_number */
37710 0, /* tp_as_sequence */
37711 0, /* tp_as_mapping */
37714 (reprfunc
)swig_varlink_str
, /* tp_str */
37715 0, /* tp_getattro */
37716 0, /* tp_setattro */
37717 0, /* tp_as_buffer */
37719 varlink__doc__
, /* tp_doc */
37720 0, /* tp_traverse */
37722 0, /* tp_richcompare */
37723 0, /* tp_weaklistoffset */
37724 #if PY_VERSION_HEX >= 0x02020000
37725 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37727 #if PY_VERSION_HEX >= 0x02030000
37730 #ifdef COUNT_ALLOCS
37731 0,0,0,0 /* tp_alloc -> tp_next */
37734 varlink_type
= tmp
;
37735 varlink_type
.ob_type
= &PyType_Type
;
37738 return &varlink_type
;
37741 /* Create a variable linking object for use later */
37742 SWIGINTERN PyObject
*
37743 SWIG_Python_newvarlink(void) {
37744 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
37748 return ((PyObject
*) result
);
37752 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37753 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
37754 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37756 size_t size
= strlen(name
)+1;
37757 gv
->name
= (char *)malloc(size
);
37759 strncpy(gv
->name
,name
,size
);
37760 gv
->get_attr
= get_attr
;
37761 gv
->set_attr
= set_attr
;
37762 gv
->next
= v
->vars
;
37768 SWIGINTERN PyObject
*
37770 static PyObject
*_SWIG_globals
= 0;
37771 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
37772 return _SWIG_globals
;
37775 /* -----------------------------------------------------------------------------
37776 * constants/methods manipulation
37777 * ----------------------------------------------------------------------------- */
37779 /* Install Constants */
37781 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37784 for (i
= 0; constants
[i
].type
; ++i
) {
37785 switch(constants
[i
].type
) {
37786 case SWIG_PY_POINTER
:
37787 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37789 case SWIG_PY_BINARY
:
37790 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37797 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
37803 /* -----------------------------------------------------------------------------*/
37804 /* Fix SwigMethods to carry the callback ptrs when needed */
37805 /* -----------------------------------------------------------------------------*/
37808 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37809 swig_const_info
*const_table
,
37810 swig_type_info
**types
,
37811 swig_type_info
**types_initial
) {
37813 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37814 const char *c
= methods
[i
].ml_doc
;
37815 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37817 swig_const_info
*ci
= 0;
37818 const char *name
= c
+ 10;
37819 for (j
= 0; const_table
[j
].type
; ++j
) {
37820 if (strncmp(const_table
[j
].name
, name
,
37821 strlen(const_table
[j
].name
)) == 0) {
37822 ci
= &(const_table
[j
]);
37827 size_t shift
= (ci
->ptype
) - types
;
37828 swig_type_info
*ty
= types_initial
[shift
];
37829 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37830 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37831 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37834 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
37836 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37838 strncpy(buff
, "swig_ptr: ", 10);
37840 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37841 methods
[i
].ml_doc
= ndoc
;
37853 /* -----------------------------------------------------------------------------*
37854 * Partial Init method
37855 * -----------------------------------------------------------------------------*/
37860 SWIGEXPORT
void SWIG_init(void) {
37863 /* Fix SwigMethods to carry the callback ptrs when needed */
37864 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
37866 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37867 d
= PyModule_GetDict(m
);
37869 SWIG_InitializeModule(0);
37870 SWIG_InstallConstants(d
,swig_const_table
);
37873 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
37874 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
37875 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
37876 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
37877 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
37878 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
37879 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
37880 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
37881 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
37882 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
37883 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
37884 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
37885 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
37886 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
37887 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
37888 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
37889 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
37890 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
37891 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
37892 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
37893 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
37894 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
37895 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
37896 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
37897 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
37898 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
37899 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
37900 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
37901 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
37902 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
37903 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
37904 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
37905 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
37906 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
37907 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
37908 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
37909 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
37910 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
37911 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
37912 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
37913 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
37914 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
37915 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
37916 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
37917 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
37918 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
37919 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
37920 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
37921 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
37922 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
37923 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
37924 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
37925 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
37926 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
37927 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
37928 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
37929 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
37930 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
37931 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
37932 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
37933 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
37934 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
37935 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
37936 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
37937 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
37938 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
37939 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
37940 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
37941 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
37942 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
37943 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
37944 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
37945 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
37946 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
37947 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
37948 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
37949 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
37950 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
37951 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
37952 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
37953 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
37954 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
37955 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
37956 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
37957 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
37958 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
37959 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
37960 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
37961 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
37962 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
37963 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
37964 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
37965 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
37966 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
37967 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
37968 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
37969 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
37970 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
37971 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
37972 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
37973 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
37974 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
37975 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
37976 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
37977 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
37978 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
37979 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
37980 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
37981 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
37982 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
37983 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
37984 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
37985 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
37986 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
37987 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
37988 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
37989 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
37990 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
37991 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
37992 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
37993 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
37994 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
37995 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
37996 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
37997 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
37998 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
37999 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
38000 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
38001 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
38002 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
38003 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
38004 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
38006 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
38008 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
38009 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
38010 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
38011 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
38012 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
38013 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
38014 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
38015 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
38016 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
38017 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
38018 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
38019 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
38020 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
38021 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
38022 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
38023 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
38024 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
38025 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
38026 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
38027 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
38028 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
38029 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
38030 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
38031 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
38032 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
38033 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
38034 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
38035 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
38036 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
38037 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
38038 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
38039 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
38040 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
38041 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
38042 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
38043 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
38044 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
38045 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
38046 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
38047 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
38048 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
38049 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
38050 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
38051 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
38052 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
38053 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
38054 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
38055 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
38056 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
38057 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
38058 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
38059 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
38060 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
38061 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
38062 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
38063 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
38064 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
38065 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
38066 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
38067 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
38068 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
38069 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
38070 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
38071 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
38072 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
38073 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
38074 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
38075 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
38076 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
38077 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
38078 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
38079 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
38080 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
38081 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
38082 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
38083 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
38084 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
38085 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
38086 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
38087 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
38088 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
38089 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
38090 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
38091 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
38092 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
38093 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
38094 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
38095 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
38096 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
38097 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
38098 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
38099 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
38100 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
38101 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
38102 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
38103 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
38104 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
38105 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
38106 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
38107 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
38108 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
38109 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
38110 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
38111 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
38112 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
38113 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
38114 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
38115 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
38116 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
38117 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
38118 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
38119 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
38120 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
38121 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
38122 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
38123 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
38124 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
38125 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
38126 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
38127 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
38128 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
38129 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
38130 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
38131 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
38132 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
38133 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
38134 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
38135 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
38136 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
38137 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
38138 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
38139 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
38140 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
38141 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
38142 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
38143 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
38144 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
38145 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
38146 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
38147 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
38148 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
38149 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
38150 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
38151 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
38152 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
38153 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
38154 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
38155 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
38156 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
38157 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
38158 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
38159 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
38160 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
38161 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
38162 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
38163 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
38164 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
38165 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
38166 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
38167 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
38168 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
38169 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
38170 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
38171 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
38172 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
38173 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
38174 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
38175 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
38176 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
38177 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
38178 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
38179 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
38180 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
38181 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
38182 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
38183 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
38184 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
38185 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
38186 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
38187 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
38188 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
38189 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
38190 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
38191 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
38192 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
38193 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
38194 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
38195 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
38196 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
38197 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
38198 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
38199 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
38200 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
38201 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
38202 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
38203 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
38204 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
38205 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
38206 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
38207 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
38208 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
38209 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
38210 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
38211 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
38212 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
38213 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
38214 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
38215 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
38216 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
38217 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
38218 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
38219 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
38220 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
38221 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
38222 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
38223 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
38224 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
38225 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
38226 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
38227 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
38228 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
38229 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
38230 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
38231 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
38232 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
38233 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
38234 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
38235 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
38236 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
38237 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
38238 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
38239 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
38240 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
38241 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
38242 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
38243 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
38244 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
38245 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
38246 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
38247 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
38248 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
38249 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
38250 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
38251 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
38252 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
38253 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
38254 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
38255 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
38256 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
38257 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
38258 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
38259 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
38260 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
38261 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
38262 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
38263 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
38264 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
38265 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
38266 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
38267 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
38268 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
38269 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
38270 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
38271 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
38272 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
38273 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
38274 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
38275 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
38276 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
38277 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
38278 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
38279 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
38280 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
38281 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
38282 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
38283 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
38284 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
38285 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
38286 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
38287 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
38288 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
38289 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
38290 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
38291 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
38292 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
38293 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
38294 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
38295 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
38296 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
38297 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
38298 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
38299 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
38300 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
38301 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
38302 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
38303 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
38304 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
38305 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
38306 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
38307 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
38308 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
38309 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
38310 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
38311 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
38312 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
38313 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
38314 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
38315 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
38316 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
38317 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
38318 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
38319 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
38320 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
38321 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
38322 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
38323 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
38324 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
38325 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
38326 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
38328 // Work around a chicken/egg problem in drawlist.cpp
38329 wxPyDrawList_SetAPIPtr();