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_wxDCBrushChanger swig_types[37]
2504 #define SWIGTYPE_p_wxDCClipper swig_types[38]
2505 #define SWIGTYPE_p_wxDCOverlay swig_types[39]
2506 #define SWIGTYPE_p_wxDCPenChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[41]
2508 #define SWIGTYPE_p_wxDash swig_types[42]
2509 #define SWIGTYPE_p_wxDateEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2513 #define SWIGTYPE_p_wxEffects swig_types[47]
2514 #define SWIGTYPE_p_wxEncodingConverter swig_types[48]
2515 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
2518 #define SWIGTYPE_p_wxFSFile swig_types[52]
2519 #define SWIGTYPE_p_wxFileSystem swig_types[53]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[55]
2522 #define SWIGTYPE_p_wxFont swig_types[56]
2523 #define SWIGTYPE_p_wxFontList swig_types[57]
2524 #define SWIGTYPE_p_wxFontMapper swig_types[58]
2525 #define SWIGTYPE_p_wxGBSizerItem swig_types[59]
2526 #define SWIGTYPE_p_wxGCDC swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObjListBase swig_types[61]
2528 #define SWIGTYPE_p_wxGDIObject swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsBrush swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsContext swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsFont swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsObject swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPath swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsPen swig_types[70]
2537 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[71]
2538 #define SWIGTYPE_p_wxGridBagSizer swig_types[72]
2539 #define SWIGTYPE_p_wxGridSizer swig_types[73]
2540 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconBundle swig_types[77]
2544 #define SWIGTYPE_p_wxIconLocation swig_types[78]
2545 #define SWIGTYPE_p_wxIconizeEvent swig_types[79]
2546 #define SWIGTYPE_p_wxIdleEvent swig_types[80]
2547 #define SWIGTYPE_p_wxImage swig_types[81]
2548 #define SWIGTYPE_p_wxImageHandler swig_types[82]
2549 #define SWIGTYPE_p_wxImageList swig_types[83]
2550 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[84]
2551 #define SWIGTYPE_p_wxInitDialogEvent swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLanguageInfo swig_types[88]
2555 #define SWIGTYPE_p_wxLayoutConstraints swig_types[89]
2556 #define SWIGTYPE_p_wxLocale swig_types[90]
2557 #define SWIGTYPE_p_wxMask swig_types[91]
2558 #define SWIGTYPE_p_wxMaximizeEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMemoryDC swig_types[93]
2560 #define SWIGTYPE_p_wxMenu swig_types[94]
2561 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2562 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFile swig_types[98]
2565 #define SWIGTYPE_p_wxMetaFileDC swig_types[99]
2566 #define SWIGTYPE_p_wxMirrorDC swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativeFontInfo swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData swig_types[107]
2574 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[108]
2575 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNcPaintEvent swig_types[110]
2577 #define SWIGTYPE_p_wxNotifyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxObject swig_types[112]
2579 #define SWIGTYPE_p_wxOverlay swig_types[113]
2580 #define SWIGTYPE_p_wxPCXHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNGHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPNMHandler swig_types[116]
2583 #define SWIGTYPE_p_wxPaintDC swig_types[117]
2584 #define SWIGTYPE_p_wxPaintEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPalette swig_types[119]
2586 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPaperSize swig_types[121]
2588 #define SWIGTYPE_p_wxPen swig_types[122]
2589 #define SWIGTYPE_p_wxPenList swig_types[123]
2590 #define SWIGTYPE_p_wxPixelDataBase swig_types[124]
2591 #define SWIGTYPE_p_wxPoint swig_types[125]
2592 #define SWIGTYPE_p_wxPoint2D swig_types[126]
2593 #define SWIGTYPE_p_wxPoint2DDouble swig_types[127]
2594 #define SWIGTYPE_p_wxPostScriptDC swig_types[128]
2595 #define SWIGTYPE_p_wxPrintData swig_types[129]
2596 #define SWIGTYPE_p_wxPrinterDC swig_types[130]
2597 #define SWIGTYPE_p_wxPseudoDC swig_types[131]
2598 #define SWIGTYPE_p_wxPyApp swig_types[132]
2599 #define SWIGTYPE_p_wxPyCommandEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyEvent swig_types[134]
2601 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[135]
2602 #define SWIGTYPE_p_wxPyImageHandler swig_types[136]
2603 #define SWIGTYPE_p_wxPyLocale swig_types[137]
2604 #define SWIGTYPE_p_wxPySizer swig_types[138]
2605 #define SWIGTYPE_p_wxPyValidator swig_types[139]
2606 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[140]
2607 #define SWIGTYPE_p_wxRect swig_types[141]
2608 #define SWIGTYPE_p_wxRect2DDouble swig_types[142]
2609 #define SWIGTYPE_p_wxRegion swig_types[143]
2610 #define SWIGTYPE_p_wxRegionIterator swig_types[144]
2611 #define SWIGTYPE_p_wxRendererNative swig_types[145]
2612 #define SWIGTYPE_p_wxRendererVersion swig_types[146]
2613 #define SWIGTYPE_p_wxScreenDC swig_types[147]
2614 #define SWIGTYPE_p_wxScrollEvent swig_types[148]
2615 #define SWIGTYPE_p_wxScrollWinEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSetCursorEvent swig_types[150]
2617 #define SWIGTYPE_p_wxShowEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSize swig_types[152]
2619 #define SWIGTYPE_p_wxSizeEvent swig_types[153]
2620 #define SWIGTYPE_p_wxSizer swig_types[154]
2621 #define SWIGTYPE_p_wxSizerItem swig_types[155]
2622 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[156]
2623 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[158]
2625 #define SWIGTYPE_p_wxStockGDI swig_types[159]
2626 #define SWIGTYPE_p_wxString swig_types[160]
2627 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTGAHandler swig_types[162]
2629 #define SWIGTYPE_p_wxTIFFHandler swig_types[163]
2630 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[164]
2631 #define SWIGTYPE_p_wxValidator swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDC swig_types[168]
2635 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[169]
2636 #define SWIGTYPE_p_wxXPMHandler swig_types[170]
2637 static swig_type_info
*swig_types
[172];
2638 static swig_module_info swig_module
= {swig_types
, 171, 0, 0, 0, 0};
2639 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2642 /* -------- TYPES TABLE (END) -------- */
2644 #if (PY_VERSION_HEX <= 0x02000000)
2645 # if !defined(SWIG_PYTHON_CLASSIC)
2646 # error "This python version requires to use swig with the '-classic' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodern' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodernargs' option"
2656 # error "This python version requires to use swig with the '-nofastunpack' option"
2659 /*-----------------------------------------------
2660 @(target):= _gdi_.so
2661 ------------------------------------------------*/
2662 #define SWIG_init init_gdi_
2664 #define SWIG_name "_gdi_"
2666 #define SWIGVERSION 0x010329
2669 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2673 #include <stdexcept>
2677 class PyObject_ptr
{
2682 PyObject_ptr() :_obj(0)
2686 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2691 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2693 if (initial_ref
) Py_XINCREF(_obj
);
2696 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2698 Py_XINCREF(item
._obj
);
2709 operator PyObject
*() const
2714 PyObject
*operator->() const
2723 struct PyObject_var
: PyObject_ptr
{
2724 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2726 PyObject_var
& operator = (PyObject
* obj
)
2736 #include "wx/wxPython/wxPython.h"
2737 #include "wx/wxPython/pyclasses.h"
2740 static const wxString
wxPyEmptyString(wxEmptyString
);
2742 #define SWIG_From_long PyInt_FromLong
2745 SWIGINTERNINLINE PyObject
*
2746 SWIG_From_int (int value
)
2748 return SWIG_From_long (value
);
2754 # define LLONG_MIN LONG_LONG_MIN
2757 # define LLONG_MAX LONG_LONG_MAX
2760 # define ULLONG_MAX ULONG_LONG_MAX
2765 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2767 if (PyNumber_Check(obj
)) {
2768 if (val
) *val
= PyInt_AsLong(obj
);
2771 return SWIG_TypeError
;
2776 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2779 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2780 return SWIG_TypeError
;
2783 *val
= (unsigned long)v
;
2789 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2792 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2793 if (SWIG_IsOK(res
)) {
2794 if ((v
> UCHAR_MAX
)) {
2795 return SWIG_OverflowError
;
2797 if (val
) *val
= static_cast< unsigned char >(v
);
2804 SWIGINTERNINLINE PyObject
*
2805 SWIG_From_unsigned_SS_long (unsigned long value
)
2807 return (value
> LONG_MAX
) ?
2808 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2812 SWIGINTERNINLINE PyObject
*
2813 SWIG_From_unsigned_SS_char (unsigned char value
)
2815 return SWIG_From_unsigned_SS_long (value
);
2818 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2819 wxColour temp
, *obj
= &temp
;
2820 if ( other
== Py_None
) return false;
2821 if ( ! wxColour_helper(other
, &obj
) ) {
2825 return self
->operator==(*obj
);
2827 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2828 wxColour temp
, *obj
= &temp
;
2829 if ( other
== Py_None
) return true;
2830 if ( ! wxColour_helper(other
, &obj
)) {
2834 return self
->operator!=(*obj
);
2838 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2840 if (obj
== Py_True
) {
2841 if (val
) *val
= true;
2843 } else if (obj
== Py_False
) {
2844 if (val
) *val
= false;
2848 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2849 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2854 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2855 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2859 int alpha
= wxALPHA_OPAQUE
;
2862 green
= self
->Green();
2863 blue
= self
->Blue();
2864 alpha
= self
->Alpha();
2866 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2867 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2868 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2870 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2873 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2874 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2878 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2881 int res
= SWIG_AsVal_long (obj
, &v
);
2882 if (SWIG_IsOK(res
)) {
2883 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2884 return SWIG_OverflowError
;
2886 if (val
) *val
= static_cast< int >(v
);
2892 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2894 int count
= self
->GetDashes(&dashes
);
2895 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2896 PyObject
* retval
= PyList_New(0);
2897 for (int x
=0; x
<count
; x
++) {
2898 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2899 PyList_Append(retval
, pyint
);
2902 wxPyEndBlockThreads(blocked
);
2905 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2906 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2907 int size
= PyList_Size(pyDashes
);
2908 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2910 // black magic warning! The array of wxDashes needs to exist as
2911 // long as the pen does because wxPen does not copy the array. So
2912 // stick a copy in a Python string object and attach it to _self,
2913 // and then call SetDashes with a pointer to that array. Then
2914 // when the Python pen object is destroyed the array will be
2916 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2917 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2919 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2921 Py_DECREF(strDashes
);
2922 wxPyEndBlockThreads(blocked
);
2924 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2925 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2927 SWIGINTERNINLINE PyObject
*
2928 SWIG_From_short (short value
)
2930 return SWIG_From_long (value
);
2935 SWIG_AsVal_short (PyObject
* obj
, short *val
)
2938 int res
= SWIG_AsVal_long (obj
, &v
);
2939 if (SWIG_IsOK(res
)) {
2940 if ((v
< SHRT_MIN
|| v
> SHRT_MAX
)) {
2941 return SWIG_OverflowError
;
2943 if (val
) *val
= static_cast< short >(v
);
2950 #include <wx/rawbmp.h>
2953 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2954 // appears to me that the other platforms are already doing it, so I'll just
2955 // automatically do it for wxMSW here.
2957 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2958 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2960 #define wxPy_premultiply(p, a) (p)
2961 #define wxPy_unpremultiply(p, a) (p)
2965 #include <wx/image.h>
2967 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2968 char** cArray
= NULL
;
2971 if (!PyList_Check(listOfStrings
)) {
2972 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2975 count
= PyList_Size(listOfStrings
);
2976 cArray
= new char*[count
];
2978 for(int x
=0; x
<count
; x
++) {
2979 // TODO: Need some validation and error checking here
2980 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2986 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2987 char** cArray
= NULL
;
2990 cArray
= ConvertListOfStrings(listOfStrings
);
2993 bmp
= new wxBitmap(cArray
);
2997 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
3000 PyString_AsStringAndSize(bits
, &buf
, &length
);
3001 return new wxBitmap(buf
, width
, height
, depth
);
3003 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
3004 wxSize
size(self
->GetWidth(), self
->GetHeight());
3007 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
3008 wxMask
*mask
= new wxMask(*self
, colour
);
3009 self
->SetMask(mask
);
3011 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
3012 self
->SetWidth(size
.x
);
3013 self
->SetHeight(size
.y
);
3015 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
3016 int height
=self
->GetHeight();
3017 int width
=self
->GetWidth();
3019 if (DATASIZE
!= width
* height
* 3) {
3020 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3022 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3024 // raise an exception...
3025 wxPyErr_SetString(PyExc_RuntimeError
,
3026 "Failed to gain raw access to bitmap data.");
3030 wxNativePixelData::Iterator
p(pixData
);
3031 for (int y
=0; y
<height
; y
++) {
3032 wxNativePixelData::Iterator rowStart
= p
;
3033 for (int x
=0; x
<width
; x
++) {
3034 p
.Red() = *(data
++);
3035 p
.Green() = *(data
++);
3036 p
.Blue() = *(data
++);
3040 p
.OffsetY(pixData
, 1);
3043 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3044 int height
=self
->GetHeight();
3045 int width
=self
->GetWidth();
3047 if (DATASIZE
!= width
* height
* 4) {
3048 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3050 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3052 // raise an exception...
3053 wxPyErr_SetString(PyExc_RuntimeError
,
3054 "Failed to gain raw access to bitmap data.");
3059 wxAlphaPixelData::Iterator
p(pixData
);
3060 for (int y
=0; y
<height
; y
++) {
3061 wxAlphaPixelData::Iterator rowStart
= p
;
3062 for (int x
=0; x
<width
; x
++) {
3064 p
.Red() = wxPy_premultiply(*(data
++), a
);
3065 p
.Green() = wxPy_premultiply(*(data
++), a
);
3066 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3067 p
.Alpha() = a
; data
++;
3071 p
.OffsetY(pixData
, 1);
3074 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3075 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3077 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3078 buffer data
, int DATASIZE
,
3079 buffer alpha
, int ALPHASIZE
)
3081 if (DATASIZE
!= width
*height
*3) {
3082 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3086 if (ALPHASIZE
!= width
*height
) {
3087 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3091 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3092 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3094 // raise an exception...
3095 wxPyErr_SetString(PyExc_RuntimeError
,
3096 "Failed to gain raw access to bitmap data.");
3101 wxAlphaPixelData::Iterator
p(pixData
);
3102 for (int y
=0; y
<height
; y
++) {
3103 wxAlphaPixelData::Iterator rowStart
= p
;
3104 for (int x
=0; x
<width
; x
++) {
3105 byte a
= *(alpha
++);
3106 p
.Red() = wxPy_premultiply(*(data
++), a
);
3107 p
.Green() = wxPy_premultiply(*(data
++), a
);
3108 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3113 p
.OffsetY(pixData
, 1);
3118 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3120 if (DATASIZE
!= width
*height
*3) {
3121 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3125 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3126 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3128 // raise an exception...
3129 wxPyErr_SetString(PyExc_RuntimeError
,
3130 "Failed to gain raw access to bitmap data.");
3134 wxNativePixelData::Iterator
p(pixData
);
3135 for (int y
=0; y
<height
; y
++) {
3136 wxNativePixelData::Iterator rowStart
= p
;
3137 for (int x
=0; x
<width
; x
++) {
3138 p
.Red() = *(data
++);
3139 p
.Green() = *(data
++);
3140 p
.Blue() = *(data
++);
3144 p
.OffsetY(pixData
, 1);
3150 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3152 if (DATASIZE
!= width
*height
*4) {
3153 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3157 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3158 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3160 // raise an exception...
3161 wxPyErr_SetString(PyExc_RuntimeError
,
3162 "Failed to gain raw access to bitmap data.");
3167 wxAlphaPixelData::Iterator
p(pixData
);
3168 for (int y
=0; y
<height
; y
++) {
3169 wxAlphaPixelData::Iterator rowStart
= p
;
3170 for (int x
=0; x
<width
; x
++) {
3172 p
.Red() = wxPy_premultiply(*(data
++), a
);
3173 p
.Green() = wxPy_premultiply(*(data
++), a
);
3174 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3175 p
.Alpha() = a
; data
++;
3179 p
.OffsetY(pixData
, 1);
3185 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3187 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3188 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3189 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3191 self
->Green() = green
;
3192 self
->Blue() = blue
;
3194 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3195 PyObject
* rv
= PyTuple_New(3);
3196 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3197 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3198 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3202 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3204 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3205 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3206 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3207 self
->Red() = wxPy_premultiply(red
, alpha
);
3208 self
->Green() = wxPy_premultiply(green
, alpha
);
3209 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3210 self
->Alpha() = alpha
;
3212 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3213 PyObject
* rv
= PyTuple_New(4);
3214 int red
= self
->Red();
3215 int green
= self
->Green();
3216 int blue
= self
->Blue();
3217 int alpha
= self
->Alpha();
3219 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3220 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3221 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3222 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3225 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3226 if ( !colour
.IsOk() )
3227 return new wxMask(bitmap
, *wxBLACK
);
3229 return new wxMask(bitmap
, colour
);
3232 #include <wx/iconbndl.h>
3234 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3235 wxIcon
* icon
= new wxIcon();
3236 icon
->CopyFromBitmap(bmp
);
3239 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3240 char** cArray
= NULL
;
3243 cArray
= ConvertListOfStrings(listOfStrings
);
3246 icon
= new wxIcon(cArray
);
3250 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3254 return new wxIconLocation(*filename
);
3257 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3264 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3271 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3273 wxImage
img(cursorName
, type
);
3274 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3275 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3276 return new wxCursor(img
);
3278 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3283 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3286 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3287 return self
->operator bool();
3290 #include <wx/fontutil.h>
3291 #include <wx/fontmap.h>
3292 #include <wx/fontenum.h>
3294 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3295 return self
->ToString();
3298 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3299 static wxNativeEncodingInfo info
;
3300 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3307 SWIGINTERNINLINE PyObject
*
3308 SWIG_From_size_t (size_t value
)
3310 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3314 SWIGINTERNINLINE
int
3315 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3318 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3319 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3323 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3324 wxFontEncoding alt_enc
;
3325 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3326 return PyInt_FromLong(alt_enc
);
3332 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3333 wxNativeFontInfo nfi
;
3334 nfi
.FromString(info
);
3335 return new wxFont(nfi
);
3337 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3338 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3340 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3341 return wxFontBase::New(pixelSize
, family
,
3342 style
, weight
, underlined
,
3345 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3346 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3348 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3349 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3351 class wxPyFontEnumerator
: public wxFontEnumerator
{
3353 wxPyFontEnumerator() {}
3354 ~wxPyFontEnumerator() {}
3356 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3357 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3362 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3363 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3366 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3368 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3369 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3370 ret
= wxArrayString2PyList_helper(arr
);
3371 wxPyEndBlockThreads(blocked
);
3374 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3376 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3377 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3378 ret
= wxArrayString2PyList_helper(arr
);
3379 wxPyEndBlockThreads(blocked
);
3385 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3388 loc
= new wxLocale();
3390 loc
= new wxLocale(language
, flags
);
3391 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3392 // for the floating point conversions and such to work right.
3393 #if PY_VERSION_HEX < 0x02040000
3394 setlocale(LC_NUMERIC
, "C");
3398 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3399 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3400 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3401 // for the floating point conversions and such to work right.
3402 #if PY_VERSION_HEX < 0x02040000
3403 setlocale(LC_NUMERIC
, "C");
3407 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3408 bool rc
= self
->Init(language
, flags
);
3409 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3410 // for the floating point conversions and such to work right.
3411 #if PY_VERSION_HEX < 0x02040000
3412 setlocale(LC_NUMERIC
, "C");
3417 class wxPyLocale
: public wxLocale
3422 wxPyLocale(const wxChar
*szName
, // name (for messages)
3423 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3424 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3425 bool bLoadDefault
= true, // preload wxstd.mo?
3426 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3428 wxPyLocale(int language
, // wxLanguage id or custom language
3429 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3433 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3434 const wxChar
*szDomain
= NULL
) const;
3435 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3436 const wxChar
*szOrigString2
, size_t n
,
3437 const wxChar
*szDomain
= NULL
) const;
3439 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3440 const wxChar
*szDomain
= NULL
) const;
3441 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3442 const wxChar
*szOrigString2
, size_t n
,
3443 const wxChar
*szDomain
= NULL
) const;
3447 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3450 wxPyLocale::wxPyLocale() : wxLocale()
3454 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3455 const wxChar
*szShort
, // dir prefix (for msg files)
3456 const wxChar
*szLocale
, // locale (for setlocale)
3457 bool bLoadDefault
, // preload wxstd.mo?
3458 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3459 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3463 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3464 int flags
) : wxLocale(language
, flags
)
3468 wxPyLocale::~wxPyLocale()
3472 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3473 const wxChar
*szDomain
) const
3475 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3476 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3479 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3480 const wxChar
*szOrigString2
, size_t n
,
3481 const wxChar
*szDomain
) const
3483 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3484 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3487 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3488 const wxChar
*szDomain
) const
3491 static wxString str
;
3492 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.
3493 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3494 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3495 PyObject
* param1
= wx2PyString(szOrigString
);
3496 PyObject
* param2
= wx2PyString(szDomain
);
3497 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3501 str
= Py2wxString(ret
);
3505 wxPyEndBlockThreads(blocked
);
3506 return (found
? (wxChar
*)str
.c_str() : NULL
);
3509 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3510 const wxChar
*szOrigString2
, size_t n
,
3511 const wxChar
*szDomain
) const
3514 static wxString str
;
3515 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.
3516 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3517 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3518 PyObject
* param1
= wx2PyString(szOrigString
);
3519 PyObject
* param2
= wx2PyString(szOrigString2
);
3520 PyObject
* param4
= wx2PyString(szDomain
);
3521 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3526 str
= Py2wxString(ret
);
3530 wxPyEndBlockThreads(blocked
);
3531 return (found
? (wxChar
*)str
.c_str() : NULL
);
3534 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3537 loc
= new wxPyLocale();
3539 loc
= new wxPyLocale(language
, flags
);
3540 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3541 // for the floating point conversions and such to work right.
3542 #if PY_VERSION_HEX < 0x02040000
3543 setlocale(LC_NUMERIC
, "C");
3548 #include "wx/wxPython/pydrawxxx.h"
3550 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3552 self
->GetPixel(x
, y
, &col
);
3555 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3557 self
->GetPixel(pt
, &col
);
3562 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3564 if (PyNumber_Check(obj
)) {
3565 if (val
) *val
= PyFloat_AsDouble(obj
);
3568 return SWIG_TypeError
;
3571 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3573 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3576 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3578 self
->GetClippingBox(rect
);
3581 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3583 self
->GetPartialTextExtents(text
, widths
);
3587 #define SWIG_From_double PyFloat_FromDouble
3589 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3590 self
->SetLogicalOrigin(point
.x
, point
.y
);
3592 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3593 self
->SetDeviceOrigin(point
.x
, point
.y
);
3595 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3596 self
->CalcBoundingBox(point
.x
, point
.y
);
3598 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3599 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3601 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3602 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3604 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3605 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3607 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3608 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3610 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3611 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3613 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3614 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3617 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3625 #include <wx/dcbuffer.h>
3628 #include <wx/dcps.h>
3631 #include <wx/metafile.h>
3634 #include <wx/graphics.h>
3637 #if !wxUSE_GRAPHICS_CONTEXT
3638 // C++ stub classes for platforms or build configurations that don't have
3639 // wxGraphicsContext yet.
3642 class wxGraphicsObject
: public wxObject
3645 wxGraphicsObject( wxGraphicsRenderer
* ) {
3646 PyErr_SetString(PyExc_NotImplementedError
,
3647 "wx.GraphicsObject is not available on this platform.");
3649 wxGraphicsObject( const wxGraphicsObject
& ) {}
3650 virtual ~wxGraphicsObject() {}
3651 bool IsNull() const { return false; }
3652 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3657 class wxGraphicsPen
: public wxGraphicsObject
3660 virtual ~wxGraphicsPen() {}
3662 wxGraphicsPen wxNullGraphicsPen
;
3666 class wxGraphicsBrush
: public wxGraphicsObject
3669 wxGraphicsBrush() {}
3670 virtual ~wxGraphicsBrush() {}
3672 wxGraphicsBrush wxNullGraphicsBrush
;
3676 class wxGraphicsFont
: public wxGraphicsObject
3680 virtual ~wxGraphicsFont() {}
3682 wxGraphicsFont wxNullGraphicsFont
;
3686 class wxGraphicsPath
: public wxGraphicsObject
3689 wxGraphicsPath(wxGraphicsRenderer
* ) {
3690 PyErr_SetString(PyExc_NotImplementedError
,
3691 "wx.GraphicsPath is not available on this platform.");
3693 virtual ~wxGraphicsPath() {}
3695 void MoveToPoint( wxDouble
, wxDouble
) {}
3696 void MoveToPoint( const wxPoint2DDouble
& ) {}
3697 void AddLineToPoint( wxDouble
, wxDouble
) {}
3698 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3699 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3700 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3701 void AddPath( const wxGraphicsPath
* ) {}
3702 void CloseSubpath() {}
3703 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3704 wxPoint2DDouble
GetCurrentPoint() { reutrn
wxPoint2D(0,0); }
3705 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3706 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3708 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3709 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3710 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3711 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3713 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3714 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3715 void * GetNativePath() const { return NULL
; }
3716 void UnGetNativePath(void *) {}
3717 void Transform( wxGraphicsMatrix
* ) {}
3718 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) {}
3719 wxRect2D
GetBox() { return wxRect2D(0,0,0,0); }
3721 bool Contains( wxDouble
, wxDouble
, int ) { return false; }
3722 bool Contains( const wxPoint2DDouble
& , int ) { return false; }
3724 wxGraphicsPath wxNullGraphicsPath
;
3727 class wxGraphicsMatrix
: public wxGraphicsObject
3730 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3731 PyErr_SetString(PyExc_NotImplementedError
,
3732 "wx.GraphicsMatrix is not available on this platform.");
3734 virtual ~wxGraphicsMatrix() {}
3735 virtual void Concat( const wxGraphicsMatrix
* ) {}
3736 virtual void Copy( const wxGraphicsMatrix
* ) {}
3737 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3738 wxDouble
, wxDouble
) {}
3739 virtual void Invert() {}
3740 virtual bool IsEqual( const wxGraphicsMatrix
* t
) const {}
3741 virtual bool IsIdentity() { return false; }
3742 virtual void Translate( wxDouble
, wxDouble
) {}
3743 virtual void Scale( wxDouble
, wxDouble
) {}
3744 virtual void Rotate( wxDouble
) {}
3745 virtual void TransformPoint( wxDouble
*, wxDouble
* ) {}
3746 virtual void TransformDistance( wxDouble
*, wxDouble
* ) {}
3747 virtual void * GetNativeMatrix() const { return NULL
; }
3749 wxGraphicsMatrix wxNullGraphicsMatrix
;
3752 class wxGraphicsContext
: public wxGraphicsObject
3756 wxGraphicsContext(wxGraphicsRenderer
* ) {
3757 PyErr_SetString(PyExc_NotImplementedError
,
3758 "wx.GraphicsContext is not available on this platform.");
3761 virtual ~wxGraphicsContext() {}
3763 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3764 PyErr_SetString(PyExc_NotImplementedError
,
3765 "wx.GraphicsContext is not available on this platform.");
3768 static wxGraphicsContext
* CreateFromNative( void * ) {
3769 PyErr_SetString(PyExc_NotImplementedError
,
3770 "wx.GraphicsContext is not available on this platform.");
3773 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3774 PyErr_SetString(PyExc_NotImplementedError
,
3775 "wx.GraphicsContext is not available on this platform.");
3778 static wxGraphicsContext
* Create( wxWindow
* ) {
3779 PyErr_SetString(PyExc_NotImplementedError
,
3780 "wx.GraphicsContext is not available on this platform.");
3783 wxGraphicsPath
* CreatePath() { return NULL
; }
3785 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return NULL
; }
3787 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return NULL
; }
3789 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3790 const wxColour
&, const wxColour
&) { return NULL
; }
3792 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3793 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3794 const wxColour
&oColor
, const wxColour
&cColor
) { return NULL
; }
3796 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return NULL
; }
3798 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3799 wxDouble
, wxDouble
) { return NULL
; }
3801 virtual void PushState() {}
3802 virtual void PopState() {}
3803 virtual void Clip( const wxRegion
& ) {}
3804 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3805 virtual void ResetClip() {}
3806 virtual void * GetNativeContext() { return NULL
; }
3807 virtual void Translate( wxDouble
, wxDouble
) {}
3808 virtual void Scale( wxDouble
, wxDouble
) {}
3809 virtual void Rotate( wxDouble
) {}
3810 virtual void ConcatTransform( const wxGraphicsMatrix
* ) {}
3811 virtual void SetTransform( const wxGraphicsMatrix
* ) {}
3812 virtual void GetTransform( wxGraphicsMatrix
* ) {}
3814 virtual void SetPen( const wxGraphicsPen
& ) {}
3815 void SetPen( const wxPen
& ) {}
3817 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3818 void SetBrush( const wxBrush
& ) {}
3820 virtual void SetFont( const wxGraphicsFont
& ) {}
3821 void SetFont( const wxFont
&, const wxColour
& ) {}
3823 virtual void StrokePath( const wxGraphicsPath
* ) {}
3824 virtual void FillPath( const wxGraphicsPath
*, int ) {}
3825 virtual void DrawPath( const wxGraphicsPath
*, int ) {}
3827 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3828 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3829 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3830 wxDouble
*, wxDouble
* ) const {}
3831 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3833 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3834 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3836 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3837 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3838 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3839 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3840 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3841 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3842 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3843 virtual bool ShouldOffset() const { return false; }
3847 class wxGraphicsRenderer
: public wxObject
3850 wxGraphicsRenderer() {
3851 PyErr_SetString(PyExc_NotImplementedError
,
3852 "wx.GraphicsRenderer is not available on this platform.");
3855 virtual ~wxGraphicsRenderer() {}
3857 static wxGraphicsRenderer
* GetDefaultRenderer(
3858 PyErr_SetString(PyExc_NotImplementedError
,
3859 "wx.GraphicsRenderer is not available on this platform.");
3862 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3863 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3864 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3865 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3867 virtual wxGraphicsPath
* CreatePath() { return NULL
; }
3869 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3870 wxDouble
, wxDouble
) { return NULL
; }
3872 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGaphicsPen
; }
3873 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGaphicsBrush
; }
3874 virtual wxGraphicsBrush
CreateLinearGradientBrush(xDouble
, wxDouble
, wxDouble
, wxDouble
,
3875 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3876 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3877 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3878 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGaphicsFont
; }
3883 class wxGCDC
: public wxWindowDC
3886 wxGCDC(const wxWindowDC
&) {
3887 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3888 PyErr_SetString(PyExc_NotImplementedError
,
3889 "wxGCDC is not available on this platform.");
3890 wxPyEndBlockThreads(blocked
);
3894 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3895 PyErr_SetString(PyExc_NotImplementedError
,
3896 "wxGCDC is not available on this platform.");
3897 wxPyEndBlockThreads(blocked
);
3900 virtual ~wxGCDC() {}
3902 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3903 void SetGraphicsContext( wxGraphicsContext
* ) {}
3908 SWIGINTERN
void wxGraphicsMatrix_Copy(wxGraphicsMatrix
*self
,wxGraphicsMatrix
const &t
){
3911 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3912 wxDouble width
= 0.0,
3914 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3915 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3916 PyObject
* rv
= PyTuple_New(2);
3917 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3918 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3921 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3922 wxArrayDouble widths
;
3923 self
->GetPartialTextExtents(text
, widths
);
3926 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3927 size_t c1
, c2
, count
;
3928 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3929 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3931 if ( beginP
!= NULL
&& endP
!= NULL
)
3933 count
= wxMin(c1
, c2
);
3934 self
->StrokeLines(count
, beginP
, endP
);
3940 #include "wx/dcgraph.h"
3943 #include <wx/overlay.h>
3947 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3948 self
->AddColour(name
, wxColour(red
, green
, blue
));
3951 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3952 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3953 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3954 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3957 #include <wx/effects.h>
3960 #include "wx/renderer.h"
3963 SWIGINTERNINLINE PyObject
*
3964 SWIG_From_bool (bool value
)
3966 return PyBool_FromLong(value
? 1 : 0);
3970 #include "wx/wxPython/pseudodc.h"
3972 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3974 self
->GetIdBounds(id
, rect
);
3980 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3981 PyObject
*resultobj
= 0;
3982 wxGDIObject
*result
= 0 ;
3984 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3986 if (!wxPyCheckForApp()) SWIG_fail
;
3987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3988 result
= (wxGDIObject
*)new wxGDIObject();
3989 wxPyEndAllowThreads(__tstate
);
3990 if (PyErr_Occurred()) SWIG_fail
;
3992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3999 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4000 PyObject
*resultobj
= 0;
4001 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4004 PyObject
*swig_obj
[1] ;
4006 if (!args
) SWIG_fail
;
4008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4009 if (!SWIG_IsOK(res1
)) {
4010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4012 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4017 wxPyEndAllowThreads(__tstate
);
4018 if (PyErr_Occurred()) SWIG_fail
;
4020 resultobj
= SWIG_Py_Void();
4027 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4028 PyObject
*resultobj
= 0;
4029 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4033 PyObject
*swig_obj
[1] ;
4035 if (!args
) SWIG_fail
;
4037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4038 if (!SWIG_IsOK(res1
)) {
4039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4041 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4044 result
= (bool)(arg1
)->IsNull();
4045 wxPyEndAllowThreads(__tstate
);
4046 if (PyErr_Occurred()) SWIG_fail
;
4049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4057 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4059 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4060 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4061 return SWIG_Py_Void();
4064 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4065 return SWIG_Python_InitShadowInstance(args
);
4068 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4069 PyObject
*resultobj
= 0;
4070 byte arg1
= (byte
) 0 ;
4071 byte arg2
= (byte
) 0 ;
4072 byte arg3
= (byte
) 0 ;
4073 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4074 wxColour
*result
= 0 ;
4075 unsigned char val1
;
4077 unsigned char val2
;
4079 unsigned char val3
;
4081 unsigned char val4
;
4083 PyObject
* obj0
= 0 ;
4084 PyObject
* obj1
= 0 ;
4085 PyObject
* obj2
= 0 ;
4086 PyObject
* obj3
= 0 ;
4087 char * kwnames
[] = {
4088 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4093 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4094 if (!SWIG_IsOK(ecode1
)) {
4095 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4097 arg1
= static_cast< byte
>(val1
);
4100 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4101 if (!SWIG_IsOK(ecode2
)) {
4102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4104 arg2
= static_cast< byte
>(val2
);
4107 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4108 if (!SWIG_IsOK(ecode3
)) {
4109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4111 arg3
= static_cast< byte
>(val3
);
4114 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4115 if (!SWIG_IsOK(ecode4
)) {
4116 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4118 arg4
= static_cast< byte
>(val4
);
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4133 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
= 0;
4135 wxString
*arg1
= 0 ;
4136 wxColour
*result
= 0 ;
4137 bool temp1
= false ;
4138 PyObject
* obj0
= 0 ;
4139 char * kwnames
[] = {
4140 (char *) "colorName", NULL
4143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4145 arg1
= wxString_in_helper(obj0
);
4146 if (arg1
== NULL
) SWIG_fail
;
4150 if (!wxPyCheckForApp()) SWIG_fail
;
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) SWIG_fail
;
4156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4171 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4172 PyObject
*resultobj
= 0;
4173 unsigned long arg1
;
4174 wxColour
*result
= 0 ;
4175 unsigned long val1
;
4177 PyObject
* obj0
= 0 ;
4178 char * kwnames
[] = {
4179 (char *) "colRGB", NULL
4182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4183 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4184 if (!SWIG_IsOK(ecode1
)) {
4185 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4187 arg1
= static_cast< unsigned long >(val1
);
4189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4190 result
= (wxColour
*)new wxColour(arg1
);
4191 wxPyEndAllowThreads(__tstate
);
4192 if (PyErr_Occurred()) SWIG_fail
;
4194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4201 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4202 PyObject
*resultobj
= 0;
4203 wxColour
*arg1
= (wxColour
*) 0 ;
4206 PyObject
*swig_obj
[1] ;
4208 if (!args
) SWIG_fail
;
4210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4211 if (!SWIG_IsOK(res1
)) {
4212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4214 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 wxPyEndAllowThreads(__tstate
);
4220 if (PyErr_Occurred()) SWIG_fail
;
4222 resultobj
= SWIG_Py_Void();
4229 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4230 PyObject
*resultobj
= 0;
4231 wxColour
*arg1
= (wxColour
*) 0 ;
4235 PyObject
*swig_obj
[1] ;
4237 if (!args
) SWIG_fail
;
4239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4240 if (!SWIG_IsOK(res1
)) {
4241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4243 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4246 result
= (byte
)(arg1
)->Red();
4247 wxPyEndAllowThreads(__tstate
);
4248 if (PyErr_Occurred()) SWIG_fail
;
4250 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4257 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4258 PyObject
*resultobj
= 0;
4259 wxColour
*arg1
= (wxColour
*) 0 ;
4263 PyObject
*swig_obj
[1] ;
4265 if (!args
) SWIG_fail
;
4267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4268 if (!SWIG_IsOK(res1
)) {
4269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4271 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4274 result
= (byte
)(arg1
)->Green();
4275 wxPyEndAllowThreads(__tstate
);
4276 if (PyErr_Occurred()) SWIG_fail
;
4278 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4285 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4286 PyObject
*resultobj
= 0;
4287 wxColour
*arg1
= (wxColour
*) 0 ;
4291 PyObject
*swig_obj
[1] ;
4293 if (!args
) SWIG_fail
;
4295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4296 if (!SWIG_IsOK(res1
)) {
4297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4299 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4302 result
= (byte
)(arg1
)->Blue();
4303 wxPyEndAllowThreads(__tstate
);
4304 if (PyErr_Occurred()) SWIG_fail
;
4306 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4313 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4314 PyObject
*resultobj
= 0;
4315 wxColour
*arg1
= (wxColour
*) 0 ;
4319 PyObject
*swig_obj
[1] ;
4321 if (!args
) SWIG_fail
;
4323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4324 if (!SWIG_IsOK(res1
)) {
4325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4327 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 result
= (byte
)(arg1
)->Alpha();
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4334 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4341 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4342 PyObject
*resultobj
= 0;
4343 wxColour
*arg1
= (wxColour
*) 0 ;
4347 PyObject
*swig_obj
[1] ;
4349 if (!args
) SWIG_fail
;
4351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4352 if (!SWIG_IsOK(res1
)) {
4353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4355 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4358 result
= (bool)(arg1
)->IsOk();
4359 wxPyEndAllowThreads(__tstate
);
4360 if (PyErr_Occurred()) SWIG_fail
;
4363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4371 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4372 PyObject
*resultobj
= 0;
4373 wxColour
*arg1
= (wxColour
*) 0 ;
4377 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4380 unsigned char val2
;
4382 unsigned char val3
;
4384 unsigned char val4
;
4386 unsigned char val5
;
4388 PyObject
* obj0
= 0 ;
4389 PyObject
* obj1
= 0 ;
4390 PyObject
* obj2
= 0 ;
4391 PyObject
* obj3
= 0 ;
4392 PyObject
* obj4
= 0 ;
4393 char * kwnames
[] = {
4394 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4399 if (!SWIG_IsOK(res1
)) {
4400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4402 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4403 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4404 if (!SWIG_IsOK(ecode2
)) {
4405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4407 arg2
= static_cast< byte
>(val2
);
4408 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4409 if (!SWIG_IsOK(ecode3
)) {
4410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4412 arg3
= static_cast< byte
>(val3
);
4413 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4414 if (!SWIG_IsOK(ecode4
)) {
4415 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4417 arg4
= static_cast< byte
>(val4
);
4419 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4420 if (!SWIG_IsOK(ecode5
)) {
4421 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4423 arg5
= static_cast< byte
>(val5
);
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4428 wxPyEndAllowThreads(__tstate
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4431 resultobj
= SWIG_Py_Void();
4438 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4439 PyObject
*resultobj
= 0;
4440 wxColour
*arg1
= (wxColour
*) 0 ;
4441 unsigned long arg2
;
4444 unsigned long val2
;
4446 PyObject
* obj0
= 0 ;
4447 PyObject
* obj1
= 0 ;
4448 char * kwnames
[] = {
4449 (char *) "self",(char *) "colRGB", NULL
4452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4454 if (!SWIG_IsOK(res1
)) {
4455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4457 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4458 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4459 if (!SWIG_IsOK(ecode2
)) {
4460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4462 arg2
= static_cast< unsigned long >(val2
);
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4469 resultobj
= SWIG_Py_Void();
4476 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
*resultobj
= 0;
4478 wxColour
*arg1
= (wxColour
*) 0 ;
4479 wxString
*arg2
= 0 ;
4482 bool temp2
= false ;
4483 PyObject
* obj0
= 0 ;
4484 PyObject
* obj1
= 0 ;
4485 char * kwnames
[] = {
4486 (char *) "self",(char *) "colourName", NULL
4489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4491 if (!SWIG_IsOK(res1
)) {
4492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4494 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4496 arg2
= wxString_in_helper(obj1
);
4497 if (arg2
== NULL
) SWIG_fail
;
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 (arg1
)->Set((wxString
const &)*arg2
);
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4506 resultobj
= SWIG_Py_Void();
4521 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
*resultobj
= 0;
4523 wxColour
*arg1
= (wxColour
*) 0 ;
4524 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4530 PyObject
* obj0
= 0 ;
4531 PyObject
* obj1
= 0 ;
4532 char * kwnames
[] = {
4533 (char *) "self",(char *) "flags", NULL
4536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4538 if (!SWIG_IsOK(res1
)) {
4539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4541 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4543 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4544 if (!SWIG_IsOK(ecode2
)) {
4545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4547 arg2
= static_cast< long >(val2
);
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4552 wxPyEndAllowThreads(__tstate
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4568 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4569 PyObject
*resultobj
= 0;
4570 wxColour
*arg1
= (wxColour
*) 0 ;
4574 PyObject
*swig_obj
[1] ;
4576 if (!args
) SWIG_fail
;
4578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4579 if (!SWIG_IsOK(res1
)) {
4580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4582 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4585 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4586 wxPyEndAllowThreads(__tstate
);
4587 if (PyErr_Occurred()) SWIG_fail
;
4589 resultobj
= SWIG_From_long(static_cast< long >(result
));
4596 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4597 PyObject
*resultobj
= 0;
4598 wxColour
*arg1
= (wxColour
*) 0 ;
4599 PyObject
*arg2
= (PyObject
*) 0 ;
4603 PyObject
* obj0
= 0 ;
4604 PyObject
* obj1
= 0 ;
4605 char * kwnames
[] = {
4606 (char *) "self",(char *) "other", NULL
4609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4611 if (!SWIG_IsOK(res1
)) {
4612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4614 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4617 result
= (bool)wxColour___eq__(arg1
,arg2
);
4618 if (PyErr_Occurred()) SWIG_fail
;
4621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4629 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
*resultobj
= 0;
4631 wxColour
*arg1
= (wxColour
*) 0 ;
4632 PyObject
*arg2
= (PyObject
*) 0 ;
4636 PyObject
* obj0
= 0 ;
4637 PyObject
* obj1
= 0 ;
4638 char * kwnames
[] = {
4639 (char *) "self",(char *) "other", NULL
4642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4644 if (!SWIG_IsOK(res1
)) {
4645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4647 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4650 result
= (bool)wxColour___ne__(arg1
,arg2
);
4651 if (PyErr_Occurred()) SWIG_fail
;
4654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4662 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
= 0;
4664 wxColour
*arg1
= (wxColour
*) 0 ;
4665 bool arg2
= (bool) false ;
4666 PyObject
*result
= 0 ;
4671 PyObject
* obj0
= 0 ;
4672 PyObject
* obj1
= 0 ;
4673 char * kwnames
[] = {
4674 (char *) "self",(char *) "includeAlpha", NULL
4677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4679 if (!SWIG_IsOK(res1
)) {
4680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4682 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4684 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4685 if (!SWIG_IsOK(ecode2
)) {
4686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4688 arg2
= static_cast< bool >(val2
);
4691 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4692 if (PyErr_Occurred()) SWIG_fail
;
4701 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4702 PyObject
*resultobj
= 0;
4703 wxColour
*arg1
= (wxColour
*) 0 ;
4704 unsigned long result
;
4707 PyObject
*swig_obj
[1] ;
4709 if (!args
) SWIG_fail
;
4711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4712 if (!SWIG_IsOK(res1
)) {
4713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4715 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4717 result
= (unsigned long)wxColour_GetRGB(arg1
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4720 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4727 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4729 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4730 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4731 return SWIG_Py_Void();
4734 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4735 return SWIG_Python_InitShadowInstance(args
);
4738 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
*resultobj
= 0;
4741 unsigned char *arg2
= (unsigned char *) 0 ;
4742 unsigned char *arg3
= (unsigned char *) 0 ;
4743 unsigned char *arg4
= (unsigned char *) 0 ;
4744 wxPalette
*result
= 0 ;
4753 PyObject
* obj0
= 0 ;
4754 PyObject
* obj1
= 0 ;
4755 PyObject
* obj2
= 0 ;
4756 PyObject
* obj3
= 0 ;
4757 char * kwnames
[] = {
4758 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4762 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4763 if (!SWIG_IsOK(ecode1
)) {
4764 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4766 arg1
= static_cast< int >(val1
);
4767 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4768 if (!SWIG_IsOK(res2
)) {
4769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4771 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4772 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4773 if (!SWIG_IsOK(res3
)) {
4774 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4776 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4777 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4778 if (!SWIG_IsOK(res4
)) {
4779 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4781 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4783 if (!wxPyCheckForApp()) SWIG_fail
;
4784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4785 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4796 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4797 PyObject
*resultobj
= 0;
4798 wxPalette
*arg1
= (wxPalette
*) 0 ;
4801 PyObject
*swig_obj
[1] ;
4803 if (!args
) SWIG_fail
;
4805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4806 if (!SWIG_IsOK(res1
)) {
4807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4809 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4817 resultobj
= SWIG_Py_Void();
4824 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
= 0;
4826 wxPalette
*arg1
= (wxPalette
*) 0 ;
4833 unsigned char val2
;
4835 unsigned char val3
;
4837 unsigned char val4
;
4839 PyObject
* obj0
= 0 ;
4840 PyObject
* obj1
= 0 ;
4841 PyObject
* obj2
= 0 ;
4842 PyObject
* obj3
= 0 ;
4843 char * kwnames
[] = {
4844 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4849 if (!SWIG_IsOK(res1
)) {
4850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4852 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4853 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4854 if (!SWIG_IsOK(ecode2
)) {
4855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4857 arg2
= static_cast< byte
>(val2
);
4858 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4859 if (!SWIG_IsOK(ecode3
)) {
4860 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4862 arg3
= static_cast< byte
>(val3
);
4863 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4864 if (!SWIG_IsOK(ecode4
)) {
4865 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4867 arg4
= static_cast< byte
>(val4
);
4869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4870 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4871 wxPyEndAllowThreads(__tstate
);
4872 if (PyErr_Occurred()) SWIG_fail
;
4874 resultobj
= SWIG_From_int(static_cast< int >(result
));
4881 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
*resultobj
= 0;
4883 wxPalette
*arg1
= (wxPalette
*) 0 ;
4885 byte
*arg3
= (byte
*) 0 ;
4886 byte
*arg4
= (byte
*) 0 ;
4887 byte
*arg5
= (byte
*) 0 ;
4894 int res3
= SWIG_TMPOBJ
;
4896 int res4
= SWIG_TMPOBJ
;
4898 int res5
= SWIG_TMPOBJ
;
4899 PyObject
* obj0
= 0 ;
4900 PyObject
* obj1
= 0 ;
4901 char * kwnames
[] = {
4902 (char *) "self",(char *) "pixel", NULL
4908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4910 if (!SWIG_IsOK(res1
)) {
4911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4913 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4915 if (!SWIG_IsOK(ecode2
)) {
4916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4918 arg2
= static_cast< int >(val2
);
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4921 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4922 wxPyEndAllowThreads(__tstate
);
4923 if (PyErr_Occurred()) SWIG_fail
;
4926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4928 if (SWIG_IsTmpObj(res3
)) {
4929 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4931 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4932 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4934 if (SWIG_IsTmpObj(res4
)) {
4935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4937 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4938 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4940 if (SWIG_IsTmpObj(res5
)) {
4941 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4943 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4944 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4952 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4953 PyObject
*resultobj
= 0;
4954 wxPalette
*arg1
= (wxPalette
*) 0 ;
4958 PyObject
*swig_obj
[1] ;
4960 if (!args
) SWIG_fail
;
4962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4963 if (!SWIG_IsOK(res1
)) {
4964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4966 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4969 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4973 resultobj
= SWIG_From_int(static_cast< int >(result
));
4980 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4981 PyObject
*resultobj
= 0;
4982 wxPalette
*arg1
= (wxPalette
*) 0 ;
4986 PyObject
*swig_obj
[1] ;
4988 if (!args
) SWIG_fail
;
4990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4991 if (!SWIG_IsOK(res1
)) {
4992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4994 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4997 result
= (bool)(arg1
)->IsOk();
4998 wxPyEndAllowThreads(__tstate
);
4999 if (PyErr_Occurred()) SWIG_fail
;
5002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5010 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5012 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5013 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5014 return SWIG_Py_Void();
5017 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5018 return SWIG_Python_InitShadowInstance(args
);
5021 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
= 0;
5023 wxColour
*arg1
= 0 ;
5024 int arg2
= (int) 1 ;
5025 int arg3
= (int) wxSOLID
;
5032 PyObject
* obj0
= 0 ;
5033 PyObject
* obj1
= 0 ;
5034 PyObject
* obj2
= 0 ;
5035 char * kwnames
[] = {
5036 (char *) "colour",(char *) "width",(char *) "style", NULL
5039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5042 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5046 if (!SWIG_IsOK(ecode2
)) {
5047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5049 arg2
= static_cast< int >(val2
);
5052 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5053 if (!SWIG_IsOK(ecode3
)) {
5054 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5056 arg3
= static_cast< int >(val3
);
5059 if (!wxPyCheckForApp()) SWIG_fail
;
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5062 wxPyEndAllowThreads(__tstate
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5072 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5073 PyObject
*resultobj
= 0;
5074 wxPen
*arg1
= (wxPen
*) 0 ;
5077 PyObject
*swig_obj
[1] ;
5079 if (!args
) SWIG_fail
;
5081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5082 if (!SWIG_IsOK(res1
)) {
5083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5085 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 wxPyEndAllowThreads(__tstate
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5093 resultobj
= SWIG_Py_Void();
5100 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5101 PyObject
*resultobj
= 0;
5102 wxPen
*arg1
= (wxPen
*) 0 ;
5106 PyObject
*swig_obj
[1] ;
5108 if (!args
) SWIG_fail
;
5110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5111 if (!SWIG_IsOK(res1
)) {
5112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5114 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5117 result
= (int)(arg1
)->GetCap();
5118 wxPyEndAllowThreads(__tstate
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5121 resultobj
= SWIG_From_int(static_cast< int >(result
));
5128 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5129 PyObject
*resultobj
= 0;
5130 wxPen
*arg1
= (wxPen
*) 0 ;
5134 PyObject
*swig_obj
[1] ;
5136 if (!args
) SWIG_fail
;
5138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5139 if (!SWIG_IsOK(res1
)) {
5140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5142 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5145 result
= (arg1
)->GetColour();
5146 wxPyEndAllowThreads(__tstate
);
5147 if (PyErr_Occurred()) SWIG_fail
;
5149 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5156 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5157 PyObject
*resultobj
= 0;
5158 wxPen
*arg1
= (wxPen
*) 0 ;
5162 PyObject
*swig_obj
[1] ;
5164 if (!args
) SWIG_fail
;
5166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5167 if (!SWIG_IsOK(res1
)) {
5168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5170 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 result
= (int)(arg1
)->GetJoin();
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5177 resultobj
= SWIG_From_int(static_cast< int >(result
));
5184 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5185 PyObject
*resultobj
= 0;
5186 wxPen
*arg1
= (wxPen
*) 0 ;
5190 PyObject
*swig_obj
[1] ;
5192 if (!args
) SWIG_fail
;
5194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5195 if (!SWIG_IsOK(res1
)) {
5196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5198 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5201 result
= (int)(arg1
)->GetStyle();
5202 wxPyEndAllowThreads(__tstate
);
5203 if (PyErr_Occurred()) SWIG_fail
;
5205 resultobj
= SWIG_From_int(static_cast< int >(result
));
5212 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5213 PyObject
*resultobj
= 0;
5214 wxPen
*arg1
= (wxPen
*) 0 ;
5218 PyObject
*swig_obj
[1] ;
5220 if (!args
) SWIG_fail
;
5222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5223 if (!SWIG_IsOK(res1
)) {
5224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5226 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5229 result
= (int)(arg1
)->GetWidth();
5230 wxPyEndAllowThreads(__tstate
);
5231 if (PyErr_Occurred()) SWIG_fail
;
5233 resultobj
= SWIG_From_int(static_cast< int >(result
));
5240 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5241 PyObject
*resultobj
= 0;
5242 wxPen
*arg1
= (wxPen
*) 0 ;
5246 PyObject
*swig_obj
[1] ;
5248 if (!args
) SWIG_fail
;
5250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5251 if (!SWIG_IsOK(res1
)) {
5252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5254 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5257 result
= (bool)(arg1
)->IsOk();
5258 wxPyEndAllowThreads(__tstate
);
5259 if (PyErr_Occurred()) SWIG_fail
;
5262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5270 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
*resultobj
= 0;
5272 wxPen
*arg1
= (wxPen
*) 0 ;
5278 PyObject
* obj0
= 0 ;
5279 PyObject
* obj1
= 0 ;
5280 char * kwnames
[] = {
5281 (char *) "self",(char *) "cap_style", NULL
5284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5286 if (!SWIG_IsOK(res1
)) {
5287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5289 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5291 if (!SWIG_IsOK(ecode2
)) {
5292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5294 arg2
= static_cast< int >(val2
);
5296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5297 (arg1
)->SetCap(arg2
);
5298 wxPyEndAllowThreads(__tstate
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5301 resultobj
= SWIG_Py_Void();
5308 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5309 PyObject
*resultobj
= 0;
5310 wxPen
*arg1
= (wxPen
*) 0 ;
5311 wxColour
*arg2
= 0 ;
5315 PyObject
* obj0
= 0 ;
5316 PyObject
* obj1
= 0 ;
5317 char * kwnames
[] = {
5318 (char *) "self",(char *) "colour", NULL
5321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5323 if (!SWIG_IsOK(res1
)) {
5324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5326 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5329 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5333 (arg1
)->SetColour(*arg2
);
5334 wxPyEndAllowThreads(__tstate
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5337 resultobj
= SWIG_Py_Void();
5344 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5345 PyObject
*resultobj
= 0;
5346 wxPen
*arg1
= (wxPen
*) 0 ;
5352 PyObject
* obj0
= 0 ;
5353 PyObject
* obj1
= 0 ;
5354 char * kwnames
[] = {
5355 (char *) "self",(char *) "join_style", NULL
5358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5360 if (!SWIG_IsOK(res1
)) {
5361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5363 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5365 if (!SWIG_IsOK(ecode2
)) {
5366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5368 arg2
= static_cast< int >(val2
);
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5371 (arg1
)->SetJoin(arg2
);
5372 wxPyEndAllowThreads(__tstate
);
5373 if (PyErr_Occurred()) SWIG_fail
;
5375 resultobj
= SWIG_Py_Void();
5382 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5383 PyObject
*resultobj
= 0;
5384 wxPen
*arg1
= (wxPen
*) 0 ;
5390 PyObject
* obj0
= 0 ;
5391 PyObject
* obj1
= 0 ;
5392 char * kwnames
[] = {
5393 (char *) "self",(char *) "style", NULL
5396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5398 if (!SWIG_IsOK(res1
)) {
5399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5401 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5403 if (!SWIG_IsOK(ecode2
)) {
5404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5406 arg2
= static_cast< int >(val2
);
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 (arg1
)->SetStyle(arg2
);
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5413 resultobj
= SWIG_Py_Void();
5420 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5421 PyObject
*resultobj
= 0;
5422 wxPen
*arg1
= (wxPen
*) 0 ;
5428 PyObject
* obj0
= 0 ;
5429 PyObject
* obj1
= 0 ;
5430 char * kwnames
[] = {
5431 (char *) "self",(char *) "width", NULL
5434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5436 if (!SWIG_IsOK(res1
)) {
5437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5439 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5441 if (!SWIG_IsOK(ecode2
)) {
5442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5444 arg2
= static_cast< int >(val2
);
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 (arg1
)->SetWidth(arg2
);
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5451 resultobj
= SWIG_Py_Void();
5458 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5459 PyObject
*resultobj
= 0;
5460 wxPen
*arg1
= (wxPen
*) 0 ;
5462 wxDash
*arg3
= (wxDash
*) 0 ;
5465 PyObject
* obj0
= 0 ;
5466 PyObject
* obj1
= 0 ;
5467 char * kwnames
[] = {
5468 (char *) "self",(char *) "dashes", NULL
5471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5473 if (!SWIG_IsOK(res1
)) {
5474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5476 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5478 arg2
= PyList_Size(obj1
);
5479 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5480 if (arg3
== NULL
) SWIG_fail
;
5483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5484 (arg1
)->SetDashes(arg2
,arg3
);
5485 wxPyEndAllowThreads(__tstate
);
5486 if (PyErr_Occurred()) SWIG_fail
;
5488 resultobj
= SWIG_Py_Void();
5490 if (arg3
) delete [] arg3
;
5495 if (arg3
) delete [] arg3
;
5501 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5502 PyObject
*resultobj
= 0;
5503 wxPen
*arg1
= (wxPen
*) 0 ;
5504 PyObject
*result
= 0 ;
5507 PyObject
*swig_obj
[1] ;
5509 if (!args
) SWIG_fail
;
5511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5512 if (!SWIG_IsOK(res1
)) {
5513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5515 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5529 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5530 PyObject
*resultobj
= 0;
5531 wxPen
*arg1
= (wxPen
*) 0 ;
5532 PyObject
*arg2
= (PyObject
*) 0 ;
5533 PyObject
*arg3
= (PyObject
*) 0 ;
5536 PyObject
* obj0
= 0 ;
5537 PyObject
* obj1
= 0 ;
5538 PyObject
* obj2
= 0 ;
5539 char * kwnames
[] = {
5540 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5545 if (!SWIG_IsOK(res1
)) {
5546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5548 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5553 wxPen__SetDashes(arg1
,arg2
,arg3
);
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5557 resultobj
= SWIG_Py_Void();
5564 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
*resultobj
= 0;
5566 wxPen
*arg1
= (wxPen
*) 0 ;
5567 wxPen
*arg2
= (wxPen
*) 0 ;
5573 PyObject
* obj0
= 0 ;
5574 PyObject
* obj1
= 0 ;
5575 char * kwnames
[] = {
5576 (char *) "self",(char *) "other", NULL
5579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5581 if (!SWIG_IsOK(res1
)) {
5582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5584 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5585 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5586 if (!SWIG_IsOK(res2
)) {
5587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5589 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5593 wxPyEndAllowThreads(__tstate
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5605 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
*resultobj
= 0;
5607 wxPen
*arg1
= (wxPen
*) 0 ;
5608 wxPen
*arg2
= (wxPen
*) 0 ;
5614 PyObject
* obj0
= 0 ;
5615 PyObject
* obj1
= 0 ;
5616 char * kwnames
[] = {
5617 (char *) "self",(char *) "other", NULL
5620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5622 if (!SWIG_IsOK(res1
)) {
5623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5625 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5626 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5627 if (!SWIG_IsOK(res2
)) {
5628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5630 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5634 wxPyEndAllowThreads(__tstate
);
5635 if (PyErr_Occurred()) SWIG_fail
;
5638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5646 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5648 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5649 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5650 return SWIG_Py_Void();
5653 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5654 return SWIG_Python_InitShadowInstance(args
);
5657 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
*resultobj
= 0;
5659 wxColour
*arg1
= 0 ;
5660 int arg2
= (int) wxSOLID
;
5661 wxBrush
*result
= 0 ;
5665 PyObject
* obj0
= 0 ;
5666 PyObject
* obj1
= 0 ;
5667 char * kwnames
[] = {
5668 (char *) "colour",(char *) "style", NULL
5671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5674 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5677 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5678 if (!SWIG_IsOK(ecode2
)) {
5679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5681 arg2
= static_cast< int >(val2
);
5684 if (!wxPyCheckForApp()) SWIG_fail
;
5685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5686 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5697 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
*resultobj
= 0;
5699 wxBitmap
*arg1
= 0 ;
5700 wxBrush
*result
= 0 ;
5703 PyObject
* obj0
= 0 ;
5704 char * kwnames
[] = {
5705 (char *) "stippleBitmap", NULL
5708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5709 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5710 if (!SWIG_IsOK(res1
)) {
5711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5714 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5716 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5718 if (!wxPyCheckForApp()) SWIG_fail
;
5719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5720 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5731 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5732 PyObject
*resultobj
= 0;
5733 wxBrush
*arg1
= (wxBrush
*) 0 ;
5736 PyObject
*swig_obj
[1] ;
5738 if (!args
) SWIG_fail
;
5740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5741 if (!SWIG_IsOK(res1
)) {
5742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5744 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5752 resultobj
= SWIG_Py_Void();
5759 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
*resultobj
= 0;
5761 wxBrush
*arg1
= (wxBrush
*) 0 ;
5762 wxColour
*arg2
= 0 ;
5766 PyObject
* obj0
= 0 ;
5767 PyObject
* obj1
= 0 ;
5768 char * kwnames
[] = {
5769 (char *) "self",(char *) "col", NULL
5772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5774 if (!SWIG_IsOK(res1
)) {
5775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5777 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5780 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 (arg1
)->SetColour((wxColour
const &)*arg2
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5788 resultobj
= SWIG_Py_Void();
5795 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5796 PyObject
*resultobj
= 0;
5797 wxBrush
*arg1
= (wxBrush
*) 0 ;
5803 PyObject
* obj0
= 0 ;
5804 PyObject
* obj1
= 0 ;
5805 char * kwnames
[] = {
5806 (char *) "self",(char *) "style", NULL
5809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5811 if (!SWIG_IsOK(res1
)) {
5812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5814 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5816 if (!SWIG_IsOK(ecode2
)) {
5817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5819 arg2
= static_cast< int >(val2
);
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5822 (arg1
)->SetStyle(arg2
);
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 resultobj
= SWIG_Py_Void();
5833 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
*resultobj
= 0;
5835 wxBrush
*arg1
= (wxBrush
*) 0 ;
5836 wxBitmap
*arg2
= 0 ;
5841 PyObject
* obj0
= 0 ;
5842 PyObject
* obj1
= 0 ;
5843 char * kwnames
[] = {
5844 (char *) "self",(char *) "stipple", NULL
5847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5849 if (!SWIG_IsOK(res1
)) {
5850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5852 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5853 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5854 if (!SWIG_IsOK(res2
)) {
5855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5860 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5867 resultobj
= SWIG_Py_Void();
5874 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5875 PyObject
*resultobj
= 0;
5876 wxBrush
*arg1
= (wxBrush
*) 0 ;
5880 PyObject
*swig_obj
[1] ;
5882 if (!args
) SWIG_fail
;
5884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5885 if (!SWIG_IsOK(res1
)) {
5886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5888 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 result
= ((wxBrush
const *)arg1
)->GetColour();
5892 wxPyEndAllowThreads(__tstate
);
5893 if (PyErr_Occurred()) SWIG_fail
;
5895 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5902 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5903 PyObject
*resultobj
= 0;
5904 wxBrush
*arg1
= (wxBrush
*) 0 ;
5908 PyObject
*swig_obj
[1] ;
5910 if (!args
) SWIG_fail
;
5912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5913 if (!SWIG_IsOK(res1
)) {
5914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5916 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5923 resultobj
= SWIG_From_int(static_cast< int >(result
));
5930 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5931 PyObject
*resultobj
= 0;
5932 wxBrush
*arg1
= (wxBrush
*) 0 ;
5933 wxBitmap
*result
= 0 ;
5936 PyObject
*swig_obj
[1] ;
5938 if (!args
) SWIG_fail
;
5940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5941 if (!SWIG_IsOK(res1
)) {
5942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5944 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5947 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) SWIG_fail
;
5951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5958 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5959 PyObject
*resultobj
= 0;
5960 wxBrush
*arg1
= (wxBrush
*) 0 ;
5964 PyObject
*swig_obj
[1] ;
5966 if (!args
) SWIG_fail
;
5968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5969 if (!SWIG_IsOK(res1
)) {
5970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5972 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5988 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5989 PyObject
*resultobj
= 0;
5990 wxBrush
*arg1
= (wxBrush
*) 0 ;
5994 PyObject
*swig_obj
[1] ;
5996 if (!args
) SWIG_fail
;
5998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5999 if (!SWIG_IsOK(res1
)) {
6000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6002 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6005 result
= (bool)(arg1
)->IsOk();
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6018 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6019 PyObject
*resultobj
= 0;
6020 wxBrush
*arg1
= (wxBrush
*) 0 ;
6024 PyObject
*swig_obj
[1] ;
6026 if (!args
) SWIG_fail
;
6028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6029 if (!SWIG_IsOK(res1
)) {
6030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6032 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6035 result
= (short)(arg1
)->MacGetTheme();
6036 wxPyEndAllowThreads(__tstate
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6039 resultobj
= SWIG_From_short(static_cast< short >(result
));
6046 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6047 PyObject
*resultobj
= 0;
6048 wxBrush
*arg1
= (wxBrush
*) 0 ;
6054 PyObject
* obj0
= 0 ;
6055 PyObject
* obj1
= 0 ;
6056 char * kwnames
[] = {
6057 (char *) "self",(char *) "macThemeBrush", NULL
6060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6062 if (!SWIG_IsOK(res1
)) {
6063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6065 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6066 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
6067 if (!SWIG_IsOK(ecode2
)) {
6068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
6070 arg2
= static_cast< short >(val2
);
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 (arg1
)->MacSetTheme(arg2
);
6074 wxPyEndAllowThreads(__tstate
);
6075 if (PyErr_Occurred()) SWIG_fail
;
6077 resultobj
= SWIG_Py_Void();
6084 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6086 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6087 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6088 return SWIG_Py_Void();
6091 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6092 return SWIG_Python_InitShadowInstance(args
);
6095 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6096 PyObject
*resultobj
= 0;
6097 wxString
*arg1
= 0 ;
6098 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6099 wxBitmap
*result
= 0 ;
6100 bool temp1
= false ;
6103 PyObject
* obj0
= 0 ;
6104 PyObject
* obj1
= 0 ;
6105 char * kwnames
[] = {
6106 (char *) "name",(char *) "type", NULL
6109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6111 arg1
= wxString_in_helper(obj0
);
6112 if (arg1
== NULL
) SWIG_fail
;
6116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6117 if (!SWIG_IsOK(ecode2
)) {
6118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6120 arg2
= static_cast< wxBitmapType
>(val2
);
6123 if (!wxPyCheckForApp()) SWIG_fail
;
6124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6125 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6144 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6145 PyObject
*resultobj
= 0;
6146 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6149 PyObject
*swig_obj
[1] ;
6151 if (!args
) SWIG_fail
;
6153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6154 if (!SWIG_IsOK(res1
)) {
6155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6157 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6161 if (PyErr_Occurred()) SWIG_fail
;
6163 resultobj
= SWIG_Py_Void();
6170 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
*resultobj
= 0;
6174 int arg3
= (int) -1 ;
6175 wxBitmap
*result
= 0 ;
6182 PyObject
* obj0
= 0 ;
6183 PyObject
* obj1
= 0 ;
6184 PyObject
* obj2
= 0 ;
6185 char * kwnames
[] = {
6186 (char *) "width",(char *) "height",(char *) "depth", NULL
6189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6190 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6191 if (!SWIG_IsOK(ecode1
)) {
6192 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6194 arg1
= static_cast< int >(val1
);
6195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6196 if (!SWIG_IsOK(ecode2
)) {
6197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6199 arg2
= static_cast< int >(val2
);
6201 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6202 if (!SWIG_IsOK(ecode3
)) {
6203 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6205 arg3
= static_cast< int >(val3
);
6208 if (!wxPyCheckForApp()) SWIG_fail
;
6209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6210 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6211 wxPyEndAllowThreads(__tstate
);
6212 if (PyErr_Occurred()) SWIG_fail
;
6214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6221 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
*resultobj
= 0;
6224 wxBitmap
*result
= 0 ;
6227 PyObject
* obj0
= 0 ;
6228 char * kwnames
[] = {
6229 (char *) "icon", NULL
6232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6233 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6234 if (!SWIG_IsOK(res1
)) {
6235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6238 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6240 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6242 if (!wxPyCheckForApp()) SWIG_fail
;
6243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6244 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6255 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
= 0;
6258 int arg2
= (int) -1 ;
6259 wxBitmap
*result
= 0 ;
6264 PyObject
* obj0
= 0 ;
6265 PyObject
* obj1
= 0 ;
6266 char * kwnames
[] = {
6267 (char *) "image",(char *) "depth", NULL
6270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6271 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6272 if (!SWIG_IsOK(res1
)) {
6273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6278 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6281 if (!SWIG_IsOK(ecode2
)) {
6282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6284 arg2
= static_cast< int >(val2
);
6287 if (!wxPyCheckForApp()) SWIG_fail
;
6288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6289 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6290 wxPyEndAllowThreads(__tstate
);
6291 if (PyErr_Occurred()) SWIG_fail
;
6293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6300 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
*resultobj
= 0;
6302 PyObject
*arg1
= (PyObject
*) 0 ;
6303 wxBitmap
*result
= 0 ;
6304 PyObject
* obj0
= 0 ;
6305 char * kwnames
[] = {
6306 (char *) "listOfStrings", NULL
6309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6312 if (!wxPyCheckForApp()) SWIG_fail
;
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6314 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6315 wxPyEndAllowThreads(__tstate
);
6316 if (PyErr_Occurred()) SWIG_fail
;
6318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6325 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6326 PyObject
*resultobj
= 0;
6327 PyObject
*arg1
= (PyObject
*) 0 ;
6330 int arg4
= (int) 1 ;
6331 wxBitmap
*result
= 0 ;
6338 PyObject
* obj0
= 0 ;
6339 PyObject
* obj1
= 0 ;
6340 PyObject
* obj2
= 0 ;
6341 PyObject
* obj3
= 0 ;
6342 char * kwnames
[] = {
6343 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6349 if (!SWIG_IsOK(ecode2
)) {
6350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6352 arg2
= static_cast< int >(val2
);
6353 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6354 if (!SWIG_IsOK(ecode3
)) {
6355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6357 arg3
= static_cast< int >(val3
);
6359 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6360 if (!SWIG_IsOK(ecode4
)) {
6361 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6363 arg4
= static_cast< int >(val4
);
6366 if (!wxPyCheckForApp()) SWIG_fail
;
6367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6369 wxPyEndAllowThreads(__tstate
);
6370 if (PyErr_Occurred()) SWIG_fail
;
6372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6379 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6380 PyObject
*resultobj
= 0;
6381 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6385 PyObject
*swig_obj
[1] ;
6387 if (!args
) SWIG_fail
;
6389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6390 if (!SWIG_IsOK(res1
)) {
6391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6393 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6395 result
= (bool)(arg1
)->IsOk();
6396 if (PyErr_Occurred()) SWIG_fail
;
6399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6407 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6408 PyObject
*resultobj
= 0;
6409 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6413 PyObject
*swig_obj
[1] ;
6415 if (!args
) SWIG_fail
;
6417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6418 if (!SWIG_IsOK(res1
)) {
6419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6421 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6423 result
= (int)(arg1
)->GetWidth();
6424 if (PyErr_Occurred()) SWIG_fail
;
6426 resultobj
= SWIG_From_int(static_cast< int >(result
));
6433 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6434 PyObject
*resultobj
= 0;
6435 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6439 PyObject
*swig_obj
[1] ;
6441 if (!args
) SWIG_fail
;
6443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6444 if (!SWIG_IsOK(res1
)) {
6445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6447 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6449 result
= (int)(arg1
)->GetHeight();
6450 if (PyErr_Occurred()) SWIG_fail
;
6452 resultobj
= SWIG_From_int(static_cast< int >(result
));
6459 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6460 PyObject
*resultobj
= 0;
6461 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6465 PyObject
*swig_obj
[1] ;
6467 if (!args
) SWIG_fail
;
6469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6470 if (!SWIG_IsOK(res1
)) {
6471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6473 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6475 result
= (int)(arg1
)->GetDepth();
6476 if (PyErr_Occurred()) SWIG_fail
;
6478 resultobj
= SWIG_From_int(static_cast< int >(result
));
6485 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6486 PyObject
*resultobj
= 0;
6487 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6491 PyObject
*swig_obj
[1] ;
6493 if (!args
) SWIG_fail
;
6495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6496 if (!SWIG_IsOK(res1
)) {
6497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6499 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6501 result
= wxBitmap_GetSize(arg1
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6511 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6512 PyObject
*resultobj
= 0;
6513 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6514 SwigValueWrapper
<wxImage
> result
;
6517 PyObject
*swig_obj
[1] ;
6519 if (!args
) SWIG_fail
;
6521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6522 if (!SWIG_IsOK(res1
)) {
6523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6525 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6527 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6528 if (PyErr_Occurred()) SWIG_fail
;
6530 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6537 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6538 PyObject
*resultobj
= 0;
6539 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6540 wxMask
*result
= 0 ;
6543 PyObject
*swig_obj
[1] ;
6545 if (!args
) SWIG_fail
;
6547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6548 if (!SWIG_IsOK(res1
)) {
6549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6551 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6553 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6554 if (PyErr_Occurred()) SWIG_fail
;
6556 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6563 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
*resultobj
= 0;
6565 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6566 wxMask
*arg2
= (wxMask
*) 0 ;
6570 PyObject
* obj0
= 0 ;
6571 PyObject
* obj1
= 0 ;
6572 char * kwnames
[] = {
6573 (char *) "self",(char *) "mask", NULL
6576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6578 if (!SWIG_IsOK(res1
)) {
6579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6581 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6582 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6583 if (!SWIG_IsOK(res2
)) {
6584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6587 (arg1
)->SetMask(arg2
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6590 resultobj
= SWIG_Py_Void();
6597 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
*resultobj
= 0;
6599 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6600 wxColour
*arg2
= 0 ;
6604 PyObject
* obj0
= 0 ;
6605 PyObject
* obj1
= 0 ;
6606 char * kwnames
[] = {
6607 (char *) "self",(char *) "colour", NULL
6610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6612 if (!SWIG_IsOK(res1
)) {
6613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6615 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6618 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6621 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6624 resultobj
= SWIG_Py_Void();
6631 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6632 PyObject
*resultobj
= 0;
6633 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6635 SwigValueWrapper
<wxBitmap
> result
;
6639 PyObject
* obj0
= 0 ;
6640 PyObject
* obj1
= 0 ;
6641 char * kwnames
[] = {
6642 (char *) "self",(char *) "rect", NULL
6645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6647 if (!SWIG_IsOK(res1
)) {
6648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6650 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6653 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6656 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6659 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6666 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6667 PyObject
*resultobj
= 0;
6668 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6669 wxString
*arg2
= 0 ;
6671 wxPalette
*arg4
= (wxPalette
*) NULL
;
6675 bool temp2
= false ;
6680 PyObject
* obj0
= 0 ;
6681 PyObject
* obj1
= 0 ;
6682 PyObject
* obj2
= 0 ;
6683 PyObject
* obj3
= 0 ;
6684 char * kwnames
[] = {
6685 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6690 if (!SWIG_IsOK(res1
)) {
6691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6693 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6695 arg2
= wxString_in_helper(obj1
);
6696 if (arg2
== NULL
) SWIG_fail
;
6699 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6700 if (!SWIG_IsOK(ecode3
)) {
6701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6703 arg3
= static_cast< wxBitmapType
>(val3
);
6705 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6706 if (!SWIG_IsOK(res4
)) {
6707 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6709 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6712 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6732 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
*resultobj
= 0;
6734 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6735 wxString
*arg2
= 0 ;
6740 bool temp2
= false ;
6743 PyObject
* obj0
= 0 ;
6744 PyObject
* obj1
= 0 ;
6745 PyObject
* obj2
= 0 ;
6746 char * kwnames
[] = {
6747 (char *) "self",(char *) "name",(char *) "type", NULL
6750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6752 if (!SWIG_IsOK(res1
)) {
6753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6755 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6757 arg2
= wxString_in_helper(obj1
);
6758 if (arg2
== NULL
) SWIG_fail
;
6761 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6762 if (!SWIG_IsOK(ecode3
)) {
6763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6765 arg3
= static_cast< wxBitmapType
>(val3
);
6767 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6787 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6788 PyObject
*resultobj
= 0;
6789 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6790 wxPalette
*result
= 0 ;
6793 PyObject
*swig_obj
[1] ;
6795 if (!args
) SWIG_fail
;
6797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6798 if (!SWIG_IsOK(res1
)) {
6799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6801 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6803 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6804 if (PyErr_Occurred()) SWIG_fail
;
6806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6813 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
*resultobj
= 0;
6815 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6822 PyObject
* obj0
= 0 ;
6823 PyObject
* obj1
= 0 ;
6824 char * kwnames
[] = {
6825 (char *) "self",(char *) "icon", NULL
6828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6830 if (!SWIG_IsOK(res1
)) {
6831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6833 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6834 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6835 if (!SWIG_IsOK(res2
)) {
6836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6841 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6843 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6855 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
*resultobj
= 0;
6857 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6863 PyObject
* obj0
= 0 ;
6864 PyObject
* obj1
= 0 ;
6865 char * kwnames
[] = {
6866 (char *) "self",(char *) "height", NULL
6869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6871 if (!SWIG_IsOK(res1
)) {
6872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6874 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6876 if (!SWIG_IsOK(ecode2
)) {
6877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6879 arg2
= static_cast< int >(val2
);
6881 (arg1
)->SetHeight(arg2
);
6882 if (PyErr_Occurred()) SWIG_fail
;
6884 resultobj
= SWIG_Py_Void();
6891 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6892 PyObject
*resultobj
= 0;
6893 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6899 PyObject
* obj0
= 0 ;
6900 PyObject
* obj1
= 0 ;
6901 char * kwnames
[] = {
6902 (char *) "self",(char *) "width", NULL
6905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6907 if (!SWIG_IsOK(res1
)) {
6908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6910 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6912 if (!SWIG_IsOK(ecode2
)) {
6913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6915 arg2
= static_cast< int >(val2
);
6917 (arg1
)->SetWidth(arg2
);
6918 if (PyErr_Occurred()) SWIG_fail
;
6920 resultobj
= SWIG_Py_Void();
6927 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
*resultobj
= 0;
6929 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6935 PyObject
* obj0
= 0 ;
6936 PyObject
* obj1
= 0 ;
6937 char * kwnames
[] = {
6938 (char *) "self",(char *) "depth", NULL
6941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6943 if (!SWIG_IsOK(res1
)) {
6944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6946 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6948 if (!SWIG_IsOK(ecode2
)) {
6949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6951 arg2
= static_cast< int >(val2
);
6953 (arg1
)->SetDepth(arg2
);
6954 if (PyErr_Occurred()) SWIG_fail
;
6956 resultobj
= SWIG_Py_Void();
6963 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
*resultobj
= 0;
6965 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6970 PyObject
* obj0
= 0 ;
6971 PyObject
* obj1
= 0 ;
6972 char * kwnames
[] = {
6973 (char *) "self",(char *) "size", NULL
6976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6978 if (!SWIG_IsOK(res1
)) {
6979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6981 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6984 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6987 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6990 resultobj
= SWIG_Py_Void();
6997 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
*resultobj
= 0;
6999 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7005 PyObject
* obj0
= 0 ;
7006 PyObject
* obj1
= 0 ;
7007 char * kwnames
[] = {
7008 (char *) "self",(char *) "data", NULL
7011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7013 if (!SWIG_IsOK(res1
)) {
7014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7016 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7018 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7022 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= SWIG_Py_Void();
7032 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7033 PyObject
*resultobj
= 0;
7034 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7040 PyObject
* obj0
= 0 ;
7041 PyObject
* obj1
= 0 ;
7042 char * kwnames
[] = {
7043 (char *) "self",(char *) "data", NULL
7046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7048 if (!SWIG_IsOK(res1
)) {
7049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7051 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7053 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7057 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7058 if (PyErr_Occurred()) SWIG_fail
;
7060 resultobj
= SWIG_Py_Void();
7067 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7068 PyObject
*resultobj
= 0;
7069 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7070 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7076 PyObject
* obj0
= 0 ;
7077 PyObject
* obj1
= 0 ;
7078 char * kwnames
[] = {
7079 (char *) "self",(char *) "other", NULL
7082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7084 if (!SWIG_IsOK(res1
)) {
7085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7087 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7088 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7089 if (!SWIG_IsOK(res2
)) {
7090 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7092 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7094 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7106 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7107 PyObject
*resultobj
= 0;
7108 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7109 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7115 PyObject
* obj0
= 0 ;
7116 PyObject
* obj1
= 0 ;
7117 char * kwnames
[] = {
7118 (char *) "self",(char *) "other", NULL
7121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7123 if (!SWIG_IsOK(res1
)) {
7124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7126 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7127 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7128 if (!SWIG_IsOK(res2
)) {
7129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7131 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7133 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7145 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7147 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7148 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7149 return SWIG_Py_Void();
7152 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7153 return SWIG_Python_InitShadowInstance(args
);
7156 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7157 PyObject
*resultobj
= 0;
7164 wxBitmap
*result
= 0 ;
7171 PyObject
* obj0
= 0 ;
7172 PyObject
* obj1
= 0 ;
7173 PyObject
* obj2
= 0 ;
7174 PyObject
* obj3
= 0 ;
7175 char * kwnames
[] = {
7176 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7180 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7181 if (!SWIG_IsOK(ecode1
)) {
7182 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7184 arg1
= static_cast< int >(val1
);
7185 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7186 if (!SWIG_IsOK(ecode2
)) {
7187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7189 arg2
= static_cast< int >(val2
);
7191 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7195 if (obj3
!= Py_None
) {
7196 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7201 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7202 if (PyErr_Occurred()) SWIG_fail
;
7204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7211 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
*resultobj
= 0;
7217 wxBitmap
*result
= 0 ;
7223 PyObject
* obj0
= 0 ;
7224 PyObject
* obj1
= 0 ;
7225 PyObject
* obj2
= 0 ;
7226 char * kwnames
[] = {
7227 (char *) "width",(char *) "height",(char *) "data", NULL
7230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7231 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7232 if (!SWIG_IsOK(ecode1
)) {
7233 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7235 arg1
= static_cast< int >(val1
);
7236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7237 if (!SWIG_IsOK(ecode2
)) {
7238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7240 arg2
= static_cast< int >(val2
);
7242 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7246 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7256 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
= 0;
7262 wxBitmap
*result
= 0 ;
7268 PyObject
* obj0
= 0 ;
7269 PyObject
* obj1
= 0 ;
7270 PyObject
* obj2
= 0 ;
7271 char * kwnames
[] = {
7272 (char *) "width",(char *) "height",(char *) "data", NULL
7275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7276 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7277 if (!SWIG_IsOK(ecode1
)) {
7278 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7280 arg1
= static_cast< int >(val1
);
7281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7282 if (!SWIG_IsOK(ecode2
)) {
7283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7285 arg2
= static_cast< int >(val2
);
7287 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7291 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7301 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7302 PyObject
*resultobj
= 0;
7303 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7307 PyObject
*swig_obj
[1] ;
7309 if (!args
) SWIG_fail
;
7311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7312 if (!SWIG_IsOK(res1
)) {
7313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7315 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7317 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7318 if (PyErr_Occurred()) SWIG_fail
;
7320 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7327 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7328 PyObject
*resultobj
= 0;
7329 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7333 PyObject
*swig_obj
[1] ;
7335 if (!args
) SWIG_fail
;
7337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7338 if (!SWIG_IsOK(res1
)) {
7339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7341 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7343 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7344 if (PyErr_Occurred()) SWIG_fail
;
7346 resultobj
= SWIG_From_int(static_cast< int >(result
));
7353 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7354 PyObject
*resultobj
= 0;
7355 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7359 PyObject
*swig_obj
[1] ;
7361 if (!args
) SWIG_fail
;
7363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7364 if (!SWIG_IsOK(res1
)) {
7365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7367 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7369 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7370 if (PyErr_Occurred()) SWIG_fail
;
7372 resultobj
= SWIG_From_int(static_cast< int >(result
));
7379 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7380 PyObject
*resultobj
= 0;
7381 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7385 PyObject
*swig_obj
[1] ;
7387 if (!args
) SWIG_fail
;
7389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7390 if (!SWIG_IsOK(res1
)) {
7391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7393 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7395 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7396 if (PyErr_Occurred()) SWIG_fail
;
7398 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7405 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7406 PyObject
*resultobj
= 0;
7407 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7411 PyObject
*swig_obj
[1] ;
7413 if (!args
) SWIG_fail
;
7415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7416 if (!SWIG_IsOK(res1
)) {
7417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7419 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7421 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7422 if (PyErr_Occurred()) SWIG_fail
;
7424 resultobj
= SWIG_From_int(static_cast< int >(result
));
7431 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7433 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7434 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7435 return SWIG_Py_Void();
7438 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7439 PyObject
*resultobj
= 0;
7440 wxBitmap
*arg1
= 0 ;
7441 wxNativePixelData
*result
= 0 ;
7445 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7447 if (!SWIG_IsOK(res1
)) {
7448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7453 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7455 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7458 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7465 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7466 PyObject
*resultobj
= 0;
7467 wxBitmap
*arg1
= 0 ;
7469 wxNativePixelData
*result
= 0 ;
7474 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7476 if (!SWIG_IsOK(res1
)) {
7477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7482 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7485 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7488 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7498 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7499 PyObject
*resultobj
= 0;
7500 wxBitmap
*arg1
= 0 ;
7503 wxNativePixelData
*result
= 0 ;
7509 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7511 if (!SWIG_IsOK(res1
)) {
7512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7517 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7520 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7524 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7527 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7537 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7541 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7544 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7547 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7550 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7554 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7559 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7560 PyObject
*resultobj
= 0;
7561 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7564 PyObject
*swig_obj
[1] ;
7566 if (!args
) SWIG_fail
;
7568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7569 if (!SWIG_IsOK(res1
)) {
7570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7572 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7576 if (PyErr_Occurred()) SWIG_fail
;
7578 resultobj
= SWIG_Py_Void();
7585 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7586 PyObject
*resultobj
= 0;
7587 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7588 wxNativePixelData_Accessor result
;
7591 PyObject
*swig_obj
[1] ;
7593 if (!args
) SWIG_fail
;
7595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7596 if (!SWIG_IsOK(res1
)) {
7597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7599 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7601 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7602 if (PyErr_Occurred()) SWIG_fail
;
7604 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7611 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7612 PyObject
*resultobj
= 0;
7613 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7616 PyObject
*swig_obj
[1] ;
7618 if (!args
) SWIG_fail
;
7620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7621 if (!SWIG_IsOK(res1
)) {
7622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7624 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7629 resultobj
= SWIG_Py_Void();
7636 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7637 PyObject
*resultobj
= 0;
7638 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7642 PyObject
*swig_obj
[1] ;
7644 if (!args
) SWIG_fail
;
7646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7647 if (!SWIG_IsOK(res1
)) {
7648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7650 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7652 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7653 if (PyErr_Occurred()) SWIG_fail
;
7656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7664 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7666 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7667 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7668 return SWIG_Py_Void();
7671 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7672 return SWIG_Python_InitShadowInstance(args
);
7675 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7676 PyObject
*resultobj
= 0;
7677 wxNativePixelData
*arg1
= 0 ;
7678 wxNativePixelData_Accessor
*result
= 0 ;
7682 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7684 if (!SWIG_IsOK(res1
)) {
7685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7688 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7690 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7692 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7695 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7702 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7703 PyObject
*resultobj
= 0;
7704 wxBitmap
*arg1
= 0 ;
7705 wxNativePixelData
*arg2
= 0 ;
7706 wxNativePixelData_Accessor
*result
= 0 ;
7712 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7714 if (!SWIG_IsOK(res1
)) {
7715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7720 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7721 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7722 if (!SWIG_IsOK(res2
)) {
7723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7726 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7728 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7730 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7731 if (PyErr_Occurred()) SWIG_fail
;
7733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7740 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7741 PyObject
*resultobj
= 0;
7742 wxNativePixelData_Accessor
*result
= 0 ;
7744 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7746 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7747 if (PyErr_Occurred()) SWIG_fail
;
7749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7756 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7760 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7763 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7766 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7769 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7773 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7778 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7779 PyObject
*resultobj
= 0;
7780 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7783 PyObject
*swig_obj
[1] ;
7785 if (!args
) SWIG_fail
;
7787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7788 if (!SWIG_IsOK(res1
)) {
7789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7791 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7797 resultobj
= SWIG_Py_Void();
7804 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
= 0;
7806 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7807 wxNativePixelData
*arg2
= 0 ;
7812 PyObject
* obj0
= 0 ;
7813 PyObject
* obj1
= 0 ;
7814 char * kwnames
[] = {
7815 (char *) "self",(char *) "data", NULL
7818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7820 if (!SWIG_IsOK(res1
)) {
7821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7823 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7824 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7825 if (!SWIG_IsOK(res2
)) {
7826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7831 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7833 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7836 resultobj
= SWIG_Py_Void();
7843 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7844 PyObject
*resultobj
= 0;
7845 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7849 PyObject
*swig_obj
[1] ;
7851 if (!args
) SWIG_fail
;
7853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7854 if (!SWIG_IsOK(res1
)) {
7855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7857 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7859 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7860 if (PyErr_Occurred()) SWIG_fail
;
7863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7871 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7872 PyObject
*resultobj
= 0;
7873 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7876 PyObject
*swig_obj
[1] ;
7878 if (!args
) SWIG_fail
;
7880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7881 if (!SWIG_IsOK(res1
)) {
7882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7884 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7886 wxNativePixelData_Accessor_nextPixel(arg1
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7889 resultobj
= SWIG_Py_Void();
7896 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
*resultobj
= 0;
7898 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7899 wxNativePixelData
*arg2
= 0 ;
7910 PyObject
* obj0
= 0 ;
7911 PyObject
* obj1
= 0 ;
7912 PyObject
* obj2
= 0 ;
7913 PyObject
* obj3
= 0 ;
7914 char * kwnames
[] = {
7915 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7920 if (!SWIG_IsOK(res1
)) {
7921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7923 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7924 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7925 if (!SWIG_IsOK(res2
)) {
7926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7931 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7932 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7933 if (!SWIG_IsOK(ecode3
)) {
7934 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7936 arg3
= static_cast< int >(val3
);
7937 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7938 if (!SWIG_IsOK(ecode4
)) {
7939 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7941 arg4
= static_cast< int >(val4
);
7943 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7946 resultobj
= SWIG_Py_Void();
7953 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
*resultobj
= 0;
7955 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7956 wxNativePixelData
*arg2
= 0 ;
7964 PyObject
* obj0
= 0 ;
7965 PyObject
* obj1
= 0 ;
7966 PyObject
* obj2
= 0 ;
7967 char * kwnames
[] = {
7968 (char *) "self",(char *) "data",(char *) "x", NULL
7971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7973 if (!SWIG_IsOK(res1
)) {
7974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7976 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7977 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7978 if (!SWIG_IsOK(res2
)) {
7979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7984 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7985 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7986 if (!SWIG_IsOK(ecode3
)) {
7987 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7989 arg3
= static_cast< int >(val3
);
7991 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7992 if (PyErr_Occurred()) SWIG_fail
;
7994 resultobj
= SWIG_Py_Void();
8001 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
*resultobj
= 0;
8003 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8004 wxNativePixelData
*arg2
= 0 ;
8012 PyObject
* obj0
= 0 ;
8013 PyObject
* obj1
= 0 ;
8014 PyObject
* obj2
= 0 ;
8015 char * kwnames
[] = {
8016 (char *) "self",(char *) "data",(char *) "y", NULL
8019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8021 if (!SWIG_IsOK(res1
)) {
8022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8024 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8025 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8026 if (!SWIG_IsOK(res2
)) {
8027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8032 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8033 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8034 if (!SWIG_IsOK(ecode3
)) {
8035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8037 arg3
= static_cast< int >(val3
);
8039 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8040 if (PyErr_Occurred()) SWIG_fail
;
8042 resultobj
= SWIG_Py_Void();
8049 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8050 PyObject
*resultobj
= 0;
8051 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8052 wxNativePixelData
*arg2
= 0 ;
8063 PyObject
* obj0
= 0 ;
8064 PyObject
* obj1
= 0 ;
8065 PyObject
* obj2
= 0 ;
8066 PyObject
* obj3
= 0 ;
8067 char * kwnames
[] = {
8068 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8073 if (!SWIG_IsOK(res1
)) {
8074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8076 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8077 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8078 if (!SWIG_IsOK(res2
)) {
8079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8082 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8084 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8085 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8086 if (!SWIG_IsOK(ecode3
)) {
8087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8089 arg3
= static_cast< int >(val3
);
8090 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8091 if (!SWIG_IsOK(ecode4
)) {
8092 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8094 arg4
= static_cast< int >(val4
);
8096 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8099 resultobj
= SWIG_Py_Void();
8106 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8107 PyObject
*resultobj
= 0;
8108 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8114 unsigned char val2
;
8116 unsigned char val3
;
8118 unsigned char val4
;
8120 PyObject
* obj0
= 0 ;
8121 PyObject
* obj1
= 0 ;
8122 PyObject
* obj2
= 0 ;
8123 PyObject
* obj3
= 0 ;
8124 char * kwnames
[] = {
8125 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8130 if (!SWIG_IsOK(res1
)) {
8131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8133 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8134 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8135 if (!SWIG_IsOK(ecode2
)) {
8136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8138 arg2
= static_cast< byte
>(val2
);
8139 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8140 if (!SWIG_IsOK(ecode3
)) {
8141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8143 arg3
= static_cast< byte
>(val3
);
8144 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8145 if (!SWIG_IsOK(ecode4
)) {
8146 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8148 arg4
= static_cast< byte
>(val4
);
8150 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8151 if (PyErr_Occurred()) SWIG_fail
;
8153 resultobj
= SWIG_Py_Void();
8160 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8161 PyObject
*resultobj
= 0;
8162 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8163 PyObject
*result
= 0 ;
8166 PyObject
*swig_obj
[1] ;
8168 if (!args
) SWIG_fail
;
8170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8171 if (!SWIG_IsOK(res1
)) {
8172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8174 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8176 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8177 if (PyErr_Occurred()) SWIG_fail
;
8186 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8188 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8189 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8190 return SWIG_Py_Void();
8193 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8194 return SWIG_Python_InitShadowInstance(args
);
8197 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8198 PyObject
*resultobj
= 0;
8199 wxBitmap
*arg1
= 0 ;
8200 wxAlphaPixelData
*result
= 0 ;
8204 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8206 if (!SWIG_IsOK(res1
)) {
8207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8212 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8214 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8215 if (PyErr_Occurred()) SWIG_fail
;
8217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8224 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8225 PyObject
*resultobj
= 0;
8226 wxBitmap
*arg1
= 0 ;
8228 wxAlphaPixelData
*result
= 0 ;
8233 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8235 if (!SWIG_IsOK(res1
)) {
8236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8241 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8244 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8247 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8248 if (PyErr_Occurred()) SWIG_fail
;
8250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8257 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8258 PyObject
*resultobj
= 0;
8259 wxBitmap
*arg1
= 0 ;
8262 wxAlphaPixelData
*result
= 0 ;
8268 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8270 if (!SWIG_IsOK(res1
)) {
8271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8276 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8279 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8283 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8286 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8287 if (PyErr_Occurred()) SWIG_fail
;
8289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8296 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8300 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8303 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8306 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8309 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8313 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8318 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8319 PyObject
*resultobj
= 0;
8320 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8323 PyObject
*swig_obj
[1] ;
8325 if (!args
) SWIG_fail
;
8327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8328 if (!SWIG_IsOK(res1
)) {
8329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8331 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8335 if (PyErr_Occurred()) SWIG_fail
;
8337 resultobj
= SWIG_Py_Void();
8344 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8345 PyObject
*resultobj
= 0;
8346 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8347 wxAlphaPixelData_Accessor result
;
8350 PyObject
*swig_obj
[1] ;
8352 if (!args
) SWIG_fail
;
8354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8355 if (!SWIG_IsOK(res1
)) {
8356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8358 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8360 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8361 if (PyErr_Occurred()) SWIG_fail
;
8363 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8370 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8371 PyObject
*resultobj
= 0;
8372 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8375 PyObject
*swig_obj
[1] ;
8377 if (!args
) SWIG_fail
;
8379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8380 if (!SWIG_IsOK(res1
)) {
8381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8383 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8386 if (PyErr_Occurred()) SWIG_fail
;
8388 resultobj
= SWIG_Py_Void();
8395 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8396 PyObject
*resultobj
= 0;
8397 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8401 PyObject
*swig_obj
[1] ;
8403 if (!args
) SWIG_fail
;
8405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8406 if (!SWIG_IsOK(res1
)) {
8407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8409 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8411 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8423 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8425 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8426 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8427 return SWIG_Py_Void();
8430 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8431 return SWIG_Python_InitShadowInstance(args
);
8434 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8435 PyObject
*resultobj
= 0;
8436 wxAlphaPixelData
*arg1
= 0 ;
8437 wxAlphaPixelData_Accessor
*result
= 0 ;
8441 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8443 if (!SWIG_IsOK(res1
)) {
8444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8449 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8451 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8461 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8462 PyObject
*resultobj
= 0;
8463 wxBitmap
*arg1
= 0 ;
8464 wxAlphaPixelData
*arg2
= 0 ;
8465 wxAlphaPixelData_Accessor
*result
= 0 ;
8471 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8473 if (!SWIG_IsOK(res1
)) {
8474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8479 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8480 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8481 if (!SWIG_IsOK(res2
)) {
8482 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8485 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8487 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8489 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8499 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8500 PyObject
*resultobj
= 0;
8501 wxAlphaPixelData_Accessor
*result
= 0 ;
8503 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8505 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8506 if (PyErr_Occurred()) SWIG_fail
;
8508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8515 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8519 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8522 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8525 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8528 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8532 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8537 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8538 PyObject
*resultobj
= 0;
8539 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8542 PyObject
*swig_obj
[1] ;
8544 if (!args
) SWIG_fail
;
8546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8547 if (!SWIG_IsOK(res1
)) {
8548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8550 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8556 resultobj
= SWIG_Py_Void();
8563 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8564 PyObject
*resultobj
= 0;
8565 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8566 wxAlphaPixelData
*arg2
= 0 ;
8571 PyObject
* obj0
= 0 ;
8572 PyObject
* obj1
= 0 ;
8573 char * kwnames
[] = {
8574 (char *) "self",(char *) "data", NULL
8577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8579 if (!SWIG_IsOK(res1
)) {
8580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8582 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8583 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8584 if (!SWIG_IsOK(res2
)) {
8585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8590 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8592 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8595 resultobj
= SWIG_Py_Void();
8602 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8603 PyObject
*resultobj
= 0;
8604 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8608 PyObject
*swig_obj
[1] ;
8610 if (!args
) SWIG_fail
;
8612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8613 if (!SWIG_IsOK(res1
)) {
8614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8616 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8618 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8619 if (PyErr_Occurred()) SWIG_fail
;
8622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8630 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8631 PyObject
*resultobj
= 0;
8632 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8635 PyObject
*swig_obj
[1] ;
8637 if (!args
) SWIG_fail
;
8639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8640 if (!SWIG_IsOK(res1
)) {
8641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8643 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8645 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8646 if (PyErr_Occurred()) SWIG_fail
;
8648 resultobj
= SWIG_Py_Void();
8655 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8656 PyObject
*resultobj
= 0;
8657 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8658 wxAlphaPixelData
*arg2
= 0 ;
8669 PyObject
* obj0
= 0 ;
8670 PyObject
* obj1
= 0 ;
8671 PyObject
* obj2
= 0 ;
8672 PyObject
* obj3
= 0 ;
8673 char * kwnames
[] = {
8674 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8679 if (!SWIG_IsOK(res1
)) {
8680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8682 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8683 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8684 if (!SWIG_IsOK(res2
)) {
8685 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8688 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8690 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8691 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8692 if (!SWIG_IsOK(ecode3
)) {
8693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8695 arg3
= static_cast< int >(val3
);
8696 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8697 if (!SWIG_IsOK(ecode4
)) {
8698 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8700 arg4
= static_cast< int >(val4
);
8702 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8705 resultobj
= SWIG_Py_Void();
8712 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8713 PyObject
*resultobj
= 0;
8714 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8715 wxAlphaPixelData
*arg2
= 0 ;
8723 PyObject
* obj0
= 0 ;
8724 PyObject
* obj1
= 0 ;
8725 PyObject
* obj2
= 0 ;
8726 char * kwnames
[] = {
8727 (char *) "self",(char *) "data",(char *) "x", NULL
8730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8732 if (!SWIG_IsOK(res1
)) {
8733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8735 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8736 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8737 if (!SWIG_IsOK(res2
)) {
8738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8741 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8743 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8744 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8745 if (!SWIG_IsOK(ecode3
)) {
8746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8748 arg3
= static_cast< int >(val3
);
8750 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8753 resultobj
= SWIG_Py_Void();
8760 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8761 PyObject
*resultobj
= 0;
8762 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8763 wxAlphaPixelData
*arg2
= 0 ;
8771 PyObject
* obj0
= 0 ;
8772 PyObject
* obj1
= 0 ;
8773 PyObject
* obj2
= 0 ;
8774 char * kwnames
[] = {
8775 (char *) "self",(char *) "data",(char *) "y", NULL
8778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8780 if (!SWIG_IsOK(res1
)) {
8781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8783 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8784 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8785 if (!SWIG_IsOK(res2
)) {
8786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8791 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8792 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8793 if (!SWIG_IsOK(ecode3
)) {
8794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8796 arg3
= static_cast< int >(val3
);
8798 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8801 resultobj
= SWIG_Py_Void();
8808 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8809 PyObject
*resultobj
= 0;
8810 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8811 wxAlphaPixelData
*arg2
= 0 ;
8822 PyObject
* obj0
= 0 ;
8823 PyObject
* obj1
= 0 ;
8824 PyObject
* obj2
= 0 ;
8825 PyObject
* obj3
= 0 ;
8826 char * kwnames
[] = {
8827 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8832 if (!SWIG_IsOK(res1
)) {
8833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8835 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8836 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8837 if (!SWIG_IsOK(res2
)) {
8838 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8841 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8843 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8844 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8845 if (!SWIG_IsOK(ecode3
)) {
8846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8848 arg3
= static_cast< int >(val3
);
8849 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8850 if (!SWIG_IsOK(ecode4
)) {
8851 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8853 arg4
= static_cast< int >(val4
);
8855 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8858 resultobj
= SWIG_Py_Void();
8865 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
*resultobj
= 0;
8867 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8874 unsigned char val2
;
8876 unsigned char val3
;
8878 unsigned char val4
;
8880 unsigned char val5
;
8882 PyObject
* obj0
= 0 ;
8883 PyObject
* obj1
= 0 ;
8884 PyObject
* obj2
= 0 ;
8885 PyObject
* obj3
= 0 ;
8886 PyObject
* obj4
= 0 ;
8887 char * kwnames
[] = {
8888 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8893 if (!SWIG_IsOK(res1
)) {
8894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8896 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8897 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8898 if (!SWIG_IsOK(ecode2
)) {
8899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8901 arg2
= static_cast< byte
>(val2
);
8902 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8903 if (!SWIG_IsOK(ecode3
)) {
8904 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8906 arg3
= static_cast< byte
>(val3
);
8907 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8908 if (!SWIG_IsOK(ecode4
)) {
8909 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8911 arg4
= static_cast< byte
>(val4
);
8912 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8913 if (!SWIG_IsOK(ecode5
)) {
8914 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8916 arg5
= static_cast< byte
>(val5
);
8918 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8921 resultobj
= SWIG_Py_Void();
8928 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8929 PyObject
*resultobj
= 0;
8930 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8931 PyObject
*result
= 0 ;
8934 PyObject
*swig_obj
[1] ;
8936 if (!args
) SWIG_fail
;
8938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8939 if (!SWIG_IsOK(res1
)) {
8940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8942 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8944 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8945 if (PyErr_Occurred()) SWIG_fail
;
8954 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8956 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8957 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8958 return SWIG_Py_Void();
8961 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8962 return SWIG_Python_InitShadowInstance(args
);
8965 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8966 PyObject
*resultobj
= 0;
8967 wxBitmap
*arg1
= 0 ;
8968 wxColour
const &arg2_defvalue
= wxNullColour
;
8969 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8970 wxMask
*result
= 0 ;
8974 PyObject
* obj0
= 0 ;
8975 PyObject
* obj1
= 0 ;
8976 char * kwnames
[] = {
8977 (char *) "bitmap",(char *) "colour", NULL
8980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8981 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8982 if (!SWIG_IsOK(res1
)) {
8983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8988 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8992 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8996 if (!wxPyCheckForApp()) SWIG_fail
;
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8998 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8999 wxPyEndAllowThreads(__tstate
);
9000 if (PyErr_Occurred()) SWIG_fail
;
9002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9009 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9010 PyObject
*resultobj
= 0;
9011 wxMask
*arg1
= (wxMask
*) 0 ;
9014 PyObject
*swig_obj
[1] ;
9016 if (!args
) SWIG_fail
;
9018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9019 if (!SWIG_IsOK(res1
)) {
9020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9022 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9028 resultobj
= SWIG_Py_Void();
9035 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9037 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9038 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9039 return SWIG_Py_Void();
9042 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9043 return SWIG_Python_InitShadowInstance(args
);
9046 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9047 PyObject
*resultobj
= 0;
9048 wxString
*arg1
= 0 ;
9050 int arg3
= (int) -1 ;
9051 int arg4
= (int) -1 ;
9052 wxIcon
*result
= 0 ;
9053 bool temp1
= false ;
9060 PyObject
* obj0
= 0 ;
9061 PyObject
* obj1
= 0 ;
9062 PyObject
* obj2
= 0 ;
9063 PyObject
* obj3
= 0 ;
9064 char * kwnames
[] = {
9065 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9070 arg1
= wxString_in_helper(obj0
);
9071 if (arg1
== NULL
) SWIG_fail
;
9074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9075 if (!SWIG_IsOK(ecode2
)) {
9076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9078 arg2
= static_cast< wxBitmapType
>(val2
);
9080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9081 if (!SWIG_IsOK(ecode3
)) {
9082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9084 arg3
= static_cast< int >(val3
);
9087 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9088 if (!SWIG_IsOK(ecode4
)) {
9089 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9091 arg4
= static_cast< int >(val4
);
9094 if (!wxPyCheckForApp()) SWIG_fail
;
9095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9096 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9097 wxPyEndAllowThreads(__tstate
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9115 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9116 PyObject
*resultobj
= 0;
9117 wxIcon
*arg1
= (wxIcon
*) 0 ;
9120 PyObject
*swig_obj
[1] ;
9122 if (!args
) SWIG_fail
;
9124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9125 if (!SWIG_IsOK(res1
)) {
9126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9128 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9136 resultobj
= SWIG_Py_Void();
9143 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9144 PyObject
*resultobj
= 0;
9145 wxIcon
*result
= 0 ;
9147 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9149 if (!wxPyCheckForApp()) SWIG_fail
;
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 result
= (wxIcon
*)new wxIcon();
9152 wxPyEndAllowThreads(__tstate
);
9153 if (PyErr_Occurred()) SWIG_fail
;
9155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9162 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9163 PyObject
*resultobj
= 0;
9164 wxIconLocation
*arg1
= 0 ;
9165 wxIcon
*result
= 0 ;
9168 PyObject
* obj0
= 0 ;
9169 char * kwnames
[] = {
9170 (char *) "loc", NULL
9173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9174 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9175 if (!SWIG_IsOK(res1
)) {
9176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9181 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9183 if (!wxPyCheckForApp()) SWIG_fail
;
9184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9185 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9196 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
*resultobj
= 0;
9198 wxBitmap
*arg1
= 0 ;
9199 wxIcon
*result
= 0 ;
9202 PyObject
* obj0
= 0 ;
9203 char * kwnames
[] = {
9204 (char *) "bmp", NULL
9207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9208 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9209 if (!SWIG_IsOK(res1
)) {
9210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9215 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9217 if (!wxPyCheckForApp()) SWIG_fail
;
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9230 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
= 0;
9232 PyObject
*arg1
= (PyObject
*) 0 ;
9233 wxIcon
*result
= 0 ;
9234 PyObject
* obj0
= 0 ;
9235 char * kwnames
[] = {
9236 (char *) "listOfStrings", NULL
9239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9242 if (!wxPyCheckForApp()) SWIG_fail
;
9243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9244 result
= (wxIcon
*)new_wxIcon(arg1
);
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9255 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9256 PyObject
*resultobj
= 0;
9257 wxIcon
*arg1
= (wxIcon
*) 0 ;
9261 PyObject
*swig_obj
[1] ;
9263 if (!args
) SWIG_fail
;
9265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9266 if (!SWIG_IsOK(res1
)) {
9267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9269 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 result
= (bool)(arg1
)->IsOk();
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9285 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9286 PyObject
*resultobj
= 0;
9287 wxIcon
*arg1
= (wxIcon
*) 0 ;
9291 PyObject
*swig_obj
[1] ;
9293 if (!args
) SWIG_fail
;
9295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9296 if (!SWIG_IsOK(res1
)) {
9297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9299 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 result
= (int)(arg1
)->GetWidth();
9303 wxPyEndAllowThreads(__tstate
);
9304 if (PyErr_Occurred()) SWIG_fail
;
9306 resultobj
= SWIG_From_int(static_cast< int >(result
));
9313 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9314 PyObject
*resultobj
= 0;
9315 wxIcon
*arg1
= (wxIcon
*) 0 ;
9319 PyObject
*swig_obj
[1] ;
9321 if (!args
) SWIG_fail
;
9323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9324 if (!SWIG_IsOK(res1
)) {
9325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9327 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9330 result
= (int)(arg1
)->GetHeight();
9331 wxPyEndAllowThreads(__tstate
);
9332 if (PyErr_Occurred()) SWIG_fail
;
9334 resultobj
= SWIG_From_int(static_cast< int >(result
));
9341 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9342 PyObject
*resultobj
= 0;
9343 wxIcon
*arg1
= (wxIcon
*) 0 ;
9347 PyObject
*swig_obj
[1] ;
9349 if (!args
) SWIG_fail
;
9351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9352 if (!SWIG_IsOK(res1
)) {
9353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9355 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9358 result
= (int)(arg1
)->GetDepth();
9359 wxPyEndAllowThreads(__tstate
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9362 resultobj
= SWIG_From_int(static_cast< int >(result
));
9369 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9370 PyObject
*resultobj
= 0;
9371 wxIcon
*arg1
= (wxIcon
*) 0 ;
9377 PyObject
* obj0
= 0 ;
9378 PyObject
* obj1
= 0 ;
9379 char * kwnames
[] = {
9380 (char *) "self",(char *) "w", NULL
9383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9385 if (!SWIG_IsOK(res1
)) {
9386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9388 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9390 if (!SWIG_IsOK(ecode2
)) {
9391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9393 arg2
= static_cast< int >(val2
);
9395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9396 (arg1
)->SetWidth(arg2
);
9397 wxPyEndAllowThreads(__tstate
);
9398 if (PyErr_Occurred()) SWIG_fail
;
9400 resultobj
= SWIG_Py_Void();
9407 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9408 PyObject
*resultobj
= 0;
9409 wxIcon
*arg1
= (wxIcon
*) 0 ;
9415 PyObject
* obj0
= 0 ;
9416 PyObject
* obj1
= 0 ;
9417 char * kwnames
[] = {
9418 (char *) "self",(char *) "h", NULL
9421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9423 if (!SWIG_IsOK(res1
)) {
9424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9426 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9428 if (!SWIG_IsOK(ecode2
)) {
9429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9431 arg2
= static_cast< int >(val2
);
9433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9434 (arg1
)->SetHeight(arg2
);
9435 wxPyEndAllowThreads(__tstate
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9438 resultobj
= SWIG_Py_Void();
9445 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
*resultobj
= 0;
9447 wxIcon
*arg1
= (wxIcon
*) 0 ;
9453 PyObject
* obj0
= 0 ;
9454 PyObject
* obj1
= 0 ;
9455 char * kwnames
[] = {
9456 (char *) "self",(char *) "d", NULL
9459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9461 if (!SWIG_IsOK(res1
)) {
9462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9464 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9466 if (!SWIG_IsOK(ecode2
)) {
9467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9469 arg2
= static_cast< int >(val2
);
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 (arg1
)->SetDepth(arg2
);
9473 wxPyEndAllowThreads(__tstate
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9476 resultobj
= SWIG_Py_Void();
9483 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
*resultobj
= 0;
9485 wxIcon
*arg1
= (wxIcon
*) 0 ;
9486 wxBitmap
*arg2
= 0 ;
9491 PyObject
* obj0
= 0 ;
9492 PyObject
* obj1
= 0 ;
9493 char * kwnames
[] = {
9494 (char *) "self",(char *) "bmp", NULL
9497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9499 if (!SWIG_IsOK(res1
)) {
9500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9502 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9503 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9504 if (!SWIG_IsOK(res2
)) {
9505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9510 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9513 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9517 resultobj
= SWIG_Py_Void();
9524 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9526 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9527 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9528 return SWIG_Py_Void();
9531 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9532 return SWIG_Python_InitShadowInstance(args
);
9535 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
= 0;
9537 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9538 int arg2
= (int) 0 ;
9539 wxIconLocation
*result
= 0 ;
9540 bool temp1
= false ;
9543 PyObject
* obj0
= 0 ;
9544 PyObject
* obj1
= 0 ;
9545 char * kwnames
[] = {
9546 (char *) "filename",(char *) "num", NULL
9549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9552 arg1
= wxString_in_helper(obj0
);
9553 if (arg1
== NULL
) SWIG_fail
;
9558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9559 if (!SWIG_IsOK(ecode2
)) {
9560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9562 arg2
= static_cast< int >(val2
);
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9566 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9585 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9586 PyObject
*resultobj
= 0;
9587 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9590 PyObject
*swig_obj
[1] ;
9592 if (!args
) SWIG_fail
;
9594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9595 if (!SWIG_IsOK(res1
)) {
9596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9598 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9603 wxPyEndAllowThreads(__tstate
);
9604 if (PyErr_Occurred()) SWIG_fail
;
9606 resultobj
= SWIG_Py_Void();
9613 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9614 PyObject
*resultobj
= 0;
9615 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9619 PyObject
*swig_obj
[1] ;
9621 if (!args
) SWIG_fail
;
9623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9624 if (!SWIG_IsOK(res1
)) {
9625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9627 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9630 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9643 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9644 PyObject
*resultobj
= 0;
9645 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9646 wxString
*arg2
= 0 ;
9649 bool temp2
= false ;
9650 PyObject
* obj0
= 0 ;
9651 PyObject
* obj1
= 0 ;
9652 char * kwnames
[] = {
9653 (char *) "self",(char *) "filename", NULL
9656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9658 if (!SWIG_IsOK(res1
)) {
9659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9661 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9663 arg2
= wxString_in_helper(obj1
);
9664 if (arg2
== NULL
) SWIG_fail
;
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 (arg1
)->SetFileName((wxString
const &)*arg2
);
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9673 resultobj
= SWIG_Py_Void();
9688 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9689 PyObject
*resultobj
= 0;
9690 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9691 wxString
*result
= 0 ;
9694 PyObject
*swig_obj
[1] ;
9696 if (!args
) SWIG_fail
;
9698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9699 if (!SWIG_IsOK(res1
)) {
9700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9702 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9707 result
= (wxString
*) &_result_ref
;
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9714 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9716 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9725 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9726 PyObject
*resultobj
= 0;
9727 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9733 PyObject
* obj0
= 0 ;
9734 PyObject
* obj1
= 0 ;
9735 char * kwnames
[] = {
9736 (char *) "self",(char *) "num", NULL
9739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9741 if (!SWIG_IsOK(res1
)) {
9742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9744 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9746 if (!SWIG_IsOK(ecode2
)) {
9747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9749 arg2
= static_cast< int >(val2
);
9751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9752 wxIconLocation_SetIndex(arg1
,arg2
);
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9756 resultobj
= SWIG_Py_Void();
9763 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9764 PyObject
*resultobj
= 0;
9765 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9769 PyObject
*swig_obj
[1] ;
9771 if (!args
) SWIG_fail
;
9773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9774 if (!SWIG_IsOK(res1
)) {
9775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9777 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9780 result
= (int)wxIconLocation_GetIndex(arg1
);
9781 wxPyEndAllowThreads(__tstate
);
9782 if (PyErr_Occurred()) SWIG_fail
;
9784 resultobj
= SWIG_From_int(static_cast< int >(result
));
9791 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9793 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9794 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9795 return SWIG_Py_Void();
9798 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9799 return SWIG_Python_InitShadowInstance(args
);
9802 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9803 PyObject
*resultobj
= 0;
9804 wxIconBundle
*result
= 0 ;
9806 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9809 result
= (wxIconBundle
*)new wxIconBundle();
9810 wxPyEndAllowThreads(__tstate
);
9811 if (PyErr_Occurred()) SWIG_fail
;
9813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9820 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9821 PyObject
*resultobj
= 0;
9822 wxString
*arg1
= 0 ;
9824 wxIconBundle
*result
= 0 ;
9825 bool temp1
= false ;
9828 PyObject
* obj0
= 0 ;
9829 PyObject
* obj1
= 0 ;
9830 char * kwnames
[] = {
9831 (char *) "file",(char *) "type", NULL
9834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9836 arg1
= wxString_in_helper(obj0
);
9837 if (arg1
== NULL
) SWIG_fail
;
9840 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9841 if (!SWIG_IsOK(ecode2
)) {
9842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9844 arg2
= static_cast< long >(val2
);
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9866 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9867 PyObject
*resultobj
= 0;
9869 wxIconBundle
*result
= 0 ;
9872 PyObject
* obj0
= 0 ;
9873 char * kwnames
[] = {
9874 (char *) "icon", NULL
9877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9878 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9879 if (!SWIG_IsOK(res1
)) {
9880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9885 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9889 wxPyEndAllowThreads(__tstate
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9892 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9899 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9900 PyObject
*resultobj
= 0;
9901 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9904 PyObject
*swig_obj
[1] ;
9906 if (!args
) SWIG_fail
;
9908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9909 if (!SWIG_IsOK(res1
)) {
9910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9912 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9917 wxPyEndAllowThreads(__tstate
);
9918 if (PyErr_Occurred()) SWIG_fail
;
9920 resultobj
= SWIG_Py_Void();
9927 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9928 PyObject
*resultobj
= 0;
9929 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9935 PyObject
* obj0
= 0 ;
9936 PyObject
* obj1
= 0 ;
9937 char * kwnames
[] = {
9938 (char *) "self",(char *) "icon", NULL
9941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9943 if (!SWIG_IsOK(res1
)) {
9944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9946 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9947 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9948 if (!SWIG_IsOK(res2
)) {
9949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9954 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9961 resultobj
= SWIG_Py_Void();
9968 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9969 PyObject
*resultobj
= 0;
9970 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9971 wxString
*arg2
= 0 ;
9975 bool temp2
= false ;
9978 PyObject
* obj0
= 0 ;
9979 PyObject
* obj1
= 0 ;
9980 PyObject
* obj2
= 0 ;
9981 char * kwnames
[] = {
9982 (char *) "self",(char *) "file",(char *) "type", NULL
9985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9987 if (!SWIG_IsOK(res1
)) {
9988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9990 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9992 arg2
= wxString_in_helper(obj1
);
9993 if (arg2
== NULL
) SWIG_fail
;
9996 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9997 if (!SWIG_IsOK(ecode3
)) {
9998 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10000 arg3
= static_cast< long >(val3
);
10002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10003 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) SWIG_fail
;
10007 resultobj
= SWIG_Py_Void();
10022 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10023 PyObject
*resultobj
= 0;
10024 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10026 wxIcon
*result
= 0 ;
10030 PyObject
* obj0
= 0 ;
10031 PyObject
* obj1
= 0 ;
10032 char * kwnames
[] = {
10033 (char *) "self",(char *) "size", NULL
10036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10038 if (!SWIG_IsOK(res1
)) {
10039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10041 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10044 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10049 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10050 result
= (wxIcon
*) &_result_ref
;
10052 wxPyEndAllowThreads(__tstate
);
10053 if (PyErr_Occurred()) SWIG_fail
;
10056 wxIcon
* resultptr
= new wxIcon(*result
);
10057 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10065 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10067 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10068 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10069 return SWIG_Py_Void();
10072 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10073 return SWIG_Python_InitShadowInstance(args
);
10076 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10077 PyObject
*resultobj
= 0;
10078 wxString
*arg1
= 0 ;
10080 int arg3
= (int) 0 ;
10081 int arg4
= (int) 0 ;
10082 wxCursor
*result
= 0 ;
10083 bool temp1
= false ;
10090 PyObject
* obj0
= 0 ;
10091 PyObject
* obj1
= 0 ;
10092 PyObject
* obj2
= 0 ;
10093 PyObject
* obj3
= 0 ;
10094 char * kwnames
[] = {
10095 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10100 arg1
= wxString_in_helper(obj0
);
10101 if (arg1
== NULL
) SWIG_fail
;
10104 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10105 if (!SWIG_IsOK(ecode2
)) {
10106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10108 arg2
= static_cast< long >(val2
);
10110 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10111 if (!SWIG_IsOK(ecode3
)) {
10112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10114 arg3
= static_cast< int >(val3
);
10117 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10118 if (!SWIG_IsOK(ecode4
)) {
10119 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10121 arg4
= static_cast< int >(val4
);
10124 if (!wxPyCheckForApp()) SWIG_fail
;
10125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10126 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10127 wxPyEndAllowThreads(__tstate
);
10128 if (PyErr_Occurred()) SWIG_fail
;
10130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10145 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10146 PyObject
*resultobj
= 0;
10147 wxCursor
*arg1
= (wxCursor
*) 0 ;
10150 PyObject
*swig_obj
[1] ;
10152 if (!args
) SWIG_fail
;
10153 swig_obj
[0] = args
;
10154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10155 if (!SWIG_IsOK(res1
)) {
10156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10158 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10163 wxPyEndAllowThreads(__tstate
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10166 resultobj
= SWIG_Py_Void();
10173 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10174 PyObject
*resultobj
= 0;
10176 wxCursor
*result
= 0 ;
10179 PyObject
* obj0
= 0 ;
10180 char * kwnames
[] = {
10181 (char *) "id", NULL
10184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10185 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10186 if (!SWIG_IsOK(ecode1
)) {
10187 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10189 arg1
= static_cast< int >(val1
);
10191 if (!wxPyCheckForApp()) SWIG_fail
;
10192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10193 result
= (wxCursor
*)new wxCursor(arg1
);
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10204 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
= 0;
10206 wxImage
*arg1
= 0 ;
10207 wxCursor
*result
= 0 ;
10210 PyObject
* obj0
= 0 ;
10211 char * kwnames
[] = {
10212 (char *) "image", NULL
10215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10216 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10217 if (!SWIG_IsOK(res1
)) {
10218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10223 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10225 if (!wxPyCheckForApp()) SWIG_fail
;
10226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10227 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10238 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10239 PyObject
*resultobj
= 0;
10240 wxCursor
*arg1
= (wxCursor
*) 0 ;
10244 PyObject
*swig_obj
[1] ;
10246 if (!args
) SWIG_fail
;
10247 swig_obj
[0] = args
;
10248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10249 if (!SWIG_IsOK(res1
)) {
10250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10252 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= (bool)(arg1
)->IsOk();
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10268 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10270 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10271 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10272 return SWIG_Py_Void();
10275 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10276 return SWIG_Python_InitShadowInstance(args
);
10279 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
= 0;
10281 int arg1
= (int) 0 ;
10282 int arg2
= (int) 0 ;
10283 int arg3
= (int) 0 ;
10284 int arg4
= (int) 0 ;
10285 wxRegion
*result
= 0 ;
10294 PyObject
* obj0
= 0 ;
10295 PyObject
* obj1
= 0 ;
10296 PyObject
* obj2
= 0 ;
10297 PyObject
* obj3
= 0 ;
10298 char * kwnames
[] = {
10299 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10304 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10305 if (!SWIG_IsOK(ecode1
)) {
10306 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10308 arg1
= static_cast< int >(val1
);
10311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10312 if (!SWIG_IsOK(ecode2
)) {
10313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10315 arg2
= static_cast< int >(val2
);
10318 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10319 if (!SWIG_IsOK(ecode3
)) {
10320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10322 arg3
= static_cast< int >(val3
);
10325 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10326 if (!SWIG_IsOK(ecode4
)) {
10327 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10329 arg4
= static_cast< int >(val4
);
10332 if (!wxPyCheckForApp()) SWIG_fail
;
10333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10334 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10345 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
*resultobj
= 0;
10347 wxBitmap
*arg1
= 0 ;
10348 wxRegion
*result
= 0 ;
10351 PyObject
* obj0
= 0 ;
10352 char * kwnames
[] = {
10353 (char *) "bmp", NULL
10356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10357 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10358 if (!SWIG_IsOK(res1
)) {
10359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10364 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10366 if (!wxPyCheckForApp()) SWIG_fail
;
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10369 wxPyEndAllowThreads(__tstate
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10379 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10380 PyObject
*resultobj
= 0;
10381 wxBitmap
*arg1
= 0 ;
10382 wxColour
*arg2
= 0 ;
10383 int arg3
= (int) 0 ;
10384 wxRegion
*result
= 0 ;
10390 PyObject
* obj0
= 0 ;
10391 PyObject
* obj1
= 0 ;
10392 PyObject
* obj2
= 0 ;
10393 char * kwnames
[] = {
10394 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10398 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10399 if (!SWIG_IsOK(res1
)) {
10400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10405 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10408 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10411 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10412 if (!SWIG_IsOK(ecode3
)) {
10413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10415 arg3
= static_cast< int >(val3
);
10418 if (!wxPyCheckForApp()) SWIG_fail
;
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10421 wxPyEndAllowThreads(__tstate
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10431 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10432 PyObject
*resultobj
= 0;
10434 wxPoint
*arg2
= (wxPoint
*) 0 ;
10435 int arg3
= (int) wxWINDING_RULE
;
10436 wxRegion
*result
= 0 ;
10439 PyObject
* obj0
= 0 ;
10440 PyObject
* obj1
= 0 ;
10441 char * kwnames
[] = {
10442 (char *) "points",(char *) "fillStyle", NULL
10445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10447 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10448 if (arg2
== NULL
) SWIG_fail
;
10451 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10452 if (!SWIG_IsOK(ecode3
)) {
10453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10455 arg3
= static_cast< int >(val3
);
10458 if (!wxPyCheckForApp()) SWIG_fail
;
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10461 wxPyEndAllowThreads(__tstate
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10466 if (arg2
) delete [] arg2
;
10471 if (arg2
) delete [] arg2
;
10477 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10478 PyObject
*resultobj
= 0;
10479 wxRegion
*arg1
= (wxRegion
*) 0 ;
10482 PyObject
*swig_obj
[1] ;
10484 if (!args
) SWIG_fail
;
10485 swig_obj
[0] = args
;
10486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10487 if (!SWIG_IsOK(res1
)) {
10488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10490 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10498 resultobj
= SWIG_Py_Void();
10505 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10506 PyObject
*resultobj
= 0;
10507 wxRegion
*arg1
= (wxRegion
*) 0 ;
10510 PyObject
*swig_obj
[1] ;
10512 if (!args
) SWIG_fail
;
10513 swig_obj
[0] = args
;
10514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10515 if (!SWIG_IsOK(res1
)) {
10516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10518 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 wxPyEndAllowThreads(__tstate
);
10523 if (PyErr_Occurred()) SWIG_fail
;
10525 resultobj
= SWIG_Py_Void();
10532 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10533 PyObject
*resultobj
= 0;
10534 wxRegion
*arg1
= (wxRegion
*) 0 ;
10544 PyObject
* obj0
= 0 ;
10545 PyObject
* obj1
= 0 ;
10546 PyObject
* obj2
= 0 ;
10547 char * kwnames
[] = {
10548 (char *) "self",(char *) "x",(char *) "y", NULL
10551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10553 if (!SWIG_IsOK(res1
)) {
10554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10556 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10558 if (!SWIG_IsOK(ecode2
)) {
10559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10561 arg2
= static_cast< int >(val2
);
10562 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10563 if (!SWIG_IsOK(ecode3
)) {
10564 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10566 arg3
= static_cast< int >(val3
);
10568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10569 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10570 wxPyEndAllowThreads(__tstate
);
10571 if (PyErr_Occurred()) SWIG_fail
;
10574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10582 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10583 PyObject
*resultobj
= 0;
10584 wxRegion
*arg1
= (wxRegion
*) 0 ;
10587 wxRegionContain result
;
10594 PyObject
* obj0
= 0 ;
10595 PyObject
* obj1
= 0 ;
10596 PyObject
* obj2
= 0 ;
10597 char * kwnames
[] = {
10598 (char *) "self",(char *) "x",(char *) "y", NULL
10601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10603 if (!SWIG_IsOK(res1
)) {
10604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10606 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10608 if (!SWIG_IsOK(ecode2
)) {
10609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10611 arg2
= static_cast< int >(val2
);
10612 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10613 if (!SWIG_IsOK(ecode3
)) {
10614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10616 arg3
= static_cast< int >(val3
);
10618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10619 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10623 resultobj
= SWIG_From_int(static_cast< int >(result
));
10630 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10631 PyObject
*resultobj
= 0;
10632 wxRegion
*arg1
= (wxRegion
*) 0 ;
10633 wxPoint
*arg2
= 0 ;
10634 wxRegionContain result
;
10638 PyObject
* obj0
= 0 ;
10639 PyObject
* obj1
= 0 ;
10640 char * kwnames
[] = {
10641 (char *) "self",(char *) "pt", NULL
10644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10646 if (!SWIG_IsOK(res1
)) {
10647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10649 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10652 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10660 resultobj
= SWIG_From_int(static_cast< int >(result
));
10667 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
= 0;
10669 wxRegion
*arg1
= (wxRegion
*) 0 ;
10671 wxRegionContain result
;
10675 PyObject
* obj0
= 0 ;
10676 PyObject
* obj1
= 0 ;
10677 char * kwnames
[] = {
10678 (char *) "self",(char *) "rect", NULL
10681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10683 if (!SWIG_IsOK(res1
)) {
10684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10686 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10689 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10694 wxPyEndAllowThreads(__tstate
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10697 resultobj
= SWIG_From_int(static_cast< int >(result
));
10704 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10705 PyObject
*resultobj
= 0;
10706 wxRegion
*arg1
= (wxRegion
*) 0 ;
10711 wxRegionContain result
;
10722 PyObject
* obj0
= 0 ;
10723 PyObject
* obj1
= 0 ;
10724 PyObject
* obj2
= 0 ;
10725 PyObject
* obj3
= 0 ;
10726 PyObject
* obj4
= 0 ;
10727 char * kwnames
[] = {
10728 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10733 if (!SWIG_IsOK(res1
)) {
10734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10736 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10738 if (!SWIG_IsOK(ecode2
)) {
10739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10741 arg2
= static_cast< int >(val2
);
10742 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10743 if (!SWIG_IsOK(ecode3
)) {
10744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10746 arg3
= static_cast< int >(val3
);
10747 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10748 if (!SWIG_IsOK(ecode4
)) {
10749 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10751 arg4
= static_cast< int >(val4
);
10752 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10753 if (!SWIG_IsOK(ecode5
)) {
10754 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10756 arg5
= static_cast< int >(val5
);
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10760 wxPyEndAllowThreads(__tstate
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10763 resultobj
= SWIG_From_int(static_cast< int >(result
));
10770 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10771 PyObject
*resultobj
= 0;
10772 wxRegion
*arg1
= (wxRegion
*) 0 ;
10776 PyObject
*swig_obj
[1] ;
10778 if (!args
) SWIG_fail
;
10779 swig_obj
[0] = args
;
10780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10781 if (!SWIG_IsOK(res1
)) {
10782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10784 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10787 result
= (arg1
)->GetBox();
10788 wxPyEndAllowThreads(__tstate
);
10789 if (PyErr_Occurred()) SWIG_fail
;
10791 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10798 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10799 PyObject
*resultobj
= 0;
10800 wxRegion
*arg1
= (wxRegion
*) 0 ;
10816 PyObject
* obj0
= 0 ;
10817 PyObject
* obj1
= 0 ;
10818 PyObject
* obj2
= 0 ;
10819 PyObject
* obj3
= 0 ;
10820 PyObject
* obj4
= 0 ;
10821 char * kwnames
[] = {
10822 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10827 if (!SWIG_IsOK(res1
)) {
10828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10830 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10832 if (!SWIG_IsOK(ecode2
)) {
10833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10835 arg2
= static_cast< int >(val2
);
10836 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10837 if (!SWIG_IsOK(ecode3
)) {
10838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10840 arg3
= static_cast< int >(val3
);
10841 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10842 if (!SWIG_IsOK(ecode4
)) {
10843 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10845 arg4
= static_cast< int >(val4
);
10846 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10847 if (!SWIG_IsOK(ecode5
)) {
10848 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10850 arg5
= static_cast< int >(val5
);
10852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10853 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10866 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10867 PyObject
*resultobj
= 0;
10868 wxRegion
*arg1
= (wxRegion
*) 0 ;
10874 PyObject
* obj0
= 0 ;
10875 PyObject
* obj1
= 0 ;
10876 char * kwnames
[] = {
10877 (char *) "self",(char *) "rect", NULL
10880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10882 if (!SWIG_IsOK(res1
)) {
10883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10885 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10888 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10892 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10893 wxPyEndAllowThreads(__tstate
);
10894 if (PyErr_Occurred()) SWIG_fail
;
10897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10905 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10906 PyObject
*resultobj
= 0;
10907 wxRegion
*arg1
= (wxRegion
*) 0 ;
10908 wxRegion
*arg2
= 0 ;
10914 PyObject
* obj0
= 0 ;
10915 PyObject
* obj1
= 0 ;
10916 char * kwnames
[] = {
10917 (char *) "self",(char *) "region", NULL
10920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) 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_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10925 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10926 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10927 if (!SWIG_IsOK(res2
)) {
10928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10933 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10937 wxPyEndAllowThreads(__tstate
);
10938 if (PyErr_Occurred()) SWIG_fail
;
10941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10949 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10950 PyObject
*resultobj
= 0;
10951 wxRegion
*arg1
= (wxRegion
*) 0 ;
10955 PyObject
*swig_obj
[1] ;
10957 if (!args
) SWIG_fail
;
10958 swig_obj
[0] = args
;
10959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10960 if (!SWIG_IsOK(res1
)) {
10961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10963 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10966 result
= (bool)(arg1
)->IsEmpty();
10967 wxPyEndAllowThreads(__tstate
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10979 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10980 PyObject
*resultobj
= 0;
10981 wxRegion
*arg1
= (wxRegion
*) 0 ;
10982 wxRegion
*arg2
= 0 ;
10988 PyObject
* obj0
= 0 ;
10989 PyObject
* obj1
= 0 ;
10990 char * kwnames
[] = {
10991 (char *) "self",(char *) "region", NULL
10994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10996 if (!SWIG_IsOK(res1
)) {
10997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
10999 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11000 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11001 if (!SWIG_IsOK(res2
)) {
11002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11007 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11010 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11023 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11024 PyObject
*resultobj
= 0;
11025 wxRegion
*arg1
= (wxRegion
*) 0 ;
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 *) "width",(char *) "height", NULL
11050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",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_Union" "', 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_Union" "', 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_Union" "', 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_Union" "', 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_Union" "', expected argument " "5"" of type '" "int""'");
11075 arg5
= static_cast< int >(val5
);
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11079 wxPyEndAllowThreads(__tstate
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11091 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11092 PyObject
*resultobj
= 0;
11093 wxRegion
*arg1
= (wxRegion
*) 0 ;
11099 PyObject
* obj0
= 0 ;
11100 PyObject
* obj1
= 0 ;
11101 char * kwnames
[] = {
11102 (char *) "self",(char *) "rect", NULL
11105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11107 if (!SWIG_IsOK(res1
)) {
11108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11110 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11113 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11117 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11118 wxPyEndAllowThreads(__tstate
);
11119 if (PyErr_Occurred()) SWIG_fail
;
11122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11130 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11131 PyObject
*resultobj
= 0;
11132 wxRegion
*arg1
= (wxRegion
*) 0 ;
11133 wxRegion
*arg2
= 0 ;
11139 PyObject
* obj0
= 0 ;
11140 PyObject
* obj1
= 0 ;
11141 char * kwnames
[] = {
11142 (char *) "self",(char *) "region", NULL
11145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11147 if (!SWIG_IsOK(res1
)) {
11148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11150 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11152 if (!SWIG_IsOK(res2
)) {
11153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11158 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11162 wxPyEndAllowThreads(__tstate
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11174 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11175 PyObject
*resultobj
= 0;
11176 wxRegion
*arg1
= (wxRegion
*) 0 ;
11192 PyObject
* obj0
= 0 ;
11193 PyObject
* obj1
= 0 ;
11194 PyObject
* obj2
= 0 ;
11195 PyObject
* obj3
= 0 ;
11196 PyObject
* obj4
= 0 ;
11197 char * kwnames
[] = {
11198 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11203 if (!SWIG_IsOK(res1
)) {
11204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11206 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11208 if (!SWIG_IsOK(ecode2
)) {
11209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11211 arg2
= static_cast< int >(val2
);
11212 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11213 if (!SWIG_IsOK(ecode3
)) {
11214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11216 arg3
= static_cast< int >(val3
);
11217 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11218 if (!SWIG_IsOK(ecode4
)) {
11219 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11221 arg4
= static_cast< int >(val4
);
11222 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11223 if (!SWIG_IsOK(ecode5
)) {
11224 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11226 arg5
= static_cast< int >(val5
);
11228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11229 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11230 wxPyEndAllowThreads(__tstate
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11242 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11243 PyObject
*resultobj
= 0;
11244 wxRegion
*arg1
= (wxRegion
*) 0 ;
11250 PyObject
* obj0
= 0 ;
11251 PyObject
* obj1
= 0 ;
11252 char * kwnames
[] = {
11253 (char *) "self",(char *) "rect", NULL
11256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11258 if (!SWIG_IsOK(res1
)) {
11259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11261 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11264 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11281 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11282 PyObject
*resultobj
= 0;
11283 wxRegion
*arg1
= (wxRegion
*) 0 ;
11284 wxRegion
*arg2
= 0 ;
11290 PyObject
* obj0
= 0 ;
11291 PyObject
* obj1
= 0 ;
11292 char * kwnames
[] = {
11293 (char *) "self",(char *) "region", NULL
11296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11298 if (!SWIG_IsOK(res1
)) {
11299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11301 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11302 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11303 if (!SWIG_IsOK(res2
)) {
11304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11309 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11312 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11313 wxPyEndAllowThreads(__tstate
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11325 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11326 PyObject
*resultobj
= 0;
11327 wxRegion
*arg1
= (wxRegion
*) 0 ;
11343 PyObject
* obj0
= 0 ;
11344 PyObject
* obj1
= 0 ;
11345 PyObject
* obj2
= 0 ;
11346 PyObject
* obj3
= 0 ;
11347 PyObject
* obj4
= 0 ;
11348 char * kwnames
[] = {
11349 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11354 if (!SWIG_IsOK(res1
)) {
11355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11357 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11359 if (!SWIG_IsOK(ecode2
)) {
11360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11362 arg2
= static_cast< int >(val2
);
11363 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11364 if (!SWIG_IsOK(ecode3
)) {
11365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11367 arg3
= static_cast< int >(val3
);
11368 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11369 if (!SWIG_IsOK(ecode4
)) {
11370 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11372 arg4
= static_cast< int >(val4
);
11373 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11374 if (!SWIG_IsOK(ecode5
)) {
11375 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11377 arg5
= static_cast< int >(val5
);
11379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11380 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11381 wxPyEndAllowThreads(__tstate
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11393 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11394 PyObject
*resultobj
= 0;
11395 wxRegion
*arg1
= (wxRegion
*) 0 ;
11401 PyObject
* obj0
= 0 ;
11402 PyObject
* obj1
= 0 ;
11403 char * kwnames
[] = {
11404 (char *) "self",(char *) "rect", NULL
11407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11409 if (!SWIG_IsOK(res1
)) {
11410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11412 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11415 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11420 wxPyEndAllowThreads(__tstate
);
11421 if (PyErr_Occurred()) SWIG_fail
;
11424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11432 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
*resultobj
= 0;
11434 wxRegion
*arg1
= (wxRegion
*) 0 ;
11435 wxRegion
*arg2
= 0 ;
11441 PyObject
* obj0
= 0 ;
11442 PyObject
* obj1
= 0 ;
11443 char * kwnames
[] = {
11444 (char *) "self",(char *) "region", NULL
11447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11449 if (!SWIG_IsOK(res1
)) {
11450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11452 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11453 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11454 if (!SWIG_IsOK(res2
)) {
11455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11460 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11463 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11464 wxPyEndAllowThreads(__tstate
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11476 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11477 PyObject
*resultobj
= 0;
11478 wxRegion
*arg1
= (wxRegion
*) 0 ;
11479 SwigValueWrapper
<wxBitmap
> result
;
11482 PyObject
*swig_obj
[1] ;
11484 if (!args
) SWIG_fail
;
11485 swig_obj
[0] = args
;
11486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11487 if (!SWIG_IsOK(res1
)) {
11488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11490 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11493 result
= (arg1
)->ConvertToBitmap();
11494 wxPyEndAllowThreads(__tstate
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11497 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11504 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11505 PyObject
*resultobj
= 0;
11506 wxRegion
*arg1
= (wxRegion
*) 0 ;
11507 wxBitmap
*arg2
= 0 ;
11513 PyObject
* obj0
= 0 ;
11514 PyObject
* obj1
= 0 ;
11515 char * kwnames
[] = {
11516 (char *) "self",(char *) "bmp", NULL
11519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11521 if (!SWIG_IsOK(res1
)) {
11522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11524 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11525 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11526 if (!SWIG_IsOK(res2
)) {
11527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11530 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11532 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11536 wxPyEndAllowThreads(__tstate
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11548 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11549 PyObject
*resultobj
= 0;
11550 wxRegion
*arg1
= (wxRegion
*) 0 ;
11551 wxBitmap
*arg2
= 0 ;
11552 wxColour
*arg3
= 0 ;
11553 int arg4
= (int) 0 ;
11562 PyObject
* obj0
= 0 ;
11563 PyObject
* obj1
= 0 ;
11564 PyObject
* obj2
= 0 ;
11565 PyObject
* obj3
= 0 ;
11566 char * kwnames
[] = {
11567 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11572 if (!SWIG_IsOK(res1
)) {
11573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11575 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11576 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11577 if (!SWIG_IsOK(res2
)) {
11578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11583 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11586 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11589 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11590 if (!SWIG_IsOK(ecode4
)) {
11591 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11593 arg4
= static_cast< int >(val4
);
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11598 wxPyEndAllowThreads(__tstate
);
11599 if (PyErr_Occurred()) SWIG_fail
;
11602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11610 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11612 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11613 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11614 return SWIG_Py_Void();
11617 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11618 return SWIG_Python_InitShadowInstance(args
);
11621 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11622 PyObject
*resultobj
= 0;
11623 wxRegion
*arg1
= 0 ;
11624 wxRegionIterator
*result
= 0 ;
11627 PyObject
* obj0
= 0 ;
11628 char * kwnames
[] = {
11629 (char *) "region", NULL
11632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11633 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11634 if (!SWIG_IsOK(res1
)) {
11635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11640 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11642 if (!wxPyCheckForApp()) SWIG_fail
;
11643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11644 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11645 wxPyEndAllowThreads(__tstate
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11655 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11656 PyObject
*resultobj
= 0;
11657 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11660 PyObject
*swig_obj
[1] ;
11662 if (!args
) SWIG_fail
;
11663 swig_obj
[0] = args
;
11664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11665 if (!SWIG_IsOK(res1
)) {
11666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11668 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11673 wxPyEndAllowThreads(__tstate
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11676 resultobj
= SWIG_Py_Void();
11683 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11684 PyObject
*resultobj
= 0;
11685 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11689 PyObject
*swig_obj
[1] ;
11691 if (!args
) SWIG_fail
;
11692 swig_obj
[0] = args
;
11693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11694 if (!SWIG_IsOK(res1
)) {
11695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11697 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11700 result
= (int)(arg1
)->GetX();
11701 wxPyEndAllowThreads(__tstate
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11704 resultobj
= SWIG_From_int(static_cast< int >(result
));
11711 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11712 PyObject
*resultobj
= 0;
11713 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11717 PyObject
*swig_obj
[1] ;
11719 if (!args
) SWIG_fail
;
11720 swig_obj
[0] = args
;
11721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11722 if (!SWIG_IsOK(res1
)) {
11723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11725 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11728 result
= (int)(arg1
)->GetY();
11729 wxPyEndAllowThreads(__tstate
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11732 resultobj
= SWIG_From_int(static_cast< int >(result
));
11739 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11740 PyObject
*resultobj
= 0;
11741 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11745 PyObject
*swig_obj
[1] ;
11747 if (!args
) SWIG_fail
;
11748 swig_obj
[0] = args
;
11749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11750 if (!SWIG_IsOK(res1
)) {
11751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11753 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11756 result
= (int)(arg1
)->GetW();
11757 wxPyEndAllowThreads(__tstate
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11760 resultobj
= SWIG_From_int(static_cast< int >(result
));
11767 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11768 PyObject
*resultobj
= 0;
11769 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11773 PyObject
*swig_obj
[1] ;
11775 if (!args
) SWIG_fail
;
11776 swig_obj
[0] = args
;
11777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11778 if (!SWIG_IsOK(res1
)) {
11779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11781 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11784 result
= (int)(arg1
)->GetWidth();
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11788 resultobj
= SWIG_From_int(static_cast< int >(result
));
11795 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11796 PyObject
*resultobj
= 0;
11797 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
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_wxRegionIterator
, 0 | 0 );
11806 if (!SWIG_IsOK(res1
)) {
11807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11809 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 result
= (int)(arg1
)->GetH();
11813 wxPyEndAllowThreads(__tstate
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11816 resultobj
= SWIG_From_int(static_cast< int >(result
));
11823 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11824 PyObject
*resultobj
= 0;
11825 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11829 PyObject
*swig_obj
[1] ;
11831 if (!args
) SWIG_fail
;
11832 swig_obj
[0] = args
;
11833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11834 if (!SWIG_IsOK(res1
)) {
11835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11837 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11840 result
= (int)(arg1
)->GetHeight();
11841 wxPyEndAllowThreads(__tstate
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11844 resultobj
= SWIG_From_int(static_cast< int >(result
));
11851 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11852 PyObject
*resultobj
= 0;
11853 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11857 PyObject
*swig_obj
[1] ;
11859 if (!args
) SWIG_fail
;
11860 swig_obj
[0] = args
;
11861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11862 if (!SWIG_IsOK(res1
)) {
11863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11865 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11868 result
= (arg1
)->GetRect();
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11879 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11880 PyObject
*resultobj
= 0;
11881 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11885 PyObject
*swig_obj
[1] ;
11887 if (!args
) SWIG_fail
;
11888 swig_obj
[0] = args
;
11889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11890 if (!SWIG_IsOK(res1
)) {
11891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11893 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11896 result
= (bool)(arg1
)->HaveRects();
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11909 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11910 PyObject
*resultobj
= 0;
11911 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11914 PyObject
*swig_obj
[1] ;
11916 if (!args
) SWIG_fail
;
11917 swig_obj
[0] = args
;
11918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11919 if (!SWIG_IsOK(res1
)) {
11920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11922 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11926 wxPyEndAllowThreads(__tstate
);
11927 if (PyErr_Occurred()) SWIG_fail
;
11929 resultobj
= SWIG_Py_Void();
11936 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11937 PyObject
*resultobj
= 0;
11938 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11941 PyObject
*swig_obj
[1] ;
11943 if (!args
) SWIG_fail
;
11944 swig_obj
[0] = args
;
11945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11946 if (!SWIG_IsOK(res1
)) {
11947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11949 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 wxRegionIterator_Next(arg1
);
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= SWIG_Py_Void();
11963 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11964 PyObject
*resultobj
= 0;
11965 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11969 PyObject
*swig_obj
[1] ;
11971 if (!args
) SWIG_fail
;
11972 swig_obj
[0] = args
;
11973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11974 if (!SWIG_IsOK(res1
)) {
11975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11977 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11980 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11993 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11995 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11996 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11997 return SWIG_Py_Void();
12000 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12001 return SWIG_Python_InitShadowInstance(args
);
12004 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12005 PyObject
*resultobj
= 0;
12006 wxNativeFontInfo
*result
= 0 ;
12008 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12011 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12012 wxPyEndAllowThreads(__tstate
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12022 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12023 PyObject
*resultobj
= 0;
12024 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12027 PyObject
*swig_obj
[1] ;
12029 if (!args
) SWIG_fail
;
12030 swig_obj
[0] = args
;
12031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12032 if (!SWIG_IsOK(res1
)) {
12033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12035 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12040 wxPyEndAllowThreads(__tstate
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12043 resultobj
= SWIG_Py_Void();
12050 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12051 PyObject
*resultobj
= 0;
12052 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12055 PyObject
*swig_obj
[1] ;
12057 if (!args
) SWIG_fail
;
12058 swig_obj
[0] = args
;
12059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12060 if (!SWIG_IsOK(res1
)) {
12061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12063 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12067 wxPyEndAllowThreads(__tstate
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12070 resultobj
= SWIG_Py_Void();
12077 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12078 PyObject
*resultobj
= 0;
12079 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12085 PyObject
* obj0
= 0 ;
12086 PyObject
* obj1
= 0 ;
12087 char * kwnames
[] = {
12088 (char *) "self",(char *) "font", NULL
12091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12093 if (!SWIG_IsOK(res1
)) {
12094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12096 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12097 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12098 if (!SWIG_IsOK(res2
)) {
12099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12102 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12104 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12111 resultobj
= SWIG_Py_Void();
12118 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12119 PyObject
*resultobj
= 0;
12120 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12124 PyObject
*swig_obj
[1] ;
12126 if (!args
) SWIG_fail
;
12127 swig_obj
[0] = args
;
12128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12129 if (!SWIG_IsOK(res1
)) {
12130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12132 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12135 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12136 wxPyEndAllowThreads(__tstate
);
12137 if (PyErr_Occurred()) SWIG_fail
;
12139 resultobj
= SWIG_From_int(static_cast< int >(result
));
12146 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12147 PyObject
*resultobj
= 0;
12148 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12149 wxFontStyle result
;
12152 PyObject
*swig_obj
[1] ;
12154 if (!args
) SWIG_fail
;
12155 swig_obj
[0] = args
;
12156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12157 if (!SWIG_IsOK(res1
)) {
12158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12160 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12163 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12164 wxPyEndAllowThreads(__tstate
);
12165 if (PyErr_Occurred()) SWIG_fail
;
12167 resultobj
= SWIG_From_int(static_cast< int >(result
));
12174 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12175 PyObject
*resultobj
= 0;
12176 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12177 wxFontWeight result
;
12180 PyObject
*swig_obj
[1] ;
12182 if (!args
) SWIG_fail
;
12183 swig_obj
[0] = args
;
12184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12185 if (!SWIG_IsOK(res1
)) {
12186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12188 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12192 wxPyEndAllowThreads(__tstate
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12195 resultobj
= SWIG_From_int(static_cast< int >(result
));
12202 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12203 PyObject
*resultobj
= 0;
12204 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12208 PyObject
*swig_obj
[1] ;
12210 if (!args
) SWIG_fail
;
12211 swig_obj
[0] = args
;
12212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12213 if (!SWIG_IsOK(res1
)) {
12214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12216 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12232 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12233 PyObject
*resultobj
= 0;
12234 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12238 PyObject
*swig_obj
[1] ;
12240 if (!args
) SWIG_fail
;
12241 swig_obj
[0] = args
;
12242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12243 if (!SWIG_IsOK(res1
)) {
12244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12246 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12255 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12257 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12266 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12267 PyObject
*resultobj
= 0;
12268 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12269 wxFontFamily result
;
12272 PyObject
*swig_obj
[1] ;
12274 if (!args
) SWIG_fail
;
12275 swig_obj
[0] = args
;
12276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12277 if (!SWIG_IsOK(res1
)) {
12278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12280 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12283 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12284 wxPyEndAllowThreads(__tstate
);
12285 if (PyErr_Occurred()) SWIG_fail
;
12287 resultobj
= SWIG_From_int(static_cast< int >(result
));
12294 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12295 PyObject
*resultobj
= 0;
12296 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12297 wxFontEncoding result
;
12300 PyObject
*swig_obj
[1] ;
12302 if (!args
) SWIG_fail
;
12303 swig_obj
[0] = args
;
12304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12305 if (!SWIG_IsOK(res1
)) {
12306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12308 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12311 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12315 resultobj
= SWIG_From_int(static_cast< int >(result
));
12322 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
= 0;
12324 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12330 PyObject
* obj0
= 0 ;
12331 PyObject
* obj1
= 0 ;
12332 char * kwnames
[] = {
12333 (char *) "self",(char *) "pointsize", NULL
12336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12338 if (!SWIG_IsOK(res1
)) {
12339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12341 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12343 if (!SWIG_IsOK(ecode2
)) {
12344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12346 arg2
= static_cast< int >(val2
);
12348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12349 (arg1
)->SetPointSize(arg2
);
12350 wxPyEndAllowThreads(__tstate
);
12351 if (PyErr_Occurred()) SWIG_fail
;
12353 resultobj
= SWIG_Py_Void();
12360 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12361 PyObject
*resultobj
= 0;
12362 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12368 PyObject
* obj0
= 0 ;
12369 PyObject
* obj1
= 0 ;
12370 char * kwnames
[] = {
12371 (char *) "self",(char *) "style", NULL
12374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12376 if (!SWIG_IsOK(res1
)) {
12377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12379 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12381 if (!SWIG_IsOK(ecode2
)) {
12382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12384 arg2
= static_cast< wxFontStyle
>(val2
);
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 (arg1
)->SetStyle(arg2
);
12388 wxPyEndAllowThreads(__tstate
);
12389 if (PyErr_Occurred()) SWIG_fail
;
12391 resultobj
= SWIG_Py_Void();
12398 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12399 PyObject
*resultobj
= 0;
12400 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12401 wxFontWeight arg2
;
12406 PyObject
* obj0
= 0 ;
12407 PyObject
* obj1
= 0 ;
12408 char * kwnames
[] = {
12409 (char *) "self",(char *) "weight", NULL
12412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12414 if (!SWIG_IsOK(res1
)) {
12415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12417 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12419 if (!SWIG_IsOK(ecode2
)) {
12420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12422 arg2
= static_cast< wxFontWeight
>(val2
);
12424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12425 (arg1
)->SetWeight(arg2
);
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12429 resultobj
= SWIG_Py_Void();
12436 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12437 PyObject
*resultobj
= 0;
12438 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12444 PyObject
* obj0
= 0 ;
12445 PyObject
* obj1
= 0 ;
12446 char * kwnames
[] = {
12447 (char *) "self",(char *) "underlined", NULL
12450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12452 if (!SWIG_IsOK(res1
)) {
12453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12455 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12456 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12457 if (!SWIG_IsOK(ecode2
)) {
12458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12460 arg2
= static_cast< bool >(val2
);
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 (arg1
)->SetUnderlined(arg2
);
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 resultobj
= SWIG_Py_Void();
12474 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12475 PyObject
*resultobj
= 0;
12476 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12481 PyObject
* obj0
= 0 ;
12482 PyObject
* obj1
= 0 ;
12483 char * kwnames
[] = {
12484 (char *) "self",(char *) "facename", NULL
12487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12489 if (!SWIG_IsOK(res1
)) {
12490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12492 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12494 wxString
* sptr
= wxString_in_helper(obj1
);
12495 if (sptr
== NULL
) SWIG_fail
;
12500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12501 result
= (bool)(arg1
)->SetFaceName(arg2
);
12502 wxPyEndAllowThreads(__tstate
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12514 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12515 PyObject
*resultobj
= 0;
12516 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12517 wxFontFamily arg2
;
12522 PyObject
* obj0
= 0 ;
12523 PyObject
* obj1
= 0 ;
12524 char * kwnames
[] = {
12525 (char *) "self",(char *) "family", NULL
12528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12530 if (!SWIG_IsOK(res1
)) {
12531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12533 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12535 if (!SWIG_IsOK(ecode2
)) {
12536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12538 arg2
= static_cast< wxFontFamily
>(val2
);
12540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12541 (arg1
)->SetFamily(arg2
);
12542 wxPyEndAllowThreads(__tstate
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12545 resultobj
= SWIG_Py_Void();
12552 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12553 PyObject
*resultobj
= 0;
12554 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12555 wxFontEncoding arg2
;
12560 PyObject
* obj0
= 0 ;
12561 PyObject
* obj1
= 0 ;
12562 char * kwnames
[] = {
12563 (char *) "self",(char *) "encoding", NULL
12566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12568 if (!SWIG_IsOK(res1
)) {
12569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12571 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12573 if (!SWIG_IsOK(ecode2
)) {
12574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12576 arg2
= static_cast< wxFontEncoding
>(val2
);
12578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12579 (arg1
)->SetEncoding(arg2
);
12580 wxPyEndAllowThreads(__tstate
);
12581 if (PyErr_Occurred()) SWIG_fail
;
12583 resultobj
= SWIG_Py_Void();
12590 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12591 PyObject
*resultobj
= 0;
12592 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12593 wxString
*arg2
= 0 ;
12597 bool temp2
= false ;
12598 PyObject
* obj0
= 0 ;
12599 PyObject
* obj1
= 0 ;
12600 char * kwnames
[] = {
12601 (char *) "self",(char *) "s", NULL
12604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12606 if (!SWIG_IsOK(res1
)) {
12607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12609 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12611 arg2
= wxString_in_helper(obj1
);
12612 if (arg2
== NULL
) SWIG_fail
;
12616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12617 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12618 wxPyEndAllowThreads(__tstate
);
12619 if (PyErr_Occurred()) SWIG_fail
;
12622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12638 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12639 PyObject
*resultobj
= 0;
12640 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12644 PyObject
*swig_obj
[1] ;
12646 if (!args
) SWIG_fail
;
12647 swig_obj
[0] = args
;
12648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12649 if (!SWIG_IsOK(res1
)) {
12650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12652 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12656 wxPyEndAllowThreads(__tstate
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12661 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12663 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12672 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12673 PyObject
*resultobj
= 0;
12674 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12678 PyObject
*swig_obj
[1] ;
12680 if (!args
) SWIG_fail
;
12681 swig_obj
[0] = args
;
12682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12683 if (!SWIG_IsOK(res1
)) {
12684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12686 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12689 result
= wxNativeFontInfo___str__(arg1
);
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12695 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12697 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12706 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12707 PyObject
*resultobj
= 0;
12708 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12709 wxString
*arg2
= 0 ;
12713 bool temp2
= false ;
12714 PyObject
* obj0
= 0 ;
12715 PyObject
* obj1
= 0 ;
12716 char * kwnames
[] = {
12717 (char *) "self",(char *) "s", NULL
12720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",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_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12725 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12727 arg2
= wxString_in_helper(obj1
);
12728 if (arg2
== NULL
) SWIG_fail
;
12732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12733 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12734 wxPyEndAllowThreads(__tstate
);
12735 if (PyErr_Occurred()) SWIG_fail
;
12738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12754 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12755 PyObject
*resultobj
= 0;
12756 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12760 PyObject
*swig_obj
[1] ;
12762 if (!args
) SWIG_fail
;
12763 swig_obj
[0] = args
;
12764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12765 if (!SWIG_IsOK(res1
)) {
12766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12768 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12777 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12779 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12788 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12790 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12791 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12792 return SWIG_Py_Void();
12795 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12796 return SWIG_Python_InitShadowInstance(args
);
12799 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12800 PyObject
*resultobj
= 0;
12801 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12802 wxString
*arg2
= (wxString
*) 0 ;
12805 bool temp2
= false ;
12806 PyObject
*swig_obj
[2] ;
12808 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12810 if (!SWIG_IsOK(res1
)) {
12811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12813 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12815 arg2
= wxString_in_helper(swig_obj
[1]);
12816 if (arg2
== NULL
) SWIG_fail
;
12819 if (arg1
) (arg1
)->facename
= *arg2
;
12821 resultobj
= SWIG_Py_Void();
12836 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12837 PyObject
*resultobj
= 0;
12838 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12839 wxString
*result
= 0 ;
12842 PyObject
*swig_obj
[1] ;
12844 if (!args
) SWIG_fail
;
12845 swig_obj
[0] = args
;
12846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12847 if (!SWIG_IsOK(res1
)) {
12848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12850 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12851 result
= (wxString
*)& ((arg1
)->facename
);
12854 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12856 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12865 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12866 PyObject
*resultobj
= 0;
12867 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12868 wxFontEncoding arg2
;
12873 PyObject
*swig_obj
[2] ;
12875 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12877 if (!SWIG_IsOK(res1
)) {
12878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12880 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12881 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12882 if (!SWIG_IsOK(ecode2
)) {
12883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12885 arg2
= static_cast< wxFontEncoding
>(val2
);
12886 if (arg1
) (arg1
)->encoding
= arg2
;
12888 resultobj
= SWIG_Py_Void();
12895 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12896 PyObject
*resultobj
= 0;
12897 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12898 wxFontEncoding result
;
12901 PyObject
*swig_obj
[1] ;
12903 if (!args
) SWIG_fail
;
12904 swig_obj
[0] = args
;
12905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12906 if (!SWIG_IsOK(res1
)) {
12907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12909 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12910 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12911 resultobj
= SWIG_From_int(static_cast< int >(result
));
12918 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12919 PyObject
*resultobj
= 0;
12920 wxNativeEncodingInfo
*result
= 0 ;
12922 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12925 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12926 wxPyEndAllowThreads(__tstate
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12936 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12937 PyObject
*resultobj
= 0;
12938 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12941 PyObject
*swig_obj
[1] ;
12943 if (!args
) SWIG_fail
;
12944 swig_obj
[0] = args
;
12945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12946 if (!SWIG_IsOK(res1
)) {
12947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12949 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12954 wxPyEndAllowThreads(__tstate
);
12955 if (PyErr_Occurred()) SWIG_fail
;
12957 resultobj
= SWIG_Py_Void();
12964 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12965 PyObject
*resultobj
= 0;
12966 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12967 wxString
*arg2
= 0 ;
12971 bool temp2
= false ;
12972 PyObject
* obj0
= 0 ;
12973 PyObject
* obj1
= 0 ;
12974 char * kwnames
[] = {
12975 (char *) "self",(char *) "s", NULL
12978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12980 if (!SWIG_IsOK(res1
)) {
12981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12983 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12985 arg2
= wxString_in_helper(obj1
);
12986 if (arg2
== NULL
) SWIG_fail
;
12990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12991 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12992 wxPyEndAllowThreads(__tstate
);
12993 if (PyErr_Occurred()) SWIG_fail
;
12996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13012 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13013 PyObject
*resultobj
= 0;
13014 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13018 PyObject
*swig_obj
[1] ;
13020 if (!args
) SWIG_fail
;
13021 swig_obj
[0] = args
;
13022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13023 if (!SWIG_IsOK(res1
)) {
13024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13026 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13029 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13030 wxPyEndAllowThreads(__tstate
);
13031 if (PyErr_Occurred()) SWIG_fail
;
13035 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13037 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13046 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13048 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13049 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13050 return SWIG_Py_Void();
13053 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13054 return SWIG_Python_InitShadowInstance(args
);
13057 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13058 PyObject
*resultobj
= 0;
13059 wxFontEncoding arg1
;
13060 wxNativeEncodingInfo
*result
= 0 ;
13063 PyObject
* obj0
= 0 ;
13064 char * kwnames
[] = {
13065 (char *) "encoding", NULL
13068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13069 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13070 if (!SWIG_IsOK(ecode1
)) {
13071 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13073 arg1
= static_cast< wxFontEncoding
>(val1
);
13075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13076 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13077 wxPyEndAllowThreads(__tstate
);
13078 if (PyErr_Occurred()) SWIG_fail
;
13080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13087 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13088 PyObject
*resultobj
= 0;
13089 wxNativeEncodingInfo
*arg1
= 0 ;
13093 PyObject
* obj0
= 0 ;
13094 char * kwnames
[] = {
13095 (char *) "info", NULL
13098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13099 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13100 if (!SWIG_IsOK(res1
)) {
13101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13106 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13109 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13110 wxPyEndAllowThreads(__tstate
);
13111 if (PyErr_Occurred()) SWIG_fail
;
13114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13122 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13123 PyObject
*resultobj
= 0;
13124 wxFontMapper
*result
= 0 ;
13126 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13129 result
= (wxFontMapper
*)new wxFontMapper();
13130 wxPyEndAllowThreads(__tstate
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13140 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13141 PyObject
*resultobj
= 0;
13142 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13145 PyObject
*swig_obj
[1] ;
13147 if (!args
) SWIG_fail
;
13148 swig_obj
[0] = args
;
13149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13150 if (!SWIG_IsOK(res1
)) {
13151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13153 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13158 wxPyEndAllowThreads(__tstate
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13161 resultobj
= SWIG_Py_Void();
13168 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13169 PyObject
*resultobj
= 0;
13170 wxFontMapper
*result
= 0 ;
13172 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 result
= (wxFontMapper
*)wxFontMapper::Get();
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13186 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
= 0;
13188 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13189 wxFontMapper
*result
= 0 ;
13192 PyObject
* obj0
= 0 ;
13193 char * kwnames
[] = {
13194 (char *) "mapper", NULL
13197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13199 if (!SWIG_IsOK(res1
)) {
13200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13202 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13205 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13206 wxPyEndAllowThreads(__tstate
);
13207 if (PyErr_Occurred()) SWIG_fail
;
13209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13216 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13217 PyObject
*resultobj
= 0;
13218 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13219 wxString
*arg2
= 0 ;
13220 bool arg3
= (bool) true ;
13221 wxFontEncoding result
;
13224 bool temp2
= false ;
13227 PyObject
* obj0
= 0 ;
13228 PyObject
* obj1
= 0 ;
13229 PyObject
* obj2
= 0 ;
13230 char * kwnames
[] = {
13231 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13236 if (!SWIG_IsOK(res1
)) {
13237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13239 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13241 arg2
= wxString_in_helper(obj1
);
13242 if (arg2
== NULL
) SWIG_fail
;
13246 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13247 if (!SWIG_IsOK(ecode3
)) {
13248 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13250 arg3
= static_cast< bool >(val3
);
13253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13254 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13255 wxPyEndAllowThreads(__tstate
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13258 resultobj
= SWIG_From_int(static_cast< int >(result
));
13273 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13274 PyObject
*resultobj
= 0;
13277 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13280 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13281 wxPyEndAllowThreads(__tstate
);
13282 if (PyErr_Occurred()) SWIG_fail
;
13284 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13291 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13292 PyObject
*resultobj
= 0;
13294 wxFontEncoding result
;
13297 PyObject
* obj0
= 0 ;
13298 char * kwnames
[] = {
13302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13303 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13304 if (!SWIG_IsOK(ecode1
)) {
13305 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13307 arg1
= static_cast< size_t >(val1
);
13309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13310 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13311 wxPyEndAllowThreads(__tstate
);
13312 if (PyErr_Occurred()) SWIG_fail
;
13314 resultobj
= SWIG_From_int(static_cast< int >(result
));
13321 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13322 PyObject
*resultobj
= 0;
13323 wxFontEncoding arg1
;
13327 PyObject
* obj0
= 0 ;
13328 char * kwnames
[] = {
13329 (char *) "encoding", NULL
13332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13333 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13334 if (!SWIG_IsOK(ecode1
)) {
13335 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13337 arg1
= static_cast< wxFontEncoding
>(val1
);
13339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13340 result
= wxFontMapper::GetEncodingName(arg1
);
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13357 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13358 PyObject
*resultobj
= 0;
13359 wxFontEncoding arg1
;
13363 PyObject
* obj0
= 0 ;
13364 char * kwnames
[] = {
13365 (char *) "encoding", NULL
13368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13369 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13370 if (!SWIG_IsOK(ecode1
)) {
13371 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13373 arg1
= static_cast< wxFontEncoding
>(val1
);
13375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13376 result
= wxFontMapper::GetEncodingDescription(arg1
);
13377 wxPyEndAllowThreads(__tstate
);
13378 if (PyErr_Occurred()) SWIG_fail
;
13382 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13384 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13393 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13394 PyObject
*resultobj
= 0;
13395 wxString
*arg1
= 0 ;
13396 wxFontEncoding result
;
13397 bool temp1
= false ;
13398 PyObject
* obj0
= 0 ;
13399 char * kwnames
[] = {
13400 (char *) "name", NULL
13403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13405 arg1
= wxString_in_helper(obj0
);
13406 if (arg1
== NULL
) SWIG_fail
;
13410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13411 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13415 resultobj
= SWIG_From_int(static_cast< int >(result
));
13430 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13431 PyObject
*resultobj
= 0;
13432 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13433 wxString
*arg2
= 0 ;
13436 bool temp2
= false ;
13437 PyObject
* obj0
= 0 ;
13438 PyObject
* obj1
= 0 ;
13439 char * kwnames
[] = {
13440 (char *) "self",(char *) "prefix", NULL
13443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13445 if (!SWIG_IsOK(res1
)) {
13446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13448 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13450 arg2
= wxString_in_helper(obj1
);
13451 if (arg2
== NULL
) SWIG_fail
;
13455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13456 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13457 wxPyEndAllowThreads(__tstate
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13460 resultobj
= SWIG_Py_Void();
13475 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13476 PyObject
*resultobj
= 0;
13479 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13482 result
= wxFontMapper::GetDefaultConfigPath();
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13488 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13490 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13499 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13500 PyObject
*resultobj
= 0;
13501 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13502 wxFontEncoding arg2
;
13503 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13504 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13505 bool arg4
= (bool) true ;
13506 PyObject
*result
= 0 ;
13511 bool temp3
= false ;
13514 PyObject
* obj0
= 0 ;
13515 PyObject
* obj1
= 0 ;
13516 PyObject
* obj2
= 0 ;
13517 PyObject
* obj3
= 0 ;
13518 char * kwnames
[] = {
13519 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13524 if (!SWIG_IsOK(res1
)) {
13525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13527 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13529 if (!SWIG_IsOK(ecode2
)) {
13530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13532 arg2
= static_cast< wxFontEncoding
>(val2
);
13535 arg3
= wxString_in_helper(obj2
);
13536 if (arg3
== NULL
) SWIG_fail
;
13541 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13542 if (!SWIG_IsOK(ecode4
)) {
13543 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13545 arg4
= static_cast< bool >(val4
);
13548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13549 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13553 resultobj
= result
;
13568 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13569 PyObject
*resultobj
= 0;
13570 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13571 wxFontEncoding arg2
;
13572 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13573 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13579 bool temp3
= false ;
13580 PyObject
* obj0
= 0 ;
13581 PyObject
* obj1
= 0 ;
13582 PyObject
* obj2
= 0 ;
13583 char * kwnames
[] = {
13584 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13589 if (!SWIG_IsOK(res1
)) {
13590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13592 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13594 if (!SWIG_IsOK(ecode2
)) {
13595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13597 arg2
= static_cast< wxFontEncoding
>(val2
);
13600 arg3
= wxString_in_helper(obj2
);
13601 if (arg3
== NULL
) SWIG_fail
;
13606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13607 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13608 wxPyEndAllowThreads(__tstate
);
13609 if (PyErr_Occurred()) SWIG_fail
;
13612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13628 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13629 PyObject
*resultobj
= 0;
13630 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13631 wxWindow
*arg2
= (wxWindow
*) 0 ;
13636 PyObject
* obj0
= 0 ;
13637 PyObject
* obj1
= 0 ;
13638 char * kwnames
[] = {
13639 (char *) "self",(char *) "parent", NULL
13642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13644 if (!SWIG_IsOK(res1
)) {
13645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13647 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13648 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13649 if (!SWIG_IsOK(res2
)) {
13650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13652 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13655 (arg1
)->SetDialogParent(arg2
);
13656 wxPyEndAllowThreads(__tstate
);
13657 if (PyErr_Occurred()) SWIG_fail
;
13659 resultobj
= SWIG_Py_Void();
13666 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13667 PyObject
*resultobj
= 0;
13668 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13669 wxString
*arg2
= 0 ;
13672 bool temp2
= false ;
13673 PyObject
* obj0
= 0 ;
13674 PyObject
* obj1
= 0 ;
13675 char * kwnames
[] = {
13676 (char *) "self",(char *) "title", NULL
13679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13681 if (!SWIG_IsOK(res1
)) {
13682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13684 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13686 arg2
= wxString_in_helper(obj1
);
13687 if (arg2
== NULL
) SWIG_fail
;
13691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13692 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13693 wxPyEndAllowThreads(__tstate
);
13694 if (PyErr_Occurred()) SWIG_fail
;
13696 resultobj
= SWIG_Py_Void();
13711 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13713 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13714 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13715 return SWIG_Py_Void();
13718 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13719 return SWIG_Python_InitShadowInstance(args
);
13722 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13723 PyObject
*resultobj
= 0;
13728 bool arg5
= (bool) false ;
13729 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13730 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13731 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13732 wxFont
*result
= 0 ;
13743 bool temp6
= false ;
13746 PyObject
* obj0
= 0 ;
13747 PyObject
* obj1
= 0 ;
13748 PyObject
* obj2
= 0 ;
13749 PyObject
* obj3
= 0 ;
13750 PyObject
* obj4
= 0 ;
13751 PyObject
* obj5
= 0 ;
13752 PyObject
* obj6
= 0 ;
13753 char * kwnames
[] = {
13754 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13758 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13759 if (!SWIG_IsOK(ecode1
)) {
13760 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13762 arg1
= static_cast< int >(val1
);
13763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13764 if (!SWIG_IsOK(ecode2
)) {
13765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13767 arg2
= static_cast< int >(val2
);
13768 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13769 if (!SWIG_IsOK(ecode3
)) {
13770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13772 arg3
= static_cast< int >(val3
);
13773 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13774 if (!SWIG_IsOK(ecode4
)) {
13775 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13777 arg4
= static_cast< int >(val4
);
13779 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13780 if (!SWIG_IsOK(ecode5
)) {
13781 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13783 arg5
= static_cast< bool >(val5
);
13787 arg6
= wxString_in_helper(obj5
);
13788 if (arg6
== NULL
) SWIG_fail
;
13793 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13794 if (!SWIG_IsOK(ecode7
)) {
13795 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13797 arg7
= static_cast< wxFontEncoding
>(val7
);
13800 if (!wxPyCheckForApp()) SWIG_fail
;
13801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13802 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13821 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13822 PyObject
*resultobj
= 0;
13823 wxFont
*arg1
= (wxFont
*) 0 ;
13826 PyObject
*swig_obj
[1] ;
13828 if (!args
) SWIG_fail
;
13829 swig_obj
[0] = args
;
13830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13831 if (!SWIG_IsOK(res1
)) {
13832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13834 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13839 wxPyEndAllowThreads(__tstate
);
13840 if (PyErr_Occurred()) SWIG_fail
;
13842 resultobj
= SWIG_Py_Void();
13849 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13850 PyObject
*resultobj
= 0;
13851 wxNativeFontInfo
*arg1
= 0 ;
13852 wxFont
*result
= 0 ;
13855 PyObject
* obj0
= 0 ;
13856 char * kwnames
[] = {
13857 (char *) "info", NULL
13860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13861 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13862 if (!SWIG_IsOK(res1
)) {
13863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13866 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13868 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13870 if (!wxPyCheckForApp()) SWIG_fail
;
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13872 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13873 wxPyEndAllowThreads(__tstate
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13883 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13884 PyObject
*resultobj
= 0;
13885 wxString
*arg1
= 0 ;
13886 wxFont
*result
= 0 ;
13887 bool temp1
= false ;
13888 PyObject
* obj0
= 0 ;
13889 char * kwnames
[] = {
13890 (char *) "info", NULL
13893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13895 arg1
= wxString_in_helper(obj0
);
13896 if (arg1
== NULL
) SWIG_fail
;
13900 if (!wxPyCheckForApp()) SWIG_fail
;
13901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13902 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13903 wxPyEndAllowThreads(__tstate
);
13904 if (PyErr_Occurred()) SWIG_fail
;
13906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13921 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13922 PyObject
*resultobj
= 0;
13924 wxFontFamily arg2
;
13925 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13926 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13927 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13928 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13929 wxFont
*result
= 0 ;
13936 bool temp4
= false ;
13939 PyObject
* obj0
= 0 ;
13940 PyObject
* obj1
= 0 ;
13941 PyObject
* obj2
= 0 ;
13942 PyObject
* obj3
= 0 ;
13943 PyObject
* obj4
= 0 ;
13944 char * kwnames
[] = {
13945 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13949 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13950 if (!SWIG_IsOK(ecode1
)) {
13951 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13953 arg1
= static_cast< int >(val1
);
13954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13955 if (!SWIG_IsOK(ecode2
)) {
13956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13958 arg2
= static_cast< wxFontFamily
>(val2
);
13960 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13961 if (!SWIG_IsOK(ecode3
)) {
13962 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13964 arg3
= static_cast< int >(val3
);
13968 arg4
= wxString_in_helper(obj3
);
13969 if (arg4
== NULL
) SWIG_fail
;
13974 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13975 if (!SWIG_IsOK(ecode5
)) {
13976 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13978 arg5
= static_cast< wxFontEncoding
>(val5
);
13981 if (!wxPyCheckForApp()) SWIG_fail
;
13982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13983 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13984 wxPyEndAllowThreads(__tstate
);
13985 if (PyErr_Occurred()) SWIG_fail
;
13987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14002 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14003 PyObject
*resultobj
= 0;
14008 bool arg5
= (bool) false ;
14009 wxString
const &arg6_defvalue
= wxEmptyString
;
14010 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14011 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14012 wxFont
*result
= 0 ;
14022 bool temp6
= false ;
14025 PyObject
* obj0
= 0 ;
14026 PyObject
* obj1
= 0 ;
14027 PyObject
* obj2
= 0 ;
14028 PyObject
* obj3
= 0 ;
14029 PyObject
* obj4
= 0 ;
14030 PyObject
* obj5
= 0 ;
14031 PyObject
* obj6
= 0 ;
14032 char * kwnames
[] = {
14033 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14039 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14042 if (!SWIG_IsOK(ecode2
)) {
14043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14045 arg2
= static_cast< int >(val2
);
14046 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14047 if (!SWIG_IsOK(ecode3
)) {
14048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14050 arg3
= static_cast< int >(val3
);
14051 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14052 if (!SWIG_IsOK(ecode4
)) {
14053 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14055 arg4
= static_cast< int >(val4
);
14057 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14058 if (!SWIG_IsOK(ecode5
)) {
14059 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14061 arg5
= static_cast< bool >(val5
);
14065 arg6
= wxString_in_helper(obj5
);
14066 if (arg6
== NULL
) SWIG_fail
;
14071 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14072 if (!SWIG_IsOK(ecode7
)) {
14073 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14075 arg7
= static_cast< wxFontEncoding
>(val7
);
14078 if (!wxPyCheckForApp()) SWIG_fail
;
14079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14080 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14081 wxPyEndAllowThreads(__tstate
);
14082 if (PyErr_Occurred()) SWIG_fail
;
14084 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14099 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14100 PyObject
*resultobj
= 0;
14102 wxFontFamily arg2
;
14103 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14104 wxString
const &arg4_defvalue
= wxEmptyString
;
14105 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14106 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14107 wxFont
*result
= 0 ;
14113 bool temp4
= false ;
14116 PyObject
* obj0
= 0 ;
14117 PyObject
* obj1
= 0 ;
14118 PyObject
* obj2
= 0 ;
14119 PyObject
* obj3
= 0 ;
14120 PyObject
* obj4
= 0 ;
14121 char * kwnames
[] = {
14122 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14128 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14131 if (!SWIG_IsOK(ecode2
)) {
14132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14134 arg2
= static_cast< wxFontFamily
>(val2
);
14136 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14137 if (!SWIG_IsOK(ecode3
)) {
14138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14140 arg3
= static_cast< int >(val3
);
14144 arg4
= wxString_in_helper(obj3
);
14145 if (arg4
== NULL
) SWIG_fail
;
14150 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14151 if (!SWIG_IsOK(ecode5
)) {
14152 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14154 arg5
= static_cast< wxFontEncoding
>(val5
);
14157 if (!wxPyCheckForApp()) SWIG_fail
;
14158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14159 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14178 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14179 PyObject
*resultobj
= 0;
14180 wxFont
*arg1
= (wxFont
*) 0 ;
14184 PyObject
*swig_obj
[1] ;
14186 if (!args
) SWIG_fail
;
14187 swig_obj
[0] = args
;
14188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14189 if (!SWIG_IsOK(res1
)) {
14190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14192 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14195 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14208 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14209 PyObject
*resultobj
= 0;
14210 wxFont
*arg1
= (wxFont
*) 0 ;
14211 wxFont
*arg2
= (wxFont
*) 0 ;
14217 PyObject
* obj0
= 0 ;
14218 PyObject
* obj1
= 0 ;
14219 char * kwnames
[] = {
14220 (char *) "self",(char *) "other", NULL
14223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14225 if (!SWIG_IsOK(res1
)) {
14226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14228 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14229 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14230 if (!SWIG_IsOK(res2
)) {
14231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14233 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14236 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14237 wxPyEndAllowThreads(__tstate
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14249 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14250 PyObject
*resultobj
= 0;
14251 wxFont
*arg1
= (wxFont
*) 0 ;
14252 wxFont
*arg2
= (wxFont
*) 0 ;
14258 PyObject
* obj0
= 0 ;
14259 PyObject
* obj1
= 0 ;
14260 char * kwnames
[] = {
14261 (char *) "self",(char *) "other", NULL
14264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14266 if (!SWIG_IsOK(res1
)) {
14267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14269 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14270 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14271 if (!SWIG_IsOK(res2
)) {
14272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14274 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14277 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14278 wxPyEndAllowThreads(__tstate
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14290 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14291 PyObject
*resultobj
= 0;
14292 wxFont
*arg1
= (wxFont
*) 0 ;
14296 PyObject
*swig_obj
[1] ;
14298 if (!args
) SWIG_fail
;
14299 swig_obj
[0] = args
;
14300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14301 if (!SWIG_IsOK(res1
)) {
14302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14304 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14308 wxPyEndAllowThreads(__tstate
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14311 resultobj
= SWIG_From_int(static_cast< int >(result
));
14318 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14319 PyObject
*resultobj
= 0;
14320 wxFont
*arg1
= (wxFont
*) 0 ;
14324 PyObject
*swig_obj
[1] ;
14326 if (!args
) SWIG_fail
;
14327 swig_obj
[0] = args
;
14328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14329 if (!SWIG_IsOK(res1
)) {
14330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14332 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14335 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14336 wxPyEndAllowThreads(__tstate
);
14337 if (PyErr_Occurred()) SWIG_fail
;
14339 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14346 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14347 PyObject
*resultobj
= 0;
14348 wxFont
*arg1
= (wxFont
*) 0 ;
14352 PyObject
*swig_obj
[1] ;
14354 if (!args
) SWIG_fail
;
14355 swig_obj
[0] = args
;
14356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14357 if (!SWIG_IsOK(res1
)) {
14358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14360 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14363 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14376 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14377 PyObject
*resultobj
= 0;
14378 wxFont
*arg1
= (wxFont
*) 0 ;
14382 PyObject
*swig_obj
[1] ;
14384 if (!args
) SWIG_fail
;
14385 swig_obj
[0] = args
;
14386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14387 if (!SWIG_IsOK(res1
)) {
14388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14390 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14394 wxPyEndAllowThreads(__tstate
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14397 resultobj
= SWIG_From_int(static_cast< int >(result
));
14404 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14405 PyObject
*resultobj
= 0;
14406 wxFont
*arg1
= (wxFont
*) 0 ;
14410 PyObject
*swig_obj
[1] ;
14412 if (!args
) SWIG_fail
;
14413 swig_obj
[0] = args
;
14414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14415 if (!SWIG_IsOK(res1
)) {
14416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14418 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14421 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14422 wxPyEndAllowThreads(__tstate
);
14423 if (PyErr_Occurred()) SWIG_fail
;
14425 resultobj
= SWIG_From_int(static_cast< int >(result
));
14432 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14433 PyObject
*resultobj
= 0;
14434 wxFont
*arg1
= (wxFont
*) 0 ;
14438 PyObject
*swig_obj
[1] ;
14440 if (!args
) SWIG_fail
;
14441 swig_obj
[0] = args
;
14442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14443 if (!SWIG_IsOK(res1
)) {
14444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14446 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14449 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14450 wxPyEndAllowThreads(__tstate
);
14451 if (PyErr_Occurred()) SWIG_fail
;
14453 resultobj
= SWIG_From_int(static_cast< int >(result
));
14460 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14461 PyObject
*resultobj
= 0;
14462 wxFont
*arg1
= (wxFont
*) 0 ;
14466 PyObject
*swig_obj
[1] ;
14468 if (!args
) SWIG_fail
;
14469 swig_obj
[0] = args
;
14470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14471 if (!SWIG_IsOK(res1
)) {
14472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14474 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14477 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14478 wxPyEndAllowThreads(__tstate
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14490 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14491 PyObject
*resultobj
= 0;
14492 wxFont
*arg1
= (wxFont
*) 0 ;
14496 PyObject
*swig_obj
[1] ;
14498 if (!args
) SWIG_fail
;
14499 swig_obj
[0] = args
;
14500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14501 if (!SWIG_IsOK(res1
)) {
14502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14504 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14507 result
= ((wxFont
const *)arg1
)->GetFaceName();
14508 wxPyEndAllowThreads(__tstate
);
14509 if (PyErr_Occurred()) SWIG_fail
;
14513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14524 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14525 PyObject
*resultobj
= 0;
14526 wxFont
*arg1
= (wxFont
*) 0 ;
14527 wxFontEncoding result
;
14530 PyObject
*swig_obj
[1] ;
14532 if (!args
) SWIG_fail
;
14533 swig_obj
[0] = args
;
14534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14535 if (!SWIG_IsOK(res1
)) {
14536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14538 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14541 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14545 resultobj
= SWIG_From_int(static_cast< int >(result
));
14552 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14553 PyObject
*resultobj
= 0;
14554 wxFont
*arg1
= (wxFont
*) 0 ;
14555 wxNativeFontInfo
*result
= 0 ;
14558 PyObject
*swig_obj
[1] ;
14560 if (!args
) SWIG_fail
;
14561 swig_obj
[0] = args
;
14562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14563 if (!SWIG_IsOK(res1
)) {
14564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14566 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14569 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14570 wxPyEndAllowThreads(__tstate
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14580 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14581 PyObject
*resultobj
= 0;
14582 wxFont
*arg1
= (wxFont
*) 0 ;
14586 PyObject
*swig_obj
[1] ;
14588 if (!args
) SWIG_fail
;
14589 swig_obj
[0] = args
;
14590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14591 if (!SWIG_IsOK(res1
)) {
14592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14594 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14597 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14610 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14611 PyObject
*resultobj
= 0;
14612 wxFont
*arg1
= (wxFont
*) 0 ;
14616 PyObject
*swig_obj
[1] ;
14618 if (!args
) SWIG_fail
;
14619 swig_obj
[0] = args
;
14620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14621 if (!SWIG_IsOK(res1
)) {
14622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14624 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14627 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14628 wxPyEndAllowThreads(__tstate
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14633 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14635 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14644 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14645 PyObject
*resultobj
= 0;
14646 wxFont
*arg1
= (wxFont
*) 0 ;
14650 PyObject
*swig_obj
[1] ;
14652 if (!args
) SWIG_fail
;
14653 swig_obj
[0] = args
;
14654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14655 if (!SWIG_IsOK(res1
)) {
14656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14658 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14661 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14662 wxPyEndAllowThreads(__tstate
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14667 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14669 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14678 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14679 PyObject
*resultobj
= 0;
14680 wxFont
*arg1
= (wxFont
*) 0 ;
14686 PyObject
* obj0
= 0 ;
14687 PyObject
* obj1
= 0 ;
14688 char * kwnames
[] = {
14689 (char *) "self",(char *) "pointSize", NULL
14692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14694 if (!SWIG_IsOK(res1
)) {
14695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14697 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14699 if (!SWIG_IsOK(ecode2
)) {
14700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14702 arg2
= static_cast< int >(val2
);
14704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14705 (arg1
)->SetPointSize(arg2
);
14706 wxPyEndAllowThreads(__tstate
);
14707 if (PyErr_Occurred()) SWIG_fail
;
14709 resultobj
= SWIG_Py_Void();
14716 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14717 PyObject
*resultobj
= 0;
14718 wxFont
*arg1
= (wxFont
*) 0 ;
14723 PyObject
* obj0
= 0 ;
14724 PyObject
* obj1
= 0 ;
14725 char * kwnames
[] = {
14726 (char *) "self",(char *) "pixelSize", NULL
14729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14731 if (!SWIG_IsOK(res1
)) {
14732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14734 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14737 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14741 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14742 wxPyEndAllowThreads(__tstate
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14745 resultobj
= SWIG_Py_Void();
14752 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14753 PyObject
*resultobj
= 0;
14754 wxFont
*arg1
= (wxFont
*) 0 ;
14760 PyObject
* obj0
= 0 ;
14761 PyObject
* obj1
= 0 ;
14762 char * kwnames
[] = {
14763 (char *) "self",(char *) "family", NULL
14766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14768 if (!SWIG_IsOK(res1
)) {
14769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14771 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14773 if (!SWIG_IsOK(ecode2
)) {
14774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14776 arg2
= static_cast< int >(val2
);
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 (arg1
)->SetFamily(arg2
);
14780 wxPyEndAllowThreads(__tstate
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14783 resultobj
= SWIG_Py_Void();
14790 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14791 PyObject
*resultobj
= 0;
14792 wxFont
*arg1
= (wxFont
*) 0 ;
14798 PyObject
* obj0
= 0 ;
14799 PyObject
* obj1
= 0 ;
14800 char * kwnames
[] = {
14801 (char *) "self",(char *) "style", NULL
14804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14806 if (!SWIG_IsOK(res1
)) {
14807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14809 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14811 if (!SWIG_IsOK(ecode2
)) {
14812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14814 arg2
= static_cast< int >(val2
);
14816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14817 (arg1
)->SetStyle(arg2
);
14818 wxPyEndAllowThreads(__tstate
);
14819 if (PyErr_Occurred()) SWIG_fail
;
14821 resultobj
= SWIG_Py_Void();
14828 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14829 PyObject
*resultobj
= 0;
14830 wxFont
*arg1
= (wxFont
*) 0 ;
14836 PyObject
* obj0
= 0 ;
14837 PyObject
* obj1
= 0 ;
14838 char * kwnames
[] = {
14839 (char *) "self",(char *) "weight", NULL
14842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14844 if (!SWIG_IsOK(res1
)) {
14845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14847 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14849 if (!SWIG_IsOK(ecode2
)) {
14850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14852 arg2
= static_cast< int >(val2
);
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 (arg1
)->SetWeight(arg2
);
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14859 resultobj
= SWIG_Py_Void();
14866 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14867 PyObject
*resultobj
= 0;
14868 wxFont
*arg1
= (wxFont
*) 0 ;
14869 wxString
*arg2
= 0 ;
14873 bool temp2
= false ;
14874 PyObject
* obj0
= 0 ;
14875 PyObject
* obj1
= 0 ;
14876 char * kwnames
[] = {
14877 (char *) "self",(char *) "faceName", NULL
14880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14882 if (!SWIG_IsOK(res1
)) {
14883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14885 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14887 arg2
= wxString_in_helper(obj1
);
14888 if (arg2
== NULL
) SWIG_fail
;
14892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14893 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14894 wxPyEndAllowThreads(__tstate
);
14895 if (PyErr_Occurred()) SWIG_fail
;
14898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14914 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14915 PyObject
*resultobj
= 0;
14916 wxFont
*arg1
= (wxFont
*) 0 ;
14922 PyObject
* obj0
= 0 ;
14923 PyObject
* obj1
= 0 ;
14924 char * kwnames
[] = {
14925 (char *) "self",(char *) "underlined", NULL
14928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14930 if (!SWIG_IsOK(res1
)) {
14931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14933 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14934 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14935 if (!SWIG_IsOK(ecode2
)) {
14936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14938 arg2
= static_cast< bool >(val2
);
14940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14941 (arg1
)->SetUnderlined(arg2
);
14942 wxPyEndAllowThreads(__tstate
);
14943 if (PyErr_Occurred()) SWIG_fail
;
14945 resultobj
= SWIG_Py_Void();
14952 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14953 PyObject
*resultobj
= 0;
14954 wxFont
*arg1
= (wxFont
*) 0 ;
14955 wxFontEncoding arg2
;
14960 PyObject
* obj0
= 0 ;
14961 PyObject
* obj1
= 0 ;
14962 char * kwnames
[] = {
14963 (char *) "self",(char *) "encoding", NULL
14966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14968 if (!SWIG_IsOK(res1
)) {
14969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14971 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14973 if (!SWIG_IsOK(ecode2
)) {
14974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14976 arg2
= static_cast< wxFontEncoding
>(val2
);
14978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14979 (arg1
)->SetEncoding(arg2
);
14980 wxPyEndAllowThreads(__tstate
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14983 resultobj
= SWIG_Py_Void();
14990 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14991 PyObject
*resultobj
= 0;
14992 wxFont
*arg1
= (wxFont
*) 0 ;
14993 wxNativeFontInfo
*arg2
= 0 ;
14998 PyObject
* obj0
= 0 ;
14999 PyObject
* obj1
= 0 ;
15000 char * kwnames
[] = {
15001 (char *) "self",(char *) "info", NULL
15004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15006 if (!SWIG_IsOK(res1
)) {
15007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15009 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15010 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15011 if (!SWIG_IsOK(res2
)) {
15012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15015 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15017 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15020 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15021 wxPyEndAllowThreads(__tstate
);
15022 if (PyErr_Occurred()) SWIG_fail
;
15024 resultobj
= SWIG_Py_Void();
15031 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
= 0;
15033 wxFont
*arg1
= (wxFont
*) 0 ;
15034 wxString
*arg2
= 0 ;
15038 bool temp2
= false ;
15039 PyObject
* obj0
= 0 ;
15040 PyObject
* obj1
= 0 ;
15041 char * kwnames
[] = {
15042 (char *) "self",(char *) "info", NULL
15045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15047 if (!SWIG_IsOK(res1
)) {
15048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15050 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15052 arg2
= wxString_in_helper(obj1
);
15053 if (arg2
== NULL
) SWIG_fail
;
15057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15058 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15059 wxPyEndAllowThreads(__tstate
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15079 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15080 PyObject
*resultobj
= 0;
15081 wxFont
*arg1
= (wxFont
*) 0 ;
15082 wxString
*arg2
= 0 ;
15086 bool temp2
= false ;
15087 PyObject
* obj0
= 0 ;
15088 PyObject
* obj1
= 0 ;
15089 char * kwnames
[] = {
15090 (char *) "self",(char *) "info", NULL
15093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15095 if (!SWIG_IsOK(res1
)) {
15096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15098 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15100 arg2
= wxString_in_helper(obj1
);
15101 if (arg2
== NULL
) SWIG_fail
;
15105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15106 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15107 wxPyEndAllowThreads(__tstate
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15127 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15128 PyObject
*resultobj
= 0;
15129 wxFont
*arg1
= (wxFont
*) 0 ;
15133 PyObject
*swig_obj
[1] ;
15135 if (!args
) SWIG_fail
;
15136 swig_obj
[0] = args
;
15137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15138 if (!SWIG_IsOK(res1
)) {
15139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15141 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15144 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15145 wxPyEndAllowThreads(__tstate
);
15146 if (PyErr_Occurred()) SWIG_fail
;
15150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15161 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15162 PyObject
*resultobj
= 0;
15163 wxFont
*arg1
= (wxFont
*) 0 ;
15167 PyObject
*swig_obj
[1] ;
15169 if (!args
) SWIG_fail
;
15170 swig_obj
[0] = args
;
15171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15172 if (!SWIG_IsOK(res1
)) {
15173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15175 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15178 result
= ((wxFont
const *)arg1
)->GetStyleString();
15179 wxPyEndAllowThreads(__tstate
);
15180 if (PyErr_Occurred()) SWIG_fail
;
15184 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15186 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15195 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15196 PyObject
*resultobj
= 0;
15197 wxFont
*arg1
= (wxFont
*) 0 ;
15201 PyObject
*swig_obj
[1] ;
15203 if (!args
) SWIG_fail
;
15204 swig_obj
[0] = args
;
15205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15206 if (!SWIG_IsOK(res1
)) {
15207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15209 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15212 result
= ((wxFont
const *)arg1
)->GetWeightString();
15213 wxPyEndAllowThreads(__tstate
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15218 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15220 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15229 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15230 PyObject
*resultobj
= 0;
15231 wxFont
*arg1
= (wxFont
*) 0 ;
15232 bool arg2
= (bool) true ;
15237 PyObject
* obj0
= 0 ;
15238 PyObject
* obj1
= 0 ;
15239 char * kwnames
[] = {
15240 (char *) "self",(char *) "no", NULL
15243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15245 if (!SWIG_IsOK(res1
)) {
15246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15248 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15250 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15251 if (!SWIG_IsOK(ecode2
)) {
15252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15254 arg2
= static_cast< bool >(val2
);
15257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15258 (arg1
)->SetNoAntiAliasing(arg2
);
15259 wxPyEndAllowThreads(__tstate
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15262 resultobj
= SWIG_Py_Void();
15269 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15270 PyObject
*resultobj
= 0;
15271 wxFont
*arg1
= (wxFont
*) 0 ;
15275 PyObject
*swig_obj
[1] ;
15277 if (!args
) SWIG_fail
;
15278 swig_obj
[0] = args
;
15279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15280 if (!SWIG_IsOK(res1
)) {
15281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15283 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15286 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15287 wxPyEndAllowThreads(__tstate
);
15288 if (PyErr_Occurred()) SWIG_fail
;
15291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15299 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15300 PyObject
*resultobj
= 0;
15301 wxFontEncoding result
;
15303 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15305 if (!wxPyCheckForApp()) SWIG_fail
;
15306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15307 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15308 wxPyEndAllowThreads(__tstate
);
15309 if (PyErr_Occurred()) SWIG_fail
;
15311 resultobj
= SWIG_From_int(static_cast< int >(result
));
15318 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15319 PyObject
*resultobj
= 0;
15320 wxFontEncoding arg1
;
15323 PyObject
* obj0
= 0 ;
15324 char * kwnames
[] = {
15325 (char *) "encoding", NULL
15328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15329 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15330 if (!SWIG_IsOK(ecode1
)) {
15331 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15333 arg1
= static_cast< wxFontEncoding
>(val1
);
15335 if (!wxPyCheckForApp()) SWIG_fail
;
15336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15337 wxFont::SetDefaultEncoding(arg1
);
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15341 resultobj
= SWIG_Py_Void();
15348 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15350 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15351 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15352 return SWIG_Py_Void();
15355 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15356 return SWIG_Python_InitShadowInstance(args
);
15359 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15360 PyObject
*resultobj
= 0;
15361 wxPyFontEnumerator
*result
= 0 ;
15363 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15365 if (!wxPyCheckForApp()) SWIG_fail
;
15366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15367 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15368 wxPyEndAllowThreads(__tstate
);
15369 if (PyErr_Occurred()) SWIG_fail
;
15371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15378 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15379 PyObject
*resultobj
= 0;
15380 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15383 PyObject
*swig_obj
[1] ;
15385 if (!args
) SWIG_fail
;
15386 swig_obj
[0] = args
;
15387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15388 if (!SWIG_IsOK(res1
)) {
15389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15391 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15396 wxPyEndAllowThreads(__tstate
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15399 resultobj
= SWIG_Py_Void();
15406 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15407 PyObject
*resultobj
= 0;
15408 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15409 PyObject
*arg2
= (PyObject
*) 0 ;
15410 PyObject
*arg3
= (PyObject
*) 0 ;
15416 PyObject
* obj0
= 0 ;
15417 PyObject
* obj1
= 0 ;
15418 PyObject
* obj2
= 0 ;
15419 PyObject
* obj3
= 0 ;
15420 char * kwnames
[] = {
15421 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15426 if (!SWIG_IsOK(res1
)) {
15427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15429 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15432 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15433 if (!SWIG_IsOK(ecode4
)) {
15434 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15436 arg4
= static_cast< bool >(val4
);
15438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15439 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15440 wxPyEndAllowThreads(__tstate
);
15441 if (PyErr_Occurred()) SWIG_fail
;
15443 resultobj
= SWIG_Py_Void();
15450 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15451 PyObject
*resultobj
= 0;
15452 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15453 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15454 bool arg3
= (bool) false ;
15462 PyObject
* obj0
= 0 ;
15463 PyObject
* obj1
= 0 ;
15464 PyObject
* obj2
= 0 ;
15465 char * kwnames
[] = {
15466 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15471 if (!SWIG_IsOK(res1
)) {
15472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15474 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15476 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15477 if (!SWIG_IsOK(ecode2
)) {
15478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15480 arg2
= static_cast< wxFontEncoding
>(val2
);
15483 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15484 if (!SWIG_IsOK(ecode3
)) {
15485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15487 arg3
= static_cast< bool >(val3
);
15490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15491 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15492 wxPyEndAllowThreads(__tstate
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15504 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15505 PyObject
*resultobj
= 0;
15506 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15507 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15508 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15512 bool temp2
= false ;
15513 PyObject
* obj0
= 0 ;
15514 PyObject
* obj1
= 0 ;
15515 char * kwnames
[] = {
15516 (char *) "self",(char *) "facename", NULL
15519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15521 if (!SWIG_IsOK(res1
)) {
15522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15524 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15527 arg2
= wxString_in_helper(obj1
);
15528 if (arg2
== NULL
) SWIG_fail
;
15533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15534 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15535 wxPyEndAllowThreads(__tstate
);
15536 if (PyErr_Occurred()) SWIG_fail
;
15539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15555 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15556 PyObject
*resultobj
= 0;
15557 PyObject
*result
= 0 ;
15559 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15562 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15563 wxPyEndAllowThreads(__tstate
);
15564 if (PyErr_Occurred()) SWIG_fail
;
15566 resultobj
= result
;
15573 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15574 PyObject
*resultobj
= 0;
15575 PyObject
*result
= 0 ;
15577 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15580 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15581 wxPyEndAllowThreads(__tstate
);
15582 if (PyErr_Occurred()) SWIG_fail
;
15584 resultobj
= result
;
15591 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15592 PyObject
*resultobj
= 0;
15593 wxString
*arg1
= 0 ;
15595 bool temp1
= false ;
15596 PyObject
* obj0
= 0 ;
15597 char * kwnames
[] = {
15598 (char *) "str", NULL
15601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15603 arg1
= wxString_in_helper(obj0
);
15604 if (arg1
== NULL
) SWIG_fail
;
15608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15609 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15610 wxPyEndAllowThreads(__tstate
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15630 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15632 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15633 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15634 return SWIG_Py_Void();
15637 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15638 return SWIG_Python_InitShadowInstance(args
);
15641 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15642 PyObject
*resultobj
= 0;
15643 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15649 PyObject
*swig_obj
[2] ;
15651 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15653 if (!SWIG_IsOK(res1
)) {
15654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15656 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15657 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15658 if (!SWIG_IsOK(ecode2
)) {
15659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15661 arg2
= static_cast< int >(val2
);
15662 if (arg1
) (arg1
)->Language
= arg2
;
15664 resultobj
= SWIG_Py_Void();
15671 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15672 PyObject
*resultobj
= 0;
15673 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15677 PyObject
*swig_obj
[1] ;
15679 if (!args
) SWIG_fail
;
15680 swig_obj
[0] = args
;
15681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15682 if (!SWIG_IsOK(res1
)) {
15683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15685 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15686 result
= (int) ((arg1
)->Language
);
15687 resultobj
= SWIG_From_int(static_cast< int >(result
));
15694 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15695 PyObject
*resultobj
= 0;
15696 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15697 wxString
*arg2
= (wxString
*) 0 ;
15700 bool temp2
= false ;
15701 PyObject
*swig_obj
[2] ;
15703 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15705 if (!SWIG_IsOK(res1
)) {
15706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15708 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15710 arg2
= wxString_in_helper(swig_obj
[1]);
15711 if (arg2
== NULL
) SWIG_fail
;
15714 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15716 resultobj
= SWIG_Py_Void();
15731 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15732 PyObject
*resultobj
= 0;
15733 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15734 wxString
*result
= 0 ;
15737 PyObject
*swig_obj
[1] ;
15739 if (!args
) SWIG_fail
;
15740 swig_obj
[0] = args
;
15741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15742 if (!SWIG_IsOK(res1
)) {
15743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15745 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15746 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15749 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15751 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15760 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15761 PyObject
*resultobj
= 0;
15762 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15763 wxString
*arg2
= (wxString
*) 0 ;
15766 bool temp2
= false ;
15767 PyObject
*swig_obj
[2] ;
15769 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15771 if (!SWIG_IsOK(res1
)) {
15772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15774 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15776 arg2
= wxString_in_helper(swig_obj
[1]);
15777 if (arg2
== NULL
) SWIG_fail
;
15780 if (arg1
) (arg1
)->Description
= *arg2
;
15782 resultobj
= SWIG_Py_Void();
15797 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15798 PyObject
*resultobj
= 0;
15799 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15800 wxString
*result
= 0 ;
15803 PyObject
*swig_obj
[1] ;
15805 if (!args
) SWIG_fail
;
15806 swig_obj
[0] = args
;
15807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15808 if (!SWIG_IsOK(res1
)) {
15809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15811 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15812 result
= (wxString
*)& ((arg1
)->Description
);
15815 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15817 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15826 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15828 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15829 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15830 return SWIG_Py_Void();
15833 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15834 PyObject
*resultobj
= 0;
15835 int arg1
= (int) -1 ;
15836 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15837 wxLocale
*result
= 0 ;
15842 PyObject
* obj0
= 0 ;
15843 PyObject
* obj1
= 0 ;
15844 char * kwnames
[] = {
15845 (char *) "language",(char *) "flags", NULL
15848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15850 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15851 if (!SWIG_IsOK(ecode1
)) {
15852 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15854 arg1
= static_cast< int >(val1
);
15857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15858 if (!SWIG_IsOK(ecode2
)) {
15859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15861 arg2
= static_cast< int >(val2
);
15864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15865 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15866 wxPyEndAllowThreads(__tstate
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15876 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15877 PyObject
*resultobj
= 0;
15878 wxLocale
*arg1
= (wxLocale
*) 0 ;
15881 PyObject
*swig_obj
[1] ;
15883 if (!args
) SWIG_fail
;
15884 swig_obj
[0] = args
;
15885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15886 if (!SWIG_IsOK(res1
)) {
15887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15889 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 wxPyEndAllowThreads(__tstate
);
15895 if (PyErr_Occurred()) SWIG_fail
;
15897 resultobj
= SWIG_Py_Void();
15904 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15905 PyObject
*resultobj
= 0;
15906 wxLocale
*arg1
= (wxLocale
*) 0 ;
15907 wxString
*arg2
= 0 ;
15908 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15909 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15910 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15911 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15912 bool arg5
= (bool) true ;
15913 bool arg6
= (bool) false ;
15917 bool temp2
= false ;
15918 bool temp3
= false ;
15919 bool temp4
= false ;
15924 PyObject
* obj0
= 0 ;
15925 PyObject
* obj1
= 0 ;
15926 PyObject
* obj2
= 0 ;
15927 PyObject
* obj3
= 0 ;
15928 PyObject
* obj4
= 0 ;
15929 PyObject
* obj5
= 0 ;
15930 char * kwnames
[] = {
15931 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15936 if (!SWIG_IsOK(res1
)) {
15937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15939 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15941 arg2
= wxString_in_helper(obj1
);
15942 if (arg2
== NULL
) SWIG_fail
;
15947 arg3
= wxString_in_helper(obj2
);
15948 if (arg3
== NULL
) SWIG_fail
;
15954 arg4
= wxString_in_helper(obj3
);
15955 if (arg4
== NULL
) SWIG_fail
;
15960 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15961 if (!SWIG_IsOK(ecode5
)) {
15962 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15964 arg5
= static_cast< bool >(val5
);
15967 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15968 if (!SWIG_IsOK(ecode6
)) {
15969 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15971 arg6
= static_cast< bool >(val6
);
15974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15975 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15976 wxPyEndAllowThreads(__tstate
);
15977 if (PyErr_Occurred()) SWIG_fail
;
15980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16012 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16013 PyObject
*resultobj
= 0;
16014 wxLocale
*arg1
= (wxLocale
*) 0 ;
16015 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16016 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16024 PyObject
* obj0
= 0 ;
16025 PyObject
* obj1
= 0 ;
16026 PyObject
* obj2
= 0 ;
16027 char * kwnames
[] = {
16028 (char *) "self",(char *) "language",(char *) "flags", NULL
16031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16033 if (!SWIG_IsOK(res1
)) {
16034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16036 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16039 if (!SWIG_IsOK(ecode2
)) {
16040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16042 arg2
= static_cast< int >(val2
);
16045 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16046 if (!SWIG_IsOK(ecode3
)) {
16047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16049 arg3
= static_cast< int >(val3
);
16052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16053 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16066 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16067 PyObject
*resultobj
= 0;
16070 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16073 result
= (int)wxLocale::GetSystemLanguage();
16074 wxPyEndAllowThreads(__tstate
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16077 resultobj
= SWIG_From_int(static_cast< int >(result
));
16084 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16085 PyObject
*resultobj
= 0;
16086 wxFontEncoding result
;
16088 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16092 wxPyEndAllowThreads(__tstate
);
16093 if (PyErr_Occurred()) SWIG_fail
;
16095 resultobj
= SWIG_From_int(static_cast< int >(result
));
16102 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16103 PyObject
*resultobj
= 0;
16106 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16109 result
= wxLocale::GetSystemEncodingName();
16110 wxPyEndAllowThreads(__tstate
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16115 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16117 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16126 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16127 PyObject
*resultobj
= 0;
16128 wxLocale
*arg1
= (wxLocale
*) 0 ;
16132 PyObject
*swig_obj
[1] ;
16134 if (!args
) SWIG_fail
;
16135 swig_obj
[0] = args
;
16136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16137 if (!SWIG_IsOK(res1
)) {
16138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16140 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16143 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16144 wxPyEndAllowThreads(__tstate
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16156 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16157 PyObject
*resultobj
= 0;
16158 wxLocale
*arg1
= (wxLocale
*) 0 ;
16162 PyObject
*swig_obj
[1] ;
16164 if (!args
) SWIG_fail
;
16165 swig_obj
[0] = args
;
16166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16167 if (!SWIG_IsOK(res1
)) {
16168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16170 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16173 result
= ((wxLocale
const *)arg1
)->GetLocale();
16174 wxPyEndAllowThreads(__tstate
);
16175 if (PyErr_Occurred()) SWIG_fail
;
16179 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16181 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16190 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16191 PyObject
*resultobj
= 0;
16192 wxLocale
*arg1
= (wxLocale
*) 0 ;
16196 PyObject
*swig_obj
[1] ;
16198 if (!args
) SWIG_fail
;
16199 swig_obj
[0] = args
;
16200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16201 if (!SWIG_IsOK(res1
)) {
16202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16204 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16207 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16208 wxPyEndAllowThreads(__tstate
);
16209 if (PyErr_Occurred()) SWIG_fail
;
16211 resultobj
= SWIG_From_int(static_cast< int >(result
));
16218 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16219 PyObject
*resultobj
= 0;
16220 wxLocale
*arg1
= (wxLocale
*) 0 ;
16224 PyObject
*swig_obj
[1] ;
16226 if (!args
) SWIG_fail
;
16227 swig_obj
[0] = args
;
16228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16229 if (!SWIG_IsOK(res1
)) {
16230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16232 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16235 result
= ((wxLocale
const *)arg1
)->GetSysName();
16236 wxPyEndAllowThreads(__tstate
);
16237 if (PyErr_Occurred()) SWIG_fail
;
16241 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16243 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16252 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16253 PyObject
*resultobj
= 0;
16254 wxLocale
*arg1
= (wxLocale
*) 0 ;
16258 PyObject
*swig_obj
[1] ;
16260 if (!args
) SWIG_fail
;
16261 swig_obj
[0] = args
;
16262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16263 if (!SWIG_IsOK(res1
)) {
16264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16266 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16269 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16270 wxPyEndAllowThreads(__tstate
);
16271 if (PyErr_Occurred()) SWIG_fail
;
16275 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16277 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16286 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16287 PyObject
*resultobj
= 0;
16288 wxString
*arg1
= 0 ;
16289 bool temp1
= false ;
16290 PyObject
* obj0
= 0 ;
16291 char * kwnames
[] = {
16292 (char *) "prefix", NULL
16295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16297 arg1
= wxString_in_helper(obj0
);
16298 if (arg1
== NULL
) SWIG_fail
;
16302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16303 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16304 wxPyEndAllowThreads(__tstate
);
16305 if (PyErr_Occurred()) SWIG_fail
;
16307 resultobj
= SWIG_Py_Void();
16322 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16323 PyObject
*resultobj
= 0;
16324 wxLocale
*arg1
= (wxLocale
*) 0 ;
16325 wxString
*arg2
= 0 ;
16329 bool temp2
= false ;
16330 PyObject
* obj0
= 0 ;
16331 PyObject
* obj1
= 0 ;
16332 char * kwnames
[] = {
16333 (char *) "self",(char *) "szDomain", NULL
16336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16338 if (!SWIG_IsOK(res1
)) {
16339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16341 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16343 arg2
= wxString_in_helper(obj1
);
16344 if (arg2
== NULL
) SWIG_fail
;
16348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16349 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16350 wxPyEndAllowThreads(__tstate
);
16351 if (PyErr_Occurred()) SWIG_fail
;
16354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16370 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16371 PyObject
*resultobj
= 0;
16376 PyObject
* obj0
= 0 ;
16377 char * kwnames
[] = {
16378 (char *) "lang", NULL
16381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16382 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16383 if (!SWIG_IsOK(ecode1
)) {
16384 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16386 arg1
= static_cast< int >(val1
);
16388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16389 result
= (bool)wxLocale::IsAvailable(arg1
);
16390 wxPyEndAllowThreads(__tstate
);
16391 if (PyErr_Occurred()) SWIG_fail
;
16394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16402 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16403 PyObject
*resultobj
= 0;
16404 wxLocale
*arg1
= (wxLocale
*) 0 ;
16405 wxString
*arg2
= 0 ;
16409 bool temp2
= false ;
16410 PyObject
* obj0
= 0 ;
16411 PyObject
* obj1
= 0 ;
16412 char * kwnames
[] = {
16413 (char *) "self",(char *) "szDomain", NULL
16416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16418 if (!SWIG_IsOK(res1
)) {
16419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16421 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16423 arg2
= wxString_in_helper(obj1
);
16424 if (arg2
== NULL
) SWIG_fail
;
16428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16429 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16430 wxPyEndAllowThreads(__tstate
);
16431 if (PyErr_Occurred()) SWIG_fail
;
16434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16450 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16451 PyObject
*resultobj
= 0;
16453 wxLanguageInfo
*result
= 0 ;
16456 PyObject
* obj0
= 0 ;
16457 char * kwnames
[] = {
16458 (char *) "lang", NULL
16461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16462 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16463 if (!SWIG_IsOK(ecode1
)) {
16464 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16466 arg1
= static_cast< int >(val1
);
16468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16469 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16470 wxPyEndAllowThreads(__tstate
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16480 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16481 PyObject
*resultobj
= 0;
16486 PyObject
* obj0
= 0 ;
16487 char * kwnames
[] = {
16488 (char *) "lang", NULL
16491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16492 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16493 if (!SWIG_IsOK(ecode1
)) {
16494 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16496 arg1
= static_cast< int >(val1
);
16498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16499 result
= wxLocale::GetLanguageName(arg1
);
16500 wxPyEndAllowThreads(__tstate
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16505 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16507 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16516 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16517 PyObject
*resultobj
= 0;
16518 wxString
*arg1
= 0 ;
16519 wxLanguageInfo
*result
= 0 ;
16520 bool temp1
= false ;
16521 PyObject
* obj0
= 0 ;
16522 char * kwnames
[] = {
16523 (char *) "locale", NULL
16526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16528 arg1
= wxString_in_helper(obj0
);
16529 if (arg1
== NULL
) SWIG_fail
;
16533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16534 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16535 wxPyEndAllowThreads(__tstate
);
16536 if (PyErr_Occurred()) SWIG_fail
;
16538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16553 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16554 PyObject
*resultobj
= 0;
16555 wxLanguageInfo
*arg1
= 0 ;
16558 PyObject
* obj0
= 0 ;
16559 char * kwnames
[] = {
16560 (char *) "info", NULL
16563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16564 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16565 if (!SWIG_IsOK(res1
)) {
16566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16569 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16571 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16574 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16575 wxPyEndAllowThreads(__tstate
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16578 resultobj
= SWIG_Py_Void();
16585 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16586 PyObject
*resultobj
= 0;
16587 wxLocale
*arg1
= (wxLocale
*) 0 ;
16588 wxString
*arg2
= 0 ;
16589 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16590 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16594 bool temp2
= false ;
16595 bool temp3
= false ;
16596 PyObject
* obj0
= 0 ;
16597 PyObject
* obj1
= 0 ;
16598 PyObject
* obj2
= 0 ;
16599 char * kwnames
[] = {
16600 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16605 if (!SWIG_IsOK(res1
)) {
16606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16608 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16610 arg2
= wxString_in_helper(obj1
);
16611 if (arg2
== NULL
) SWIG_fail
;
16616 arg3
= wxString_in_helper(obj2
);
16617 if (arg3
== NULL
) SWIG_fail
;
16622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16623 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16624 wxPyEndAllowThreads(__tstate
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16629 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16631 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16656 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16657 PyObject
*resultobj
= 0;
16658 wxLocale
*arg1
= (wxLocale
*) 0 ;
16659 wxString
*result
= 0 ;
16662 PyObject
*swig_obj
[1] ;
16664 if (!args
) SWIG_fail
;
16665 swig_obj
[0] = args
;
16666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16667 if (!SWIG_IsOK(res1
)) {
16668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16670 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16674 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16675 result
= (wxString
*) &_result_ref
;
16677 wxPyEndAllowThreads(__tstate
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16682 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16684 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16693 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16695 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16696 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16697 return SWIG_Py_Void();
16700 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16701 return SWIG_Python_InitShadowInstance(args
);
16704 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16705 PyObject
*resultobj
= 0;
16706 int arg1
= (int) -1 ;
16707 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16708 wxPyLocale
*result
= 0 ;
16713 PyObject
* obj0
= 0 ;
16714 PyObject
* obj1
= 0 ;
16715 char * kwnames
[] = {
16716 (char *) "language",(char *) "flags", NULL
16719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16721 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16722 if (!SWIG_IsOK(ecode1
)) {
16723 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16725 arg1
= static_cast< int >(val1
);
16728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16729 if (!SWIG_IsOK(ecode2
)) {
16730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16732 arg2
= static_cast< int >(val2
);
16735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16736 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16747 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16748 PyObject
*resultobj
= 0;
16749 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16752 PyObject
*swig_obj
[1] ;
16754 if (!args
) SWIG_fail
;
16755 swig_obj
[0] = args
;
16756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16757 if (!SWIG_IsOK(res1
)) {
16758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16760 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16765 wxPyEndAllowThreads(__tstate
);
16766 if (PyErr_Occurred()) SWIG_fail
;
16768 resultobj
= SWIG_Py_Void();
16775 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16776 PyObject
*resultobj
= 0;
16777 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16778 PyObject
*arg2
= (PyObject
*) 0 ;
16779 PyObject
*arg3
= (PyObject
*) 0 ;
16782 PyObject
* obj0
= 0 ;
16783 PyObject
* obj1
= 0 ;
16784 PyObject
* obj2
= 0 ;
16785 char * kwnames
[] = {
16786 (char *) "self",(char *) "self",(char *) "_class", NULL
16789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16791 if (!SWIG_IsOK(res1
)) {
16792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16794 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16799 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16800 wxPyEndAllowThreads(__tstate
);
16801 if (PyErr_Occurred()) SWIG_fail
;
16803 resultobj
= SWIG_Py_Void();
16810 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16811 PyObject
*resultobj
= 0;
16812 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16813 wxChar
*arg2
= (wxChar
*) 0 ;
16814 wxChar
*arg3
= (wxChar
*) NULL
;
16815 wxChar
*result
= 0 ;
16822 PyObject
* obj0
= 0 ;
16823 PyObject
* obj1
= 0 ;
16824 PyObject
* obj2
= 0 ;
16825 char * kwnames
[] = {
16826 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16831 if (!SWIG_IsOK(res1
)) {
16832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16834 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16835 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16836 if (!SWIG_IsOK(res2
)) {
16837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16839 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16841 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16842 if (!SWIG_IsOK(res3
)) {
16843 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16845 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16849 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16850 wxPyEndAllowThreads(__tstate
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16860 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16861 PyObject
*resultobj
= 0;
16862 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16863 wxChar
*arg2
= (wxChar
*) 0 ;
16864 wxChar
*arg3
= (wxChar
*) 0 ;
16866 wxChar
*arg5
= (wxChar
*) NULL
;
16867 wxChar
*result
= 0 ;
16878 PyObject
* obj0
= 0 ;
16879 PyObject
* obj1
= 0 ;
16880 PyObject
* obj2
= 0 ;
16881 PyObject
* obj3
= 0 ;
16882 PyObject
* obj4
= 0 ;
16883 char * kwnames
[] = {
16884 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16889 if (!SWIG_IsOK(res1
)) {
16890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16892 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16893 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16894 if (!SWIG_IsOK(res2
)) {
16895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16897 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16898 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16899 if (!SWIG_IsOK(res3
)) {
16900 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16902 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16903 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16904 if (!SWIG_IsOK(ecode4
)) {
16905 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16907 arg4
= static_cast< size_t >(val4
);
16909 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16910 if (!SWIG_IsOK(res5
)) {
16911 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16913 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16917 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16918 wxPyEndAllowThreads(__tstate
);
16919 if (PyErr_Occurred()) SWIG_fail
;
16921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16928 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16930 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16931 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16932 return SWIG_Py_Void();
16935 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16936 return SWIG_Python_InitShadowInstance(args
);
16939 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16940 PyObject
*resultobj
= 0;
16941 wxLocale
*result
= 0 ;
16943 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16946 result
= (wxLocale
*)wxGetLocale();
16947 wxPyEndAllowThreads(__tstate
);
16948 if (PyErr_Occurred()) SWIG_fail
;
16950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16957 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16958 PyObject
*resultobj
= 0;
16959 wxString
*arg1
= 0 ;
16961 bool temp1
= false ;
16963 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16965 arg1
= wxString_in_helper(swig_obj
[0]);
16966 if (arg1
== NULL
) SWIG_fail
;
16970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16971 result
= wxGetTranslation((wxString
const &)*arg1
);
16972 wxPyEndAllowThreads(__tstate
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16977 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16979 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16996 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16997 PyObject
*resultobj
= 0;
16998 wxString
*arg1
= 0 ;
16999 wxString
*arg2
= 0 ;
17001 bool temp1
= false ;
17002 bool temp2
= false ;
17004 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17006 arg1
= wxString_in_helper(swig_obj
[0]);
17007 if (arg1
== NULL
) SWIG_fail
;
17011 arg2
= wxString_in_helper(swig_obj
[1]);
17012 if (arg2
== NULL
) SWIG_fail
;
17016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17017 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17018 wxPyEndAllowThreads(__tstate
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17050 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17051 PyObject
*resultobj
= 0;
17052 wxString
*arg1
= 0 ;
17053 wxString
*arg2
= 0 ;
17056 bool temp1
= false ;
17057 bool temp2
= false ;
17061 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17063 arg1
= wxString_in_helper(swig_obj
[0]);
17064 if (arg1
== NULL
) SWIG_fail
;
17068 arg2
= wxString_in_helper(swig_obj
[1]);
17069 if (arg2
== NULL
) SWIG_fail
;
17072 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17073 if (!SWIG_IsOK(ecode3
)) {
17074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17076 arg3
= static_cast< size_t >(val3
);
17078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17079 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17080 wxPyEndAllowThreads(__tstate
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17085 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17087 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17112 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17113 PyObject
*resultobj
= 0;
17114 wxString
*arg1
= 0 ;
17115 wxString
*arg2
= 0 ;
17117 wxString
*arg4
= 0 ;
17119 bool temp1
= false ;
17120 bool temp2
= false ;
17123 bool temp4
= false ;
17125 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17127 arg1
= wxString_in_helper(swig_obj
[0]);
17128 if (arg1
== NULL
) SWIG_fail
;
17132 arg2
= wxString_in_helper(swig_obj
[1]);
17133 if (arg2
== NULL
) SWIG_fail
;
17136 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17137 if (!SWIG_IsOK(ecode3
)) {
17138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17140 arg3
= static_cast< size_t >(val3
);
17142 arg4
= wxString_in_helper(swig_obj
[3]);
17143 if (arg4
== NULL
) SWIG_fail
;
17147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17148 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17149 wxPyEndAllowThreads(__tstate
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17154 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17156 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17189 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17193 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17196 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17199 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17202 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17205 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17209 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17214 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17215 PyObject
*resultobj
= 0;
17216 wxEncodingConverter
*result
= 0 ;
17218 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17221 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17222 wxPyEndAllowThreads(__tstate
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17232 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17233 PyObject
*resultobj
= 0;
17234 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17237 PyObject
*swig_obj
[1] ;
17239 if (!args
) SWIG_fail
;
17240 swig_obj
[0] = args
;
17241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17242 if (!SWIG_IsOK(res1
)) {
17243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17245 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17250 wxPyEndAllowThreads(__tstate
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17253 resultobj
= SWIG_Py_Void();
17260 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17261 PyObject
*resultobj
= 0;
17262 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17263 wxFontEncoding arg2
;
17264 wxFontEncoding arg3
;
17265 int arg4
= (int) wxCONVERT_STRICT
;
17275 PyObject
* obj0
= 0 ;
17276 PyObject
* obj1
= 0 ;
17277 PyObject
* obj2
= 0 ;
17278 PyObject
* obj3
= 0 ;
17279 char * kwnames
[] = {
17280 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17285 if (!SWIG_IsOK(res1
)) {
17286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17288 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17290 if (!SWIG_IsOK(ecode2
)) {
17291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17293 arg2
= static_cast< wxFontEncoding
>(val2
);
17294 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17295 if (!SWIG_IsOK(ecode3
)) {
17296 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17298 arg3
= static_cast< wxFontEncoding
>(val3
);
17300 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17301 if (!SWIG_IsOK(ecode4
)) {
17302 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17304 arg4
= static_cast< int >(val4
);
17307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17308 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17309 wxPyEndAllowThreads(__tstate
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17321 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17322 PyObject
*resultobj
= 0;
17323 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17324 wxString
*arg2
= 0 ;
17328 bool temp2
= false ;
17329 PyObject
* obj0
= 0 ;
17330 PyObject
* obj1
= 0 ;
17331 char * kwnames
[] = {
17332 (char *) "self",(char *) "input", NULL
17335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17337 if (!SWIG_IsOK(res1
)) {
17338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17340 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17342 arg2
= wxString_in_helper(obj1
);
17343 if (arg2
== NULL
) SWIG_fail
;
17347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17348 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17354 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17356 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17373 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17374 PyObject
*resultobj
= 0;
17375 wxFontEncoding arg1
;
17376 int arg2
= (int) wxPLATFORM_CURRENT
;
17377 wxFontEncodingArray result
;
17382 PyObject
* obj0
= 0 ;
17383 PyObject
* obj1
= 0 ;
17384 char * kwnames
[] = {
17385 (char *) "enc",(char *) "platform", NULL
17388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17389 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17390 if (!SWIG_IsOK(ecode1
)) {
17391 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17393 arg1
= static_cast< wxFontEncoding
>(val1
);
17395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17396 if (!SWIG_IsOK(ecode2
)) {
17397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17399 arg2
= static_cast< int >(val2
);
17402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17403 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17404 wxPyEndAllowThreads(__tstate
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17408 resultobj
= PyList_New(0);
17409 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17410 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17411 PyList_Append(resultobj
, number
);
17421 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17422 PyObject
*resultobj
= 0;
17423 wxFontEncoding arg1
;
17424 wxFontEncodingArray result
;
17427 PyObject
* obj0
= 0 ;
17428 char * kwnames
[] = {
17429 (char *) "enc", NULL
17432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17433 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17434 if (!SWIG_IsOK(ecode1
)) {
17435 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17437 arg1
= static_cast< wxFontEncoding
>(val1
);
17439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17440 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17441 wxPyEndAllowThreads(__tstate
);
17442 if (PyErr_Occurred()) SWIG_fail
;
17445 resultobj
= PyList_New(0);
17446 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17447 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17448 PyList_Append(resultobj
, number
);
17458 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17459 PyObject
*resultobj
= 0;
17460 wxFontEncoding arg1
;
17461 wxFontEncoding arg2
;
17467 PyObject
* obj0
= 0 ;
17468 PyObject
* obj1
= 0 ;
17469 char * kwnames
[] = {
17470 (char *) "encIn",(char *) "encOut", NULL
17473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17474 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17475 if (!SWIG_IsOK(ecode1
)) {
17476 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17478 arg1
= static_cast< wxFontEncoding
>(val1
);
17479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17480 if (!SWIG_IsOK(ecode2
)) {
17481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17483 arg2
= static_cast< wxFontEncoding
>(val2
);
17485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17486 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17487 wxPyEndAllowThreads(__tstate
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17499 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17501 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17502 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17503 return SWIG_Py_Void();
17506 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17507 return SWIG_Python_InitShadowInstance(args
);
17510 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17511 PyObject
*resultobj
= 0;
17512 wxDC
*arg1
= (wxDC
*) 0 ;
17515 PyObject
*swig_obj
[1] ;
17517 if (!args
) SWIG_fail
;
17518 swig_obj
[0] = args
;
17519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17520 if (!SWIG_IsOK(res1
)) {
17521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17523 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17528 wxPyEndAllowThreads(__tstate
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17531 resultobj
= SWIG_Py_Void();
17538 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17539 PyObject
*resultobj
= 0;
17540 wxDC
*arg1
= (wxDC
*) 0 ;
17543 wxColour
*arg4
= 0 ;
17544 int arg5
= (int) wxFLOOD_SURFACE
;
17555 PyObject
* obj0
= 0 ;
17556 PyObject
* obj1
= 0 ;
17557 PyObject
* obj2
= 0 ;
17558 PyObject
* obj3
= 0 ;
17559 PyObject
* obj4
= 0 ;
17560 char * kwnames
[] = {
17561 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17566 if (!SWIG_IsOK(res1
)) {
17567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17569 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17570 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17571 if (!SWIG_IsOK(ecode2
)) {
17572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17574 arg2
= static_cast< int >(val2
);
17575 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17576 if (!SWIG_IsOK(ecode3
)) {
17577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17579 arg3
= static_cast< int >(val3
);
17582 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17585 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17586 if (!SWIG_IsOK(ecode5
)) {
17587 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17589 arg5
= static_cast< int >(val5
);
17592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17593 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17594 wxPyEndAllowThreads(__tstate
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17606 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17607 PyObject
*resultobj
= 0;
17608 wxDC
*arg1
= (wxDC
*) 0 ;
17609 wxPoint
*arg2
= 0 ;
17610 wxColour
*arg3
= 0 ;
17611 int arg4
= (int) wxFLOOD_SURFACE
;
17619 PyObject
* obj0
= 0 ;
17620 PyObject
* obj1
= 0 ;
17621 PyObject
* obj2
= 0 ;
17622 PyObject
* obj3
= 0 ;
17623 char * kwnames
[] = {
17624 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17629 if (!SWIG_IsOK(res1
)) {
17630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17632 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17635 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17639 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17642 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17643 if (!SWIG_IsOK(ecode4
)) {
17644 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17646 arg4
= static_cast< int >(val4
);
17649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17650 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17651 wxPyEndAllowThreads(__tstate
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17663 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17664 PyObject
*resultobj
= 0;
17665 wxDC
*arg1
= (wxDC
*) 0 ;
17667 wxColour
*arg3
= 0 ;
17668 wxColour
*arg4
= 0 ;
17669 wxPoint
*arg5
= 0 ;
17676 PyObject
* obj0
= 0 ;
17677 PyObject
* obj1
= 0 ;
17678 PyObject
* obj2
= 0 ;
17679 PyObject
* obj3
= 0 ;
17680 PyObject
* obj4
= 0 ;
17681 char * kwnames
[] = {
17682 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17687 if (!SWIG_IsOK(res1
)) {
17688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17690 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17693 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17697 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17701 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17705 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17709 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17710 wxPyEndAllowThreads(__tstate
);
17711 if (PyErr_Occurred()) SWIG_fail
;
17713 resultobj
= SWIG_Py_Void();
17720 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17721 PyObject
*resultobj
= 0;
17722 wxDC
*arg1
= (wxDC
*) 0 ;
17724 wxColour
*arg3
= 0 ;
17725 wxColour
*arg4
= 0 ;
17726 wxDirection arg5
= (wxDirection
) wxEAST
;
17734 PyObject
* obj0
= 0 ;
17735 PyObject
* obj1
= 0 ;
17736 PyObject
* obj2
= 0 ;
17737 PyObject
* obj3
= 0 ;
17738 PyObject
* obj4
= 0 ;
17739 char * kwnames
[] = {
17740 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17745 if (!SWIG_IsOK(res1
)) {
17746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17748 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17751 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17755 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17759 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17762 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17763 if (!SWIG_IsOK(ecode5
)) {
17764 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17766 arg5
= static_cast< wxDirection
>(val5
);
17769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17770 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17771 wxPyEndAllowThreads(__tstate
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17774 resultobj
= SWIG_Py_Void();
17781 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17782 PyObject
*resultobj
= 0;
17783 wxDC
*arg1
= (wxDC
*) 0 ;
17793 PyObject
* obj0
= 0 ;
17794 PyObject
* obj1
= 0 ;
17795 PyObject
* obj2
= 0 ;
17796 char * kwnames
[] = {
17797 (char *) "self",(char *) "x",(char *) "y", NULL
17800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17802 if (!SWIG_IsOK(res1
)) {
17803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17805 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17807 if (!SWIG_IsOK(ecode2
)) {
17808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17810 arg2
= static_cast< int >(val2
);
17811 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17812 if (!SWIG_IsOK(ecode3
)) {
17813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17815 arg3
= static_cast< int >(val3
);
17817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17818 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17819 wxPyEndAllowThreads(__tstate
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17822 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17829 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17830 PyObject
*resultobj
= 0;
17831 wxDC
*arg1
= (wxDC
*) 0 ;
17832 wxPoint
*arg2
= 0 ;
17837 PyObject
* obj0
= 0 ;
17838 PyObject
* obj1
= 0 ;
17839 char * kwnames
[] = {
17840 (char *) "self",(char *) "pt", NULL
17843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17845 if (!SWIG_IsOK(res1
)) {
17846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17848 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17851 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17855 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17856 wxPyEndAllowThreads(__tstate
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17859 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17866 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17867 PyObject
*resultobj
= 0;
17868 wxDC
*arg1
= (wxDC
*) 0 ;
17883 PyObject
* obj0
= 0 ;
17884 PyObject
* obj1
= 0 ;
17885 PyObject
* obj2
= 0 ;
17886 PyObject
* obj3
= 0 ;
17887 PyObject
* obj4
= 0 ;
17888 char * kwnames
[] = {
17889 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17894 if (!SWIG_IsOK(res1
)) {
17895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17897 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17899 if (!SWIG_IsOK(ecode2
)) {
17900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17902 arg2
= static_cast< int >(val2
);
17903 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17904 if (!SWIG_IsOK(ecode3
)) {
17905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17907 arg3
= static_cast< int >(val3
);
17908 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17909 if (!SWIG_IsOK(ecode4
)) {
17910 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17912 arg4
= static_cast< int >(val4
);
17913 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17914 if (!SWIG_IsOK(ecode5
)) {
17915 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17917 arg5
= static_cast< int >(val5
);
17919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17920 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17921 wxPyEndAllowThreads(__tstate
);
17922 if (PyErr_Occurred()) SWIG_fail
;
17924 resultobj
= SWIG_Py_Void();
17931 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17932 PyObject
*resultobj
= 0;
17933 wxDC
*arg1
= (wxDC
*) 0 ;
17934 wxPoint
*arg2
= 0 ;
17935 wxPoint
*arg3
= 0 ;
17940 PyObject
* obj0
= 0 ;
17941 PyObject
* obj1
= 0 ;
17942 PyObject
* obj2
= 0 ;
17943 char * kwnames
[] = {
17944 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) 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_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17952 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17955 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17959 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17963 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17967 resultobj
= SWIG_Py_Void();
17974 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17975 PyObject
*resultobj
= 0;
17976 wxDC
*arg1
= (wxDC
*) 0 ;
17985 PyObject
* obj0
= 0 ;
17986 PyObject
* obj1
= 0 ;
17987 PyObject
* obj2
= 0 ;
17988 char * kwnames
[] = {
17989 (char *) "self",(char *) "x",(char *) "y", NULL
17992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17994 if (!SWIG_IsOK(res1
)) {
17995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17997 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17999 if (!SWIG_IsOK(ecode2
)) {
18000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18002 arg2
= static_cast< int >(val2
);
18003 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18004 if (!SWIG_IsOK(ecode3
)) {
18005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18007 arg3
= static_cast< int >(val3
);
18009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18010 (arg1
)->CrossHair(arg2
,arg3
);
18011 wxPyEndAllowThreads(__tstate
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18014 resultobj
= SWIG_Py_Void();
18021 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18022 PyObject
*resultobj
= 0;
18023 wxDC
*arg1
= (wxDC
*) 0 ;
18024 wxPoint
*arg2
= 0 ;
18028 PyObject
* obj0
= 0 ;
18029 PyObject
* obj1
= 0 ;
18030 char * kwnames
[] = {
18031 (char *) "self",(char *) "pt", NULL
18034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18036 if (!SWIG_IsOK(res1
)) {
18037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18039 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18042 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18046 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18047 wxPyEndAllowThreads(__tstate
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18050 resultobj
= SWIG_Py_Void();
18057 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18058 PyObject
*resultobj
= 0;
18059 wxDC
*arg1
= (wxDC
*) 0 ;
18080 PyObject
* obj0
= 0 ;
18081 PyObject
* obj1
= 0 ;
18082 PyObject
* obj2
= 0 ;
18083 PyObject
* obj3
= 0 ;
18084 PyObject
* obj4
= 0 ;
18085 PyObject
* obj5
= 0 ;
18086 PyObject
* obj6
= 0 ;
18087 char * kwnames
[] = {
18088 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18093 if (!SWIG_IsOK(res1
)) {
18094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18096 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18098 if (!SWIG_IsOK(ecode2
)) {
18099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18101 arg2
= static_cast< int >(val2
);
18102 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18103 if (!SWIG_IsOK(ecode3
)) {
18104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18106 arg3
= static_cast< int >(val3
);
18107 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18108 if (!SWIG_IsOK(ecode4
)) {
18109 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18111 arg4
= static_cast< int >(val4
);
18112 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18113 if (!SWIG_IsOK(ecode5
)) {
18114 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18116 arg5
= static_cast< int >(val5
);
18117 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18118 if (!SWIG_IsOK(ecode6
)) {
18119 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18121 arg6
= static_cast< int >(val6
);
18122 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18123 if (!SWIG_IsOK(ecode7
)) {
18124 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18126 arg7
= static_cast< int >(val7
);
18128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18129 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18130 wxPyEndAllowThreads(__tstate
);
18131 if (PyErr_Occurred()) SWIG_fail
;
18133 resultobj
= SWIG_Py_Void();
18140 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18141 PyObject
*resultobj
= 0;
18142 wxDC
*arg1
= (wxDC
*) 0 ;
18143 wxPoint
*arg2
= 0 ;
18144 wxPoint
*arg3
= 0 ;
18145 wxPoint
*arg4
= 0 ;
18151 PyObject
* obj0
= 0 ;
18152 PyObject
* obj1
= 0 ;
18153 PyObject
* obj2
= 0 ;
18154 PyObject
* obj3
= 0 ;
18155 char * kwnames
[] = {
18156 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18161 if (!SWIG_IsOK(res1
)) {
18162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18164 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18167 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18171 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18175 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18180 wxPyEndAllowThreads(__tstate
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18183 resultobj
= SWIG_Py_Void();
18190 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18191 PyObject
*resultobj
= 0;
18192 wxDC
*arg1
= (wxDC
*) 0 ;
18207 PyObject
* obj0
= 0 ;
18208 PyObject
* obj1
= 0 ;
18209 PyObject
* obj2
= 0 ;
18210 PyObject
* obj3
= 0 ;
18211 PyObject
* obj4
= 0 ;
18212 char * kwnames
[] = {
18213 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18218 if (!SWIG_IsOK(res1
)) {
18219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18221 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18223 if (!SWIG_IsOK(ecode2
)) {
18224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18226 arg2
= static_cast< int >(val2
);
18227 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18228 if (!SWIG_IsOK(ecode3
)) {
18229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18231 arg3
= static_cast< int >(val3
);
18232 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18233 if (!SWIG_IsOK(ecode4
)) {
18234 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18236 arg4
= static_cast< int >(val4
);
18237 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18238 if (!SWIG_IsOK(ecode5
)) {
18239 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18241 arg5
= static_cast< int >(val5
);
18243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18244 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18245 wxPyEndAllowThreads(__tstate
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18248 resultobj
= SWIG_Py_Void();
18255 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18256 PyObject
*resultobj
= 0;
18257 wxDC
*arg1
= (wxDC
*) 0 ;
18262 PyObject
* obj0
= 0 ;
18263 PyObject
* obj1
= 0 ;
18264 char * kwnames
[] = {
18265 (char *) "self",(char *) "rect", NULL
18268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18270 if (!SWIG_IsOK(res1
)) {
18271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18273 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18276 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18280 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18281 wxPyEndAllowThreads(__tstate
);
18282 if (PyErr_Occurred()) SWIG_fail
;
18284 resultobj
= SWIG_Py_Void();
18291 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18292 PyObject
*resultobj
= 0;
18293 wxDC
*arg1
= (wxDC
*) 0 ;
18314 PyObject
* obj0
= 0 ;
18315 PyObject
* obj1
= 0 ;
18316 PyObject
* obj2
= 0 ;
18317 PyObject
* obj3
= 0 ;
18318 PyObject
* obj4
= 0 ;
18319 PyObject
* obj5
= 0 ;
18320 PyObject
* obj6
= 0 ;
18321 char * kwnames
[] = {
18322 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18327 if (!SWIG_IsOK(res1
)) {
18328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18330 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18332 if (!SWIG_IsOK(ecode2
)) {
18333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18335 arg2
= static_cast< int >(val2
);
18336 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18337 if (!SWIG_IsOK(ecode3
)) {
18338 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18340 arg3
= static_cast< int >(val3
);
18341 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18342 if (!SWIG_IsOK(ecode4
)) {
18343 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18345 arg4
= static_cast< int >(val4
);
18346 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18347 if (!SWIG_IsOK(ecode5
)) {
18348 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18350 arg5
= static_cast< int >(val5
);
18351 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18352 if (!SWIG_IsOK(ecode6
)) {
18353 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18355 arg6
= static_cast< double >(val6
);
18356 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18357 if (!SWIG_IsOK(ecode7
)) {
18358 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18360 arg7
= static_cast< double >(val7
);
18362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18363 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18364 wxPyEndAllowThreads(__tstate
);
18365 if (PyErr_Occurred()) SWIG_fail
;
18367 resultobj
= SWIG_Py_Void();
18374 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18375 PyObject
*resultobj
= 0;
18376 wxDC
*arg1
= (wxDC
*) 0 ;
18377 wxPoint
*arg2
= 0 ;
18389 PyObject
* obj0
= 0 ;
18390 PyObject
* obj1
= 0 ;
18391 PyObject
* obj2
= 0 ;
18392 PyObject
* obj3
= 0 ;
18393 PyObject
* obj4
= 0 ;
18394 char * kwnames
[] = {
18395 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18400 if (!SWIG_IsOK(res1
)) {
18401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18403 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18406 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18410 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18412 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18413 if (!SWIG_IsOK(ecode4
)) {
18414 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18416 arg4
= static_cast< double >(val4
);
18417 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18418 if (!SWIG_IsOK(ecode5
)) {
18419 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18421 arg5
= static_cast< double >(val5
);
18423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18424 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18425 wxPyEndAllowThreads(__tstate
);
18426 if (PyErr_Occurred()) SWIG_fail
;
18428 resultobj
= SWIG_Py_Void();
18435 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18436 PyObject
*resultobj
= 0;
18437 wxDC
*arg1
= (wxDC
*) 0 ;
18446 PyObject
* obj0
= 0 ;
18447 PyObject
* obj1
= 0 ;
18448 PyObject
* obj2
= 0 ;
18449 char * kwnames
[] = {
18450 (char *) "self",(char *) "x",(char *) "y", NULL
18453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18455 if (!SWIG_IsOK(res1
)) {
18456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18458 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18460 if (!SWIG_IsOK(ecode2
)) {
18461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18463 arg2
= static_cast< int >(val2
);
18464 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18465 if (!SWIG_IsOK(ecode3
)) {
18466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18468 arg3
= static_cast< int >(val3
);
18470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18471 (arg1
)->DrawPoint(arg2
,arg3
);
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18475 resultobj
= SWIG_Py_Void();
18482 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
= 0;
18484 wxDC
*arg1
= (wxDC
*) 0 ;
18485 wxPoint
*arg2
= 0 ;
18489 PyObject
* obj0
= 0 ;
18490 PyObject
* obj1
= 0 ;
18491 char * kwnames
[] = {
18492 (char *) "self",(char *) "pt", NULL
18495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18497 if (!SWIG_IsOK(res1
)) {
18498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18500 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18503 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18507 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18508 wxPyEndAllowThreads(__tstate
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18511 resultobj
= SWIG_Py_Void();
18518 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18519 PyObject
*resultobj
= 0;
18520 wxDC
*arg1
= (wxDC
*) 0 ;
18535 PyObject
* obj0
= 0 ;
18536 PyObject
* obj1
= 0 ;
18537 PyObject
* obj2
= 0 ;
18538 PyObject
* obj3
= 0 ;
18539 PyObject
* obj4
= 0 ;
18540 char * kwnames
[] = {
18541 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18546 if (!SWIG_IsOK(res1
)) {
18547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18549 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18551 if (!SWIG_IsOK(ecode2
)) {
18552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18554 arg2
= static_cast< int >(val2
);
18555 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18556 if (!SWIG_IsOK(ecode3
)) {
18557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18559 arg3
= static_cast< int >(val3
);
18560 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18561 if (!SWIG_IsOK(ecode4
)) {
18562 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18564 arg4
= static_cast< int >(val4
);
18565 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18566 if (!SWIG_IsOK(ecode5
)) {
18567 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18569 arg5
= static_cast< int >(val5
);
18571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18572 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18573 wxPyEndAllowThreads(__tstate
);
18574 if (PyErr_Occurred()) SWIG_fail
;
18576 resultobj
= SWIG_Py_Void();
18583 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18584 PyObject
*resultobj
= 0;
18585 wxDC
*arg1
= (wxDC
*) 0 ;
18590 PyObject
* obj0
= 0 ;
18591 PyObject
* obj1
= 0 ;
18592 char * kwnames
[] = {
18593 (char *) "self",(char *) "rect", NULL
18596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18598 if (!SWIG_IsOK(res1
)) {
18599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18601 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18604 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18608 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18609 wxPyEndAllowThreads(__tstate
);
18610 if (PyErr_Occurred()) SWIG_fail
;
18612 resultobj
= SWIG_Py_Void();
18619 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18620 PyObject
*resultobj
= 0;
18621 wxDC
*arg1
= (wxDC
*) 0 ;
18622 wxPoint
*arg2
= 0 ;
18628 PyObject
* obj0
= 0 ;
18629 PyObject
* obj1
= 0 ;
18630 PyObject
* obj2
= 0 ;
18631 char * kwnames
[] = {
18632 (char *) "self",(char *) "pt",(char *) "sz", NULL
18635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18637 if (!SWIG_IsOK(res1
)) {
18638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18640 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18643 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18647 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18651 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18652 wxPyEndAllowThreads(__tstate
);
18653 if (PyErr_Occurred()) SWIG_fail
;
18655 resultobj
= SWIG_Py_Void();
18662 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18663 PyObject
*resultobj
= 0;
18664 wxDC
*arg1
= (wxDC
*) 0 ;
18682 PyObject
* obj0
= 0 ;
18683 PyObject
* obj1
= 0 ;
18684 PyObject
* obj2
= 0 ;
18685 PyObject
* obj3
= 0 ;
18686 PyObject
* obj4
= 0 ;
18687 PyObject
* obj5
= 0 ;
18688 char * kwnames
[] = {
18689 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18694 if (!SWIG_IsOK(res1
)) {
18695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18697 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18699 if (!SWIG_IsOK(ecode2
)) {
18700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18702 arg2
= static_cast< int >(val2
);
18703 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18704 if (!SWIG_IsOK(ecode3
)) {
18705 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18707 arg3
= static_cast< int >(val3
);
18708 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18709 if (!SWIG_IsOK(ecode4
)) {
18710 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18712 arg4
= static_cast< int >(val4
);
18713 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18714 if (!SWIG_IsOK(ecode5
)) {
18715 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18717 arg5
= static_cast< int >(val5
);
18718 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18719 if (!SWIG_IsOK(ecode6
)) {
18720 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18722 arg6
= static_cast< double >(val6
);
18724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18725 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18726 wxPyEndAllowThreads(__tstate
);
18727 if (PyErr_Occurred()) SWIG_fail
;
18729 resultobj
= SWIG_Py_Void();
18736 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18737 PyObject
*resultobj
= 0;
18738 wxDC
*arg1
= (wxDC
*) 0 ;
18746 PyObject
* obj0
= 0 ;
18747 PyObject
* obj1
= 0 ;
18748 PyObject
* obj2
= 0 ;
18749 char * kwnames
[] = {
18750 (char *) "self",(char *) "r",(char *) "radius", NULL
18753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18755 if (!SWIG_IsOK(res1
)) {
18756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18758 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18761 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18763 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18764 if (!SWIG_IsOK(ecode3
)) {
18765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18767 arg3
= static_cast< double >(val3
);
18769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18770 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18771 wxPyEndAllowThreads(__tstate
);
18772 if (PyErr_Occurred()) SWIG_fail
;
18774 resultobj
= SWIG_Py_Void();
18781 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18782 PyObject
*resultobj
= 0;
18783 wxDC
*arg1
= (wxDC
*) 0 ;
18784 wxPoint
*arg2
= 0 ;
18793 PyObject
* obj0
= 0 ;
18794 PyObject
* obj1
= 0 ;
18795 PyObject
* obj2
= 0 ;
18796 PyObject
* obj3
= 0 ;
18797 char * kwnames
[] = {
18798 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18803 if (!SWIG_IsOK(res1
)) {
18804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18806 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18809 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18813 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18815 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18816 if (!SWIG_IsOK(ecode4
)) {
18817 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18819 arg4
= static_cast< double >(val4
);
18821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18822 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18823 wxPyEndAllowThreads(__tstate
);
18824 if (PyErr_Occurred()) SWIG_fail
;
18826 resultobj
= SWIG_Py_Void();
18833 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18834 PyObject
*resultobj
= 0;
18835 wxDC
*arg1
= (wxDC
*) 0 ;
18847 PyObject
* obj0
= 0 ;
18848 PyObject
* obj1
= 0 ;
18849 PyObject
* obj2
= 0 ;
18850 PyObject
* obj3
= 0 ;
18851 char * kwnames
[] = {
18852 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18857 if (!SWIG_IsOK(res1
)) {
18858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18860 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18862 if (!SWIG_IsOK(ecode2
)) {
18863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18865 arg2
= static_cast< int >(val2
);
18866 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18867 if (!SWIG_IsOK(ecode3
)) {
18868 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18870 arg3
= static_cast< int >(val3
);
18871 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18872 if (!SWIG_IsOK(ecode4
)) {
18873 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18875 arg4
= static_cast< int >(val4
);
18877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18878 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18879 wxPyEndAllowThreads(__tstate
);
18880 if (PyErr_Occurred()) SWIG_fail
;
18882 resultobj
= SWIG_Py_Void();
18889 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18890 PyObject
*resultobj
= 0;
18891 wxDC
*arg1
= (wxDC
*) 0 ;
18892 wxPoint
*arg2
= 0 ;
18899 PyObject
* obj0
= 0 ;
18900 PyObject
* obj1
= 0 ;
18901 PyObject
* obj2
= 0 ;
18902 char * kwnames
[] = {
18903 (char *) "self",(char *) "pt",(char *) "radius", NULL
18906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18908 if (!SWIG_IsOK(res1
)) {
18909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18911 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18914 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18916 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18917 if (!SWIG_IsOK(ecode3
)) {
18918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18920 arg3
= static_cast< int >(val3
);
18922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18923 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18924 wxPyEndAllowThreads(__tstate
);
18925 if (PyErr_Occurred()) SWIG_fail
;
18927 resultobj
= SWIG_Py_Void();
18934 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18935 PyObject
*resultobj
= 0;
18936 wxDC
*arg1
= (wxDC
*) 0 ;
18951 PyObject
* obj0
= 0 ;
18952 PyObject
* obj1
= 0 ;
18953 PyObject
* obj2
= 0 ;
18954 PyObject
* obj3
= 0 ;
18955 PyObject
* obj4
= 0 ;
18956 char * kwnames
[] = {
18957 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18962 if (!SWIG_IsOK(res1
)) {
18963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18965 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18967 if (!SWIG_IsOK(ecode2
)) {
18968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18970 arg2
= static_cast< int >(val2
);
18971 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18972 if (!SWIG_IsOK(ecode3
)) {
18973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18975 arg3
= static_cast< int >(val3
);
18976 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18977 if (!SWIG_IsOK(ecode4
)) {
18978 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18980 arg4
= static_cast< int >(val4
);
18981 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18982 if (!SWIG_IsOK(ecode5
)) {
18983 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18985 arg5
= static_cast< int >(val5
);
18987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18988 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18989 wxPyEndAllowThreads(__tstate
);
18990 if (PyErr_Occurred()) SWIG_fail
;
18992 resultobj
= SWIG_Py_Void();
18999 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19000 PyObject
*resultobj
= 0;
19001 wxDC
*arg1
= (wxDC
*) 0 ;
19006 PyObject
* obj0
= 0 ;
19007 PyObject
* obj1
= 0 ;
19008 char * kwnames
[] = {
19009 (char *) "self",(char *) "rect", NULL
19012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19014 if (!SWIG_IsOK(res1
)) {
19015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19017 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19020 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19024 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19025 wxPyEndAllowThreads(__tstate
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19028 resultobj
= SWIG_Py_Void();
19035 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19036 PyObject
*resultobj
= 0;
19037 wxDC
*arg1
= (wxDC
*) 0 ;
19038 wxPoint
*arg2
= 0 ;
19044 PyObject
* obj0
= 0 ;
19045 PyObject
* obj1
= 0 ;
19046 PyObject
* obj2
= 0 ;
19047 char * kwnames
[] = {
19048 (char *) "self",(char *) "pt",(char *) "sz", NULL
19051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19053 if (!SWIG_IsOK(res1
)) {
19054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19056 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19059 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19063 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19068 wxPyEndAllowThreads(__tstate
);
19069 if (PyErr_Occurred()) SWIG_fail
;
19071 resultobj
= SWIG_Py_Void();
19078 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19079 PyObject
*resultobj
= 0;
19080 wxDC
*arg1
= (wxDC
*) 0 ;
19092 PyObject
* obj0
= 0 ;
19093 PyObject
* obj1
= 0 ;
19094 PyObject
* obj2
= 0 ;
19095 PyObject
* obj3
= 0 ;
19096 char * kwnames
[] = {
19097 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19102 if (!SWIG_IsOK(res1
)) {
19103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19105 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19106 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19107 if (!SWIG_IsOK(res2
)) {
19108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19113 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19114 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19115 if (!SWIG_IsOK(ecode3
)) {
19116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19118 arg3
= static_cast< int >(val3
);
19119 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19120 if (!SWIG_IsOK(ecode4
)) {
19121 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19123 arg4
= static_cast< int >(val4
);
19125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19126 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19127 wxPyEndAllowThreads(__tstate
);
19128 if (PyErr_Occurred()) SWIG_fail
;
19130 resultobj
= SWIG_Py_Void();
19137 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19138 PyObject
*resultobj
= 0;
19139 wxDC
*arg1
= (wxDC
*) 0 ;
19141 wxPoint
*arg3
= 0 ;
19147 PyObject
* obj0
= 0 ;
19148 PyObject
* obj1
= 0 ;
19149 PyObject
* obj2
= 0 ;
19150 char * kwnames
[] = {
19151 (char *) "self",(char *) "icon",(char *) "pt", NULL
19154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19156 if (!SWIG_IsOK(res1
)) {
19157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19159 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19160 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19161 if (!SWIG_IsOK(res2
)) {
19162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19167 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19170 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19174 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19175 wxPyEndAllowThreads(__tstate
);
19176 if (PyErr_Occurred()) SWIG_fail
;
19178 resultobj
= SWIG_Py_Void();
19185 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
= 0;
19187 wxDC
*arg1
= (wxDC
*) 0 ;
19188 wxBitmap
*arg2
= 0 ;
19191 bool arg5
= (bool) false ;
19202 PyObject
* obj0
= 0 ;
19203 PyObject
* obj1
= 0 ;
19204 PyObject
* obj2
= 0 ;
19205 PyObject
* obj3
= 0 ;
19206 PyObject
* obj4
= 0 ;
19207 char * kwnames
[] = {
19208 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19213 if (!SWIG_IsOK(res1
)) {
19214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19216 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19217 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19218 if (!SWIG_IsOK(res2
)) {
19219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19224 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19225 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19226 if (!SWIG_IsOK(ecode3
)) {
19227 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19229 arg3
= static_cast< int >(val3
);
19230 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19231 if (!SWIG_IsOK(ecode4
)) {
19232 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19234 arg4
= static_cast< int >(val4
);
19236 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19237 if (!SWIG_IsOK(ecode5
)) {
19238 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19240 arg5
= static_cast< bool >(val5
);
19243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19244 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19245 wxPyEndAllowThreads(__tstate
);
19246 if (PyErr_Occurred()) SWIG_fail
;
19248 resultobj
= SWIG_Py_Void();
19255 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19256 PyObject
*resultobj
= 0;
19257 wxDC
*arg1
= (wxDC
*) 0 ;
19258 wxBitmap
*arg2
= 0 ;
19259 wxPoint
*arg3
= 0 ;
19260 bool arg4
= (bool) false ;
19268 PyObject
* obj0
= 0 ;
19269 PyObject
* obj1
= 0 ;
19270 PyObject
* obj2
= 0 ;
19271 PyObject
* obj3
= 0 ;
19272 char * kwnames
[] = {
19273 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19278 if (!SWIG_IsOK(res1
)) {
19279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19281 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19282 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19283 if (!SWIG_IsOK(res2
)) {
19284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19289 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19292 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19295 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19296 if (!SWIG_IsOK(ecode4
)) {
19297 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19299 arg4
= static_cast< bool >(val4
);
19302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19303 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19304 wxPyEndAllowThreads(__tstate
);
19305 if (PyErr_Occurred()) SWIG_fail
;
19307 resultobj
= SWIG_Py_Void();
19314 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19315 PyObject
*resultobj
= 0;
19316 wxDC
*arg1
= (wxDC
*) 0 ;
19317 wxString
*arg2
= 0 ;
19322 bool temp2
= false ;
19327 PyObject
* obj0
= 0 ;
19328 PyObject
* obj1
= 0 ;
19329 PyObject
* obj2
= 0 ;
19330 PyObject
* obj3
= 0 ;
19331 char * kwnames
[] = {
19332 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19337 if (!SWIG_IsOK(res1
)) {
19338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19340 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19342 arg2
= wxString_in_helper(obj1
);
19343 if (arg2
== NULL
) SWIG_fail
;
19346 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19347 if (!SWIG_IsOK(ecode3
)) {
19348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19350 arg3
= static_cast< int >(val3
);
19351 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19352 if (!SWIG_IsOK(ecode4
)) {
19353 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19355 arg4
= static_cast< int >(val4
);
19357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19358 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19359 wxPyEndAllowThreads(__tstate
);
19360 if (PyErr_Occurred()) SWIG_fail
;
19362 resultobj
= SWIG_Py_Void();
19377 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19378 PyObject
*resultobj
= 0;
19379 wxDC
*arg1
= (wxDC
*) 0 ;
19380 wxString
*arg2
= 0 ;
19381 wxPoint
*arg3
= 0 ;
19384 bool temp2
= false ;
19386 PyObject
* obj0
= 0 ;
19387 PyObject
* obj1
= 0 ;
19388 PyObject
* obj2
= 0 ;
19389 char * kwnames
[] = {
19390 (char *) "self",(char *) "text",(char *) "pt", NULL
19393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19395 if (!SWIG_IsOK(res1
)) {
19396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19398 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19400 arg2
= wxString_in_helper(obj1
);
19401 if (arg2
== NULL
) SWIG_fail
;
19406 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19410 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19411 wxPyEndAllowThreads(__tstate
);
19412 if (PyErr_Occurred()) SWIG_fail
;
19414 resultobj
= SWIG_Py_Void();
19429 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19430 PyObject
*resultobj
= 0;
19431 wxDC
*arg1
= (wxDC
*) 0 ;
19432 wxString
*arg2
= 0 ;
19438 bool temp2
= false ;
19445 PyObject
* obj0
= 0 ;
19446 PyObject
* obj1
= 0 ;
19447 PyObject
* obj2
= 0 ;
19448 PyObject
* obj3
= 0 ;
19449 PyObject
* obj4
= 0 ;
19450 char * kwnames
[] = {
19451 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19456 if (!SWIG_IsOK(res1
)) {
19457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19459 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19461 arg2
= wxString_in_helper(obj1
);
19462 if (arg2
== NULL
) SWIG_fail
;
19465 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19466 if (!SWIG_IsOK(ecode3
)) {
19467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19469 arg3
= static_cast< int >(val3
);
19470 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19471 if (!SWIG_IsOK(ecode4
)) {
19472 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19474 arg4
= static_cast< int >(val4
);
19475 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19476 if (!SWIG_IsOK(ecode5
)) {
19477 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19479 arg5
= static_cast< double >(val5
);
19481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19482 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19483 wxPyEndAllowThreads(__tstate
);
19484 if (PyErr_Occurred()) SWIG_fail
;
19486 resultobj
= SWIG_Py_Void();
19501 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19502 PyObject
*resultobj
= 0;
19503 wxDC
*arg1
= (wxDC
*) 0 ;
19504 wxString
*arg2
= 0 ;
19505 wxPoint
*arg3
= 0 ;
19509 bool temp2
= false ;
19513 PyObject
* obj0
= 0 ;
19514 PyObject
* obj1
= 0 ;
19515 PyObject
* obj2
= 0 ;
19516 PyObject
* obj3
= 0 ;
19517 char * kwnames
[] = {
19518 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19523 if (!SWIG_IsOK(res1
)) {
19524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19526 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19528 arg2
= wxString_in_helper(obj1
);
19529 if (arg2
== NULL
) SWIG_fail
;
19534 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19536 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19537 if (!SWIG_IsOK(ecode4
)) {
19538 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19540 arg4
= static_cast< double >(val4
);
19542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19543 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19544 wxPyEndAllowThreads(__tstate
);
19545 if (PyErr_Occurred()) SWIG_fail
;
19547 resultobj
= SWIG_Py_Void();
19562 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19563 PyObject
*resultobj
= 0;
19564 wxDC
*arg1
= (wxDC
*) 0 ;
19569 wxDC
*arg6
= (wxDC
*) 0 ;
19572 int arg9
= (int) wxCOPY
;
19573 bool arg10
= (bool) false ;
19574 int arg11
= (int) -1 ;
19575 int arg12
= (int) -1 ;
19601 PyObject
* obj0
= 0 ;
19602 PyObject
* obj1
= 0 ;
19603 PyObject
* obj2
= 0 ;
19604 PyObject
* obj3
= 0 ;
19605 PyObject
* obj4
= 0 ;
19606 PyObject
* obj5
= 0 ;
19607 PyObject
* obj6
= 0 ;
19608 PyObject
* obj7
= 0 ;
19609 PyObject
* obj8
= 0 ;
19610 PyObject
* obj9
= 0 ;
19611 PyObject
* obj10
= 0 ;
19612 PyObject
* obj11
= 0 ;
19613 char * kwnames
[] = {
19614 (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
19617 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
;
19618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19619 if (!SWIG_IsOK(res1
)) {
19620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19622 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19624 if (!SWIG_IsOK(ecode2
)) {
19625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19627 arg2
= static_cast< int >(val2
);
19628 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19629 if (!SWIG_IsOK(ecode3
)) {
19630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19632 arg3
= static_cast< int >(val3
);
19633 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19634 if (!SWIG_IsOK(ecode4
)) {
19635 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19637 arg4
= static_cast< int >(val4
);
19638 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19639 if (!SWIG_IsOK(ecode5
)) {
19640 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19642 arg5
= static_cast< int >(val5
);
19643 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19644 if (!SWIG_IsOK(res6
)) {
19645 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19647 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19648 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19649 if (!SWIG_IsOK(ecode7
)) {
19650 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19652 arg7
= static_cast< int >(val7
);
19653 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19654 if (!SWIG_IsOK(ecode8
)) {
19655 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19657 arg8
= static_cast< int >(val8
);
19659 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19660 if (!SWIG_IsOK(ecode9
)) {
19661 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19663 arg9
= static_cast< int >(val9
);
19666 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19667 if (!SWIG_IsOK(ecode10
)) {
19668 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19670 arg10
= static_cast< bool >(val10
);
19673 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19674 if (!SWIG_IsOK(ecode11
)) {
19675 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19677 arg11
= static_cast< int >(val11
);
19680 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19681 if (!SWIG_IsOK(ecode12
)) {
19682 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19684 arg12
= static_cast< int >(val12
);
19687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19688 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19689 wxPyEndAllowThreads(__tstate
);
19690 if (PyErr_Occurred()) SWIG_fail
;
19693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19701 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
= 0;
19703 wxDC
*arg1
= (wxDC
*) 0 ;
19704 wxPoint
*arg2
= 0 ;
19706 wxDC
*arg4
= (wxDC
*) 0 ;
19707 wxPoint
*arg5
= 0 ;
19708 int arg6
= (int) wxCOPY
;
19709 bool arg7
= (bool) false ;
19710 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19711 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19725 PyObject
* obj0
= 0 ;
19726 PyObject
* obj1
= 0 ;
19727 PyObject
* obj2
= 0 ;
19728 PyObject
* obj3
= 0 ;
19729 PyObject
* obj4
= 0 ;
19730 PyObject
* obj5
= 0 ;
19731 PyObject
* obj6
= 0 ;
19732 PyObject
* obj7
= 0 ;
19733 char * kwnames
[] = {
19734 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19739 if (!SWIG_IsOK(res1
)) {
19740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19742 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19745 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19749 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19751 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19752 if (!SWIG_IsOK(res4
)) {
19753 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19755 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19758 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19761 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19762 if (!SWIG_IsOK(ecode6
)) {
19763 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19765 arg6
= static_cast< int >(val6
);
19768 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19769 if (!SWIG_IsOK(ecode7
)) {
19770 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19772 arg7
= static_cast< bool >(val7
);
19777 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19783 wxPyEndAllowThreads(__tstate
);
19784 if (PyErr_Occurred()) SWIG_fail
;
19787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19795 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19796 PyObject
*resultobj
= 0;
19797 wxDC
*arg1
= (wxDC
*) 0 ;
19798 wxRect
*arg2
= (wxRect
*) NULL
;
19799 SwigValueWrapper
<wxBitmap
> result
;
19804 PyObject
* obj0
= 0 ;
19805 PyObject
* obj1
= 0 ;
19806 char * kwnames
[] = {
19807 (char *) "self",(char *) "subrect", NULL
19810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19812 if (!SWIG_IsOK(res1
)) {
19813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19815 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19817 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
19818 if (!SWIG_IsOK(res2
)) {
19819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
19821 arg2
= reinterpret_cast< wxRect
* >(argp2
);
19824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19825 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
19826 wxPyEndAllowThreads(__tstate
);
19827 if (PyErr_Occurred()) SWIG_fail
;
19829 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19836 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19837 PyObject
*resultobj
= 0;
19838 wxDC
*arg1
= (wxDC
*) 0 ;
19853 PyObject
* obj0
= 0 ;
19854 PyObject
* obj1
= 0 ;
19855 PyObject
* obj2
= 0 ;
19856 PyObject
* obj3
= 0 ;
19857 PyObject
* obj4
= 0 ;
19858 char * kwnames
[] = {
19859 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19864 if (!SWIG_IsOK(res1
)) {
19865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19867 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19869 if (!SWIG_IsOK(ecode2
)) {
19870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19872 arg2
= static_cast< int >(val2
);
19873 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19874 if (!SWIG_IsOK(ecode3
)) {
19875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19877 arg3
= static_cast< int >(val3
);
19878 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19879 if (!SWIG_IsOK(ecode4
)) {
19880 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19882 arg4
= static_cast< int >(val4
);
19883 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19884 if (!SWIG_IsOK(ecode5
)) {
19885 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19887 arg5
= static_cast< int >(val5
);
19889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19890 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19891 wxPyEndAllowThreads(__tstate
);
19892 if (PyErr_Occurred()) SWIG_fail
;
19894 resultobj
= SWIG_Py_Void();
19901 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19902 PyObject
*resultobj
= 0;
19903 wxDC
*arg1
= (wxDC
*) 0 ;
19904 wxPoint
*arg2
= 0 ;
19910 PyObject
* obj0
= 0 ;
19911 PyObject
* obj1
= 0 ;
19912 PyObject
* obj2
= 0 ;
19913 char * kwnames
[] = {
19914 (char *) "self",(char *) "pt",(char *) "sz", NULL
19917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19919 if (!SWIG_IsOK(res1
)) {
19920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19922 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19925 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19929 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19933 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19934 wxPyEndAllowThreads(__tstate
);
19935 if (PyErr_Occurred()) SWIG_fail
;
19937 resultobj
= SWIG_Py_Void();
19944 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19945 PyObject
*resultobj
= 0;
19946 wxDC
*arg1
= (wxDC
*) 0 ;
19947 wxRegion
*arg2
= 0 ;
19952 PyObject
* obj0
= 0 ;
19953 PyObject
* obj1
= 0 ;
19954 char * kwnames
[] = {
19955 (char *) "self",(char *) "region", NULL
19958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19960 if (!SWIG_IsOK(res1
)) {
19961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19963 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19964 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19965 if (!SWIG_IsOK(res2
)) {
19966 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19971 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19974 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19975 wxPyEndAllowThreads(__tstate
);
19976 if (PyErr_Occurred()) SWIG_fail
;
19978 resultobj
= SWIG_Py_Void();
19985 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19986 PyObject
*resultobj
= 0;
19987 wxDC
*arg1
= (wxDC
*) 0 ;
19992 PyObject
* obj0
= 0 ;
19993 PyObject
* obj1
= 0 ;
19994 char * kwnames
[] = {
19995 (char *) "self",(char *) "rect", NULL
19998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20000 if (!SWIG_IsOK(res1
)) {
20001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20003 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20006 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20010 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20011 wxPyEndAllowThreads(__tstate
);
20012 if (PyErr_Occurred()) SWIG_fail
;
20014 resultobj
= SWIG_Py_Void();
20021 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20022 PyObject
*resultobj
= 0;
20023 wxDC
*arg1
= (wxDC
*) 0 ;
20025 wxPoint
*arg3
= (wxPoint
*) 0 ;
20026 int arg4
= (int) 0 ;
20027 int arg5
= (int) 0 ;
20034 PyObject
* obj0
= 0 ;
20035 PyObject
* obj1
= 0 ;
20036 PyObject
* obj2
= 0 ;
20037 PyObject
* obj3
= 0 ;
20038 char * kwnames
[] = {
20039 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20044 if (!SWIG_IsOK(res1
)) {
20045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20047 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20049 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20050 if (arg3
== NULL
) SWIG_fail
;
20053 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20054 if (!SWIG_IsOK(ecode4
)) {
20055 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20057 arg4
= static_cast< int >(val4
);
20060 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20061 if (!SWIG_IsOK(ecode5
)) {
20062 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20064 arg5
= static_cast< int >(val5
);
20067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20068 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20069 wxPyEndAllowThreads(__tstate
);
20070 if (PyErr_Occurred()) SWIG_fail
;
20072 resultobj
= SWIG_Py_Void();
20074 if (arg3
) delete [] arg3
;
20079 if (arg3
) delete [] arg3
;
20085 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20086 PyObject
*resultobj
= 0;
20087 wxDC
*arg1
= (wxDC
*) 0 ;
20089 wxPoint
*arg3
= (wxPoint
*) 0 ;
20090 int arg4
= (int) 0 ;
20091 int arg5
= (int) 0 ;
20092 int arg6
= (int) wxODDEVEN_RULE
;
20101 PyObject
* obj0
= 0 ;
20102 PyObject
* obj1
= 0 ;
20103 PyObject
* obj2
= 0 ;
20104 PyObject
* obj3
= 0 ;
20105 PyObject
* obj4
= 0 ;
20106 char * kwnames
[] = {
20107 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20112 if (!SWIG_IsOK(res1
)) {
20113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20115 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20117 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20118 if (arg3
== NULL
) SWIG_fail
;
20121 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20122 if (!SWIG_IsOK(ecode4
)) {
20123 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20125 arg4
= static_cast< int >(val4
);
20128 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20129 if (!SWIG_IsOK(ecode5
)) {
20130 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20132 arg5
= static_cast< int >(val5
);
20135 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20136 if (!SWIG_IsOK(ecode6
)) {
20137 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20139 arg6
= static_cast< int >(val6
);
20142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20143 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20144 wxPyEndAllowThreads(__tstate
);
20145 if (PyErr_Occurred()) SWIG_fail
;
20147 resultobj
= SWIG_Py_Void();
20149 if (arg3
) delete [] arg3
;
20154 if (arg3
) delete [] arg3
;
20160 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20161 PyObject
*resultobj
= 0;
20162 wxDC
*arg1
= (wxDC
*) 0 ;
20163 wxString
*arg2
= 0 ;
20165 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20166 int arg5
= (int) -1 ;
20169 bool temp2
= false ;
20175 PyObject
* obj0
= 0 ;
20176 PyObject
* obj1
= 0 ;
20177 PyObject
* obj2
= 0 ;
20178 PyObject
* obj3
= 0 ;
20179 PyObject
* obj4
= 0 ;
20180 char * kwnames
[] = {
20181 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20186 if (!SWIG_IsOK(res1
)) {
20187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20189 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20191 arg2
= wxString_in_helper(obj1
);
20192 if (arg2
== NULL
) SWIG_fail
;
20197 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20200 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20201 if (!SWIG_IsOK(ecode4
)) {
20202 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20204 arg4
= static_cast< int >(val4
);
20207 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20208 if (!SWIG_IsOK(ecode5
)) {
20209 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20211 arg5
= static_cast< int >(val5
);
20214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20215 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20216 wxPyEndAllowThreads(__tstate
);
20217 if (PyErr_Occurred()) SWIG_fail
;
20219 resultobj
= SWIG_Py_Void();
20234 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20235 PyObject
*resultobj
= 0;
20236 wxDC
*arg1
= (wxDC
*) 0 ;
20237 wxString
*arg2
= 0 ;
20238 wxBitmap
*arg3
= 0 ;
20240 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20241 int arg6
= (int) -1 ;
20245 bool temp2
= false ;
20253 PyObject
* obj0
= 0 ;
20254 PyObject
* obj1
= 0 ;
20255 PyObject
* obj2
= 0 ;
20256 PyObject
* obj3
= 0 ;
20257 PyObject
* obj4
= 0 ;
20258 PyObject
* obj5
= 0 ;
20259 char * kwnames
[] = {
20260 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20265 if (!SWIG_IsOK(res1
)) {
20266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20268 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20270 arg2
= wxString_in_helper(obj1
);
20271 if (arg2
== NULL
) SWIG_fail
;
20274 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20275 if (!SWIG_IsOK(res3
)) {
20276 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20281 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20284 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20287 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20288 if (!SWIG_IsOK(ecode5
)) {
20289 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20291 arg5
= static_cast< int >(val5
);
20294 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20295 if (!SWIG_IsOK(ecode6
)) {
20296 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20298 arg6
= static_cast< int >(val6
);
20301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20302 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20303 wxPyEndAllowThreads(__tstate
);
20304 if (PyErr_Occurred()) SWIG_fail
;
20306 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20321 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20322 PyObject
*resultobj
= 0;
20323 wxDC
*arg1
= (wxDC
*) 0 ;
20325 wxPoint
*arg3
= (wxPoint
*) 0 ;
20328 PyObject
* obj0
= 0 ;
20329 PyObject
* obj1
= 0 ;
20330 char * kwnames
[] = {
20331 (char *) "self",(char *) "points", NULL
20334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20336 if (!SWIG_IsOK(res1
)) {
20337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20339 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20341 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20342 if (arg3
== NULL
) SWIG_fail
;
20345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20346 (arg1
)->DrawSpline(arg2
,arg3
);
20347 wxPyEndAllowThreads(__tstate
);
20348 if (PyErr_Occurred()) SWIG_fail
;
20350 resultobj
= SWIG_Py_Void();
20352 if (arg3
) delete [] arg3
;
20357 if (arg3
) delete [] arg3
;
20363 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20364 PyObject
*resultobj
= 0;
20365 wxDC
*arg1
= (wxDC
*) 0 ;
20368 PyObject
*swig_obj
[1] ;
20370 if (!args
) SWIG_fail
;
20371 swig_obj
[0] = args
;
20372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20373 if (!SWIG_IsOK(res1
)) {
20374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20376 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20383 resultobj
= SWIG_Py_Void();
20390 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20391 PyObject
*resultobj
= 0;
20392 wxDC
*arg1
= (wxDC
*) 0 ;
20393 wxString
*arg2
= 0 ;
20397 bool temp2
= false ;
20398 PyObject
* obj0
= 0 ;
20399 PyObject
* obj1
= 0 ;
20400 char * kwnames
[] = {
20401 (char *) "self",(char *) "message", NULL
20404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20406 if (!SWIG_IsOK(res1
)) {
20407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20409 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20411 arg2
= wxString_in_helper(obj1
);
20412 if (arg2
== NULL
) SWIG_fail
;
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20418 wxPyEndAllowThreads(__tstate
);
20419 if (PyErr_Occurred()) SWIG_fail
;
20422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20438 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20439 PyObject
*resultobj
= 0;
20440 wxDC
*arg1
= (wxDC
*) 0 ;
20443 PyObject
*swig_obj
[1] ;
20445 if (!args
) SWIG_fail
;
20446 swig_obj
[0] = args
;
20447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20448 if (!SWIG_IsOK(res1
)) {
20449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20451 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20455 wxPyEndAllowThreads(__tstate
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20458 resultobj
= SWIG_Py_Void();
20465 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20466 PyObject
*resultobj
= 0;
20467 wxDC
*arg1
= (wxDC
*) 0 ;
20470 PyObject
*swig_obj
[1] ;
20472 if (!args
) SWIG_fail
;
20473 swig_obj
[0] = args
;
20474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20475 if (!SWIG_IsOK(res1
)) {
20476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20478 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20481 (arg1
)->StartPage();
20482 wxPyEndAllowThreads(__tstate
);
20483 if (PyErr_Occurred()) SWIG_fail
;
20485 resultobj
= SWIG_Py_Void();
20492 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20493 PyObject
*resultobj
= 0;
20494 wxDC
*arg1
= (wxDC
*) 0 ;
20497 PyObject
*swig_obj
[1] ;
20499 if (!args
) SWIG_fail
;
20500 swig_obj
[0] = args
;
20501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20502 if (!SWIG_IsOK(res1
)) {
20503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20505 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20509 wxPyEndAllowThreads(__tstate
);
20510 if (PyErr_Occurred()) SWIG_fail
;
20512 resultobj
= SWIG_Py_Void();
20519 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20520 PyObject
*resultobj
= 0;
20521 wxDC
*arg1
= (wxDC
*) 0 ;
20527 PyObject
* obj0
= 0 ;
20528 PyObject
* obj1
= 0 ;
20529 char * kwnames
[] = {
20530 (char *) "self",(char *) "font", NULL
20533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20535 if (!SWIG_IsOK(res1
)) {
20536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20538 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20539 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20540 if (!SWIG_IsOK(res2
)) {
20541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20546 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20549 (arg1
)->SetFont((wxFont
const &)*arg2
);
20550 wxPyEndAllowThreads(__tstate
);
20551 if (PyErr_Occurred()) SWIG_fail
;
20553 resultobj
= SWIG_Py_Void();
20560 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20561 PyObject
*resultobj
= 0;
20562 wxDC
*arg1
= (wxDC
*) 0 ;
20568 PyObject
* obj0
= 0 ;
20569 PyObject
* obj1
= 0 ;
20570 char * kwnames
[] = {
20571 (char *) "self",(char *) "pen", NULL
20574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20576 if (!SWIG_IsOK(res1
)) {
20577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20579 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20580 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20581 if (!SWIG_IsOK(res2
)) {
20582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20587 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20590 (arg1
)->SetPen((wxPen
const &)*arg2
);
20591 wxPyEndAllowThreads(__tstate
);
20592 if (PyErr_Occurred()) SWIG_fail
;
20594 resultobj
= SWIG_Py_Void();
20601 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20602 PyObject
*resultobj
= 0;
20603 wxDC
*arg1
= (wxDC
*) 0 ;
20604 wxBrush
*arg2
= 0 ;
20609 PyObject
* obj0
= 0 ;
20610 PyObject
* obj1
= 0 ;
20611 char * kwnames
[] = {
20612 (char *) "self",(char *) "brush", NULL
20615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20617 if (!SWIG_IsOK(res1
)) {
20618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20620 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20621 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20622 if (!SWIG_IsOK(res2
)) {
20623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20628 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20631 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20635 resultobj
= SWIG_Py_Void();
20642 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20643 PyObject
*resultobj
= 0;
20644 wxDC
*arg1
= (wxDC
*) 0 ;
20645 wxBrush
*arg2
= 0 ;
20650 PyObject
* obj0
= 0 ;
20651 PyObject
* obj1
= 0 ;
20652 char * kwnames
[] = {
20653 (char *) "self",(char *) "brush", NULL
20656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20658 if (!SWIG_IsOK(res1
)) {
20659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20661 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20662 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20663 if (!SWIG_IsOK(res2
)) {
20664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20669 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20672 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20673 wxPyEndAllowThreads(__tstate
);
20674 if (PyErr_Occurred()) SWIG_fail
;
20676 resultobj
= SWIG_Py_Void();
20683 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20684 PyObject
*resultobj
= 0;
20685 wxDC
*arg1
= (wxDC
*) 0 ;
20691 PyObject
* obj0
= 0 ;
20692 PyObject
* obj1
= 0 ;
20693 char * kwnames
[] = {
20694 (char *) "self",(char *) "mode", NULL
20697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20699 if (!SWIG_IsOK(res1
)) {
20700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20702 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20704 if (!SWIG_IsOK(ecode2
)) {
20705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20707 arg2
= static_cast< int >(val2
);
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 (arg1
)->SetBackgroundMode(arg2
);
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20714 resultobj
= SWIG_Py_Void();
20721 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20722 PyObject
*resultobj
= 0;
20723 wxDC
*arg1
= (wxDC
*) 0 ;
20724 wxPalette
*arg2
= 0 ;
20729 PyObject
* obj0
= 0 ;
20730 PyObject
* obj1
= 0 ;
20731 char * kwnames
[] = {
20732 (char *) "self",(char *) "palette", NULL
20735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20737 if (!SWIG_IsOK(res1
)) {
20738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20740 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20741 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20742 if (!SWIG_IsOK(res2
)) {
20743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20748 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20751 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20752 wxPyEndAllowThreads(__tstate
);
20753 if (PyErr_Occurred()) SWIG_fail
;
20755 resultobj
= SWIG_Py_Void();
20762 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20763 PyObject
*resultobj
= 0;
20764 wxDC
*arg1
= (wxDC
*) 0 ;
20767 PyObject
*swig_obj
[1] ;
20769 if (!args
) SWIG_fail
;
20770 swig_obj
[0] = args
;
20771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20772 if (!SWIG_IsOK(res1
)) {
20773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20775 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20778 (arg1
)->DestroyClippingRegion();
20779 wxPyEndAllowThreads(__tstate
);
20780 if (PyErr_Occurred()) SWIG_fail
;
20782 resultobj
= SWIG_Py_Void();
20789 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20790 PyObject
*resultobj
= 0;
20791 wxDC
*arg1
= (wxDC
*) 0 ;
20792 int *arg2
= (int *) 0 ;
20793 int *arg3
= (int *) 0 ;
20794 int *arg4
= (int *) 0 ;
20795 int *arg5
= (int *) 0 ;
20799 int res2
= SWIG_TMPOBJ
;
20801 int res3
= SWIG_TMPOBJ
;
20803 int res4
= SWIG_TMPOBJ
;
20805 int res5
= SWIG_TMPOBJ
;
20806 PyObject
*swig_obj
[1] ;
20812 if (!args
) SWIG_fail
;
20813 swig_obj
[0] = args
;
20814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20815 if (!SWIG_IsOK(res1
)) {
20816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20818 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20821 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20822 wxPyEndAllowThreads(__tstate
);
20823 if (PyErr_Occurred()) SWIG_fail
;
20825 resultobj
= SWIG_Py_Void();
20826 if (SWIG_IsTmpObj(res2
)) {
20827 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20829 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20830 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20832 if (SWIG_IsTmpObj(res3
)) {
20833 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20835 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20836 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20838 if (SWIG_IsTmpObj(res4
)) {
20839 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20841 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20842 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20844 if (SWIG_IsTmpObj(res5
)) {
20845 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20847 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20848 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20856 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20857 PyObject
*resultobj
= 0;
20858 wxDC
*arg1
= (wxDC
*) 0 ;
20862 PyObject
*swig_obj
[1] ;
20864 if (!args
) SWIG_fail
;
20865 swig_obj
[0] = args
;
20866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20867 if (!SWIG_IsOK(res1
)) {
20868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20870 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20873 result
= wxDC_GetClippingRect(arg1
);
20874 wxPyEndAllowThreads(__tstate
);
20875 if (PyErr_Occurred()) SWIG_fail
;
20877 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20884 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20885 PyObject
*resultobj
= 0;
20886 wxDC
*arg1
= (wxDC
*) 0 ;
20890 PyObject
*swig_obj
[1] ;
20892 if (!args
) SWIG_fail
;
20893 swig_obj
[0] = args
;
20894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20895 if (!SWIG_IsOK(res1
)) {
20896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20898 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20901 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20902 wxPyEndAllowThreads(__tstate
);
20903 if (PyErr_Occurred()) SWIG_fail
;
20905 resultobj
= SWIG_From_int(static_cast< int >(result
));
20912 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20913 PyObject
*resultobj
= 0;
20914 wxDC
*arg1
= (wxDC
*) 0 ;
20918 PyObject
*swig_obj
[1] ;
20920 if (!args
) SWIG_fail
;
20921 swig_obj
[0] = args
;
20922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20923 if (!SWIG_IsOK(res1
)) {
20924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20926 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20929 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20930 wxPyEndAllowThreads(__tstate
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20933 resultobj
= SWIG_From_int(static_cast< int >(result
));
20940 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20941 PyObject
*resultobj
= 0;
20942 wxDC
*arg1
= (wxDC
*) 0 ;
20943 wxString
*arg2
= 0 ;
20944 int *arg3
= (int *) 0 ;
20945 int *arg4
= (int *) 0 ;
20948 bool temp2
= false ;
20950 int res3
= SWIG_TMPOBJ
;
20952 int res4
= SWIG_TMPOBJ
;
20953 PyObject
* obj0
= 0 ;
20954 PyObject
* obj1
= 0 ;
20955 char * kwnames
[] = {
20956 (char *) "self",(char *) "string", NULL
20961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20963 if (!SWIG_IsOK(res1
)) {
20964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20966 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20968 arg2
= wxString_in_helper(obj1
);
20969 if (arg2
== NULL
) SWIG_fail
;
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20975 wxPyEndAllowThreads(__tstate
);
20976 if (PyErr_Occurred()) SWIG_fail
;
20978 resultobj
= SWIG_Py_Void();
20979 if (SWIG_IsTmpObj(res3
)) {
20980 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20982 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20983 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20985 if (SWIG_IsTmpObj(res4
)) {
20986 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20988 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20989 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21005 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21006 PyObject
*resultobj
= 0;
21007 wxDC
*arg1
= (wxDC
*) 0 ;
21008 wxString
*arg2
= 0 ;
21009 int *arg3
= (int *) 0 ;
21010 int *arg4
= (int *) 0 ;
21011 int *arg5
= (int *) 0 ;
21012 int *arg6
= (int *) 0 ;
21013 wxFont
*arg7
= (wxFont
*) NULL
;
21016 bool temp2
= false ;
21018 int res3
= SWIG_TMPOBJ
;
21020 int res4
= SWIG_TMPOBJ
;
21022 int res5
= SWIG_TMPOBJ
;
21024 int res6
= SWIG_TMPOBJ
;
21027 PyObject
* obj0
= 0 ;
21028 PyObject
* obj1
= 0 ;
21029 PyObject
* obj2
= 0 ;
21030 char * kwnames
[] = {
21031 (char *) "self",(char *) "string",(char *) "font", NULL
21038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21040 if (!SWIG_IsOK(res1
)) {
21041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21043 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21045 arg2
= wxString_in_helper(obj1
);
21046 if (arg2
== NULL
) SWIG_fail
;
21050 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21051 if (!SWIG_IsOK(res7
)) {
21052 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21054 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21058 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21059 wxPyEndAllowThreads(__tstate
);
21060 if (PyErr_Occurred()) SWIG_fail
;
21062 resultobj
= SWIG_Py_Void();
21063 if (SWIG_IsTmpObj(res3
)) {
21064 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21066 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21067 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21069 if (SWIG_IsTmpObj(res4
)) {
21070 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21072 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21073 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21075 if (SWIG_IsTmpObj(res5
)) {
21076 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21078 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21079 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21081 if (SWIG_IsTmpObj(res6
)) {
21082 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21084 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21085 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21101 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21102 PyObject
*resultobj
= 0;
21103 wxDC
*arg1
= (wxDC
*) 0 ;
21104 wxString
*arg2
= 0 ;
21105 int *arg3
= (int *) 0 ;
21106 int *arg4
= (int *) 0 ;
21107 int *arg5
= (int *) 0 ;
21108 wxFont
*arg6
= (wxFont
*) NULL
;
21111 bool temp2
= false ;
21113 int res3
= SWIG_TMPOBJ
;
21115 int res4
= SWIG_TMPOBJ
;
21117 int res5
= SWIG_TMPOBJ
;
21120 PyObject
* obj0
= 0 ;
21121 PyObject
* obj1
= 0 ;
21122 PyObject
* obj2
= 0 ;
21123 char * kwnames
[] = {
21124 (char *) "self",(char *) "text",(char *) "font", NULL
21130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21132 if (!SWIG_IsOK(res1
)) {
21133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21135 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21137 arg2
= wxString_in_helper(obj1
);
21138 if (arg2
== NULL
) SWIG_fail
;
21142 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21143 if (!SWIG_IsOK(res6
)) {
21144 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21146 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21150 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21151 wxPyEndAllowThreads(__tstate
);
21152 if (PyErr_Occurred()) SWIG_fail
;
21154 resultobj
= SWIG_Py_Void();
21155 if (SWIG_IsTmpObj(res3
)) {
21156 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21158 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21159 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21161 if (SWIG_IsTmpObj(res4
)) {
21162 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21164 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21165 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21167 if (SWIG_IsTmpObj(res5
)) {
21168 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21170 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21187 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21188 PyObject
*resultobj
= 0;
21189 wxDC
*arg1
= (wxDC
*) 0 ;
21190 wxString
*arg2
= 0 ;
21194 bool temp2
= false ;
21195 PyObject
* obj0
= 0 ;
21196 PyObject
* obj1
= 0 ;
21197 char * kwnames
[] = {
21198 (char *) "self",(char *) "text", NULL
21201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21203 if (!SWIG_IsOK(res1
)) {
21204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21206 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21208 arg2
= wxString_in_helper(obj1
);
21209 if (arg2
== NULL
) SWIG_fail
;
21213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21214 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21215 wxPyEndAllowThreads(__tstate
);
21216 if (PyErr_Occurred()) SWIG_fail
;
21219 resultobj
= wxArrayInt2PyList_helper(result
);
21235 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21236 PyObject
*resultobj
= 0;
21237 wxDC
*arg1
= (wxDC
*) 0 ;
21241 PyObject
*swig_obj
[1] ;
21243 if (!args
) SWIG_fail
;
21244 swig_obj
[0] = args
;
21245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21246 if (!SWIG_IsOK(res1
)) {
21247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21249 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21252 result
= (arg1
)->GetSize();
21253 wxPyEndAllowThreads(__tstate
);
21254 if (PyErr_Occurred()) SWIG_fail
;
21256 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21263 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21264 PyObject
*resultobj
= 0;
21265 wxDC
*arg1
= (wxDC
*) 0 ;
21266 int *arg2
= (int *) 0 ;
21267 int *arg3
= (int *) 0 ;
21271 int res2
= SWIG_TMPOBJ
;
21273 int res3
= SWIG_TMPOBJ
;
21274 PyObject
*swig_obj
[1] ;
21278 if (!args
) SWIG_fail
;
21279 swig_obj
[0] = args
;
21280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21281 if (!SWIG_IsOK(res1
)) {
21282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21284 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21287 (arg1
)->GetSize(arg2
,arg3
);
21288 wxPyEndAllowThreads(__tstate
);
21289 if (PyErr_Occurred()) SWIG_fail
;
21291 resultobj
= SWIG_Py_Void();
21292 if (SWIG_IsTmpObj(res2
)) {
21293 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21295 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21296 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21298 if (SWIG_IsTmpObj(res3
)) {
21299 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21301 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21302 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21310 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21311 PyObject
*resultobj
= 0;
21312 wxDC
*arg1
= (wxDC
*) 0 ;
21316 PyObject
*swig_obj
[1] ;
21318 if (!args
) SWIG_fail
;
21319 swig_obj
[0] = args
;
21320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21321 if (!SWIG_IsOK(res1
)) {
21322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21324 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21327 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21328 wxPyEndAllowThreads(__tstate
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21331 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21338 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21339 PyObject
*resultobj
= 0;
21340 wxDC
*arg1
= (wxDC
*) 0 ;
21341 int *arg2
= (int *) 0 ;
21342 int *arg3
= (int *) 0 ;
21346 int res2
= SWIG_TMPOBJ
;
21348 int res3
= SWIG_TMPOBJ
;
21349 PyObject
*swig_obj
[1] ;
21353 if (!args
) SWIG_fail
;
21354 swig_obj
[0] = args
;
21355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21356 if (!SWIG_IsOK(res1
)) {
21357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21359 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21362 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21363 wxPyEndAllowThreads(__tstate
);
21364 if (PyErr_Occurred()) SWIG_fail
;
21366 resultobj
= SWIG_Py_Void();
21367 if (SWIG_IsTmpObj(res2
)) {
21368 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21370 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21371 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21373 if (SWIG_IsTmpObj(res3
)) {
21374 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21376 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21377 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21385 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21386 PyObject
*resultobj
= 0;
21387 wxDC
*arg1
= (wxDC
*) 0 ;
21394 PyObject
* obj0
= 0 ;
21395 PyObject
* obj1
= 0 ;
21396 char * kwnames
[] = {
21397 (char *) "self",(char *) "x", NULL
21400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21402 if (!SWIG_IsOK(res1
)) {
21403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21405 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21407 if (!SWIG_IsOK(ecode2
)) {
21408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21410 arg2
= static_cast< int >(val2
);
21412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21413 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21414 wxPyEndAllowThreads(__tstate
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21417 resultobj
= SWIG_From_int(static_cast< int >(result
));
21424 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21425 PyObject
*resultobj
= 0;
21426 wxDC
*arg1
= (wxDC
*) 0 ;
21433 PyObject
* obj0
= 0 ;
21434 PyObject
* obj1
= 0 ;
21435 char * kwnames
[] = {
21436 (char *) "self",(char *) "y", NULL
21439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21441 if (!SWIG_IsOK(res1
)) {
21442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21444 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21446 if (!SWIG_IsOK(ecode2
)) {
21447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21449 arg2
= static_cast< int >(val2
);
21451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21452 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21453 wxPyEndAllowThreads(__tstate
);
21454 if (PyErr_Occurred()) SWIG_fail
;
21456 resultobj
= SWIG_From_int(static_cast< int >(result
));
21463 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21464 PyObject
*resultobj
= 0;
21465 wxDC
*arg1
= (wxDC
*) 0 ;
21472 PyObject
* obj0
= 0 ;
21473 PyObject
* obj1
= 0 ;
21474 char * kwnames
[] = {
21475 (char *) "self",(char *) "x", NULL
21478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21480 if (!SWIG_IsOK(res1
)) {
21481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21483 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21485 if (!SWIG_IsOK(ecode2
)) {
21486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21488 arg2
= static_cast< int >(val2
);
21490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21491 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21492 wxPyEndAllowThreads(__tstate
);
21493 if (PyErr_Occurred()) SWIG_fail
;
21495 resultobj
= SWIG_From_int(static_cast< int >(result
));
21502 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21503 PyObject
*resultobj
= 0;
21504 wxDC
*arg1
= (wxDC
*) 0 ;
21511 PyObject
* obj0
= 0 ;
21512 PyObject
* obj1
= 0 ;
21513 char * kwnames
[] = {
21514 (char *) "self",(char *) "y", NULL
21517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21519 if (!SWIG_IsOK(res1
)) {
21520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21522 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21524 if (!SWIG_IsOK(ecode2
)) {
21525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21527 arg2
= static_cast< int >(val2
);
21529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21530 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21531 wxPyEndAllowThreads(__tstate
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21534 resultobj
= SWIG_From_int(static_cast< int >(result
));
21541 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21542 PyObject
*resultobj
= 0;
21543 wxDC
*arg1
= (wxDC
*) 0 ;
21550 PyObject
* obj0
= 0 ;
21551 PyObject
* obj1
= 0 ;
21552 char * kwnames
[] = {
21553 (char *) "self",(char *) "x", NULL
21556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21558 if (!SWIG_IsOK(res1
)) {
21559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21561 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21563 if (!SWIG_IsOK(ecode2
)) {
21564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21566 arg2
= static_cast< int >(val2
);
21568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21569 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21570 wxPyEndAllowThreads(__tstate
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21573 resultobj
= SWIG_From_int(static_cast< int >(result
));
21580 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21581 PyObject
*resultobj
= 0;
21582 wxDC
*arg1
= (wxDC
*) 0 ;
21589 PyObject
* obj0
= 0 ;
21590 PyObject
* obj1
= 0 ;
21591 char * kwnames
[] = {
21592 (char *) "self",(char *) "y", NULL
21595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21597 if (!SWIG_IsOK(res1
)) {
21598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21600 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21602 if (!SWIG_IsOK(ecode2
)) {
21603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21605 arg2
= static_cast< int >(val2
);
21607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21608 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21609 wxPyEndAllowThreads(__tstate
);
21610 if (PyErr_Occurred()) SWIG_fail
;
21612 resultobj
= SWIG_From_int(static_cast< int >(result
));
21619 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21620 PyObject
*resultobj
= 0;
21621 wxDC
*arg1
= (wxDC
*) 0 ;
21628 PyObject
* obj0
= 0 ;
21629 PyObject
* obj1
= 0 ;
21630 char * kwnames
[] = {
21631 (char *) "self",(char *) "x", NULL
21634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21636 if (!SWIG_IsOK(res1
)) {
21637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21639 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21641 if (!SWIG_IsOK(ecode2
)) {
21642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21644 arg2
= static_cast< int >(val2
);
21646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21647 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21648 wxPyEndAllowThreads(__tstate
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21651 resultobj
= SWIG_From_int(static_cast< int >(result
));
21658 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21659 PyObject
*resultobj
= 0;
21660 wxDC
*arg1
= (wxDC
*) 0 ;
21667 PyObject
* obj0
= 0 ;
21668 PyObject
* obj1
= 0 ;
21669 char * kwnames
[] = {
21670 (char *) "self",(char *) "y", NULL
21673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21675 if (!SWIG_IsOK(res1
)) {
21676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21678 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21680 if (!SWIG_IsOK(ecode2
)) {
21681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21683 arg2
= static_cast< int >(val2
);
21685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21686 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21687 wxPyEndAllowThreads(__tstate
);
21688 if (PyErr_Occurred()) SWIG_fail
;
21690 resultobj
= SWIG_From_int(static_cast< int >(result
));
21697 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21698 PyObject
*resultobj
= 0;
21699 wxDC
*arg1
= (wxDC
*) 0 ;
21703 PyObject
*swig_obj
[1] ;
21705 if (!args
) SWIG_fail
;
21706 swig_obj
[0] = args
;
21707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21708 if (!SWIG_IsOK(res1
)) {
21709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21711 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21714 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21715 wxPyEndAllowThreads(__tstate
);
21716 if (PyErr_Occurred()) SWIG_fail
;
21719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21727 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21728 PyObject
*resultobj
= 0;
21729 wxDC
*arg1
= (wxDC
*) 0 ;
21733 PyObject
*swig_obj
[1] ;
21735 if (!args
) SWIG_fail
;
21736 swig_obj
[0] = args
;
21737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21738 if (!SWIG_IsOK(res1
)) {
21739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21741 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21744 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21745 wxPyEndAllowThreads(__tstate
);
21746 if (PyErr_Occurred()) SWIG_fail
;
21749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21757 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21758 PyObject
*resultobj
= 0;
21759 wxDC
*arg1
= (wxDC
*) 0 ;
21763 PyObject
*swig_obj
[1] ;
21765 if (!args
) SWIG_fail
;
21766 swig_obj
[0] = args
;
21767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21768 if (!SWIG_IsOK(res1
)) {
21769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21771 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21774 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21775 wxPyEndAllowThreads(__tstate
);
21776 if (PyErr_Occurred()) SWIG_fail
;
21778 resultobj
= SWIG_From_int(static_cast< int >(result
));
21785 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21786 PyObject
*resultobj
= 0;
21787 wxDC
*arg1
= (wxDC
*) 0 ;
21791 PyObject
*swig_obj
[1] ;
21793 if (!args
) SWIG_fail
;
21794 swig_obj
[0] = args
;
21795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21796 if (!SWIG_IsOK(res1
)) {
21797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21799 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21802 result
= ((wxDC
const *)arg1
)->GetPPI();
21803 wxPyEndAllowThreads(__tstate
);
21804 if (PyErr_Occurred()) SWIG_fail
;
21806 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21813 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21814 PyObject
*resultobj
= 0;
21815 wxDC
*arg1
= (wxDC
*) 0 ;
21819 PyObject
*swig_obj
[1] ;
21821 if (!args
) SWIG_fail
;
21822 swig_obj
[0] = args
;
21823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21824 if (!SWIG_IsOK(res1
)) {
21825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21827 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21830 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21831 wxPyEndAllowThreads(__tstate
);
21832 if (PyErr_Occurred()) SWIG_fail
;
21835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21843 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21844 PyObject
*resultobj
= 0;
21845 wxDC
*arg1
= (wxDC
*) 0 ;
21849 PyObject
*swig_obj
[1] ;
21851 if (!args
) SWIG_fail
;
21852 swig_obj
[0] = args
;
21853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21854 if (!SWIG_IsOK(res1
)) {
21855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21857 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21860 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21861 wxPyEndAllowThreads(__tstate
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21864 resultobj
= SWIG_From_int(static_cast< int >(result
));
21871 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21872 PyObject
*resultobj
= 0;
21873 wxDC
*arg1
= (wxDC
*) 0 ;
21874 wxBrush
*result
= 0 ;
21877 PyObject
*swig_obj
[1] ;
21879 if (!args
) SWIG_fail
;
21880 swig_obj
[0] = args
;
21881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21882 if (!SWIG_IsOK(res1
)) {
21883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21885 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21889 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21890 result
= (wxBrush
*) &_result_ref
;
21892 wxPyEndAllowThreads(__tstate
);
21893 if (PyErr_Occurred()) SWIG_fail
;
21896 wxBrush
* resultptr
= new wxBrush(*result
);
21897 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21905 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21906 PyObject
*resultobj
= 0;
21907 wxDC
*arg1
= (wxDC
*) 0 ;
21908 wxBrush
*result
= 0 ;
21911 PyObject
*swig_obj
[1] ;
21913 if (!args
) SWIG_fail
;
21914 swig_obj
[0] = args
;
21915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21916 if (!SWIG_IsOK(res1
)) {
21917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21919 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21923 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21924 result
= (wxBrush
*) &_result_ref
;
21926 wxPyEndAllowThreads(__tstate
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21930 wxBrush
* resultptr
= new wxBrush(*result
);
21931 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21939 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21940 PyObject
*resultobj
= 0;
21941 wxDC
*arg1
= (wxDC
*) 0 ;
21942 wxFont
*result
= 0 ;
21945 PyObject
*swig_obj
[1] ;
21947 if (!args
) SWIG_fail
;
21948 swig_obj
[0] = args
;
21949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21950 if (!SWIG_IsOK(res1
)) {
21951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21953 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21957 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21958 result
= (wxFont
*) &_result_ref
;
21960 wxPyEndAllowThreads(__tstate
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21964 wxFont
* resultptr
= new wxFont(*result
);
21965 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21973 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21974 PyObject
*resultobj
= 0;
21975 wxDC
*arg1
= (wxDC
*) 0 ;
21976 wxPen
*result
= 0 ;
21979 PyObject
*swig_obj
[1] ;
21981 if (!args
) SWIG_fail
;
21982 swig_obj
[0] = args
;
21983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21984 if (!SWIG_IsOK(res1
)) {
21985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21987 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21991 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21992 result
= (wxPen
*) &_result_ref
;
21994 wxPyEndAllowThreads(__tstate
);
21995 if (PyErr_Occurred()) SWIG_fail
;
21998 wxPen
* resultptr
= new wxPen(*result
);
21999 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22007 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22008 PyObject
*resultobj
= 0;
22009 wxDC
*arg1
= (wxDC
*) 0 ;
22010 wxColour
*result
= 0 ;
22013 PyObject
*swig_obj
[1] ;
22015 if (!args
) SWIG_fail
;
22016 swig_obj
[0] = args
;
22017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22018 if (!SWIG_IsOK(res1
)) {
22019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22021 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22025 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22026 result
= (wxColour
*) &_result_ref
;
22028 wxPyEndAllowThreads(__tstate
);
22029 if (PyErr_Occurred()) SWIG_fail
;
22031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22038 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22039 PyObject
*resultobj
= 0;
22040 wxDC
*arg1
= (wxDC
*) 0 ;
22041 wxColour
*result
= 0 ;
22044 PyObject
*swig_obj
[1] ;
22046 if (!args
) SWIG_fail
;
22047 swig_obj
[0] = args
;
22048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22049 if (!SWIG_IsOK(res1
)) {
22050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22052 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22056 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22057 result
= (wxColour
*) &_result_ref
;
22059 wxPyEndAllowThreads(__tstate
);
22060 if (PyErr_Occurred()) SWIG_fail
;
22062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22069 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22070 PyObject
*resultobj
= 0;
22071 wxDC
*arg1
= (wxDC
*) 0 ;
22072 wxColour
*arg2
= 0 ;
22076 PyObject
* obj0
= 0 ;
22077 PyObject
* obj1
= 0 ;
22078 char * kwnames
[] = {
22079 (char *) "self",(char *) "colour", NULL
22082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22084 if (!SWIG_IsOK(res1
)) {
22085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22087 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22090 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22094 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 resultobj
= SWIG_Py_Void();
22105 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
= 0;
22107 wxDC
*arg1
= (wxDC
*) 0 ;
22108 wxColour
*arg2
= 0 ;
22112 PyObject
* obj0
= 0 ;
22113 PyObject
* obj1
= 0 ;
22114 char * kwnames
[] = {
22115 (char *) "self",(char *) "colour", NULL
22118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22120 if (!SWIG_IsOK(res1
)) {
22121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22123 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22126 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22130 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22131 wxPyEndAllowThreads(__tstate
);
22132 if (PyErr_Occurred()) SWIG_fail
;
22134 resultobj
= SWIG_Py_Void();
22141 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22142 PyObject
*resultobj
= 0;
22143 wxDC
*arg1
= (wxDC
*) 0 ;
22147 PyObject
*swig_obj
[1] ;
22149 if (!args
) SWIG_fail
;
22150 swig_obj
[0] = args
;
22151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22152 if (!SWIG_IsOK(res1
)) {
22153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22155 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22158 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22159 wxPyEndAllowThreads(__tstate
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22162 resultobj
= SWIG_From_int(static_cast< int >(result
));
22169 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22170 PyObject
*resultobj
= 0;
22171 wxDC
*arg1
= (wxDC
*) 0 ;
22177 PyObject
* obj0
= 0 ;
22178 PyObject
* obj1
= 0 ;
22179 char * kwnames
[] = {
22180 (char *) "self",(char *) "mode", NULL
22183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22185 if (!SWIG_IsOK(res1
)) {
22186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22188 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22190 if (!SWIG_IsOK(ecode2
)) {
22191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22193 arg2
= static_cast< int >(val2
);
22195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22196 (arg1
)->SetMapMode(arg2
);
22197 wxPyEndAllowThreads(__tstate
);
22198 if (PyErr_Occurred()) SWIG_fail
;
22200 resultobj
= SWIG_Py_Void();
22207 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22208 PyObject
*resultobj
= 0;
22209 wxDC
*arg1
= (wxDC
*) 0 ;
22210 double *arg2
= (double *) 0 ;
22211 double *arg3
= (double *) 0 ;
22215 int res2
= SWIG_TMPOBJ
;
22217 int res3
= SWIG_TMPOBJ
;
22218 PyObject
*swig_obj
[1] ;
22222 if (!args
) SWIG_fail
;
22223 swig_obj
[0] = args
;
22224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22225 if (!SWIG_IsOK(res1
)) {
22226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22228 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22231 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22232 wxPyEndAllowThreads(__tstate
);
22233 if (PyErr_Occurred()) SWIG_fail
;
22235 resultobj
= SWIG_Py_Void();
22236 if (SWIG_IsTmpObj(res2
)) {
22237 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22239 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22240 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22242 if (SWIG_IsTmpObj(res3
)) {
22243 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22245 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22246 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22254 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22255 PyObject
*resultobj
= 0;
22256 wxDC
*arg1
= (wxDC
*) 0 ;
22265 PyObject
* obj0
= 0 ;
22266 PyObject
* obj1
= 0 ;
22267 PyObject
* obj2
= 0 ;
22268 char * kwnames
[] = {
22269 (char *) "self",(char *) "x",(char *) "y", NULL
22272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22274 if (!SWIG_IsOK(res1
)) {
22275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22277 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22278 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22279 if (!SWIG_IsOK(ecode2
)) {
22280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22282 arg2
= static_cast< double >(val2
);
22283 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22284 if (!SWIG_IsOK(ecode3
)) {
22285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22287 arg3
= static_cast< double >(val3
);
22289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22290 (arg1
)->SetUserScale(arg2
,arg3
);
22291 wxPyEndAllowThreads(__tstate
);
22292 if (PyErr_Occurred()) SWIG_fail
;
22294 resultobj
= SWIG_Py_Void();
22301 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22302 PyObject
*resultobj
= 0;
22303 wxDC
*arg1
= (wxDC
*) 0 ;
22304 double *arg2
= (double *) 0 ;
22305 double *arg3
= (double *) 0 ;
22309 int res2
= SWIG_TMPOBJ
;
22311 int res3
= SWIG_TMPOBJ
;
22312 PyObject
*swig_obj
[1] ;
22316 if (!args
) SWIG_fail
;
22317 swig_obj
[0] = args
;
22318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22319 if (!SWIG_IsOK(res1
)) {
22320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22322 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22325 (arg1
)->GetLogicalScale(arg2
,arg3
);
22326 wxPyEndAllowThreads(__tstate
);
22327 if (PyErr_Occurred()) SWIG_fail
;
22329 resultobj
= SWIG_Py_Void();
22330 if (SWIG_IsTmpObj(res2
)) {
22331 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22333 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22334 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22336 if (SWIG_IsTmpObj(res3
)) {
22337 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22339 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22340 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22348 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22349 PyObject
*resultobj
= 0;
22350 wxDC
*arg1
= (wxDC
*) 0 ;
22359 PyObject
* obj0
= 0 ;
22360 PyObject
* obj1
= 0 ;
22361 PyObject
* obj2
= 0 ;
22362 char * kwnames
[] = {
22363 (char *) "self",(char *) "x",(char *) "y", NULL
22366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22368 if (!SWIG_IsOK(res1
)) {
22369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22371 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22372 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22373 if (!SWIG_IsOK(ecode2
)) {
22374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22376 arg2
= static_cast< double >(val2
);
22377 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22378 if (!SWIG_IsOK(ecode3
)) {
22379 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22381 arg3
= static_cast< double >(val3
);
22383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22384 (arg1
)->SetLogicalScale(arg2
,arg3
);
22385 wxPyEndAllowThreads(__tstate
);
22386 if (PyErr_Occurred()) SWIG_fail
;
22388 resultobj
= SWIG_Py_Void();
22395 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22396 PyObject
*resultobj
= 0;
22397 wxDC
*arg1
= (wxDC
*) 0 ;
22401 PyObject
*swig_obj
[1] ;
22403 if (!args
) SWIG_fail
;
22404 swig_obj
[0] = args
;
22405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22406 if (!SWIG_IsOK(res1
)) {
22407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22409 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22413 wxPyEndAllowThreads(__tstate
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22416 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22423 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22424 PyObject
*resultobj
= 0;
22425 wxDC
*arg1
= (wxDC
*) 0 ;
22426 int *arg2
= (int *) 0 ;
22427 int *arg3
= (int *) 0 ;
22431 int res2
= SWIG_TMPOBJ
;
22433 int res3
= SWIG_TMPOBJ
;
22434 PyObject
*swig_obj
[1] ;
22438 if (!args
) SWIG_fail
;
22439 swig_obj
[0] = args
;
22440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22441 if (!SWIG_IsOK(res1
)) {
22442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22444 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22447 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22448 wxPyEndAllowThreads(__tstate
);
22449 if (PyErr_Occurred()) SWIG_fail
;
22451 resultobj
= SWIG_Py_Void();
22452 if (SWIG_IsTmpObj(res2
)) {
22453 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22455 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22456 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22458 if (SWIG_IsTmpObj(res3
)) {
22459 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22461 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22462 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22470 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22471 PyObject
*resultobj
= 0;
22472 wxDC
*arg1
= (wxDC
*) 0 ;
22481 PyObject
* obj0
= 0 ;
22482 PyObject
* obj1
= 0 ;
22483 PyObject
* obj2
= 0 ;
22484 char * kwnames
[] = {
22485 (char *) "self",(char *) "x",(char *) "y", NULL
22488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22490 if (!SWIG_IsOK(res1
)) {
22491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22493 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22495 if (!SWIG_IsOK(ecode2
)) {
22496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22498 arg2
= static_cast< int >(val2
);
22499 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22500 if (!SWIG_IsOK(ecode3
)) {
22501 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22503 arg3
= static_cast< int >(val3
);
22505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22506 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22507 wxPyEndAllowThreads(__tstate
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22510 resultobj
= SWIG_Py_Void();
22517 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22518 PyObject
*resultobj
= 0;
22519 wxDC
*arg1
= (wxDC
*) 0 ;
22520 wxPoint
*arg2
= 0 ;
22524 PyObject
* obj0
= 0 ;
22525 PyObject
* obj1
= 0 ;
22526 char * kwnames
[] = {
22527 (char *) "self",(char *) "point", NULL
22530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22532 if (!SWIG_IsOK(res1
)) {
22533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22535 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22538 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22542 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22543 wxPyEndAllowThreads(__tstate
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22546 resultobj
= SWIG_Py_Void();
22553 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22554 PyObject
*resultobj
= 0;
22555 wxDC
*arg1
= (wxDC
*) 0 ;
22559 PyObject
*swig_obj
[1] ;
22561 if (!args
) SWIG_fail
;
22562 swig_obj
[0] = args
;
22563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22564 if (!SWIG_IsOK(res1
)) {
22565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22567 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22570 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22571 wxPyEndAllowThreads(__tstate
);
22572 if (PyErr_Occurred()) SWIG_fail
;
22574 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22581 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22582 PyObject
*resultobj
= 0;
22583 wxDC
*arg1
= (wxDC
*) 0 ;
22584 int *arg2
= (int *) 0 ;
22585 int *arg3
= (int *) 0 ;
22589 int res2
= SWIG_TMPOBJ
;
22591 int res3
= SWIG_TMPOBJ
;
22592 PyObject
*swig_obj
[1] ;
22596 if (!args
) SWIG_fail
;
22597 swig_obj
[0] = args
;
22598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22599 if (!SWIG_IsOK(res1
)) {
22600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22602 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22605 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22606 wxPyEndAllowThreads(__tstate
);
22607 if (PyErr_Occurred()) SWIG_fail
;
22609 resultobj
= SWIG_Py_Void();
22610 if (SWIG_IsTmpObj(res2
)) {
22611 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22613 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22614 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22616 if (SWIG_IsTmpObj(res3
)) {
22617 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22619 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22620 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22628 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22629 PyObject
*resultobj
= 0;
22630 wxDC
*arg1
= (wxDC
*) 0 ;
22639 PyObject
* obj0
= 0 ;
22640 PyObject
* obj1
= 0 ;
22641 PyObject
* obj2
= 0 ;
22642 char * kwnames
[] = {
22643 (char *) "self",(char *) "x",(char *) "y", NULL
22646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22648 if (!SWIG_IsOK(res1
)) {
22649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22651 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22653 if (!SWIG_IsOK(ecode2
)) {
22654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22656 arg2
= static_cast< int >(val2
);
22657 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22658 if (!SWIG_IsOK(ecode3
)) {
22659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22661 arg3
= static_cast< int >(val3
);
22663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22664 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22665 wxPyEndAllowThreads(__tstate
);
22666 if (PyErr_Occurred()) SWIG_fail
;
22668 resultobj
= SWIG_Py_Void();
22675 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22676 PyObject
*resultobj
= 0;
22677 wxDC
*arg1
= (wxDC
*) 0 ;
22678 wxPoint
*arg2
= 0 ;
22682 PyObject
* obj0
= 0 ;
22683 PyObject
* obj1
= 0 ;
22684 char * kwnames
[] = {
22685 (char *) "self",(char *) "point", NULL
22688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22690 if (!SWIG_IsOK(res1
)) {
22691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22693 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22696 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22700 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22701 wxPyEndAllowThreads(__tstate
);
22702 if (PyErr_Occurred()) SWIG_fail
;
22704 resultobj
= SWIG_Py_Void();
22711 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22712 PyObject
*resultobj
= 0;
22713 wxDC
*arg1
= (wxDC
*) 0 ;
22722 PyObject
* obj0
= 0 ;
22723 PyObject
* obj1
= 0 ;
22724 PyObject
* obj2
= 0 ;
22725 char * kwnames
[] = {
22726 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22731 if (!SWIG_IsOK(res1
)) {
22732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22734 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22735 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22736 if (!SWIG_IsOK(ecode2
)) {
22737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22739 arg2
= static_cast< bool >(val2
);
22740 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22741 if (!SWIG_IsOK(ecode3
)) {
22742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22744 arg3
= static_cast< bool >(val3
);
22746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22747 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22748 wxPyEndAllowThreads(__tstate
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22751 resultobj
= SWIG_Py_Void();
22758 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22759 PyObject
*resultobj
= 0;
22760 wxDC
*arg1
= (wxDC
*) 0 ;
22764 PyObject
*swig_obj
[1] ;
22766 if (!args
) SWIG_fail
;
22767 swig_obj
[0] = args
;
22768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22769 if (!SWIG_IsOK(res1
)) {
22770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22772 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22775 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22776 wxPyEndAllowThreads(__tstate
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22779 resultobj
= SWIG_From_int(static_cast< int >(result
));
22786 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22787 PyObject
*resultobj
= 0;
22788 wxDC
*arg1
= (wxDC
*) 0 ;
22794 PyObject
* obj0
= 0 ;
22795 PyObject
* obj1
= 0 ;
22796 char * kwnames
[] = {
22797 (char *) "self",(char *) "function", NULL
22800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22802 if (!SWIG_IsOK(res1
)) {
22803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22805 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22807 if (!SWIG_IsOK(ecode2
)) {
22808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22810 arg2
= static_cast< int >(val2
);
22812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22813 (arg1
)->SetLogicalFunction(arg2
);
22814 wxPyEndAllowThreads(__tstate
);
22815 if (PyErr_Occurred()) SWIG_fail
;
22817 resultobj
= SWIG_Py_Void();
22824 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22825 PyObject
*resultobj
= 0;
22826 wxDC
*arg1
= (wxDC
*) 0 ;
22829 PyObject
*swig_obj
[1] ;
22831 if (!args
) SWIG_fail
;
22832 swig_obj
[0] = args
;
22833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22834 if (!SWIG_IsOK(res1
)) {
22835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22837 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22840 (arg1
)->ComputeScaleAndOrigin();
22841 wxPyEndAllowThreads(__tstate
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22844 resultobj
= SWIG_Py_Void();
22851 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22852 PyObject
*resultobj
= 0;
22853 wxDC
*arg1
= (wxDC
*) 0 ;
22862 PyObject
* obj0
= 0 ;
22863 PyObject
* obj1
= 0 ;
22864 PyObject
* obj2
= 0 ;
22865 char * kwnames
[] = {
22866 (char *) "self",(char *) "x",(char *) "y", NULL
22869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22871 if (!SWIG_IsOK(res1
)) {
22872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22874 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22876 if (!SWIG_IsOK(ecode2
)) {
22877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22879 arg2
= static_cast< int >(val2
);
22880 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22881 if (!SWIG_IsOK(ecode3
)) {
22882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22884 arg3
= static_cast< int >(val3
);
22886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22887 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22888 wxPyEndAllowThreads(__tstate
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22891 resultobj
= SWIG_Py_Void();
22898 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22899 PyObject
*resultobj
= 0;
22900 wxDC
*arg1
= (wxDC
*) 0 ;
22901 wxPoint
*arg2
= 0 ;
22905 PyObject
* obj0
= 0 ;
22906 PyObject
* obj1
= 0 ;
22907 char * kwnames
[] = {
22908 (char *) "self",(char *) "point", NULL
22911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22913 if (!SWIG_IsOK(res1
)) {
22914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22916 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22919 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22923 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22924 wxPyEndAllowThreads(__tstate
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22927 resultobj
= SWIG_Py_Void();
22934 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22935 PyObject
*resultobj
= 0;
22936 wxDC
*arg1
= (wxDC
*) 0 ;
22939 PyObject
*swig_obj
[1] ;
22941 if (!args
) SWIG_fail
;
22942 swig_obj
[0] = args
;
22943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22944 if (!SWIG_IsOK(res1
)) {
22945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22947 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22950 (arg1
)->ResetBoundingBox();
22951 wxPyEndAllowThreads(__tstate
);
22952 if (PyErr_Occurred()) SWIG_fail
;
22954 resultobj
= SWIG_Py_Void();
22961 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22962 PyObject
*resultobj
= 0;
22963 wxDC
*arg1
= (wxDC
*) 0 ;
22967 PyObject
*swig_obj
[1] ;
22969 if (!args
) SWIG_fail
;
22970 swig_obj
[0] = args
;
22971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22972 if (!SWIG_IsOK(res1
)) {
22973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22975 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22978 result
= (int)((wxDC
const *)arg1
)->MinX();
22979 wxPyEndAllowThreads(__tstate
);
22980 if (PyErr_Occurred()) SWIG_fail
;
22982 resultobj
= SWIG_From_int(static_cast< int >(result
));
22989 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22990 PyObject
*resultobj
= 0;
22991 wxDC
*arg1
= (wxDC
*) 0 ;
22995 PyObject
*swig_obj
[1] ;
22997 if (!args
) SWIG_fail
;
22998 swig_obj
[0] = args
;
22999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23000 if (!SWIG_IsOK(res1
)) {
23001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23003 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23006 result
= (int)((wxDC
const *)arg1
)->MaxX();
23007 wxPyEndAllowThreads(__tstate
);
23008 if (PyErr_Occurred()) SWIG_fail
;
23010 resultobj
= SWIG_From_int(static_cast< int >(result
));
23017 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23018 PyObject
*resultobj
= 0;
23019 wxDC
*arg1
= (wxDC
*) 0 ;
23023 PyObject
*swig_obj
[1] ;
23025 if (!args
) SWIG_fail
;
23026 swig_obj
[0] = args
;
23027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23028 if (!SWIG_IsOK(res1
)) {
23029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23031 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23034 result
= (int)((wxDC
const *)arg1
)->MinY();
23035 wxPyEndAllowThreads(__tstate
);
23036 if (PyErr_Occurred()) SWIG_fail
;
23038 resultobj
= SWIG_From_int(static_cast< int >(result
));
23045 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23046 PyObject
*resultobj
= 0;
23047 wxDC
*arg1
= (wxDC
*) 0 ;
23051 PyObject
*swig_obj
[1] ;
23053 if (!args
) SWIG_fail
;
23054 swig_obj
[0] = args
;
23055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23056 if (!SWIG_IsOK(res1
)) {
23057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23059 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23062 result
= (int)((wxDC
const *)arg1
)->MaxY();
23063 wxPyEndAllowThreads(__tstate
);
23064 if (PyErr_Occurred()) SWIG_fail
;
23066 resultobj
= SWIG_From_int(static_cast< int >(result
));
23073 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23074 PyObject
*resultobj
= 0;
23075 wxDC
*arg1
= (wxDC
*) 0 ;
23076 int *arg2
= (int *) 0 ;
23077 int *arg3
= (int *) 0 ;
23078 int *arg4
= (int *) 0 ;
23079 int *arg5
= (int *) 0 ;
23083 int res2
= SWIG_TMPOBJ
;
23085 int res3
= SWIG_TMPOBJ
;
23087 int res4
= SWIG_TMPOBJ
;
23089 int res5
= SWIG_TMPOBJ
;
23090 PyObject
*swig_obj
[1] ;
23096 if (!args
) SWIG_fail
;
23097 swig_obj
[0] = args
;
23098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23099 if (!SWIG_IsOK(res1
)) {
23100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23102 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23105 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23106 wxPyEndAllowThreads(__tstate
);
23107 if (PyErr_Occurred()) SWIG_fail
;
23109 resultobj
= SWIG_Py_Void();
23110 if (SWIG_IsTmpObj(res2
)) {
23111 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23113 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23114 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23116 if (SWIG_IsTmpObj(res3
)) {
23117 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23119 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23120 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23122 if (SWIG_IsTmpObj(res4
)) {
23123 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23125 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23126 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23128 if (SWIG_IsTmpObj(res5
)) {
23129 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23131 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23132 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23140 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23141 PyObject
*resultobj
= 0;
23142 wxDC
*arg1
= (wxDC
*) 0 ;
23143 wxLayoutDirection result
;
23146 PyObject
*swig_obj
[1] ;
23148 if (!args
) SWIG_fail
;
23149 swig_obj
[0] = args
;
23150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23151 if (!SWIG_IsOK(res1
)) {
23152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23154 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23157 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23158 wxPyEndAllowThreads(__tstate
);
23159 if (PyErr_Occurred()) SWIG_fail
;
23161 resultobj
= SWIG_From_int(static_cast< int >(result
));
23168 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23169 PyObject
*resultobj
= 0;
23170 wxDC
*arg1
= (wxDC
*) 0 ;
23171 wxLayoutDirection arg2
;
23176 PyObject
* obj0
= 0 ;
23177 PyObject
* obj1
= 0 ;
23178 char * kwnames
[] = {
23179 (char *) "self",(char *) "dir", NULL
23182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23184 if (!SWIG_IsOK(res1
)) {
23185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23187 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23189 if (!SWIG_IsOK(ecode2
)) {
23190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23192 arg2
= static_cast< wxLayoutDirection
>(val2
);
23194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23195 (arg1
)->SetLayoutDirection(arg2
);
23196 wxPyEndAllowThreads(__tstate
);
23197 if (PyErr_Occurred()) SWIG_fail
;
23199 resultobj
= SWIG_Py_Void();
23206 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23207 PyObject
*resultobj
= 0;
23208 wxDC
*arg1
= (wxDC
*) 0 ;
23209 PyObject
*arg2
= (PyObject
*) 0 ;
23210 PyObject
*arg3
= (PyObject
*) 0 ;
23211 PyObject
*arg4
= (PyObject
*) 0 ;
23212 PyObject
*result
= 0 ;
23215 PyObject
* obj0
= 0 ;
23216 PyObject
* obj1
= 0 ;
23217 PyObject
* obj2
= 0 ;
23218 PyObject
* obj3
= 0 ;
23219 char * kwnames
[] = {
23220 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23225 if (!SWIG_IsOK(res1
)) {
23226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23228 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23234 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23235 wxPyEndAllowThreads(__tstate
);
23236 if (PyErr_Occurred()) SWIG_fail
;
23238 resultobj
= result
;
23245 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23246 PyObject
*resultobj
= 0;
23247 wxDC
*arg1
= (wxDC
*) 0 ;
23248 PyObject
*arg2
= (PyObject
*) 0 ;
23249 PyObject
*arg3
= (PyObject
*) 0 ;
23250 PyObject
*arg4
= (PyObject
*) 0 ;
23251 PyObject
*result
= 0 ;
23254 PyObject
* obj0
= 0 ;
23255 PyObject
* obj1
= 0 ;
23256 PyObject
* obj2
= 0 ;
23257 PyObject
* obj3
= 0 ;
23258 char * kwnames
[] = {
23259 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23264 if (!SWIG_IsOK(res1
)) {
23265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23267 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23273 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23274 wxPyEndAllowThreads(__tstate
);
23275 if (PyErr_Occurred()) SWIG_fail
;
23277 resultobj
= result
;
23284 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23285 PyObject
*resultobj
= 0;
23286 wxDC
*arg1
= (wxDC
*) 0 ;
23287 PyObject
*arg2
= (PyObject
*) 0 ;
23288 PyObject
*arg3
= (PyObject
*) 0 ;
23289 PyObject
*arg4
= (PyObject
*) 0 ;
23290 PyObject
*result
= 0 ;
23293 PyObject
* obj0
= 0 ;
23294 PyObject
* obj1
= 0 ;
23295 PyObject
* obj2
= 0 ;
23296 PyObject
* obj3
= 0 ;
23297 char * kwnames
[] = {
23298 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23303 if (!SWIG_IsOK(res1
)) {
23304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23306 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23312 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23313 wxPyEndAllowThreads(__tstate
);
23314 if (PyErr_Occurred()) SWIG_fail
;
23316 resultobj
= result
;
23323 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23324 PyObject
*resultobj
= 0;
23325 wxDC
*arg1
= (wxDC
*) 0 ;
23326 PyObject
*arg2
= (PyObject
*) 0 ;
23327 PyObject
*arg3
= (PyObject
*) 0 ;
23328 PyObject
*arg4
= (PyObject
*) 0 ;
23329 PyObject
*result
= 0 ;
23332 PyObject
* obj0
= 0 ;
23333 PyObject
* obj1
= 0 ;
23334 PyObject
* obj2
= 0 ;
23335 PyObject
* obj3
= 0 ;
23336 char * kwnames
[] = {
23337 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23342 if (!SWIG_IsOK(res1
)) {
23343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23345 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23351 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23352 wxPyEndAllowThreads(__tstate
);
23353 if (PyErr_Occurred()) SWIG_fail
;
23355 resultobj
= result
;
23362 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23363 PyObject
*resultobj
= 0;
23364 wxDC
*arg1
= (wxDC
*) 0 ;
23365 PyObject
*arg2
= (PyObject
*) 0 ;
23366 PyObject
*arg3
= (PyObject
*) 0 ;
23367 PyObject
*arg4
= (PyObject
*) 0 ;
23368 PyObject
*result
= 0 ;
23371 PyObject
* obj0
= 0 ;
23372 PyObject
* obj1
= 0 ;
23373 PyObject
* obj2
= 0 ;
23374 PyObject
* obj3
= 0 ;
23375 char * kwnames
[] = {
23376 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23381 if (!SWIG_IsOK(res1
)) {
23382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23384 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23390 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23391 wxPyEndAllowThreads(__tstate
);
23392 if (PyErr_Occurred()) SWIG_fail
;
23394 resultobj
= result
;
23401 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
= 0;
23403 wxDC
*arg1
= (wxDC
*) 0 ;
23404 PyObject
*arg2
= (PyObject
*) 0 ;
23405 PyObject
*arg3
= (PyObject
*) 0 ;
23406 PyObject
*arg4
= (PyObject
*) 0 ;
23407 PyObject
*arg5
= (PyObject
*) 0 ;
23408 PyObject
*result
= 0 ;
23411 PyObject
* obj0
= 0 ;
23412 PyObject
* obj1
= 0 ;
23413 PyObject
* obj2
= 0 ;
23414 PyObject
* obj3
= 0 ;
23415 PyObject
* obj4
= 0 ;
23416 char * kwnames
[] = {
23417 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23422 if (!SWIG_IsOK(res1
)) {
23423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23425 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23432 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23433 wxPyEndAllowThreads(__tstate
);
23434 if (PyErr_Occurred()) SWIG_fail
;
23436 resultobj
= result
;
23443 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23445 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23446 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23447 return SWIG_Py_Void();
23450 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23451 PyObject
*resultobj
= 0;
23453 wxColour
*arg2
= 0 ;
23454 wxDCTextColourChanger
*result
= 0 ;
23458 PyObject
* obj0
= 0 ;
23459 PyObject
* obj1
= 0 ;
23460 char * kwnames
[] = {
23461 (char *) "dc",(char *) "col", NULL
23464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23465 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23466 if (!SWIG_IsOK(res1
)) {
23467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23470 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23472 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23475 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23479 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23480 wxPyEndAllowThreads(__tstate
);
23481 if (PyErr_Occurred()) SWIG_fail
;
23483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23490 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23491 PyObject
*resultobj
= 0;
23492 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23495 PyObject
*swig_obj
[1] ;
23497 if (!args
) SWIG_fail
;
23498 swig_obj
[0] = args
;
23499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23500 if (!SWIG_IsOK(res1
)) {
23501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23503 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23508 wxPyEndAllowThreads(__tstate
);
23509 if (PyErr_Occurred()) SWIG_fail
;
23511 resultobj
= SWIG_Py_Void();
23518 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23520 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23521 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23522 return SWIG_Py_Void();
23525 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23526 return SWIG_Python_InitShadowInstance(args
);
23529 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23530 PyObject
*resultobj
= 0;
23533 wxDCPenChanger
*result
= 0 ;
23538 PyObject
* obj0
= 0 ;
23539 PyObject
* obj1
= 0 ;
23540 char * kwnames
[] = {
23541 (char *) "dc",(char *) "pen", NULL
23544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23545 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23546 if (!SWIG_IsOK(res1
)) {
23547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23552 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23553 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23554 if (!SWIG_IsOK(res2
)) {
23555 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23560 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23563 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23564 wxPyEndAllowThreads(__tstate
);
23565 if (PyErr_Occurred()) SWIG_fail
;
23567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23574 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23575 PyObject
*resultobj
= 0;
23576 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23579 PyObject
*swig_obj
[1] ;
23581 if (!args
) SWIG_fail
;
23582 swig_obj
[0] = args
;
23583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23584 if (!SWIG_IsOK(res1
)) {
23585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23587 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23592 wxPyEndAllowThreads(__tstate
);
23593 if (PyErr_Occurred()) SWIG_fail
;
23595 resultobj
= SWIG_Py_Void();
23602 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23604 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23605 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23606 return SWIG_Py_Void();
23609 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23610 return SWIG_Python_InitShadowInstance(args
);
23613 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23614 PyObject
*resultobj
= 0;
23616 wxBrush
*arg2
= 0 ;
23617 wxDCBrushChanger
*result
= 0 ;
23622 PyObject
* obj0
= 0 ;
23623 PyObject
* obj1
= 0 ;
23624 char * kwnames
[] = {
23625 (char *) "dc",(char *) "brush", NULL
23628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23629 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23630 if (!SWIG_IsOK(res1
)) {
23631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23634 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23636 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23637 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23638 if (!SWIG_IsOK(res2
)) {
23639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23642 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23644 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23647 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23648 wxPyEndAllowThreads(__tstate
);
23649 if (PyErr_Occurred()) SWIG_fail
;
23651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23658 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23659 PyObject
*resultobj
= 0;
23660 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23663 PyObject
*swig_obj
[1] ;
23665 if (!args
) SWIG_fail
;
23666 swig_obj
[0] = args
;
23667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23668 if (!SWIG_IsOK(res1
)) {
23669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23671 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23676 wxPyEndAllowThreads(__tstate
);
23677 if (PyErr_Occurred()) SWIG_fail
;
23679 resultobj
= SWIG_Py_Void();
23686 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23688 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23689 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23690 return SWIG_Py_Void();
23693 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23694 return SWIG_Python_InitShadowInstance(args
);
23697 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23698 PyObject
*resultobj
= 0;
23700 wxRegion
*arg2
= 0 ;
23701 wxDCClipper
*result
= 0 ;
23707 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23709 if (!SWIG_IsOK(res1
)) {
23710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23713 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23715 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23716 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23717 if (!SWIG_IsOK(res2
)) {
23718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23721 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23723 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23726 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23727 wxPyEndAllowThreads(__tstate
);
23728 if (PyErr_Occurred()) SWIG_fail
;
23730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23737 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23738 PyObject
*resultobj
= 0;
23741 wxDCClipper
*result
= 0 ;
23746 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23748 if (!SWIG_IsOK(res1
)) {
23749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23754 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23757 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23761 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23762 wxPyEndAllowThreads(__tstate
);
23763 if (PyErr_Occurred()) SWIG_fail
;
23765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23772 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23773 PyObject
*resultobj
= 0;
23779 wxDCClipper
*result
= 0 ;
23791 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23793 if (!SWIG_IsOK(res1
)) {
23794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23799 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23800 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23801 if (!SWIG_IsOK(ecode2
)) {
23802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23804 arg2
= static_cast< int >(val2
);
23805 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23806 if (!SWIG_IsOK(ecode3
)) {
23807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23809 arg3
= static_cast< int >(val3
);
23810 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23811 if (!SWIG_IsOK(ecode4
)) {
23812 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23814 arg4
= static_cast< int >(val4
);
23815 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23816 if (!SWIG_IsOK(ecode5
)) {
23817 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23819 arg5
= static_cast< int >(val5
);
23821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23822 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23823 wxPyEndAllowThreads(__tstate
);
23824 if (PyErr_Occurred()) SWIG_fail
;
23826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23833 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23837 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23842 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23843 _v
= SWIG_CheckState(res
);
23845 if (!_v
) goto check_1
;
23846 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23851 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23854 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23858 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23863 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23864 PyObject
*resultobj
= 0;
23865 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23868 PyObject
*swig_obj
[1] ;
23870 if (!args
) SWIG_fail
;
23871 swig_obj
[0] = args
;
23872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23873 if (!SWIG_IsOK(res1
)) {
23874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23876 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23881 wxPyEndAllowThreads(__tstate
);
23882 if (PyErr_Occurred()) SWIG_fail
;
23884 resultobj
= SWIG_Py_Void();
23891 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23893 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23894 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23895 return SWIG_Py_Void();
23898 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23899 return SWIG_Python_InitShadowInstance(args
);
23902 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23903 PyObject
*resultobj
= 0;
23904 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
23905 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
23906 wxMemoryDC
*result
= 0 ;
23909 PyObject
* obj0
= 0 ;
23910 char * kwnames
[] = {
23911 (char *) "bitmap", NULL
23914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
23916 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
23917 if (!SWIG_IsOK(res1
)) {
23918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
23921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
23923 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
23926 if (!wxPyCheckForApp()) SWIG_fail
;
23927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23928 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
23929 wxPyEndAllowThreads(__tstate
);
23930 if (PyErr_Occurred()) SWIG_fail
;
23932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23939 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23940 PyObject
*resultobj
= 0;
23941 wxDC
*arg1
= (wxDC
*) 0 ;
23942 wxMemoryDC
*result
= 0 ;
23945 PyObject
* obj0
= 0 ;
23946 char * kwnames
[] = {
23947 (char *) "oldDC", NULL
23950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23952 if (!SWIG_IsOK(res1
)) {
23953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23955 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23957 if (!wxPyCheckForApp()) SWIG_fail
;
23958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23959 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23960 wxPyEndAllowThreads(__tstate
);
23961 if (PyErr_Occurred()) SWIG_fail
;
23963 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23970 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23971 PyObject
*resultobj
= 0;
23972 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23973 wxBitmap
*arg2
= 0 ;
23978 PyObject
* obj0
= 0 ;
23979 PyObject
* obj1
= 0 ;
23980 char * kwnames
[] = {
23981 (char *) "self",(char *) "bitmap", NULL
23984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23986 if (!SWIG_IsOK(res1
)) {
23987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23989 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23990 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
23991 if (!SWIG_IsOK(res2
)) {
23992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
23995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
23997 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24000 (arg1
)->SelectObject(*arg2
);
24001 wxPyEndAllowThreads(__tstate
);
24002 if (PyErr_Occurred()) SWIG_fail
;
24004 resultobj
= SWIG_Py_Void();
24011 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24012 PyObject
*resultobj
= 0;
24013 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24014 wxBitmap
*arg2
= 0 ;
24019 PyObject
* obj0
= 0 ;
24020 PyObject
* obj1
= 0 ;
24021 char * kwnames
[] = {
24022 (char *) "self",(char *) "bmp", NULL
24025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24027 if (!SWIG_IsOK(res1
)) {
24028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24030 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24031 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24032 if (!SWIG_IsOK(res2
)) {
24033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24036 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24038 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24041 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24042 wxPyEndAllowThreads(__tstate
);
24043 if (PyErr_Occurred()) SWIG_fail
;
24045 resultobj
= SWIG_Py_Void();
24052 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24054 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24055 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24056 return SWIG_Py_Void();
24059 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24060 return SWIG_Python_InitShadowInstance(args
);
24063 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24064 PyObject
*resultobj
= 0;
24065 wxScreenDC
*result
= 0 ;
24067 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24069 if (!wxPyCheckForApp()) SWIG_fail
;
24070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24071 result
= (wxScreenDC
*)new wxScreenDC();
24072 wxPyEndAllowThreads(__tstate
);
24073 if (PyErr_Occurred()) SWIG_fail
;
24075 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24082 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24083 PyObject
*resultobj
= 0;
24084 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24085 wxWindow
*arg2
= (wxWindow
*) 0 ;
24091 PyObject
* obj0
= 0 ;
24092 PyObject
* obj1
= 0 ;
24093 char * kwnames
[] = {
24094 (char *) "self",(char *) "window", NULL
24097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24099 if (!SWIG_IsOK(res1
)) {
24100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24102 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24103 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24104 if (!SWIG_IsOK(res2
)) {
24105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24107 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24110 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24111 wxPyEndAllowThreads(__tstate
);
24112 if (PyErr_Occurred()) SWIG_fail
;
24115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24123 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24124 PyObject
*resultobj
= 0;
24125 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24126 wxRect
*arg2
= (wxRect
*) NULL
;
24132 PyObject
* obj0
= 0 ;
24133 PyObject
* obj1
= 0 ;
24134 char * kwnames
[] = {
24135 (char *) "self",(char *) "rect", NULL
24138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24140 if (!SWIG_IsOK(res1
)) {
24141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24143 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24145 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24146 if (!SWIG_IsOK(res2
)) {
24147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24149 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24153 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24154 wxPyEndAllowThreads(__tstate
);
24155 if (PyErr_Occurred()) SWIG_fail
;
24158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24166 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24167 PyObject
*resultobj
= 0;
24168 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24172 PyObject
*swig_obj
[1] ;
24174 if (!args
) SWIG_fail
;
24175 swig_obj
[0] = args
;
24176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24177 if (!SWIG_IsOK(res1
)) {
24178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24180 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24183 result
= (bool)(arg1
)->EndDrawingOnTop();
24184 wxPyEndAllowThreads(__tstate
);
24185 if (PyErr_Occurred()) SWIG_fail
;
24188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24196 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24198 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24199 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24200 return SWIG_Py_Void();
24203 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24204 return SWIG_Python_InitShadowInstance(args
);
24207 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24208 PyObject
*resultobj
= 0;
24209 wxWindow
*arg1
= (wxWindow
*) 0 ;
24210 wxWindowDC
*result
= 0 ;
24213 PyObject
* obj0
= 0 ;
24214 char * kwnames
[] = {
24215 (char *) "win", NULL
24218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24220 if (!SWIG_IsOK(res1
)) {
24221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24223 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24225 if (!wxPyCheckForApp()) SWIG_fail
;
24226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24227 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24228 wxPyEndAllowThreads(__tstate
);
24229 if (PyErr_Occurred()) SWIG_fail
;
24231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24238 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24240 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24241 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24242 return SWIG_Py_Void();
24245 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24246 return SWIG_Python_InitShadowInstance(args
);
24249 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24250 PyObject
*resultobj
= 0;
24251 wxWindow
*arg1
= (wxWindow
*) 0 ;
24252 wxClientDC
*result
= 0 ;
24255 PyObject
* obj0
= 0 ;
24256 char * kwnames
[] = {
24257 (char *) "win", NULL
24260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24262 if (!SWIG_IsOK(res1
)) {
24263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24265 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24267 if (!wxPyCheckForApp()) SWIG_fail
;
24268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24269 result
= (wxClientDC
*)new wxClientDC(arg1
);
24270 wxPyEndAllowThreads(__tstate
);
24271 if (PyErr_Occurred()) SWIG_fail
;
24273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24280 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24282 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24283 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24284 return SWIG_Py_Void();
24287 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24288 return SWIG_Python_InitShadowInstance(args
);
24291 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24292 PyObject
*resultobj
= 0;
24293 wxWindow
*arg1
= (wxWindow
*) 0 ;
24294 wxPaintDC
*result
= 0 ;
24297 PyObject
* obj0
= 0 ;
24298 char * kwnames
[] = {
24299 (char *) "win", NULL
24302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24304 if (!SWIG_IsOK(res1
)) {
24305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24307 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24309 if (!wxPyCheckForApp()) SWIG_fail
;
24310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24311 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24312 wxPyEndAllowThreads(__tstate
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24315 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24322 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24324 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24325 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24326 return SWIG_Py_Void();
24329 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24330 return SWIG_Python_InitShadowInstance(args
);
24333 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24334 PyObject
*resultobj
= 0;
24335 wxDC
*arg1
= (wxDC
*) 0 ;
24336 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24337 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24338 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24339 wxBufferedDC
*result
= 0 ;
24347 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24349 if (!SWIG_IsOK(res1
)) {
24350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24352 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24354 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24355 if (!SWIG_IsOK(res2
)) {
24356 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24361 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24364 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24365 if (!SWIG_IsOK(ecode3
)) {
24366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24368 arg3
= static_cast< int >(val3
);
24371 if (!wxPyCheckForApp()) SWIG_fail
;
24372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24373 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24374 wxPyEndAllowThreads(__tstate
);
24375 if (PyErr_Occurred()) SWIG_fail
;
24377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24384 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24385 PyObject
*resultobj
= 0;
24386 wxDC
*arg1
= (wxDC
*) 0 ;
24388 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24389 wxBufferedDC
*result
= 0 ;
24396 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24398 if (!SWIG_IsOK(res1
)) {
24399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24401 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24404 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24407 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24408 if (!SWIG_IsOK(ecode3
)) {
24409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24411 arg3
= static_cast< int >(val3
);
24414 if (!wxPyCheckForApp()) SWIG_fail
;
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24417 wxPyEndAllowThreads(__tstate
);
24418 if (PyErr_Occurred()) SWIG_fail
;
24420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24427 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24431 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24433 if ((argc
>= 1) && (argc
<= 3)) {
24437 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
24438 _v
= SWIG_CheckState(res
);
24440 if (!_v
) goto check_1
;
24442 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24446 if ((argc
>= 2) && (argc
<= 3)) {
24447 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24451 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24456 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24457 PyObject
*resultobj
= 0;
24458 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24461 PyObject
*swig_obj
[1] ;
24463 if (!args
) SWIG_fail
;
24464 swig_obj
[0] = args
;
24465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24466 if (!SWIG_IsOK(res1
)) {
24467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24469 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24474 wxPyEndAllowThreads(__tstate
);
24475 if (PyErr_Occurred()) SWIG_fail
;
24477 resultobj
= SWIG_Py_Void();
24484 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24485 PyObject
*resultobj
= 0;
24486 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24489 PyObject
*swig_obj
[1] ;
24491 if (!args
) SWIG_fail
;
24492 swig_obj
[0] = args
;
24493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24494 if (!SWIG_IsOK(res1
)) {
24495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24497 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24501 wxPyEndAllowThreads(__tstate
);
24502 if (PyErr_Occurred()) SWIG_fail
;
24504 resultobj
= SWIG_Py_Void();
24511 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24513 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24514 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24515 return SWIG_Py_Void();
24518 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24519 return SWIG_Python_InitShadowInstance(args
);
24522 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24523 PyObject
*resultobj
= 0;
24524 wxWindow
*arg1
= (wxWindow
*) 0 ;
24525 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24526 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24527 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24528 wxBufferedPaintDC
*result
= 0 ;
24535 PyObject
* obj0
= 0 ;
24536 PyObject
* obj1
= 0 ;
24537 PyObject
* obj2
= 0 ;
24538 char * kwnames
[] = {
24539 (char *) "window",(char *) "buffer",(char *) "style", NULL
24542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24544 if (!SWIG_IsOK(res1
)) {
24545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24547 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24550 if (!SWIG_IsOK(res2
)) {
24551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24556 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24559 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24560 if (!SWIG_IsOK(ecode3
)) {
24561 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24563 arg3
= static_cast< int >(val3
);
24566 if (!wxPyCheckForApp()) SWIG_fail
;
24567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24568 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24569 wxPyEndAllowThreads(__tstate
);
24570 if (PyErr_Occurred()) SWIG_fail
;
24572 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24579 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24581 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24582 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24583 return SWIG_Py_Void();
24586 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24587 return SWIG_Python_InitShadowInstance(args
);
24590 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24591 PyObject
*resultobj
= 0;
24592 wxWindow
*arg1
= (wxWindow
*) 0 ;
24593 wxAutoBufferedPaintDC
*result
= 0 ;
24596 PyObject
* obj0
= 0 ;
24597 char * kwnames
[] = {
24598 (char *) "win", NULL
24601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24603 if (!SWIG_IsOK(res1
)) {
24604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24606 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24609 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24610 wxPyEndAllowThreads(__tstate
);
24611 if (PyErr_Occurred()) SWIG_fail
;
24613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24620 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24622 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24623 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24624 return SWIG_Py_Void();
24627 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24628 return SWIG_Python_InitShadowInstance(args
);
24631 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24632 PyObject
*resultobj
= 0;
24633 wxWindow
*arg1
= (wxWindow
*) 0 ;
24637 PyObject
* obj0
= 0 ;
24638 char * kwnames
[] = {
24639 (char *) "window", NULL
24642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24644 if (!SWIG_IsOK(res1
)) {
24645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24647 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24650 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24651 wxPyEndAllowThreads(__tstate
);
24652 if (PyErr_Occurred()) SWIG_fail
;
24655 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24663 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24664 PyObject
*resultobj
= 0;
24667 wxMirrorDC
*result
= 0 ;
24672 PyObject
* obj0
= 0 ;
24673 PyObject
* obj1
= 0 ;
24674 char * kwnames
[] = {
24675 (char *) "dc",(char *) "mirror", NULL
24678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24679 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24680 if (!SWIG_IsOK(res1
)) {
24681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24686 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24687 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24688 if (!SWIG_IsOK(ecode2
)) {
24689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24691 arg2
= static_cast< bool >(val2
);
24693 if (!wxPyCheckForApp()) SWIG_fail
;
24694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24695 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24696 wxPyEndAllowThreads(__tstate
);
24697 if (PyErr_Occurred()) SWIG_fail
;
24699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24706 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24708 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24709 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24710 return SWIG_Py_Void();
24713 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24714 return SWIG_Python_InitShadowInstance(args
);
24717 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24718 PyObject
*resultobj
= 0;
24719 wxPrintData
*arg1
= 0 ;
24720 wxPostScriptDC
*result
= 0 ;
24723 PyObject
* obj0
= 0 ;
24724 char * kwnames
[] = {
24725 (char *) "printData", NULL
24728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24729 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24730 if (!SWIG_IsOK(res1
)) {
24731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24734 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24736 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24738 if (!wxPyCheckForApp()) SWIG_fail
;
24739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24740 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24741 wxPyEndAllowThreads(__tstate
);
24742 if (PyErr_Occurred()) SWIG_fail
;
24744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24751 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24752 PyObject
*resultobj
= 0;
24753 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24754 wxPrintData
*result
= 0 ;
24757 PyObject
*swig_obj
[1] ;
24759 if (!args
) SWIG_fail
;
24760 swig_obj
[0] = args
;
24761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24762 if (!SWIG_IsOK(res1
)) {
24763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24765 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24769 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24770 result
= (wxPrintData
*) &_result_ref
;
24772 wxPyEndAllowThreads(__tstate
);
24773 if (PyErr_Occurred()) SWIG_fail
;
24775 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24782 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24783 PyObject
*resultobj
= 0;
24784 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24785 wxPrintData
*arg2
= 0 ;
24790 PyObject
* obj0
= 0 ;
24791 PyObject
* obj1
= 0 ;
24792 char * kwnames
[] = {
24793 (char *) "self",(char *) "data", NULL
24796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24798 if (!SWIG_IsOK(res1
)) {
24799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24801 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24802 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24803 if (!SWIG_IsOK(res2
)) {
24804 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24807 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24809 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24812 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24813 wxPyEndAllowThreads(__tstate
);
24814 if (PyErr_Occurred()) SWIG_fail
;
24816 resultobj
= SWIG_Py_Void();
24823 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24824 PyObject
*resultobj
= 0;
24828 PyObject
* obj0
= 0 ;
24829 char * kwnames
[] = {
24830 (char *) "ppi", NULL
24833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24834 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24835 if (!SWIG_IsOK(ecode1
)) {
24836 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24838 arg1
= static_cast< int >(val1
);
24840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24841 wxPostScriptDC::SetResolution(arg1
);
24842 wxPyEndAllowThreads(__tstate
);
24843 if (PyErr_Occurred()) SWIG_fail
;
24845 resultobj
= SWIG_Py_Void();
24852 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24853 PyObject
*resultobj
= 0;
24856 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24859 result
= (int)wxPostScriptDC::GetResolution();
24860 wxPyEndAllowThreads(__tstate
);
24861 if (PyErr_Occurred()) SWIG_fail
;
24863 resultobj
= SWIG_From_int(static_cast< int >(result
));
24870 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24872 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24873 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24874 return SWIG_Py_Void();
24877 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24878 return SWIG_Python_InitShadowInstance(args
);
24881 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24882 PyObject
*resultobj
= 0;
24883 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24884 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24885 wxMetaFile
*result
= 0 ;
24886 bool temp1
= false ;
24887 PyObject
* obj0
= 0 ;
24888 char * kwnames
[] = {
24889 (char *) "filename", NULL
24892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24895 arg1
= wxString_in_helper(obj0
);
24896 if (arg1
== NULL
) SWIG_fail
;
24901 if (!wxPyCheckForApp()) SWIG_fail
;
24902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24903 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24904 wxPyEndAllowThreads(__tstate
);
24905 if (PyErr_Occurred()) SWIG_fail
;
24907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24922 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24923 PyObject
*resultobj
= 0;
24924 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24927 PyObject
*swig_obj
[1] ;
24929 if (!args
) SWIG_fail
;
24930 swig_obj
[0] = args
;
24931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
24932 if (!SWIG_IsOK(res1
)) {
24933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24935 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24940 wxPyEndAllowThreads(__tstate
);
24941 if (PyErr_Occurred()) SWIG_fail
;
24943 resultobj
= SWIG_Py_Void();
24950 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24951 PyObject
*resultobj
= 0;
24952 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24956 PyObject
*swig_obj
[1] ;
24958 if (!args
) SWIG_fail
;
24959 swig_obj
[0] = args
;
24960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24961 if (!SWIG_IsOK(res1
)) {
24962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24964 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24967 result
= (bool)(arg1
)->IsOk();
24968 wxPyEndAllowThreads(__tstate
);
24969 if (PyErr_Occurred()) SWIG_fail
;
24972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24980 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24981 PyObject
*resultobj
= 0;
24982 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24983 int arg2
= (int) 0 ;
24984 int arg3
= (int) 0 ;
24992 PyObject
* obj0
= 0 ;
24993 PyObject
* obj1
= 0 ;
24994 PyObject
* obj2
= 0 ;
24995 char * kwnames
[] = {
24996 (char *) "self",(char *) "width",(char *) "height", NULL
24999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25001 if (!SWIG_IsOK(res1
)) {
25002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25004 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25007 if (!SWIG_IsOK(ecode2
)) {
25008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25010 arg2
= static_cast< int >(val2
);
25013 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25014 if (!SWIG_IsOK(ecode3
)) {
25015 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25017 arg3
= static_cast< int >(val3
);
25020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25021 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25022 wxPyEndAllowThreads(__tstate
);
25023 if (PyErr_Occurred()) SWIG_fail
;
25026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25034 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25035 PyObject
*resultobj
= 0;
25036 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25040 PyObject
*swig_obj
[1] ;
25042 if (!args
) SWIG_fail
;
25043 swig_obj
[0] = args
;
25044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25045 if (!SWIG_IsOK(res1
)) {
25046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25048 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25051 result
= (arg1
)->GetSize();
25052 wxPyEndAllowThreads(__tstate
);
25053 if (PyErr_Occurred()) SWIG_fail
;
25055 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25062 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25063 PyObject
*resultobj
= 0;
25064 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25068 PyObject
*swig_obj
[1] ;
25070 if (!args
) SWIG_fail
;
25071 swig_obj
[0] = args
;
25072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25073 if (!SWIG_IsOK(res1
)) {
25074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25076 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25079 result
= (int)(arg1
)->GetWidth();
25080 wxPyEndAllowThreads(__tstate
);
25081 if (PyErr_Occurred()) SWIG_fail
;
25083 resultobj
= SWIG_From_int(static_cast< int >(result
));
25090 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25091 PyObject
*resultobj
= 0;
25092 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25096 PyObject
*swig_obj
[1] ;
25098 if (!args
) SWIG_fail
;
25099 swig_obj
[0] = args
;
25100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25101 if (!SWIG_IsOK(res1
)) {
25102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25104 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25107 result
= (int)(arg1
)->GetHeight();
25108 wxPyEndAllowThreads(__tstate
);
25109 if (PyErr_Occurred()) SWIG_fail
;
25111 resultobj
= SWIG_From_int(static_cast< int >(result
));
25118 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25120 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25121 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25122 return SWIG_Py_Void();
25125 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25126 return SWIG_Python_InitShadowInstance(args
);
25129 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25130 PyObject
*resultobj
= 0;
25131 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25132 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25133 int arg2
= (int) 0 ;
25134 int arg3
= (int) 0 ;
25135 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25136 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25137 wxMetaFileDC
*result
= 0 ;
25138 bool temp1
= false ;
25143 bool temp4
= false ;
25144 PyObject
* obj0
= 0 ;
25145 PyObject
* obj1
= 0 ;
25146 PyObject
* obj2
= 0 ;
25147 PyObject
* obj3
= 0 ;
25148 char * kwnames
[] = {
25149 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25155 arg1
= wxString_in_helper(obj0
);
25156 if (arg1
== NULL
) SWIG_fail
;
25161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25162 if (!SWIG_IsOK(ecode2
)) {
25163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25165 arg2
= static_cast< int >(val2
);
25168 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25169 if (!SWIG_IsOK(ecode3
)) {
25170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25172 arg3
= static_cast< int >(val3
);
25176 arg4
= wxString_in_helper(obj3
);
25177 if (arg4
== NULL
) SWIG_fail
;
25182 if (!wxPyCheckForApp()) SWIG_fail
;
25183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25184 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25185 wxPyEndAllowThreads(__tstate
);
25186 if (PyErr_Occurred()) SWIG_fail
;
25188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25211 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25212 PyObject
*resultobj
= 0;
25213 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25214 wxMetaFile
*result
= 0 ;
25217 PyObject
*swig_obj
[1] ;
25219 if (!args
) SWIG_fail
;
25220 swig_obj
[0] = args
;
25221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25222 if (!SWIG_IsOK(res1
)) {
25223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25225 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25228 result
= (wxMetaFile
*)(arg1
)->Close();
25229 wxPyEndAllowThreads(__tstate
);
25230 if (PyErr_Occurred()) SWIG_fail
;
25232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25239 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25241 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25242 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25243 return SWIG_Py_Void();
25246 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25247 return SWIG_Python_InitShadowInstance(args
);
25250 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25251 PyObject
*resultobj
= 0;
25252 wxPrintData
*arg1
= 0 ;
25253 wxPrinterDC
*result
= 0 ;
25256 PyObject
* obj0
= 0 ;
25257 char * kwnames
[] = {
25258 (char *) "printData", NULL
25261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25262 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25263 if (!SWIG_IsOK(res1
)) {
25264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25267 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25269 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25271 if (!wxPyCheckForApp()) SWIG_fail
;
25272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25273 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25274 wxPyEndAllowThreads(__tstate
);
25275 if (PyErr_Occurred()) SWIG_fail
;
25277 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25284 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25286 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25287 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25288 return SWIG_Py_Void();
25291 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25292 return SWIG_Python_InitShadowInstance(args
);
25295 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25296 PyObject
*resultobj
= 0;
25297 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25298 wxGraphicsObject
*result
= 0 ;
25301 PyObject
* obj0
= 0 ;
25302 char * kwnames
[] = {
25303 (char *) "renderer", NULL
25306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25309 if (!SWIG_IsOK(res1
)) {
25310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25312 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25315 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25316 if (PyErr_Occurred()) SWIG_fail
;
25318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25325 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25326 PyObject
*resultobj
= 0;
25327 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25330 PyObject
*swig_obj
[1] ;
25332 if (!args
) SWIG_fail
;
25333 swig_obj
[0] = args
;
25334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25335 if (!SWIG_IsOK(res1
)) {
25336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25338 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25342 if (PyErr_Occurred()) SWIG_fail
;
25344 resultobj
= SWIG_Py_Void();
25351 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25352 PyObject
*resultobj
= 0;
25353 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25357 PyObject
*swig_obj
[1] ;
25359 if (!args
) SWIG_fail
;
25360 swig_obj
[0] = args
;
25361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25362 if (!SWIG_IsOK(res1
)) {
25363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25365 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25367 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25368 if (PyErr_Occurred()) SWIG_fail
;
25371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25379 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25380 PyObject
*resultobj
= 0;
25381 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25382 wxGraphicsRenderer
*result
= 0 ;
25385 PyObject
*swig_obj
[1] ;
25387 if (!args
) SWIG_fail
;
25388 swig_obj
[0] = args
;
25389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25390 if (!SWIG_IsOK(res1
)) {
25391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25393 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25395 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25396 if (PyErr_Occurred()) SWIG_fail
;
25398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25405 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25407 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25408 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25409 return SWIG_Py_Void();
25412 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25413 return SWIG_Python_InitShadowInstance(args
);
25416 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25417 PyObject
*resultobj
= 0;
25418 wxGraphicsPen
*result
= 0 ;
25420 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25422 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25423 if (PyErr_Occurred()) SWIG_fail
;
25425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25432 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25433 PyObject
*resultobj
= 0;
25434 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 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_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25442 if (!SWIG_IsOK(res1
)) {
25443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25445 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25449 if (PyErr_Occurred()) SWIG_fail
;
25451 resultobj
= SWIG_Py_Void();
25458 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25460 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25461 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25462 return SWIG_Py_Void();
25465 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25466 return SWIG_Python_InitShadowInstance(args
);
25469 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25470 PyObject
*resultobj
= 0;
25471 wxGraphicsBrush
*result
= 0 ;
25473 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25475 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25476 if (PyErr_Occurred()) SWIG_fail
;
25478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25485 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25486 PyObject
*resultobj
= 0;
25487 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25490 PyObject
*swig_obj
[1] ;
25492 if (!args
) SWIG_fail
;
25493 swig_obj
[0] = args
;
25494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25495 if (!SWIG_IsOK(res1
)) {
25496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25498 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25502 if (PyErr_Occurred()) SWIG_fail
;
25504 resultobj
= SWIG_Py_Void();
25511 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25513 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25514 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25515 return SWIG_Py_Void();
25518 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25519 return SWIG_Python_InitShadowInstance(args
);
25522 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25523 PyObject
*resultobj
= 0;
25524 wxGraphicsFont
*result
= 0 ;
25526 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25528 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25529 if (PyErr_Occurred()) SWIG_fail
;
25531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25538 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25539 PyObject
*resultobj
= 0;
25540 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25543 PyObject
*swig_obj
[1] ;
25545 if (!args
) SWIG_fail
;
25546 swig_obj
[0] = args
;
25547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25548 if (!SWIG_IsOK(res1
)) {
25549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25551 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25555 if (PyErr_Occurred()) SWIG_fail
;
25557 resultobj
= SWIG_Py_Void();
25564 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25566 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25567 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25568 return SWIG_Py_Void();
25571 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25572 return SWIG_Python_InitShadowInstance(args
);
25575 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25576 PyObject
*resultobj
= 0;
25577 wxGraphicsMatrix
*result
= 0 ;
25579 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
25581 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
25582 if (PyErr_Occurred()) SWIG_fail
;
25584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
25591 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25592 PyObject
*resultobj
= 0;
25593 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25596 PyObject
*swig_obj
[1] ;
25598 if (!args
) SWIG_fail
;
25599 swig_obj
[0] = args
;
25600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25601 if (!SWIG_IsOK(res1
)) {
25602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25604 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25608 if (PyErr_Occurred()) SWIG_fail
;
25610 resultobj
= SWIG_Py_Void();
25617 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25618 PyObject
*resultobj
= 0;
25619 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25620 wxGraphicsMatrix
*arg2
= 0 ;
25625 PyObject
* obj0
= 0 ;
25626 PyObject
* obj1
= 0 ;
25627 char * kwnames
[] = {
25628 (char *) "self",(char *) "t", NULL
25631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25633 if (!SWIG_IsOK(res1
)) {
25634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25636 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25637 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25638 if (!SWIG_IsOK(res2
)) {
25639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25642 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25644 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25646 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25649 resultobj
= SWIG_Py_Void();
25656 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25657 PyObject
*resultobj
= 0;
25658 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25659 wxGraphicsMatrix
*arg2
= 0 ;
25664 PyObject
* obj0
= 0 ;
25665 PyObject
* obj1
= 0 ;
25666 char * kwnames
[] = {
25667 (char *) "self",(char *) "t", NULL
25670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Copy",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25672 if (!SWIG_IsOK(res1
)) {
25673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25675 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25676 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25677 if (!SWIG_IsOK(res2
)) {
25678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25681 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Copy" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25683 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25685 wxGraphicsMatrix_Copy(arg1
,(wxGraphicsMatrix
const &)*arg2
);
25686 if (PyErr_Occurred()) SWIG_fail
;
25688 resultobj
= SWIG_Py_Void();
25695 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25696 PyObject
*resultobj
= 0;
25697 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25698 wxDouble arg2
= (wxDouble
) 1.0 ;
25699 wxDouble arg3
= (wxDouble
) 0.0 ;
25700 wxDouble arg4
= (wxDouble
) 0.0 ;
25701 wxDouble arg5
= (wxDouble
) 1.0 ;
25702 wxDouble arg6
= (wxDouble
) 0.0 ;
25703 wxDouble arg7
= (wxDouble
) 0.0 ;
25718 PyObject
* obj0
= 0 ;
25719 PyObject
* obj1
= 0 ;
25720 PyObject
* obj2
= 0 ;
25721 PyObject
* obj3
= 0 ;
25722 PyObject
* obj4
= 0 ;
25723 PyObject
* obj5
= 0 ;
25724 PyObject
* obj6
= 0 ;
25725 char * kwnames
[] = {
25726 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25731 if (!SWIG_IsOK(res1
)) {
25732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25734 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25736 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25737 if (!SWIG_IsOK(ecode2
)) {
25738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25740 arg2
= static_cast< wxDouble
>(val2
);
25743 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25744 if (!SWIG_IsOK(ecode3
)) {
25745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25747 arg3
= static_cast< wxDouble
>(val3
);
25750 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25751 if (!SWIG_IsOK(ecode4
)) {
25752 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25754 arg4
= static_cast< wxDouble
>(val4
);
25757 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25758 if (!SWIG_IsOK(ecode5
)) {
25759 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25761 arg5
= static_cast< wxDouble
>(val5
);
25764 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25765 if (!SWIG_IsOK(ecode6
)) {
25766 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25768 arg6
= static_cast< wxDouble
>(val6
);
25771 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25772 if (!SWIG_IsOK(ecode7
)) {
25773 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25775 arg7
= static_cast< wxDouble
>(val7
);
25778 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25779 if (PyErr_Occurred()) SWIG_fail
;
25781 resultobj
= SWIG_Py_Void();
25788 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25789 PyObject
*resultobj
= 0;
25790 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25793 PyObject
*swig_obj
[1] ;
25795 if (!args
) SWIG_fail
;
25796 swig_obj
[0] = args
;
25797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25798 if (!SWIG_IsOK(res1
)) {
25799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25801 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25804 if (PyErr_Occurred()) SWIG_fail
;
25806 resultobj
= SWIG_Py_Void();
25813 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25814 PyObject
*resultobj
= 0;
25815 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25816 wxGraphicsMatrix
*arg2
= 0 ;
25822 PyObject
* obj0
= 0 ;
25823 PyObject
* obj1
= 0 ;
25824 char * kwnames
[] = {
25825 (char *) "self",(char *) "t", NULL
25828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25830 if (!SWIG_IsOK(res1
)) {
25831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25833 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25834 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25835 if (!SWIG_IsOK(res2
)) {
25836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25841 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25843 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
25844 if (PyErr_Occurred()) SWIG_fail
;
25847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25855 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25856 PyObject
*resultobj
= 0;
25857 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25861 PyObject
*swig_obj
[1] ;
25863 if (!args
) SWIG_fail
;
25864 swig_obj
[0] = args
;
25865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25866 if (!SWIG_IsOK(res1
)) {
25867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25869 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25871 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
25872 if (PyErr_Occurred()) SWIG_fail
;
25875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25883 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25884 PyObject
*resultobj
= 0;
25885 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25894 PyObject
* obj0
= 0 ;
25895 PyObject
* obj1
= 0 ;
25896 PyObject
* obj2
= 0 ;
25897 char * kwnames
[] = {
25898 (char *) "self",(char *) "dx",(char *) "dy", NULL
25901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25903 if (!SWIG_IsOK(res1
)) {
25904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25906 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25907 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25908 if (!SWIG_IsOK(ecode2
)) {
25909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25911 arg2
= static_cast< wxDouble
>(val2
);
25912 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25913 if (!SWIG_IsOK(ecode3
)) {
25914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25916 arg3
= static_cast< wxDouble
>(val3
);
25918 (arg1
)->Translate(arg2
,arg3
);
25919 if (PyErr_Occurred()) SWIG_fail
;
25921 resultobj
= SWIG_Py_Void();
25928 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25929 PyObject
*resultobj
= 0;
25930 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25939 PyObject
* obj0
= 0 ;
25940 PyObject
* obj1
= 0 ;
25941 PyObject
* obj2
= 0 ;
25942 char * kwnames
[] = {
25943 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25948 if (!SWIG_IsOK(res1
)) {
25949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25951 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25952 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25953 if (!SWIG_IsOK(ecode2
)) {
25954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25956 arg2
= static_cast< wxDouble
>(val2
);
25957 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25958 if (!SWIG_IsOK(ecode3
)) {
25959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25961 arg3
= static_cast< wxDouble
>(val3
);
25963 (arg1
)->Scale(arg2
,arg3
);
25964 if (PyErr_Occurred()) SWIG_fail
;
25966 resultobj
= SWIG_Py_Void();
25973 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25974 PyObject
*resultobj
= 0;
25975 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25981 PyObject
* obj0
= 0 ;
25982 PyObject
* obj1
= 0 ;
25983 char * kwnames
[] = {
25984 (char *) "self",(char *) "angle", NULL
25987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25989 if (!SWIG_IsOK(res1
)) {
25990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25992 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25993 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25994 if (!SWIG_IsOK(ecode2
)) {
25995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25997 arg2
= static_cast< wxDouble
>(val2
);
25999 (arg1
)->Rotate(arg2
);
26000 if (PyErr_Occurred()) SWIG_fail
;
26002 resultobj
= SWIG_Py_Void();
26009 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26010 PyObject
*resultobj
= 0;
26011 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26012 wxDouble
*arg2
= (wxDouble
*) 0 ;
26013 wxDouble
*arg3
= (wxDouble
*) 0 ;
26020 PyObject
* obj0
= 0 ;
26021 PyObject
* obj1
= 0 ;
26022 PyObject
* obj2
= 0 ;
26023 char * kwnames
[] = {
26024 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26029 if (!SWIG_IsOK(res1
)) {
26030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26032 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26033 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26035 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26036 if (!SWIG_IsOK(ecode
)) {
26037 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26039 temp2
= static_cast< wxDouble
>(val
);
26041 res2
= SWIG_AddTmpMask(ecode
);
26043 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26045 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26046 if (!SWIG_IsOK(ecode
)) {
26047 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26049 temp3
= static_cast< wxDouble
>(val
);
26051 res3
= SWIG_AddTmpMask(ecode
);
26054 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26055 if (PyErr_Occurred()) SWIG_fail
;
26057 resultobj
= SWIG_Py_Void();
26058 if (SWIG_IsTmpObj(res2
)) {
26059 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26061 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26062 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26064 if (SWIG_IsTmpObj(res3
)) {
26065 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26067 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26068 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26076 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26077 PyObject
*resultobj
= 0;
26078 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26079 wxDouble
*arg2
= (wxDouble
*) 0 ;
26080 wxDouble
*arg3
= (wxDouble
*) 0 ;
26087 PyObject
* obj0
= 0 ;
26088 PyObject
* obj1
= 0 ;
26089 PyObject
* obj2
= 0 ;
26090 char * kwnames
[] = {
26091 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26096 if (!SWIG_IsOK(res1
)) {
26097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26099 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26100 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26102 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26103 if (!SWIG_IsOK(ecode
)) {
26104 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26106 temp2
= static_cast< wxDouble
>(val
);
26108 res2
= SWIG_AddTmpMask(ecode
);
26110 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26112 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26113 if (!SWIG_IsOK(ecode
)) {
26114 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26116 temp3
= static_cast< wxDouble
>(val
);
26118 res3
= SWIG_AddTmpMask(ecode
);
26121 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26122 if (PyErr_Occurred()) SWIG_fail
;
26124 resultobj
= SWIG_Py_Void();
26125 if (SWIG_IsTmpObj(res2
)) {
26126 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26128 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26129 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26131 if (SWIG_IsTmpObj(res3
)) {
26132 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26134 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26143 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26144 PyObject
*resultobj
= 0;
26145 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26149 PyObject
*swig_obj
[1] ;
26151 if (!args
) SWIG_fail
;
26152 swig_obj
[0] = args
;
26153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26154 if (!SWIG_IsOK(res1
)) {
26155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26157 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26159 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26160 if (PyErr_Occurred()) SWIG_fail
;
26162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26169 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26171 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26172 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26173 return SWIG_Py_Void();
26176 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26177 return SWIG_Python_InitShadowInstance(args
);
26180 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26181 PyObject
*resultobj
= 0;
26182 wxGraphicsPath
*result
= 0 ;
26184 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26186 if (!wxPyCheckForApp()) SWIG_fail
;
26187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26188 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26189 wxPyEndAllowThreads(__tstate
);
26190 if (PyErr_Occurred()) SWIG_fail
;
26192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
26199 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26200 PyObject
*resultobj
= 0;
26201 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26204 PyObject
*swig_obj
[1] ;
26206 if (!args
) SWIG_fail
;
26207 swig_obj
[0] = args
;
26208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26209 if (!SWIG_IsOK(res1
)) {
26210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26212 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26216 if (PyErr_Occurred()) SWIG_fail
;
26218 resultobj
= SWIG_Py_Void();
26225 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26226 PyObject
*resultobj
= 0;
26227 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26237 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26239 if (!SWIG_IsOK(res1
)) {
26240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26242 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26243 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26244 if (!SWIG_IsOK(ecode2
)) {
26245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26247 arg2
= static_cast< wxDouble
>(val2
);
26248 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26249 if (!SWIG_IsOK(ecode3
)) {
26250 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26252 arg3
= static_cast< wxDouble
>(val3
);
26254 (arg1
)->MoveToPoint(arg2
,arg3
);
26255 if (PyErr_Occurred()) SWIG_fail
;
26257 resultobj
= SWIG_Py_Void();
26264 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26265 PyObject
*resultobj
= 0;
26266 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26267 wxPoint2D
*arg2
= 0 ;
26272 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26274 if (!SWIG_IsOK(res1
)) {
26275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26277 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26280 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26283 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26284 if (PyErr_Occurred()) SWIG_fail
;
26286 resultobj
= SWIG_Py_Void();
26293 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26297 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26300 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26303 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26307 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26312 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26313 PyObject
*resultobj
= 0;
26314 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26324 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26326 if (!SWIG_IsOK(res1
)) {
26327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26329 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26330 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26331 if (!SWIG_IsOK(ecode2
)) {
26332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26334 arg2
= static_cast< wxDouble
>(val2
);
26335 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26336 if (!SWIG_IsOK(ecode3
)) {
26337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26339 arg3
= static_cast< wxDouble
>(val3
);
26341 (arg1
)->AddLineToPoint(arg2
,arg3
);
26342 if (PyErr_Occurred()) SWIG_fail
;
26344 resultobj
= SWIG_Py_Void();
26351 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26352 PyObject
*resultobj
= 0;
26353 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26354 wxPoint2D
*arg2
= 0 ;
26359 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26361 if (!SWIG_IsOK(res1
)) {
26362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26364 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26367 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26370 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26371 if (PyErr_Occurred()) SWIG_fail
;
26373 resultobj
= SWIG_Py_Void();
26380 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26384 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26387 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26390 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26394 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26399 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26400 PyObject
*resultobj
= 0;
26401 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26423 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26425 if (!SWIG_IsOK(res1
)) {
26426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26428 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26429 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26430 if (!SWIG_IsOK(ecode2
)) {
26431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26433 arg2
= static_cast< wxDouble
>(val2
);
26434 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26435 if (!SWIG_IsOK(ecode3
)) {
26436 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26438 arg3
= static_cast< wxDouble
>(val3
);
26439 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26440 if (!SWIG_IsOK(ecode4
)) {
26441 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26443 arg4
= static_cast< wxDouble
>(val4
);
26444 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26445 if (!SWIG_IsOK(ecode5
)) {
26446 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26448 arg5
= static_cast< wxDouble
>(val5
);
26449 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26450 if (!SWIG_IsOK(ecode6
)) {
26451 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26453 arg6
= static_cast< wxDouble
>(val6
);
26454 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26455 if (!SWIG_IsOK(ecode7
)) {
26456 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26458 arg7
= static_cast< wxDouble
>(val7
);
26460 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26461 if (PyErr_Occurred()) SWIG_fail
;
26463 resultobj
= SWIG_Py_Void();
26470 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26471 PyObject
*resultobj
= 0;
26472 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26473 wxPoint2D
*arg2
= 0 ;
26474 wxPoint2D
*arg3
= 0 ;
26475 wxPoint2D
*arg4
= 0 ;
26482 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26484 if (!SWIG_IsOK(res1
)) {
26485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26487 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26490 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26494 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26498 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26501 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26502 if (PyErr_Occurred()) SWIG_fail
;
26504 resultobj
= SWIG_Py_Void();
26511 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26515 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26518 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26521 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26525 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26530 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26531 PyObject
*resultobj
= 0;
26532 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26533 wxGraphicsPath
*arg2
= 0 ;
26538 PyObject
* obj0
= 0 ;
26539 PyObject
* obj1
= 0 ;
26540 char * kwnames
[] = {
26541 (char *) "self",(char *) "path", NULL
26544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26546 if (!SWIG_IsOK(res1
)) {
26547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26549 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26550 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26551 if (!SWIG_IsOK(res2
)) {
26552 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26555 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26557 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26559 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26560 if (PyErr_Occurred()) SWIG_fail
;
26562 resultobj
= SWIG_Py_Void();
26569 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26570 PyObject
*resultobj
= 0;
26571 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26574 PyObject
*swig_obj
[1] ;
26576 if (!args
) SWIG_fail
;
26577 swig_obj
[0] = args
;
26578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26579 if (!SWIG_IsOK(res1
)) {
26580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26582 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26584 (arg1
)->CloseSubpath();
26585 if (PyErr_Occurred()) SWIG_fail
;
26587 resultobj
= SWIG_Py_Void();
26594 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26595 PyObject
*resultobj
= 0;
26596 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26600 PyObject
*swig_obj
[1] ;
26602 if (!args
) SWIG_fail
;
26603 swig_obj
[0] = args
;
26604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26605 if (!SWIG_IsOK(res1
)) {
26606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26608 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26610 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26611 if (PyErr_Occurred()) SWIG_fail
;
26613 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26620 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26621 PyObject
*resultobj
= 0;
26622 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26644 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26646 if (!SWIG_IsOK(res1
)) {
26647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26649 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26650 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26651 if (!SWIG_IsOK(ecode2
)) {
26652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26654 arg2
= static_cast< wxDouble
>(val2
);
26655 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26656 if (!SWIG_IsOK(ecode3
)) {
26657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26659 arg3
= static_cast< wxDouble
>(val3
);
26660 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26661 if (!SWIG_IsOK(ecode4
)) {
26662 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26664 arg4
= static_cast< wxDouble
>(val4
);
26665 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26666 if (!SWIG_IsOK(ecode5
)) {
26667 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26669 arg5
= static_cast< wxDouble
>(val5
);
26670 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26671 if (!SWIG_IsOK(ecode6
)) {
26672 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26674 arg6
= static_cast< wxDouble
>(val6
);
26675 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26676 if (!SWIG_IsOK(ecode7
)) {
26677 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26679 arg7
= static_cast< bool >(val7
);
26681 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26682 if (PyErr_Occurred()) SWIG_fail
;
26684 resultobj
= SWIG_Py_Void();
26691 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26692 PyObject
*resultobj
= 0;
26693 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26694 wxPoint2D
*arg2
= 0 ;
26711 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26713 if (!SWIG_IsOK(res1
)) {
26714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26716 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26719 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26721 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26722 if (!SWIG_IsOK(ecode3
)) {
26723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26725 arg3
= static_cast< wxDouble
>(val3
);
26726 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26727 if (!SWIG_IsOK(ecode4
)) {
26728 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26730 arg4
= static_cast< wxDouble
>(val4
);
26731 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26732 if (!SWIG_IsOK(ecode5
)) {
26733 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26735 arg5
= static_cast< wxDouble
>(val5
);
26736 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26737 if (!SWIG_IsOK(ecode6
)) {
26738 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26740 arg6
= static_cast< bool >(val6
);
26742 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26743 if (PyErr_Occurred()) SWIG_fail
;
26745 resultobj
= SWIG_Py_Void();
26752 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26756 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26759 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26762 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26766 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26771 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26772 PyObject
*resultobj
= 0;
26773 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26788 PyObject
* obj0
= 0 ;
26789 PyObject
* obj1
= 0 ;
26790 PyObject
* obj2
= 0 ;
26791 PyObject
* obj3
= 0 ;
26792 PyObject
* obj4
= 0 ;
26793 char * kwnames
[] = {
26794 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26799 if (!SWIG_IsOK(res1
)) {
26800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26802 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26803 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26804 if (!SWIG_IsOK(ecode2
)) {
26805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26807 arg2
= static_cast< wxDouble
>(val2
);
26808 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26809 if (!SWIG_IsOK(ecode3
)) {
26810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26812 arg3
= static_cast< wxDouble
>(val3
);
26813 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26814 if (!SWIG_IsOK(ecode4
)) {
26815 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26817 arg4
= static_cast< wxDouble
>(val4
);
26818 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26819 if (!SWIG_IsOK(ecode5
)) {
26820 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26822 arg5
= static_cast< wxDouble
>(val5
);
26824 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26827 resultobj
= SWIG_Py_Void();
26834 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26835 PyObject
*resultobj
= 0;
26836 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26851 PyObject
* obj0
= 0 ;
26852 PyObject
* obj1
= 0 ;
26853 PyObject
* obj2
= 0 ;
26854 PyObject
* obj3
= 0 ;
26855 PyObject
* obj4
= 0 ;
26856 char * kwnames
[] = {
26857 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26862 if (!SWIG_IsOK(res1
)) {
26863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26865 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26866 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26867 if (!SWIG_IsOK(ecode2
)) {
26868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26870 arg2
= static_cast< wxDouble
>(val2
);
26871 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26872 if (!SWIG_IsOK(ecode3
)) {
26873 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26875 arg3
= static_cast< wxDouble
>(val3
);
26876 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26877 if (!SWIG_IsOK(ecode4
)) {
26878 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26880 arg4
= static_cast< wxDouble
>(val4
);
26881 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26882 if (!SWIG_IsOK(ecode5
)) {
26883 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26885 arg5
= static_cast< wxDouble
>(val5
);
26887 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26890 resultobj
= SWIG_Py_Void();
26897 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26898 PyObject
*resultobj
= 0;
26899 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26911 PyObject
* obj0
= 0 ;
26912 PyObject
* obj1
= 0 ;
26913 PyObject
* obj2
= 0 ;
26914 PyObject
* obj3
= 0 ;
26915 char * kwnames
[] = {
26916 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
26919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26921 if (!SWIG_IsOK(res1
)) {
26922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26924 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26925 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26926 if (!SWIG_IsOK(ecode2
)) {
26927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
26929 arg2
= static_cast< wxDouble
>(val2
);
26930 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26931 if (!SWIG_IsOK(ecode3
)) {
26932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
26934 arg3
= static_cast< wxDouble
>(val3
);
26935 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26936 if (!SWIG_IsOK(ecode4
)) {
26937 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
26939 arg4
= static_cast< wxDouble
>(val4
);
26941 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
26942 if (PyErr_Occurred()) SWIG_fail
;
26944 resultobj
= SWIG_Py_Void();
26951 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26952 PyObject
*resultobj
= 0;
26953 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26971 PyObject
* obj0
= 0 ;
26972 PyObject
* obj1
= 0 ;
26973 PyObject
* obj2
= 0 ;
26974 PyObject
* obj3
= 0 ;
26975 PyObject
* obj4
= 0 ;
26976 PyObject
* obj5
= 0 ;
26977 char * kwnames
[] = {
26978 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
26981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26983 if (!SWIG_IsOK(res1
)) {
26984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26986 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26987 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26988 if (!SWIG_IsOK(ecode2
)) {
26989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26991 arg2
= static_cast< wxDouble
>(val2
);
26992 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26993 if (!SWIG_IsOK(ecode3
)) {
26994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26996 arg3
= static_cast< wxDouble
>(val3
);
26997 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26998 if (!SWIG_IsOK(ecode4
)) {
26999 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27001 arg4
= static_cast< wxDouble
>(val4
);
27002 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27003 if (!SWIG_IsOK(ecode5
)) {
27004 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27006 arg5
= static_cast< wxDouble
>(val5
);
27007 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27008 if (!SWIG_IsOK(ecode6
)) {
27009 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27011 arg6
= static_cast< wxDouble
>(val6
);
27013 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27014 if (PyErr_Occurred()) SWIG_fail
;
27016 resultobj
= SWIG_Py_Void();
27023 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27024 PyObject
*resultobj
= 0;
27025 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27040 PyObject
* obj0
= 0 ;
27041 PyObject
* obj1
= 0 ;
27042 PyObject
* obj2
= 0 ;
27043 PyObject
* obj3
= 0 ;
27044 PyObject
* obj4
= 0 ;
27045 char * kwnames
[] = {
27046 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27051 if (!SWIG_IsOK(res1
)) {
27052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27054 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27055 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27056 if (!SWIG_IsOK(ecode2
)) {
27057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27059 arg2
= static_cast< wxDouble
>(val2
);
27060 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27061 if (!SWIG_IsOK(ecode3
)) {
27062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27064 arg3
= static_cast< wxDouble
>(val3
);
27065 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27066 if (!SWIG_IsOK(ecode4
)) {
27067 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27069 arg4
= static_cast< wxDouble
>(val4
);
27070 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27071 if (!SWIG_IsOK(ecode5
)) {
27072 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27074 arg5
= static_cast< wxDouble
>(val5
);
27076 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27077 if (PyErr_Occurred()) SWIG_fail
;
27079 resultobj
= SWIG_Py_Void();
27086 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27087 PyObject
*resultobj
= 0;
27088 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27106 PyObject
* obj0
= 0 ;
27107 PyObject
* obj1
= 0 ;
27108 PyObject
* obj2
= 0 ;
27109 PyObject
* obj3
= 0 ;
27110 PyObject
* obj4
= 0 ;
27111 PyObject
* obj5
= 0 ;
27112 char * kwnames
[] = {
27113 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27118 if (!SWIG_IsOK(res1
)) {
27119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27121 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27122 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27123 if (!SWIG_IsOK(ecode2
)) {
27124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27126 arg2
= static_cast< wxDouble
>(val2
);
27127 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27128 if (!SWIG_IsOK(ecode3
)) {
27129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27131 arg3
= static_cast< wxDouble
>(val3
);
27132 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27133 if (!SWIG_IsOK(ecode4
)) {
27134 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27136 arg4
= static_cast< wxDouble
>(val4
);
27137 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27138 if (!SWIG_IsOK(ecode5
)) {
27139 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27141 arg5
= static_cast< wxDouble
>(val5
);
27142 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27143 if (!SWIG_IsOK(ecode6
)) {
27144 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27146 arg6
= static_cast< wxDouble
>(val6
);
27148 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27151 resultobj
= SWIG_Py_Void();
27158 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27159 PyObject
*resultobj
= 0;
27160 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27164 PyObject
*swig_obj
[1] ;
27166 if (!args
) SWIG_fail
;
27167 swig_obj
[0] = args
;
27168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27169 if (!SWIG_IsOK(res1
)) {
27170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27172 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27174 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27175 if (PyErr_Occurred()) SWIG_fail
;
27177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27184 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27185 PyObject
*resultobj
= 0;
27186 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27187 void *arg2
= (void *) 0 ;
27191 PyObject
* obj0
= 0 ;
27192 PyObject
* obj1
= 0 ;
27193 char * kwnames
[] = {
27194 (char *) "self",(char *) "p", NULL
27197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27199 if (!SWIG_IsOK(res1
)) {
27200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27202 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27203 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27204 if (!SWIG_IsOK(res2
)) {
27205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27208 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27209 if (PyErr_Occurred()) SWIG_fail
;
27211 resultobj
= SWIG_Py_Void();
27218 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27219 PyObject
*resultobj
= 0;
27220 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27221 wxGraphicsMatrix
*arg2
= 0 ;
27226 PyObject
* obj0
= 0 ;
27227 PyObject
* obj1
= 0 ;
27228 char * kwnames
[] = {
27229 (char *) "self",(char *) "matrix", NULL
27232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27234 if (!SWIG_IsOK(res1
)) {
27235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27237 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27238 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27239 if (!SWIG_IsOK(res2
)) {
27240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27243 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27245 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27247 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27248 if (PyErr_Occurred()) SWIG_fail
;
27250 resultobj
= SWIG_Py_Void();
27257 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27258 PyObject
*resultobj
= 0;
27259 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27260 wxRect2DDouble result
;
27263 PyObject
*swig_obj
[1] ;
27265 if (!args
) SWIG_fail
;
27266 swig_obj
[0] = args
;
27267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27268 if (!SWIG_IsOK(res1
)) {
27269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27271 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27273 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27274 if (PyErr_Occurred()) SWIG_fail
;
27276 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
27283 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27284 PyObject
*resultobj
= 0;
27285 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27288 int arg4
= (int) wxODDEVEN_RULE
;
27299 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27301 if (!SWIG_IsOK(res1
)) {
27302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27304 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27305 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27306 if (!SWIG_IsOK(ecode2
)) {
27307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27309 arg2
= static_cast< wxDouble
>(val2
);
27310 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27311 if (!SWIG_IsOK(ecode3
)) {
27312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27314 arg3
= static_cast< wxDouble
>(val3
);
27316 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27317 if (!SWIG_IsOK(ecode4
)) {
27318 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27320 arg4
= static_cast< int >(val4
);
27323 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27324 if (PyErr_Occurred()) SWIG_fail
;
27327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27335 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27336 PyObject
*resultobj
= 0;
27337 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27338 wxPoint2DDouble
*arg2
= 0 ;
27339 int arg3
= (int) wxODDEVEN_RULE
;
27348 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27350 if (!SWIG_IsOK(res1
)) {
27351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27353 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27354 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
27355 if (!SWIG_IsOK(res2
)) {
27356 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27361 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
27363 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27364 if (!SWIG_IsOK(ecode3
)) {
27365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27367 arg3
= static_cast< int >(val3
);
27370 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
27371 if (PyErr_Occurred()) SWIG_fail
;
27374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27382 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27386 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27388 if ((argc
>= 2) && (argc
<= 3)) {
27391 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
27392 _v
= SWIG_CheckState(res
);
27394 if (!_v
) goto check_1
;
27398 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27399 _v
= SWIG_CheckState(res
);
27402 if (!_v
) goto check_1
;
27404 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27408 if ((argc
>= 3) && (argc
<= 4)) {
27409 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27413 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27418 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27420 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27421 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27422 return SWIG_Py_Void();
27425 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27426 return SWIG_Python_InitShadowInstance(args
);
27429 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27430 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27435 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27436 PyObject
*pyobj
= 0;
27438 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27443 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27444 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27449 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27450 PyObject
*pyobj
= 0;
27452 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27457 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27458 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27463 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27464 PyObject
*pyobj
= 0;
27466 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27471 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27472 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27477 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27478 PyObject
*pyobj
= 0;
27480 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27485 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27486 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27491 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27492 PyObject
*pyobj
= 0;
27494 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27499 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27500 PyObject
*resultobj
= 0;
27501 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27504 PyObject
*swig_obj
[1] ;
27506 if (!args
) SWIG_fail
;
27507 swig_obj
[0] = args
;
27508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27509 if (!SWIG_IsOK(res1
)) {
27510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27512 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27516 if (PyErr_Occurred()) SWIG_fail
;
27518 resultobj
= SWIG_Py_Void();
27525 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27526 PyObject
*resultobj
= 0;
27527 wxWindowDC
*arg1
= 0 ;
27528 wxGraphicsContext
*result
= 0 ;
27532 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27534 if (!SWIG_IsOK(res1
)) {
27535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27540 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27542 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27543 if (PyErr_Occurred()) SWIG_fail
;
27545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27552 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27553 PyObject
*resultobj
= 0;
27554 wxWindow
*arg1
= (wxWindow
*) 0 ;
27555 wxGraphicsContext
*result
= 0 ;
27559 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27561 if (!SWIG_IsOK(res1
)) {
27562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27564 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27566 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27567 if (PyErr_Occurred()) SWIG_fail
;
27569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27576 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27580 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27585 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27586 _v
= SWIG_CheckState(res
);
27588 if (!_v
) goto check_1
;
27589 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27594 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27598 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27603 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27604 PyObject
*resultobj
= 0;
27605 void *arg1
= (void *) 0 ;
27606 wxGraphicsContext
*result
= 0 ;
27608 PyObject
* obj0
= 0 ;
27609 char * kwnames
[] = {
27610 (char *) "context", NULL
27613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27614 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27615 if (!SWIG_IsOK(res1
)) {
27616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27619 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27620 if (PyErr_Occurred()) SWIG_fail
;
27622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27629 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27630 PyObject
*resultobj
= 0;
27631 void *arg1
= (void *) 0 ;
27632 wxGraphicsContext
*result
= 0 ;
27634 PyObject
* obj0
= 0 ;
27635 char * kwnames
[] = {
27636 (char *) "window", NULL
27639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27640 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27641 if (!SWIG_IsOK(res1
)) {
27642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27645 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27646 if (PyErr_Occurred()) SWIG_fail
;
27648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27655 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27656 PyObject
*resultobj
= 0;
27657 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27658 wxGraphicsPath result
;
27661 PyObject
*swig_obj
[1] ;
27663 if (!args
) SWIG_fail
;
27664 swig_obj
[0] = args
;
27665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27666 if (!SWIG_IsOK(res1
)) {
27667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27669 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27671 result
= (arg1
)->CreatePath();
27672 if (PyErr_Occurred()) SWIG_fail
;
27674 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27681 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27682 PyObject
*resultobj
= 0;
27683 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27685 wxGraphicsPen result
;
27690 PyObject
* obj0
= 0 ;
27691 PyObject
* obj1
= 0 ;
27692 char * kwnames
[] = {
27693 (char *) "self",(char *) "pen", NULL
27696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27698 if (!SWIG_IsOK(res1
)) {
27699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27701 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27702 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27703 if (!SWIG_IsOK(res2
)) {
27704 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27707 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27709 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27711 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27712 if (PyErr_Occurred()) SWIG_fail
;
27714 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27721 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27722 PyObject
*resultobj
= 0;
27723 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27724 wxBrush
*arg2
= 0 ;
27725 wxGraphicsBrush result
;
27730 PyObject
* obj0
= 0 ;
27731 PyObject
* obj1
= 0 ;
27732 char * kwnames
[] = {
27733 (char *) "self",(char *) "brush", NULL
27736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27738 if (!SWIG_IsOK(res1
)) {
27739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27741 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27742 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27743 if (!SWIG_IsOK(res2
)) {
27744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27749 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27751 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27752 if (PyErr_Occurred()) SWIG_fail
;
27754 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27761 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27762 PyObject
*resultobj
= 0;
27763 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27768 wxColour
*arg6
= 0 ;
27769 wxColour
*arg7
= 0 ;
27770 wxGraphicsBrush result
;
27783 PyObject
* obj0
= 0 ;
27784 PyObject
* obj1
= 0 ;
27785 PyObject
* obj2
= 0 ;
27786 PyObject
* obj3
= 0 ;
27787 PyObject
* obj4
= 0 ;
27788 PyObject
* obj5
= 0 ;
27789 PyObject
* obj6
= 0 ;
27790 char * kwnames
[] = {
27791 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27796 if (!SWIG_IsOK(res1
)) {
27797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27799 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27800 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27801 if (!SWIG_IsOK(ecode2
)) {
27802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27804 arg2
= static_cast< wxDouble
>(val2
);
27805 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27806 if (!SWIG_IsOK(ecode3
)) {
27807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27809 arg3
= static_cast< wxDouble
>(val3
);
27810 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27811 if (!SWIG_IsOK(ecode4
)) {
27812 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27814 arg4
= static_cast< wxDouble
>(val4
);
27815 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27816 if (!SWIG_IsOK(ecode5
)) {
27817 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27819 arg5
= static_cast< wxDouble
>(val5
);
27822 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27826 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27829 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
27830 if (PyErr_Occurred()) SWIG_fail
;
27832 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27839 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27840 PyObject
*resultobj
= 0;
27841 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27847 wxColour
*arg7
= 0 ;
27848 wxColour
*arg8
= 0 ;
27849 wxGraphicsBrush result
;
27864 PyObject
* obj0
= 0 ;
27865 PyObject
* obj1
= 0 ;
27866 PyObject
* obj2
= 0 ;
27867 PyObject
* obj3
= 0 ;
27868 PyObject
* obj4
= 0 ;
27869 PyObject
* obj5
= 0 ;
27870 PyObject
* obj6
= 0 ;
27871 PyObject
* obj7
= 0 ;
27872 char * kwnames
[] = {
27873 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
27876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
27877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27878 if (!SWIG_IsOK(res1
)) {
27879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27881 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27882 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27883 if (!SWIG_IsOK(ecode2
)) {
27884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27886 arg2
= static_cast< wxDouble
>(val2
);
27887 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27888 if (!SWIG_IsOK(ecode3
)) {
27889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27891 arg3
= static_cast< wxDouble
>(val3
);
27892 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27893 if (!SWIG_IsOK(ecode4
)) {
27894 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27896 arg4
= static_cast< wxDouble
>(val4
);
27897 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27898 if (!SWIG_IsOK(ecode5
)) {
27899 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27901 arg5
= static_cast< wxDouble
>(val5
);
27902 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27903 if (!SWIG_IsOK(ecode6
)) {
27904 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
27906 arg6
= static_cast< wxDouble
>(val6
);
27909 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27913 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
27916 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
27917 if (PyErr_Occurred()) SWIG_fail
;
27919 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27926 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27927 PyObject
*resultobj
= 0;
27928 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27930 wxColour
const &arg3_defvalue
= *wxBLACK
;
27931 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
27932 wxGraphicsFont result
;
27938 PyObject
* obj0
= 0 ;
27939 PyObject
* obj1
= 0 ;
27940 PyObject
* obj2
= 0 ;
27941 char * kwnames
[] = {
27942 (char *) "self",(char *) "font",(char *) "col", NULL
27945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27947 if (!SWIG_IsOK(res1
)) {
27948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27950 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27951 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27952 if (!SWIG_IsOK(res2
)) {
27953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27958 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27962 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27966 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
27967 if (PyErr_Occurred()) SWIG_fail
;
27969 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
27976 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27977 PyObject
*resultobj
= 0;
27978 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27979 wxDouble arg2
= (wxDouble
) 1.0 ;
27980 wxDouble arg3
= (wxDouble
) 0.0 ;
27981 wxDouble arg4
= (wxDouble
) 0.0 ;
27982 wxDouble arg5
= (wxDouble
) 1.0 ;
27983 wxDouble arg6
= (wxDouble
) 0.0 ;
27984 wxDouble arg7
= (wxDouble
) 0.0 ;
27985 wxGraphicsMatrix result
;
28000 PyObject
* obj0
= 0 ;
28001 PyObject
* obj1
= 0 ;
28002 PyObject
* obj2
= 0 ;
28003 PyObject
* obj3
= 0 ;
28004 PyObject
* obj4
= 0 ;
28005 PyObject
* obj5
= 0 ;
28006 PyObject
* obj6
= 0 ;
28007 char * kwnames
[] = {
28008 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28013 if (!SWIG_IsOK(res1
)) {
28014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28016 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28018 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28019 if (!SWIG_IsOK(ecode2
)) {
28020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28022 arg2
= static_cast< wxDouble
>(val2
);
28025 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28026 if (!SWIG_IsOK(ecode3
)) {
28027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28029 arg3
= static_cast< wxDouble
>(val3
);
28032 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28033 if (!SWIG_IsOK(ecode4
)) {
28034 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28036 arg4
= static_cast< wxDouble
>(val4
);
28039 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28040 if (!SWIG_IsOK(ecode5
)) {
28041 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28043 arg5
= static_cast< wxDouble
>(val5
);
28046 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28047 if (!SWIG_IsOK(ecode6
)) {
28048 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28050 arg6
= static_cast< wxDouble
>(val6
);
28053 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28054 if (!SWIG_IsOK(ecode7
)) {
28055 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28057 arg7
= static_cast< wxDouble
>(val7
);
28060 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28061 if (PyErr_Occurred()) SWIG_fail
;
28063 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28070 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28071 PyObject
*resultobj
= 0;
28072 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28075 PyObject
*swig_obj
[1] ;
28077 if (!args
) SWIG_fail
;
28078 swig_obj
[0] = args
;
28079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28080 if (!SWIG_IsOK(res1
)) {
28081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28083 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28085 (arg1
)->PushState();
28086 if (PyErr_Occurred()) SWIG_fail
;
28088 resultobj
= SWIG_Py_Void();
28095 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28096 PyObject
*resultobj
= 0;
28097 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28100 PyObject
*swig_obj
[1] ;
28102 if (!args
) SWIG_fail
;
28103 swig_obj
[0] = args
;
28104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28105 if (!SWIG_IsOK(res1
)) {
28106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28108 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28110 (arg1
)->PopState();
28111 if (PyErr_Occurred()) SWIG_fail
;
28113 resultobj
= SWIG_Py_Void();
28120 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28121 PyObject
*resultobj
= 0;
28122 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28123 wxRegion
*arg2
= 0 ;
28128 PyObject
* obj0
= 0 ;
28129 PyObject
* obj1
= 0 ;
28130 char * kwnames
[] = {
28131 (char *) "self",(char *) "region", NULL
28134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28136 if (!SWIG_IsOK(res1
)) {
28137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28139 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28140 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28141 if (!SWIG_IsOK(res2
)) {
28142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28147 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28149 (arg1
)->Clip((wxRegion
const &)*arg2
);
28150 if (PyErr_Occurred()) SWIG_fail
;
28152 resultobj
= SWIG_Py_Void();
28159 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28160 PyObject
*resultobj
= 0;
28161 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28176 PyObject
* obj0
= 0 ;
28177 PyObject
* obj1
= 0 ;
28178 PyObject
* obj2
= 0 ;
28179 PyObject
* obj3
= 0 ;
28180 PyObject
* obj4
= 0 ;
28181 char * kwnames
[] = {
28182 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28187 if (!SWIG_IsOK(res1
)) {
28188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28190 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28191 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28192 if (!SWIG_IsOK(ecode2
)) {
28193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28195 arg2
= static_cast< wxDouble
>(val2
);
28196 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28197 if (!SWIG_IsOK(ecode3
)) {
28198 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28200 arg3
= static_cast< wxDouble
>(val3
);
28201 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28202 if (!SWIG_IsOK(ecode4
)) {
28203 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28205 arg4
= static_cast< wxDouble
>(val4
);
28206 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28207 if (!SWIG_IsOK(ecode5
)) {
28208 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28210 arg5
= static_cast< wxDouble
>(val5
);
28212 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28213 if (PyErr_Occurred()) SWIG_fail
;
28215 resultobj
= SWIG_Py_Void();
28222 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28223 PyObject
*resultobj
= 0;
28224 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28227 PyObject
*swig_obj
[1] ;
28229 if (!args
) SWIG_fail
;
28230 swig_obj
[0] = args
;
28231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28232 if (!SWIG_IsOK(res1
)) {
28233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28235 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28237 (arg1
)->ResetClip();
28238 if (PyErr_Occurred()) SWIG_fail
;
28240 resultobj
= SWIG_Py_Void();
28247 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28248 PyObject
*resultobj
= 0;
28249 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28253 PyObject
*swig_obj
[1] ;
28255 if (!args
) SWIG_fail
;
28256 swig_obj
[0] = args
;
28257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28258 if (!SWIG_IsOK(res1
)) {
28259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28261 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28263 result
= (void *)(arg1
)->GetNativeContext();
28264 if (PyErr_Occurred()) SWIG_fail
;
28266 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28273 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28274 PyObject
*resultobj
= 0;
28275 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28284 PyObject
* obj0
= 0 ;
28285 PyObject
* obj1
= 0 ;
28286 PyObject
* obj2
= 0 ;
28287 char * kwnames
[] = {
28288 (char *) "self",(char *) "dx",(char *) "dy", NULL
28291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28293 if (!SWIG_IsOK(res1
)) {
28294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28296 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28297 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28298 if (!SWIG_IsOK(ecode2
)) {
28299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28301 arg2
= static_cast< wxDouble
>(val2
);
28302 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28303 if (!SWIG_IsOK(ecode3
)) {
28304 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28306 arg3
= static_cast< wxDouble
>(val3
);
28308 (arg1
)->Translate(arg2
,arg3
);
28309 if (PyErr_Occurred()) SWIG_fail
;
28311 resultobj
= SWIG_Py_Void();
28318 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28319 PyObject
*resultobj
= 0;
28320 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28329 PyObject
* obj0
= 0 ;
28330 PyObject
* obj1
= 0 ;
28331 PyObject
* obj2
= 0 ;
28332 char * kwnames
[] = {
28333 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28338 if (!SWIG_IsOK(res1
)) {
28339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28341 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28342 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28343 if (!SWIG_IsOK(ecode2
)) {
28344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28346 arg2
= static_cast< wxDouble
>(val2
);
28347 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28348 if (!SWIG_IsOK(ecode3
)) {
28349 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28351 arg3
= static_cast< wxDouble
>(val3
);
28353 (arg1
)->Scale(arg2
,arg3
);
28354 if (PyErr_Occurred()) SWIG_fail
;
28356 resultobj
= SWIG_Py_Void();
28363 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28364 PyObject
*resultobj
= 0;
28365 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28371 PyObject
* obj0
= 0 ;
28372 PyObject
* obj1
= 0 ;
28373 char * kwnames
[] = {
28374 (char *) "self",(char *) "angle", NULL
28377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28379 if (!SWIG_IsOK(res1
)) {
28380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28382 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28383 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28384 if (!SWIG_IsOK(ecode2
)) {
28385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28387 arg2
= static_cast< wxDouble
>(val2
);
28389 (arg1
)->Rotate(arg2
);
28390 if (PyErr_Occurred()) SWIG_fail
;
28392 resultobj
= SWIG_Py_Void();
28399 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28400 PyObject
*resultobj
= 0;
28401 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28402 wxGraphicsMatrix
*arg2
= 0 ;
28407 PyObject
* obj0
= 0 ;
28408 PyObject
* obj1
= 0 ;
28409 char * kwnames
[] = {
28410 (char *) "self",(char *) "matrix", NULL
28413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28415 if (!SWIG_IsOK(res1
)) {
28416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28418 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28419 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28420 if (!SWIG_IsOK(res2
)) {
28421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28426 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28428 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28429 if (PyErr_Occurred()) SWIG_fail
;
28431 resultobj
= SWIG_Py_Void();
28438 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28439 PyObject
*resultobj
= 0;
28440 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28441 wxGraphicsMatrix
*arg2
= 0 ;
28446 PyObject
* obj0
= 0 ;
28447 PyObject
* obj1
= 0 ;
28448 char * kwnames
[] = {
28449 (char *) "self",(char *) "matrix", NULL
28452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28454 if (!SWIG_IsOK(res1
)) {
28455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28457 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28458 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28459 if (!SWIG_IsOK(res2
)) {
28460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28465 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28467 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28468 if (PyErr_Occurred()) SWIG_fail
;
28470 resultobj
= SWIG_Py_Void();
28477 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28478 PyObject
*resultobj
= 0;
28479 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28480 wxGraphicsMatrix result
;
28483 PyObject
*swig_obj
[1] ;
28485 if (!args
) SWIG_fail
;
28486 swig_obj
[0] = args
;
28487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28488 if (!SWIG_IsOK(res1
)) {
28489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28491 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28493 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28494 if (PyErr_Occurred()) SWIG_fail
;
28496 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28503 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28504 PyObject
*resultobj
= 0;
28505 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28506 wxGraphicsPen
*arg2
= 0 ;
28512 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28514 if (!SWIG_IsOK(res1
)) {
28515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28517 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28518 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28519 if (!SWIG_IsOK(res2
)) {
28520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28525 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28527 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28528 if (PyErr_Occurred()) SWIG_fail
;
28530 resultobj
= SWIG_Py_Void();
28537 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28538 PyObject
*resultobj
= 0;
28539 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28546 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28548 if (!SWIG_IsOK(res1
)) {
28549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28551 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28552 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28553 if (!SWIG_IsOK(res2
)) {
28554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28559 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28561 (arg1
)->SetPen((wxPen
const &)*arg2
);
28562 if (PyErr_Occurred()) SWIG_fail
;
28564 resultobj
= SWIG_Py_Void();
28571 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28575 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28580 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28581 _v
= SWIG_CheckState(res
);
28583 if (!_v
) goto check_1
;
28584 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28589 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28593 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28598 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28599 PyObject
*resultobj
= 0;
28600 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28601 wxGraphicsBrush
*arg2
= 0 ;
28607 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28609 if (!SWIG_IsOK(res1
)) {
28610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28612 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28613 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28614 if (!SWIG_IsOK(res2
)) {
28615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28620 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28622 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28623 if (PyErr_Occurred()) SWIG_fail
;
28625 resultobj
= SWIG_Py_Void();
28632 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28633 PyObject
*resultobj
= 0;
28634 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28635 wxBrush
*arg2
= 0 ;
28641 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28643 if (!SWIG_IsOK(res1
)) {
28644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28646 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28647 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28648 if (!SWIG_IsOK(res2
)) {
28649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28652 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28654 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28656 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28657 if (PyErr_Occurred()) SWIG_fail
;
28659 resultobj
= SWIG_Py_Void();
28666 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28670 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28675 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28676 _v
= SWIG_CheckState(res
);
28678 if (!_v
) goto check_1
;
28679 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28684 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28688 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28693 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28694 PyObject
*resultobj
= 0;
28695 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28696 wxGraphicsFont
*arg2
= 0 ;
28702 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28704 if (!SWIG_IsOK(res1
)) {
28705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28707 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28708 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28709 if (!SWIG_IsOK(res2
)) {
28710 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28713 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28715 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28717 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28718 if (PyErr_Occurred()) SWIG_fail
;
28720 resultobj
= SWIG_Py_Void();
28727 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28728 PyObject
*resultobj
= 0;
28729 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28731 wxColour
const &arg3_defvalue
= *wxBLACK
;
28732 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28739 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28741 if (!SWIG_IsOK(res1
)) {
28742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28744 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28745 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28746 if (!SWIG_IsOK(res2
)) {
28747 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28752 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28756 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
28760 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28761 if (PyErr_Occurred()) SWIG_fail
;
28763 resultobj
= SWIG_Py_Void();
28770 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
28774 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
28779 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
28780 _v
= SWIG_CheckState(res
);
28782 if (!_v
) goto check_1
;
28783 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
28787 if ((argc
>= 2) && (argc
<= 3)) {
28788 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
28792 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
28797 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28798 PyObject
*resultobj
= 0;
28799 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28800 wxGraphicsPath
*arg2
= 0 ;
28805 PyObject
* obj0
= 0 ;
28806 PyObject
* obj1
= 0 ;
28807 char * kwnames
[] = {
28808 (char *) "self",(char *) "path", NULL
28811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28813 if (!SWIG_IsOK(res1
)) {
28814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28816 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28817 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28818 if (!SWIG_IsOK(res2
)) {
28819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28822 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28824 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28826 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
28827 if (PyErr_Occurred()) SWIG_fail
;
28829 resultobj
= SWIG_Py_Void();
28836 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28837 PyObject
*resultobj
= 0;
28838 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28839 wxGraphicsPath
*arg2
= 0 ;
28840 int arg3
= (int) wxODDEVEN_RULE
;
28847 PyObject
* obj0
= 0 ;
28848 PyObject
* obj1
= 0 ;
28849 PyObject
* obj2
= 0 ;
28850 char * kwnames
[] = {
28851 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28856 if (!SWIG_IsOK(res1
)) {
28857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28859 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28860 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28861 if (!SWIG_IsOK(res2
)) {
28862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28865 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28867 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28869 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28870 if (!SWIG_IsOK(ecode3
)) {
28871 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
28873 arg3
= static_cast< int >(val3
);
28876 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
28877 if (PyErr_Occurred()) SWIG_fail
;
28879 resultobj
= SWIG_Py_Void();
28886 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28887 PyObject
*resultobj
= 0;
28888 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28889 wxGraphicsPath
*arg2
= 0 ;
28890 int arg3
= (int) wxODDEVEN_RULE
;
28897 PyObject
* obj0
= 0 ;
28898 PyObject
* obj1
= 0 ;
28899 PyObject
* obj2
= 0 ;
28900 char * kwnames
[] = {
28901 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28906 if (!SWIG_IsOK(res1
)) {
28907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28909 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28910 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28911 if (!SWIG_IsOK(res2
)) {
28912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28917 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28919 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28920 if (!SWIG_IsOK(ecode3
)) {
28921 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
28923 arg3
= static_cast< int >(val3
);
28926 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
28927 if (PyErr_Occurred()) SWIG_fail
;
28929 resultobj
= SWIG_Py_Void();
28936 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28937 PyObject
*resultobj
= 0;
28938 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28939 wxString
*arg2
= 0 ;
28944 bool temp2
= false ;
28949 PyObject
* obj0
= 0 ;
28950 PyObject
* obj1
= 0 ;
28951 PyObject
* obj2
= 0 ;
28952 PyObject
* obj3
= 0 ;
28953 char * kwnames
[] = {
28954 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
28957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28959 if (!SWIG_IsOK(res1
)) {
28960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28962 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28964 arg2
= wxString_in_helper(obj1
);
28965 if (arg2
== NULL
) SWIG_fail
;
28968 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28969 if (!SWIG_IsOK(ecode3
)) {
28970 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
28972 arg3
= static_cast< wxDouble
>(val3
);
28973 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28974 if (!SWIG_IsOK(ecode4
)) {
28975 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
28977 arg4
= static_cast< wxDouble
>(val4
);
28979 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
28980 if (PyErr_Occurred()) SWIG_fail
;
28982 resultobj
= SWIG_Py_Void();
28997 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28998 PyObject
*resultobj
= 0;
28999 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29000 wxString
*arg2
= 0 ;
29006 bool temp2
= false ;
29013 PyObject
* obj0
= 0 ;
29014 PyObject
* obj1
= 0 ;
29015 PyObject
* obj2
= 0 ;
29016 PyObject
* obj3
= 0 ;
29017 PyObject
* obj4
= 0 ;
29018 char * kwnames
[] = {
29019 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
29022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29024 if (!SWIG_IsOK(res1
)) {
29025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29027 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29029 arg2
= wxString_in_helper(obj1
);
29030 if (arg2
== NULL
) SWIG_fail
;
29033 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29034 if (!SWIG_IsOK(ecode3
)) {
29035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29037 arg3
= static_cast< wxDouble
>(val3
);
29038 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29039 if (!SWIG_IsOK(ecode4
)) {
29040 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29042 arg4
= static_cast< wxDouble
>(val4
);
29043 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29044 if (!SWIG_IsOK(ecode5
)) {
29045 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29047 arg5
= static_cast< wxDouble
>(val5
);
29049 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29050 if (PyErr_Occurred()) SWIG_fail
;
29052 resultobj
= SWIG_Py_Void();
29067 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29068 PyObject
*resultobj
= 0;
29069 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29070 wxString
*arg2
= 0 ;
29071 wxDouble
*arg3
= (wxDouble
*) 0 ;
29072 wxDouble
*arg4
= (wxDouble
*) 0 ;
29073 wxDouble
*arg5
= (wxDouble
*) 0 ;
29074 wxDouble
*arg6
= (wxDouble
*) 0 ;
29077 bool temp2
= false ;
29079 int res3
= SWIG_TMPOBJ
;
29081 int res4
= SWIG_TMPOBJ
;
29083 int res5
= SWIG_TMPOBJ
;
29085 int res6
= SWIG_TMPOBJ
;
29086 PyObject
* obj0
= 0 ;
29087 PyObject
* obj1
= 0 ;
29088 char * kwnames
[] = {
29089 (char *) "self",(char *) "text", NULL
29096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29098 if (!SWIG_IsOK(res1
)) {
29099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29101 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29103 arg2
= wxString_in_helper(obj1
);
29104 if (arg2
== NULL
) SWIG_fail
;
29108 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29109 if (PyErr_Occurred()) SWIG_fail
;
29111 resultobj
= SWIG_Py_Void();
29112 if (SWIG_IsTmpObj(res3
)) {
29113 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29115 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29116 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29118 if (SWIG_IsTmpObj(res4
)) {
29119 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29121 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29122 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29124 if (SWIG_IsTmpObj(res5
)) {
29125 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29127 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29128 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29130 if (SWIG_IsTmpObj(res6
)) {
29131 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29133 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29134 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29150 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29151 PyObject
*resultobj
= 0;
29152 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29153 wxString
*arg2
= 0 ;
29154 PyObject
*result
= 0 ;
29157 bool temp2
= false ;
29158 PyObject
* obj0
= 0 ;
29159 PyObject
* obj1
= 0 ;
29160 char * kwnames
[] = {
29161 (char *) "self",(char *) "text", NULL
29164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29166 if (!SWIG_IsOK(res1
)) {
29167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29169 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29171 arg2
= wxString_in_helper(obj1
);
29172 if (arg2
== NULL
) SWIG_fail
;
29176 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29177 if (PyErr_Occurred()) SWIG_fail
;
29179 resultobj
= result
;
29194 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29195 PyObject
*resultobj
= 0;
29196 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29197 wxString
*arg2
= 0 ;
29198 wxArrayDouble result
;
29201 bool temp2
= false ;
29202 PyObject
* obj0
= 0 ;
29203 PyObject
* obj1
= 0 ;
29204 char * kwnames
[] = {
29205 (char *) "self",(char *) "text", NULL
29208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29210 if (!SWIG_IsOK(res1
)) {
29211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29213 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29215 arg2
= wxString_in_helper(obj1
);
29216 if (arg2
== NULL
) SWIG_fail
;
29220 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29221 if (PyErr_Occurred()) SWIG_fail
;
29224 resultobj
= wxArrayDouble2PyList_helper(result
);
29240 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29241 PyObject
*resultobj
= 0;
29242 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29243 wxBitmap
*arg2
= 0 ;
29260 PyObject
* obj0
= 0 ;
29261 PyObject
* obj1
= 0 ;
29262 PyObject
* obj2
= 0 ;
29263 PyObject
* obj3
= 0 ;
29264 PyObject
* obj4
= 0 ;
29265 PyObject
* obj5
= 0 ;
29266 char * kwnames
[] = {
29267 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29272 if (!SWIG_IsOK(res1
)) {
29273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29275 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29276 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29277 if (!SWIG_IsOK(res2
)) {
29278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29283 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29284 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29285 if (!SWIG_IsOK(ecode3
)) {
29286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29288 arg3
= static_cast< wxDouble
>(val3
);
29289 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29290 if (!SWIG_IsOK(ecode4
)) {
29291 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29293 arg4
= static_cast< wxDouble
>(val4
);
29294 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29295 if (!SWIG_IsOK(ecode5
)) {
29296 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29298 arg5
= static_cast< wxDouble
>(val5
);
29299 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29300 if (!SWIG_IsOK(ecode6
)) {
29301 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29303 arg6
= static_cast< wxDouble
>(val6
);
29305 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29306 if (PyErr_Occurred()) SWIG_fail
;
29308 resultobj
= SWIG_Py_Void();
29315 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29316 PyObject
*resultobj
= 0;
29317 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29335 PyObject
* obj0
= 0 ;
29336 PyObject
* obj1
= 0 ;
29337 PyObject
* obj2
= 0 ;
29338 PyObject
* obj3
= 0 ;
29339 PyObject
* obj4
= 0 ;
29340 PyObject
* obj5
= 0 ;
29341 char * kwnames
[] = {
29342 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29347 if (!SWIG_IsOK(res1
)) {
29348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29350 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29351 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29352 if (!SWIG_IsOK(res2
)) {
29353 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29356 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29358 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29359 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29360 if (!SWIG_IsOK(ecode3
)) {
29361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29363 arg3
= static_cast< wxDouble
>(val3
);
29364 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29365 if (!SWIG_IsOK(ecode4
)) {
29366 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29368 arg4
= static_cast< wxDouble
>(val4
);
29369 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29370 if (!SWIG_IsOK(ecode5
)) {
29371 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29373 arg5
= static_cast< wxDouble
>(val5
);
29374 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29375 if (!SWIG_IsOK(ecode6
)) {
29376 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29378 arg6
= static_cast< wxDouble
>(val6
);
29380 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29381 if (PyErr_Occurred()) SWIG_fail
;
29383 resultobj
= SWIG_Py_Void();
29390 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29391 PyObject
*resultobj
= 0;
29392 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29407 PyObject
* obj0
= 0 ;
29408 PyObject
* obj1
= 0 ;
29409 PyObject
* obj2
= 0 ;
29410 PyObject
* obj3
= 0 ;
29411 PyObject
* obj4
= 0 ;
29412 char * kwnames
[] = {
29413 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29418 if (!SWIG_IsOK(res1
)) {
29419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29421 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29422 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29423 if (!SWIG_IsOK(ecode2
)) {
29424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29426 arg2
= static_cast< wxDouble
>(val2
);
29427 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29428 if (!SWIG_IsOK(ecode3
)) {
29429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29431 arg3
= static_cast< wxDouble
>(val3
);
29432 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29433 if (!SWIG_IsOK(ecode4
)) {
29434 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29436 arg4
= static_cast< wxDouble
>(val4
);
29437 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29438 if (!SWIG_IsOK(ecode5
)) {
29439 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29441 arg5
= static_cast< wxDouble
>(val5
);
29443 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29446 resultobj
= SWIG_Py_Void();
29453 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29454 PyObject
*resultobj
= 0;
29455 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29457 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29460 PyObject
* obj0
= 0 ;
29461 PyObject
* obj1
= 0 ;
29462 char * kwnames
[] = {
29463 (char *) "self",(char *) "points", NULL
29466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29468 if (!SWIG_IsOK(res1
)) {
29469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29471 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29473 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29474 if (arg3
== NULL
) SWIG_fail
;
29477 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29478 if (PyErr_Occurred()) SWIG_fail
;
29480 resultobj
= SWIG_Py_Void();
29482 if (arg3
) delete [] arg3
;
29487 if (arg3
) delete [] arg3
;
29493 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29494 PyObject
*resultobj
= 0;
29495 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29496 PyObject
*arg2
= (PyObject
*) 0 ;
29497 PyObject
*arg3
= (PyObject
*) 0 ;
29500 PyObject
* obj0
= 0 ;
29501 PyObject
* obj1
= 0 ;
29502 PyObject
* obj2
= 0 ;
29503 char * kwnames
[] = {
29504 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29509 if (!SWIG_IsOK(res1
)) {
29510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29512 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29516 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29517 if (PyErr_Occurred()) SWIG_fail
;
29519 resultobj
= SWIG_Py_Void();
29526 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29527 PyObject
*resultobj
= 0;
29528 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29530 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29531 int arg4
= (int) wxODDEVEN_RULE
;
29536 PyObject
* obj0
= 0 ;
29537 PyObject
* obj1
= 0 ;
29538 PyObject
* obj2
= 0 ;
29539 char * kwnames
[] = {
29540 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29545 if (!SWIG_IsOK(res1
)) {
29546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29548 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29550 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29551 if (arg3
== NULL
) SWIG_fail
;
29554 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29555 if (!SWIG_IsOK(ecode4
)) {
29556 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29558 arg4
= static_cast< int >(val4
);
29561 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29562 if (PyErr_Occurred()) SWIG_fail
;
29564 resultobj
= SWIG_Py_Void();
29566 if (arg3
) delete [] arg3
;
29571 if (arg3
) delete [] arg3
;
29577 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29578 PyObject
*resultobj
= 0;
29579 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29594 PyObject
* obj0
= 0 ;
29595 PyObject
* obj1
= 0 ;
29596 PyObject
* obj2
= 0 ;
29597 PyObject
* obj3
= 0 ;
29598 PyObject
* obj4
= 0 ;
29599 char * kwnames
[] = {
29600 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29605 if (!SWIG_IsOK(res1
)) {
29606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29608 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29609 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29610 if (!SWIG_IsOK(ecode2
)) {
29611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29613 arg2
= static_cast< wxDouble
>(val2
);
29614 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29615 if (!SWIG_IsOK(ecode3
)) {
29616 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29618 arg3
= static_cast< wxDouble
>(val3
);
29619 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29620 if (!SWIG_IsOK(ecode4
)) {
29621 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29623 arg4
= static_cast< wxDouble
>(val4
);
29624 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29625 if (!SWIG_IsOK(ecode5
)) {
29626 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29628 arg5
= static_cast< wxDouble
>(val5
);
29630 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29631 if (PyErr_Occurred()) SWIG_fail
;
29633 resultobj
= SWIG_Py_Void();
29640 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29641 PyObject
*resultobj
= 0;
29642 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29657 PyObject
* obj0
= 0 ;
29658 PyObject
* obj1
= 0 ;
29659 PyObject
* obj2
= 0 ;
29660 PyObject
* obj3
= 0 ;
29661 PyObject
* obj4
= 0 ;
29662 char * kwnames
[] = {
29663 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29668 if (!SWIG_IsOK(res1
)) {
29669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29671 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29672 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29673 if (!SWIG_IsOK(ecode2
)) {
29674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29676 arg2
= static_cast< wxDouble
>(val2
);
29677 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29678 if (!SWIG_IsOK(ecode3
)) {
29679 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29681 arg3
= static_cast< wxDouble
>(val3
);
29682 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29683 if (!SWIG_IsOK(ecode4
)) {
29684 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29686 arg4
= static_cast< wxDouble
>(val4
);
29687 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29688 if (!SWIG_IsOK(ecode5
)) {
29689 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29691 arg5
= static_cast< wxDouble
>(val5
);
29693 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29694 if (PyErr_Occurred()) SWIG_fail
;
29696 resultobj
= SWIG_Py_Void();
29703 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29704 PyObject
*resultobj
= 0;
29705 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29723 PyObject
* obj0
= 0 ;
29724 PyObject
* obj1
= 0 ;
29725 PyObject
* obj2
= 0 ;
29726 PyObject
* obj3
= 0 ;
29727 PyObject
* obj4
= 0 ;
29728 PyObject
* obj5
= 0 ;
29729 char * kwnames
[] = {
29730 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
29733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29735 if (!SWIG_IsOK(res1
)) {
29736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29738 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29739 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29740 if (!SWIG_IsOK(ecode2
)) {
29741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29743 arg2
= static_cast< wxDouble
>(val2
);
29744 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29745 if (!SWIG_IsOK(ecode3
)) {
29746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29748 arg3
= static_cast< wxDouble
>(val3
);
29749 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29750 if (!SWIG_IsOK(ecode4
)) {
29751 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29753 arg4
= static_cast< wxDouble
>(val4
);
29754 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29755 if (!SWIG_IsOK(ecode5
)) {
29756 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29758 arg5
= static_cast< wxDouble
>(val5
);
29759 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29760 if (!SWIG_IsOK(ecode6
)) {
29761 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
29763 arg6
= static_cast< wxDouble
>(val6
);
29765 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29766 if (PyErr_Occurred()) SWIG_fail
;
29768 resultobj
= SWIG_Py_Void();
29775 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29776 PyObject
*resultobj
= 0;
29777 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29781 PyObject
*swig_obj
[1] ;
29783 if (!args
) SWIG_fail
;
29784 swig_obj
[0] = args
;
29785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29786 if (!SWIG_IsOK(res1
)) {
29787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29789 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29791 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
29792 if (PyErr_Occurred()) SWIG_fail
;
29795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29803 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29805 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29806 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
29807 return SWIG_Py_Void();
29810 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29811 PyObject
*resultobj
= 0;
29812 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29815 PyObject
*swig_obj
[1] ;
29817 if (!args
) SWIG_fail
;
29818 swig_obj
[0] = args
;
29819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
29820 if (!SWIG_IsOK(res1
)) {
29821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29823 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29827 if (PyErr_Occurred()) SWIG_fail
;
29829 resultobj
= SWIG_Py_Void();
29836 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29837 PyObject
*resultobj
= 0;
29838 wxGraphicsRenderer
*result
= 0 ;
29840 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
29842 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
29843 if (PyErr_Occurred()) SWIG_fail
;
29845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29852 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29853 PyObject
*resultobj
= 0;
29854 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29855 wxWindowDC
*arg2
= 0 ;
29856 wxGraphicsContext
*result
= 0 ;
29862 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29864 if (!SWIG_IsOK(res1
)) {
29865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29867 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29868 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
29869 if (!SWIG_IsOK(res2
)) {
29870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29875 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
29877 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
29878 if (PyErr_Occurred()) SWIG_fail
;
29880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29887 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29888 PyObject
*resultobj
= 0;
29889 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29890 wxWindow
*arg2
= (wxWindow
*) 0 ;
29891 wxGraphicsContext
*result
= 0 ;
29897 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29899 if (!SWIG_IsOK(res1
)) {
29900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29902 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29903 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29904 if (!SWIG_IsOK(res2
)) {
29905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
29907 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29909 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
29910 if (PyErr_Occurred()) SWIG_fail
;
29912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29919 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
29923 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
29928 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
29929 _v
= SWIG_CheckState(res
);
29931 if (!_v
) goto check_1
;
29932 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
29937 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
29941 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
29946 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29947 PyObject
*resultobj
= 0;
29948 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29949 void *arg2
= (void *) 0 ;
29950 wxGraphicsContext
*result
= 0 ;
29954 PyObject
* obj0
= 0 ;
29955 PyObject
* obj1
= 0 ;
29956 char * kwnames
[] = {
29957 (char *) "self",(char *) "context", NULL
29960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29962 if (!SWIG_IsOK(res1
)) {
29963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29965 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29966 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
29967 if (!SWIG_IsOK(res2
)) {
29968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
29971 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
29972 if (PyErr_Occurred()) SWIG_fail
;
29974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29981 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29982 PyObject
*resultobj
= 0;
29983 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29984 void *arg2
= (void *) 0 ;
29985 wxGraphicsContext
*result
= 0 ;
29989 PyObject
* obj0
= 0 ;
29990 PyObject
* obj1
= 0 ;
29991 char * kwnames
[] = {
29992 (char *) "self",(char *) "window", NULL
29995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29997 if (!SWIG_IsOK(res1
)) {
29998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30000 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30001 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30002 if (!SWIG_IsOK(res2
)) {
30003 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30006 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30007 if (PyErr_Occurred()) SWIG_fail
;
30009 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30016 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30017 PyObject
*resultobj
= 0;
30018 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30019 wxGraphicsPath result
;
30022 PyObject
*swig_obj
[1] ;
30024 if (!args
) SWIG_fail
;
30025 swig_obj
[0] = args
;
30026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30027 if (!SWIG_IsOK(res1
)) {
30028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30030 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30032 result
= (arg1
)->CreatePath();
30033 if (PyErr_Occurred()) SWIG_fail
;
30035 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30042 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30043 PyObject
*resultobj
= 0;
30044 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30045 wxDouble arg2
= (wxDouble
) 1.0 ;
30046 wxDouble arg3
= (wxDouble
) 0.0 ;
30047 wxDouble arg4
= (wxDouble
) 0.0 ;
30048 wxDouble arg5
= (wxDouble
) 1.0 ;
30049 wxDouble arg6
= (wxDouble
) 0.0 ;
30050 wxDouble arg7
= (wxDouble
) 0.0 ;
30051 wxGraphicsMatrix result
;
30066 PyObject
* obj0
= 0 ;
30067 PyObject
* obj1
= 0 ;
30068 PyObject
* obj2
= 0 ;
30069 PyObject
* obj3
= 0 ;
30070 PyObject
* obj4
= 0 ;
30071 PyObject
* obj5
= 0 ;
30072 PyObject
* obj6
= 0 ;
30073 char * kwnames
[] = {
30074 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30079 if (!SWIG_IsOK(res1
)) {
30080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30082 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30084 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30085 if (!SWIG_IsOK(ecode2
)) {
30086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30088 arg2
= static_cast< wxDouble
>(val2
);
30091 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30092 if (!SWIG_IsOK(ecode3
)) {
30093 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30095 arg3
= static_cast< wxDouble
>(val3
);
30098 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30099 if (!SWIG_IsOK(ecode4
)) {
30100 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30102 arg4
= static_cast< wxDouble
>(val4
);
30105 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30106 if (!SWIG_IsOK(ecode5
)) {
30107 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30109 arg5
= static_cast< wxDouble
>(val5
);
30112 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30113 if (!SWIG_IsOK(ecode6
)) {
30114 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30116 arg6
= static_cast< wxDouble
>(val6
);
30119 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30120 if (!SWIG_IsOK(ecode7
)) {
30121 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30123 arg7
= static_cast< wxDouble
>(val7
);
30126 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30127 if (PyErr_Occurred()) SWIG_fail
;
30129 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30136 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30137 PyObject
*resultobj
= 0;
30138 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30140 wxGraphicsPen result
;
30145 PyObject
* obj0
= 0 ;
30146 PyObject
* obj1
= 0 ;
30147 char * kwnames
[] = {
30148 (char *) "self",(char *) "pen", NULL
30151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30153 if (!SWIG_IsOK(res1
)) {
30154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30156 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30157 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30158 if (!SWIG_IsOK(res2
)) {
30159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30164 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30166 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30167 if (PyErr_Occurred()) SWIG_fail
;
30169 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30176 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30177 PyObject
*resultobj
= 0;
30178 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30179 wxBrush
*arg2
= 0 ;
30180 wxGraphicsBrush result
;
30185 PyObject
* obj0
= 0 ;
30186 PyObject
* obj1
= 0 ;
30187 char * kwnames
[] = {
30188 (char *) "self",(char *) "brush", NULL
30191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30193 if (!SWIG_IsOK(res1
)) {
30194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30196 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30197 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30198 if (!SWIG_IsOK(res2
)) {
30199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30204 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30206 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30207 if (PyErr_Occurred()) SWIG_fail
;
30209 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30216 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30217 PyObject
*resultobj
= 0;
30218 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30223 wxColour
*arg6
= 0 ;
30224 wxColour
*arg7
= 0 ;
30225 wxGraphicsBrush result
;
30238 PyObject
* obj0
= 0 ;
30239 PyObject
* obj1
= 0 ;
30240 PyObject
* obj2
= 0 ;
30241 PyObject
* obj3
= 0 ;
30242 PyObject
* obj4
= 0 ;
30243 PyObject
* obj5
= 0 ;
30244 PyObject
* obj6
= 0 ;
30245 char * kwnames
[] = {
30246 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30251 if (!SWIG_IsOK(res1
)) {
30252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30254 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30255 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30256 if (!SWIG_IsOK(ecode2
)) {
30257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30259 arg2
= static_cast< wxDouble
>(val2
);
30260 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30261 if (!SWIG_IsOK(ecode3
)) {
30262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30264 arg3
= static_cast< wxDouble
>(val3
);
30265 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30266 if (!SWIG_IsOK(ecode4
)) {
30267 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30269 arg4
= static_cast< wxDouble
>(val4
);
30270 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30271 if (!SWIG_IsOK(ecode5
)) {
30272 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30274 arg5
= static_cast< wxDouble
>(val5
);
30277 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30281 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30284 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30285 if (PyErr_Occurred()) SWIG_fail
;
30287 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30294 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30295 PyObject
*resultobj
= 0;
30296 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30302 wxColour
*arg7
= 0 ;
30303 wxColour
*arg8
= 0 ;
30304 wxGraphicsBrush result
;
30319 PyObject
* obj0
= 0 ;
30320 PyObject
* obj1
= 0 ;
30321 PyObject
* obj2
= 0 ;
30322 PyObject
* obj3
= 0 ;
30323 PyObject
* obj4
= 0 ;
30324 PyObject
* obj5
= 0 ;
30325 PyObject
* obj6
= 0 ;
30326 PyObject
* obj7
= 0 ;
30327 char * kwnames
[] = {
30328 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30333 if (!SWIG_IsOK(res1
)) {
30334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30336 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30337 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30338 if (!SWIG_IsOK(ecode2
)) {
30339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30341 arg2
= static_cast< wxDouble
>(val2
);
30342 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30343 if (!SWIG_IsOK(ecode3
)) {
30344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30346 arg3
= static_cast< wxDouble
>(val3
);
30347 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30348 if (!SWIG_IsOK(ecode4
)) {
30349 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30351 arg4
= static_cast< wxDouble
>(val4
);
30352 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30353 if (!SWIG_IsOK(ecode5
)) {
30354 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30356 arg5
= static_cast< wxDouble
>(val5
);
30357 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30358 if (!SWIG_IsOK(ecode6
)) {
30359 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30361 arg6
= static_cast< wxDouble
>(val6
);
30364 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30368 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30371 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30372 if (PyErr_Occurred()) SWIG_fail
;
30374 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30381 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30382 PyObject
*resultobj
= 0;
30383 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30385 wxColour
const &arg3_defvalue
= *wxBLACK
;
30386 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30387 wxGraphicsFont result
;
30393 PyObject
* obj0
= 0 ;
30394 PyObject
* obj1
= 0 ;
30395 PyObject
* obj2
= 0 ;
30396 char * kwnames
[] = {
30397 (char *) "self",(char *) "font",(char *) "col", NULL
30400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30402 if (!SWIG_IsOK(res1
)) {
30403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30405 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30406 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30407 if (!SWIG_IsOK(res2
)) {
30408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30413 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30417 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30421 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30422 if (PyErr_Occurred()) SWIG_fail
;
30424 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30431 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30433 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30434 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30435 return SWIG_Py_Void();
30438 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30439 PyObject
*resultobj
= 0;
30440 wxWindowDC
*arg1
= 0 ;
30441 wxGCDC
*result
= 0 ;
30444 PyObject
* obj0
= 0 ;
30445 char * kwnames
[] = {
30446 (char *) "dc", NULL
30449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
30450 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30451 if (!SWIG_IsOK(res1
)) {
30452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30457 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30459 if (!wxPyCheckForApp()) SWIG_fail
;
30460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30461 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30462 wxPyEndAllowThreads(__tstate
);
30463 if (PyErr_Occurred()) SWIG_fail
;
30465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30472 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30473 PyObject
*resultobj
= 0;
30474 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30477 PyObject
*swig_obj
[1] ;
30479 if (!args
) SWIG_fail
;
30480 swig_obj
[0] = args
;
30481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30482 if (!SWIG_IsOK(res1
)) {
30483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30485 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30489 if (PyErr_Occurred()) SWIG_fail
;
30491 resultobj
= SWIG_Py_Void();
30498 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30499 PyObject
*resultobj
= 0;
30500 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30501 wxGraphicsContext
*result
= 0 ;
30504 PyObject
*swig_obj
[1] ;
30506 if (!args
) SWIG_fail
;
30507 swig_obj
[0] = args
;
30508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30509 if (!SWIG_IsOK(res1
)) {
30510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30512 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30514 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30515 if (PyErr_Occurred()) SWIG_fail
;
30517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30524 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30525 PyObject
*resultobj
= 0;
30526 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30527 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30532 PyObject
* obj0
= 0 ;
30533 PyObject
* obj1
= 0 ;
30534 char * kwnames
[] = {
30535 (char *) "self",(char *) "ctx", NULL
30538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30540 if (!SWIG_IsOK(res1
)) {
30541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30543 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30544 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30545 if (!SWIG_IsOK(res2
)) {
30546 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30548 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30550 (arg1
)->SetGraphicsContext(arg2
);
30551 if (PyErr_Occurred()) SWIG_fail
;
30553 resultobj
= SWIG_Py_Void();
30560 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30562 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30563 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30564 return SWIG_Py_Void();
30567 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30568 return SWIG_Python_InitShadowInstance(args
);
30571 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30572 PyObject
*resultobj
= 0;
30573 wxOverlay
*result
= 0 ;
30575 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30578 result
= (wxOverlay
*)new wxOverlay();
30579 wxPyEndAllowThreads(__tstate
);
30580 if (PyErr_Occurred()) SWIG_fail
;
30582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30589 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30590 PyObject
*resultobj
= 0;
30591 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30594 PyObject
*swig_obj
[1] ;
30596 if (!args
) SWIG_fail
;
30597 swig_obj
[0] = args
;
30598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30599 if (!SWIG_IsOK(res1
)) {
30600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30602 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30607 wxPyEndAllowThreads(__tstate
);
30608 if (PyErr_Occurred()) SWIG_fail
;
30610 resultobj
= SWIG_Py_Void();
30617 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30618 PyObject
*resultobj
= 0;
30619 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30622 PyObject
*swig_obj
[1] ;
30624 if (!args
) SWIG_fail
;
30625 swig_obj
[0] = args
;
30626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30627 if (!SWIG_IsOK(res1
)) {
30628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30630 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30634 wxPyEndAllowThreads(__tstate
);
30635 if (PyErr_Occurred()) SWIG_fail
;
30637 resultobj
= SWIG_Py_Void();
30644 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30646 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30647 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
30648 return SWIG_Py_Void();
30651 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30652 return SWIG_Python_InitShadowInstance(args
);
30655 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30656 PyObject
*resultobj
= 0;
30657 wxOverlay
*arg1
= 0 ;
30658 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30663 wxDCOverlay
*result
= 0 ;
30677 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
30678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30679 if (!SWIG_IsOK(res1
)) {
30680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30685 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30686 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30687 if (!SWIG_IsOK(res2
)) {
30688 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30690 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30691 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
30692 if (!SWIG_IsOK(ecode3
)) {
30693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
30695 arg3
= static_cast< int >(val3
);
30696 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
30697 if (!SWIG_IsOK(ecode4
)) {
30698 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
30700 arg4
= static_cast< int >(val4
);
30701 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
30702 if (!SWIG_IsOK(ecode5
)) {
30703 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
30705 arg5
= static_cast< int >(val5
);
30706 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
30707 if (!SWIG_IsOK(ecode6
)) {
30708 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
30710 arg6
= static_cast< int >(val6
);
30712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30713 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30714 wxPyEndAllowThreads(__tstate
);
30715 if (PyErr_Occurred()) SWIG_fail
;
30717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30724 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30725 PyObject
*resultobj
= 0;
30726 wxOverlay
*arg1
= 0 ;
30727 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30728 wxDCOverlay
*result
= 0 ;
30734 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30736 if (!SWIG_IsOK(res1
)) {
30737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30742 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30743 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30744 if (!SWIG_IsOK(res2
)) {
30745 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30747 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30750 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
30751 wxPyEndAllowThreads(__tstate
);
30752 if (PyErr_Occurred()) SWIG_fail
;
30754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30761 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
30765 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
30768 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
30771 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
30775 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
30780 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30781 PyObject
*resultobj
= 0;
30782 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30785 PyObject
*swig_obj
[1] ;
30787 if (!args
) SWIG_fail
;
30788 swig_obj
[0] = args
;
30789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
30790 if (!SWIG_IsOK(res1
)) {
30791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30793 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30798 wxPyEndAllowThreads(__tstate
);
30799 if (PyErr_Occurred()) SWIG_fail
;
30801 resultobj
= SWIG_Py_Void();
30808 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30809 PyObject
*resultobj
= 0;
30810 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30813 PyObject
*swig_obj
[1] ;
30815 if (!args
) SWIG_fail
;
30816 swig_obj
[0] = args
;
30817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
30818 if (!SWIG_IsOK(res1
)) {
30819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30821 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30825 wxPyEndAllowThreads(__tstate
);
30826 if (PyErr_Occurred()) SWIG_fail
;
30828 resultobj
= SWIG_Py_Void();
30835 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30837 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30838 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
30839 return SWIG_Py_Void();
30842 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30843 return SWIG_Python_InitShadowInstance(args
);
30846 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30847 PyObject
*resultobj
= 0;
30850 int arg3
= (int) true ;
30851 int arg4
= (int) 1 ;
30852 wxImageList
*result
= 0 ;
30861 PyObject
* obj0
= 0 ;
30862 PyObject
* obj1
= 0 ;
30863 PyObject
* obj2
= 0 ;
30864 PyObject
* obj3
= 0 ;
30865 char * kwnames
[] = {
30866 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
30869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30870 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30871 if (!SWIG_IsOK(ecode1
)) {
30872 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
30874 arg1
= static_cast< int >(val1
);
30875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30876 if (!SWIG_IsOK(ecode2
)) {
30877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
30879 arg2
= static_cast< int >(val2
);
30881 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30882 if (!SWIG_IsOK(ecode3
)) {
30883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
30885 arg3
= static_cast< int >(val3
);
30888 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30889 if (!SWIG_IsOK(ecode4
)) {
30890 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
30892 arg4
= static_cast< int >(val4
);
30895 if (!wxPyCheckForApp()) SWIG_fail
;
30896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30897 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
30898 wxPyEndAllowThreads(__tstate
);
30899 if (PyErr_Occurred()) SWIG_fail
;
30901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
30908 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30909 PyObject
*resultobj
= 0;
30910 wxImageList
*arg1
= (wxImageList
*) 0 ;
30913 PyObject
*swig_obj
[1] ;
30915 if (!args
) SWIG_fail
;
30916 swig_obj
[0] = args
;
30917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30918 if (!SWIG_IsOK(res1
)) {
30919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
30921 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30926 wxPyEndAllowThreads(__tstate
);
30927 if (PyErr_Occurred()) SWIG_fail
;
30929 resultobj
= SWIG_Py_Void();
30936 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30937 PyObject
*resultobj
= 0;
30938 wxImageList
*arg1
= (wxImageList
*) 0 ;
30939 wxBitmap
*arg2
= 0 ;
30940 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
30941 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
30949 PyObject
* obj0
= 0 ;
30950 PyObject
* obj1
= 0 ;
30951 PyObject
* obj2
= 0 ;
30952 char * kwnames
[] = {
30953 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
30956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30958 if (!SWIG_IsOK(res1
)) {
30959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
30961 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30962 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30963 if (!SWIG_IsOK(res2
)) {
30964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30969 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30971 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30972 if (!SWIG_IsOK(res3
)) {
30973 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30976 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30978 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30982 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
30983 wxPyEndAllowThreads(__tstate
);
30984 if (PyErr_Occurred()) SWIG_fail
;
30986 resultobj
= SWIG_From_int(static_cast< int >(result
));
30993 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30994 PyObject
*resultobj
= 0;
30995 wxImageList
*arg1
= (wxImageList
*) 0 ;
30996 wxBitmap
*arg2
= 0 ;
30997 wxColour
*arg3
= 0 ;
31004 PyObject
* obj0
= 0 ;
31005 PyObject
* obj1
= 0 ;
31006 PyObject
* obj2
= 0 ;
31007 char * kwnames
[] = {
31008 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31013 if (!SWIG_IsOK(res1
)) {
31014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31016 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31017 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31018 if (!SWIG_IsOK(res2
)) {
31019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31024 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31027 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31031 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31032 wxPyEndAllowThreads(__tstate
);
31033 if (PyErr_Occurred()) SWIG_fail
;
31035 resultobj
= SWIG_From_int(static_cast< int >(result
));
31042 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31043 PyObject
*resultobj
= 0;
31044 wxImageList
*arg1
= (wxImageList
*) 0 ;
31051 PyObject
* obj0
= 0 ;
31052 PyObject
* obj1
= 0 ;
31053 char * kwnames
[] = {
31054 (char *) "self",(char *) "icon", NULL
31057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31059 if (!SWIG_IsOK(res1
)) {
31060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31062 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31063 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31064 if (!SWIG_IsOK(res2
)) {
31065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31068 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31070 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31073 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31074 wxPyEndAllowThreads(__tstate
);
31075 if (PyErr_Occurred()) SWIG_fail
;
31077 resultobj
= SWIG_From_int(static_cast< int >(result
));
31084 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31085 PyObject
*resultobj
= 0;
31086 wxImageList
*arg1
= (wxImageList
*) 0 ;
31088 SwigValueWrapper
<wxBitmap
> result
;
31093 PyObject
* obj0
= 0 ;
31094 PyObject
* obj1
= 0 ;
31095 char * kwnames
[] = {
31096 (char *) "self",(char *) "index", NULL
31099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31101 if (!SWIG_IsOK(res1
)) {
31102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31104 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31106 if (!SWIG_IsOK(ecode2
)) {
31107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31109 arg2
= static_cast< int >(val2
);
31111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31112 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31113 wxPyEndAllowThreads(__tstate
);
31114 if (PyErr_Occurred()) SWIG_fail
;
31116 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31123 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31124 PyObject
*resultobj
= 0;
31125 wxImageList
*arg1
= (wxImageList
*) 0 ;
31132 PyObject
* obj0
= 0 ;
31133 PyObject
* obj1
= 0 ;
31134 char * kwnames
[] = {
31135 (char *) "self",(char *) "index", NULL
31138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31140 if (!SWIG_IsOK(res1
)) {
31141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31143 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31145 if (!SWIG_IsOK(ecode2
)) {
31146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31148 arg2
= static_cast< int >(val2
);
31150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31151 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31152 wxPyEndAllowThreads(__tstate
);
31153 if (PyErr_Occurred()) SWIG_fail
;
31155 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31162 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31163 PyObject
*resultobj
= 0;
31164 wxImageList
*arg1
= (wxImageList
*) 0 ;
31166 wxBitmap
*arg3
= 0 ;
31167 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31168 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31178 PyObject
* obj0
= 0 ;
31179 PyObject
* obj1
= 0 ;
31180 PyObject
* obj2
= 0 ;
31181 PyObject
* obj3
= 0 ;
31182 char * kwnames
[] = {
31183 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31188 if (!SWIG_IsOK(res1
)) {
31189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31191 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31193 if (!SWIG_IsOK(ecode2
)) {
31194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31196 arg2
= static_cast< int >(val2
);
31197 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31198 if (!SWIG_IsOK(res3
)) {
31199 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31204 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31206 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31207 if (!SWIG_IsOK(res4
)) {
31208 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31211 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31213 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31217 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31218 wxPyEndAllowThreads(__tstate
);
31219 if (PyErr_Occurred()) SWIG_fail
;
31222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31230 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31231 PyObject
*resultobj
= 0;
31232 wxImageList
*arg1
= (wxImageList
*) 0 ;
31237 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31238 bool arg7
= (bool) (bool)false ;
31254 PyObject
* obj0
= 0 ;
31255 PyObject
* obj1
= 0 ;
31256 PyObject
* obj2
= 0 ;
31257 PyObject
* obj3
= 0 ;
31258 PyObject
* obj4
= 0 ;
31259 PyObject
* obj5
= 0 ;
31260 PyObject
* obj6
= 0 ;
31261 char * kwnames
[] = {
31262 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31267 if (!SWIG_IsOK(res1
)) {
31268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31270 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31272 if (!SWIG_IsOK(ecode2
)) {
31273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31275 arg2
= static_cast< int >(val2
);
31276 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31277 if (!SWIG_IsOK(res3
)) {
31278 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31283 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31284 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31285 if (!SWIG_IsOK(ecode4
)) {
31286 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31288 arg4
= static_cast< int >(val4
);
31289 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31290 if (!SWIG_IsOK(ecode5
)) {
31291 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31293 arg5
= static_cast< int >(val5
);
31295 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31296 if (!SWIG_IsOK(ecode6
)) {
31297 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31299 arg6
= static_cast< int >(val6
);
31302 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31303 if (!SWIG_IsOK(ecode7
)) {
31304 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31306 arg7
= static_cast< bool >(val7
);
31309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31310 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31311 wxPyEndAllowThreads(__tstate
);
31312 if (PyErr_Occurred()) SWIG_fail
;
31315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31323 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31324 PyObject
*resultobj
= 0;
31325 wxImageList
*arg1
= (wxImageList
*) 0 ;
31329 PyObject
*swig_obj
[1] ;
31331 if (!args
) SWIG_fail
;
31332 swig_obj
[0] = args
;
31333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31334 if (!SWIG_IsOK(res1
)) {
31335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31337 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31340 result
= (int)(arg1
)->GetImageCount();
31341 wxPyEndAllowThreads(__tstate
);
31342 if (PyErr_Occurred()) SWIG_fail
;
31344 resultobj
= SWIG_From_int(static_cast< int >(result
));
31351 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31352 PyObject
*resultobj
= 0;
31353 wxImageList
*arg1
= (wxImageList
*) 0 ;
31360 PyObject
* obj0
= 0 ;
31361 PyObject
* obj1
= 0 ;
31362 char * kwnames
[] = {
31363 (char *) "self",(char *) "index", NULL
31366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31368 if (!SWIG_IsOK(res1
)) {
31369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31371 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31373 if (!SWIG_IsOK(ecode2
)) {
31374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31376 arg2
= static_cast< int >(val2
);
31378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31379 result
= (bool)(arg1
)->Remove(arg2
);
31380 wxPyEndAllowThreads(__tstate
);
31381 if (PyErr_Occurred()) SWIG_fail
;
31384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31392 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31393 PyObject
*resultobj
= 0;
31394 wxImageList
*arg1
= (wxImageList
*) 0 ;
31398 PyObject
*swig_obj
[1] ;
31400 if (!args
) SWIG_fail
;
31401 swig_obj
[0] = args
;
31402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31403 if (!SWIG_IsOK(res1
)) {
31404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31406 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31409 result
= (bool)(arg1
)->RemoveAll();
31410 wxPyEndAllowThreads(__tstate
);
31411 if (PyErr_Occurred()) SWIG_fail
;
31414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31422 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31423 PyObject
*resultobj
= 0;
31424 wxImageList
*arg1
= (wxImageList
*) 0 ;
31433 int res3
= SWIG_TMPOBJ
;
31435 int res4
= SWIG_TMPOBJ
;
31436 PyObject
* obj0
= 0 ;
31437 PyObject
* obj1
= 0 ;
31438 char * kwnames
[] = {
31439 (char *) "self",(char *) "index", NULL
31444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31446 if (!SWIG_IsOK(res1
)) {
31447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31449 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31451 if (!SWIG_IsOK(ecode2
)) {
31452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31454 arg2
= static_cast< int >(val2
);
31456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31457 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31458 wxPyEndAllowThreads(__tstate
);
31459 if (PyErr_Occurred()) SWIG_fail
;
31461 resultobj
= SWIG_Py_Void();
31462 if (SWIG_IsTmpObj(res3
)) {
31463 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31465 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31466 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31468 if (SWIG_IsTmpObj(res4
)) {
31469 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31471 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31472 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31480 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31482 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31483 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31484 return SWIG_Py_Void();
31487 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31488 return SWIG_Python_InitShadowInstance(args
);
31491 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31492 PyObject
*resultobj
= 0;
31493 wxStockGDI
*result
= 0 ;
31495 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31498 result
= (wxStockGDI
*)new wxStockGDI();
31499 wxPyEndAllowThreads(__tstate
);
31500 if (PyErr_Occurred()) SWIG_fail
;
31502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31509 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31510 PyObject
*resultobj
= 0;
31511 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31514 PyObject
*swig_obj
[1] ;
31516 if (!args
) SWIG_fail
;
31517 swig_obj
[0] = args
;
31518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31519 if (!SWIG_IsOK(res1
)) {
31520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31522 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31527 wxPyEndAllowThreads(__tstate
);
31528 if (PyErr_Occurred()) SWIG_fail
;
31530 resultobj
= SWIG_Py_Void();
31537 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31538 PyObject
*resultobj
= 0;
31540 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31543 wxStockGDI::DeleteAll();
31544 wxPyEndAllowThreads(__tstate
);
31545 if (PyErr_Occurred()) SWIG_fail
;
31547 resultobj
= SWIG_Py_Void();
31554 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31555 PyObject
*resultobj
= 0;
31556 wxStockGDI
*result
= 0 ;
31558 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31562 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31563 result
= (wxStockGDI
*) &_result_ref
;
31565 wxPyEndAllowThreads(__tstate
);
31566 if (PyErr_Occurred()) SWIG_fail
;
31568 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31575 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31576 PyObject
*resultobj
= 0;
31577 wxStockGDI::Item arg1
;
31578 wxBrush
*result
= 0 ;
31581 PyObject
* obj0
= 0 ;
31582 char * kwnames
[] = {
31583 (char *) "item", NULL
31586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31587 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31588 if (!SWIG_IsOK(ecode1
)) {
31589 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31591 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31594 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31595 wxPyEndAllowThreads(__tstate
);
31596 if (PyErr_Occurred()) SWIG_fail
;
31598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31605 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31606 PyObject
*resultobj
= 0;
31607 wxStockGDI::Item arg1
;
31608 wxColour
*result
= 0 ;
31611 PyObject
* obj0
= 0 ;
31612 char * kwnames
[] = {
31613 (char *) "item", NULL
31616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31617 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31618 if (!SWIG_IsOK(ecode1
)) {
31619 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31621 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31624 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31625 wxPyEndAllowThreads(__tstate
);
31626 if (PyErr_Occurred()) SWIG_fail
;
31628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31635 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31636 PyObject
*resultobj
= 0;
31637 wxStockGDI::Item arg1
;
31638 wxCursor
*result
= 0 ;
31641 PyObject
* obj0
= 0 ;
31642 char * kwnames
[] = {
31643 (char *) "item", NULL
31646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
31647 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31648 if (!SWIG_IsOK(ecode1
)) {
31649 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31651 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31654 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
31655 wxPyEndAllowThreads(__tstate
);
31656 if (PyErr_Occurred()) SWIG_fail
;
31658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
31665 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31666 PyObject
*resultobj
= 0;
31667 wxStockGDI::Item arg1
;
31668 wxPen
*result
= 0 ;
31671 PyObject
* obj0
= 0 ;
31672 char * kwnames
[] = {
31673 (char *) "item", NULL
31676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
31677 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31678 if (!SWIG_IsOK(ecode1
)) {
31679 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31681 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31684 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
31685 wxPyEndAllowThreads(__tstate
);
31686 if (PyErr_Occurred()) SWIG_fail
;
31688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31695 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31696 PyObject
*resultobj
= 0;
31697 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31698 wxStockGDI::Item arg2
;
31699 wxFont
*result
= 0 ;
31704 PyObject
* obj0
= 0 ;
31705 PyObject
* obj1
= 0 ;
31706 char * kwnames
[] = {
31707 (char *) "self",(char *) "item", NULL
31710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31712 if (!SWIG_IsOK(res1
)) {
31713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31715 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31717 if (!SWIG_IsOK(ecode2
)) {
31718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
31720 arg2
= static_cast< wxStockGDI::Item
>(val2
);
31722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31723 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
31724 wxPyEndAllowThreads(__tstate
);
31725 if (PyErr_Occurred()) SWIG_fail
;
31727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
31734 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31736 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31737 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
31738 return SWIG_Py_Void();
31741 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31742 return SWIG_Python_InitShadowInstance(args
);
31745 SWIGINTERN
int NullBitmap_set(PyObject
*) {
31746 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
31751 SWIGINTERN PyObject
*NullBitmap_get(void) {
31752 PyObject
*pyobj
= 0;
31754 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
31759 SWIGINTERN
int NullIcon_set(PyObject
*) {
31760 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
31765 SWIGINTERN PyObject
*NullIcon_get(void) {
31766 PyObject
*pyobj
= 0;
31768 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
31773 SWIGINTERN
int NullCursor_set(PyObject
*) {
31774 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
31779 SWIGINTERN PyObject
*NullCursor_get(void) {
31780 PyObject
*pyobj
= 0;
31782 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
31787 SWIGINTERN
int NullPen_set(PyObject
*) {
31788 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
31793 SWIGINTERN PyObject
*NullPen_get(void) {
31794 PyObject
*pyobj
= 0;
31796 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
31801 SWIGINTERN
int NullBrush_set(PyObject
*) {
31802 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
31807 SWIGINTERN PyObject
*NullBrush_get(void) {
31808 PyObject
*pyobj
= 0;
31810 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
31815 SWIGINTERN
int NullPalette_set(PyObject
*) {
31816 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
31821 SWIGINTERN PyObject
*NullPalette_get(void) {
31822 PyObject
*pyobj
= 0;
31824 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
31829 SWIGINTERN
int NullFont_set(PyObject
*) {
31830 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
31835 SWIGINTERN PyObject
*NullFont_get(void) {
31836 PyObject
*pyobj
= 0;
31838 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
31843 SWIGINTERN
int NullColour_set(PyObject
*) {
31844 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
31849 SWIGINTERN PyObject
*NullColour_get(void) {
31850 PyObject
*pyobj
= 0;
31852 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
31857 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31858 PyObject
*resultobj
= 0;
31859 wxGDIObjListBase
*result
= 0 ;
31861 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
31863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31864 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
31865 wxPyEndAllowThreads(__tstate
);
31866 if (PyErr_Occurred()) SWIG_fail
;
31868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
31875 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31876 PyObject
*resultobj
= 0;
31877 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
31880 PyObject
*swig_obj
[1] ;
31882 if (!args
) SWIG_fail
;
31883 swig_obj
[0] = args
;
31884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
31885 if (!SWIG_IsOK(res1
)) {
31886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
31888 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
31890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31893 wxPyEndAllowThreads(__tstate
);
31894 if (PyErr_Occurred()) SWIG_fail
;
31896 resultobj
= SWIG_Py_Void();
31903 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31905 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31906 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
31907 return SWIG_Py_Void();
31910 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31911 return SWIG_Python_InitShadowInstance(args
);
31914 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31915 PyObject
*resultobj
= 0;
31916 wxPenList
*arg1
= (wxPenList
*) 0 ;
31917 wxColour
*arg2
= 0 ;
31920 wxPen
*result
= 0 ;
31928 PyObject
* obj0
= 0 ;
31929 PyObject
* obj1
= 0 ;
31930 PyObject
* obj2
= 0 ;
31931 PyObject
* obj3
= 0 ;
31932 char * kwnames
[] = {
31933 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
31936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31938 if (!SWIG_IsOK(res1
)) {
31939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
31941 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31944 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31946 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31947 if (!SWIG_IsOK(ecode3
)) {
31948 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
31950 arg3
= static_cast< int >(val3
);
31951 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31952 if (!SWIG_IsOK(ecode4
)) {
31953 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
31955 arg4
= static_cast< int >(val4
);
31957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31958 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
31959 wxPyEndAllowThreads(__tstate
);
31960 if (PyErr_Occurred()) SWIG_fail
;
31962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31969 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31970 PyObject
*resultobj
= 0;
31971 wxPenList
*arg1
= (wxPenList
*) 0 ;
31972 wxPen
*arg2
= (wxPen
*) 0 ;
31977 PyObject
* obj0
= 0 ;
31978 PyObject
* obj1
= 0 ;
31979 char * kwnames
[] = {
31980 (char *) "self",(char *) "pen", NULL
31983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31985 if (!SWIG_IsOK(res1
)) {
31986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
31988 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31989 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
31990 if (!SWIG_IsOK(res2
)) {
31991 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
31993 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31996 (arg1
)->AddPen(arg2
);
31997 wxPyEndAllowThreads(__tstate
);
31998 if (PyErr_Occurred()) SWIG_fail
;
32000 resultobj
= SWIG_Py_Void();
32007 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32008 PyObject
*resultobj
= 0;
32009 wxPenList
*arg1
= (wxPenList
*) 0 ;
32010 wxPen
*arg2
= (wxPen
*) 0 ;
32015 PyObject
* obj0
= 0 ;
32016 PyObject
* obj1
= 0 ;
32017 char * kwnames
[] = {
32018 (char *) "self",(char *) "pen", NULL
32021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32023 if (!SWIG_IsOK(res1
)) {
32024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32026 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32027 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32028 if (!SWIG_IsOK(res2
)) {
32029 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32031 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32034 (arg1
)->RemovePen(arg2
);
32035 wxPyEndAllowThreads(__tstate
);
32036 if (PyErr_Occurred()) SWIG_fail
;
32038 resultobj
= SWIG_Py_Void();
32045 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32047 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32048 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32049 return SWIG_Py_Void();
32052 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32053 PyObject
*resultobj
= 0;
32054 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32055 wxColour
*arg2
= 0 ;
32056 int arg3
= (int) wxSOLID
;
32057 wxBrush
*result
= 0 ;
32063 PyObject
* obj0
= 0 ;
32064 PyObject
* obj1
= 0 ;
32065 PyObject
* obj2
= 0 ;
32066 char * kwnames
[] = {
32067 (char *) "self",(char *) "colour",(char *) "style", NULL
32070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32072 if (!SWIG_IsOK(res1
)) {
32073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32075 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32078 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32081 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32082 if (!SWIG_IsOK(ecode3
)) {
32083 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32085 arg3
= static_cast< int >(val3
);
32088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32089 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32090 wxPyEndAllowThreads(__tstate
);
32091 if (PyErr_Occurred()) SWIG_fail
;
32093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32100 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32101 PyObject
*resultobj
= 0;
32102 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32103 wxBrush
*arg2
= (wxBrush
*) 0 ;
32108 PyObject
* obj0
= 0 ;
32109 PyObject
* obj1
= 0 ;
32110 char * kwnames
[] = {
32111 (char *) "self",(char *) "brush", NULL
32114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32116 if (!SWIG_IsOK(res1
)) {
32117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32119 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32120 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32121 if (!SWIG_IsOK(res2
)) {
32122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32124 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32127 (arg1
)->AddBrush(arg2
);
32128 wxPyEndAllowThreads(__tstate
);
32129 if (PyErr_Occurred()) SWIG_fail
;
32131 resultobj
= SWIG_Py_Void();
32138 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32139 PyObject
*resultobj
= 0;
32140 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32141 wxBrush
*arg2
= (wxBrush
*) 0 ;
32146 PyObject
* obj0
= 0 ;
32147 PyObject
* obj1
= 0 ;
32148 char * kwnames
[] = {
32149 (char *) "self",(char *) "brush", NULL
32152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32154 if (!SWIG_IsOK(res1
)) {
32155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32157 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32158 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32159 if (!SWIG_IsOK(res2
)) {
32160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32162 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32165 (arg1
)->RemoveBrush(arg2
);
32166 wxPyEndAllowThreads(__tstate
);
32167 if (PyErr_Occurred()) SWIG_fail
;
32169 resultobj
= SWIG_Py_Void();
32176 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32178 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32179 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32180 return SWIG_Py_Void();
32183 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32184 PyObject
*resultobj
= 0;
32185 wxFontList
*arg1
= (wxFontList
*) 0 ;
32190 bool arg6
= (bool) false ;
32191 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32192 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32193 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32194 wxFont
*result
= 0 ;
32207 bool temp7
= false ;
32210 PyObject
* obj0
= 0 ;
32211 PyObject
* obj1
= 0 ;
32212 PyObject
* obj2
= 0 ;
32213 PyObject
* obj3
= 0 ;
32214 PyObject
* obj4
= 0 ;
32215 PyObject
* obj5
= 0 ;
32216 PyObject
* obj6
= 0 ;
32217 PyObject
* obj7
= 0 ;
32218 char * kwnames
[] = {
32219 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32224 if (!SWIG_IsOK(res1
)) {
32225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32227 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32229 if (!SWIG_IsOK(ecode2
)) {
32230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32232 arg2
= static_cast< int >(val2
);
32233 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32234 if (!SWIG_IsOK(ecode3
)) {
32235 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32237 arg3
= static_cast< int >(val3
);
32238 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32239 if (!SWIG_IsOK(ecode4
)) {
32240 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32242 arg4
= static_cast< int >(val4
);
32243 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32244 if (!SWIG_IsOK(ecode5
)) {
32245 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32247 arg5
= static_cast< int >(val5
);
32249 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32250 if (!SWIG_IsOK(ecode6
)) {
32251 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32253 arg6
= static_cast< bool >(val6
);
32257 arg7
= wxString_in_helper(obj6
);
32258 if (arg7
== NULL
) SWIG_fail
;
32263 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32264 if (!SWIG_IsOK(ecode8
)) {
32265 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32267 arg8
= static_cast< wxFontEncoding
>(val8
);
32270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32271 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32272 wxPyEndAllowThreads(__tstate
);
32273 if (PyErr_Occurred()) SWIG_fail
;
32275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32290 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32291 PyObject
*resultobj
= 0;
32292 wxFontList
*arg1
= (wxFontList
*) 0 ;
32293 wxFont
*arg2
= (wxFont
*) 0 ;
32298 PyObject
* obj0
= 0 ;
32299 PyObject
* obj1
= 0 ;
32300 char * kwnames
[] = {
32301 (char *) "self",(char *) "font", NULL
32304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32306 if (!SWIG_IsOK(res1
)) {
32307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32309 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32310 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32311 if (!SWIG_IsOK(res2
)) {
32312 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32314 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32317 (arg1
)->AddFont(arg2
);
32318 wxPyEndAllowThreads(__tstate
);
32319 if (PyErr_Occurred()) SWIG_fail
;
32321 resultobj
= SWIG_Py_Void();
32328 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32329 PyObject
*resultobj
= 0;
32330 wxFontList
*arg1
= (wxFontList
*) 0 ;
32331 wxFont
*arg2
= (wxFont
*) 0 ;
32336 PyObject
* obj0
= 0 ;
32337 PyObject
* obj1
= 0 ;
32338 char * kwnames
[] = {
32339 (char *) "self",(char *) "font", NULL
32342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32344 if (!SWIG_IsOK(res1
)) {
32345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32347 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32348 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32349 if (!SWIG_IsOK(res2
)) {
32350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32352 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32355 (arg1
)->RemoveFont(arg2
);
32356 wxPyEndAllowThreads(__tstate
);
32357 if (PyErr_Occurred()) SWIG_fail
;
32359 resultobj
= SWIG_Py_Void();
32366 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32368 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32369 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32370 return SWIG_Py_Void();
32373 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32374 PyObject
*resultobj
= 0;
32375 wxColourDatabase
*result
= 0 ;
32377 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32379 if (!wxPyCheckForApp()) SWIG_fail
;
32380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32381 result
= (wxColourDatabase
*)new wxColourDatabase();
32382 wxPyEndAllowThreads(__tstate
);
32383 if (PyErr_Occurred()) SWIG_fail
;
32385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32392 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32393 PyObject
*resultobj
= 0;
32394 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32397 PyObject
*swig_obj
[1] ;
32399 if (!args
) SWIG_fail
;
32400 swig_obj
[0] = args
;
32401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32402 if (!SWIG_IsOK(res1
)) {
32403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32405 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32410 wxPyEndAllowThreads(__tstate
);
32411 if (PyErr_Occurred()) SWIG_fail
;
32413 resultobj
= SWIG_Py_Void();
32420 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32421 PyObject
*resultobj
= 0;
32422 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32423 wxString
*arg2
= 0 ;
32427 bool temp2
= false ;
32428 PyObject
* obj0
= 0 ;
32429 PyObject
* obj1
= 0 ;
32430 char * kwnames
[] = {
32431 (char *) "self",(char *) "name", NULL
32434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32436 if (!SWIG_IsOK(res1
)) {
32437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32439 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32441 arg2
= wxString_in_helper(obj1
);
32442 if (arg2
== NULL
) SWIG_fail
;
32446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32447 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32448 wxPyEndAllowThreads(__tstate
);
32449 if (PyErr_Occurred()) SWIG_fail
;
32451 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32466 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32467 PyObject
*resultobj
= 0;
32468 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32469 wxColour
*arg2
= 0 ;
32474 PyObject
* obj0
= 0 ;
32475 PyObject
* obj1
= 0 ;
32476 char * kwnames
[] = {
32477 (char *) "self",(char *) "colour", NULL
32480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32482 if (!SWIG_IsOK(res1
)) {
32483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32485 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32488 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32492 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32493 wxPyEndAllowThreads(__tstate
);
32494 if (PyErr_Occurred()) SWIG_fail
;
32498 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32500 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32509 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32510 PyObject
*resultobj
= 0;
32511 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32512 wxString
*arg2
= 0 ;
32513 wxColour
*arg3
= 0 ;
32516 bool temp2
= false ;
32518 PyObject
* obj0
= 0 ;
32519 PyObject
* obj1
= 0 ;
32520 PyObject
* obj2
= 0 ;
32521 char * kwnames
[] = {
32522 (char *) "self",(char *) "name",(char *) "colour", NULL
32525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32527 if (!SWIG_IsOK(res1
)) {
32528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32530 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32532 arg2
= wxString_in_helper(obj1
);
32533 if (arg2
== NULL
) SWIG_fail
;
32538 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32542 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32543 wxPyEndAllowThreads(__tstate
);
32544 if (PyErr_Occurred()) SWIG_fail
;
32546 resultobj
= SWIG_Py_Void();
32561 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32562 PyObject
*resultobj
= 0;
32563 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32564 wxString
*arg2
= 0 ;
32570 bool temp2
= false ;
32577 PyObject
* obj0
= 0 ;
32578 PyObject
* obj1
= 0 ;
32579 PyObject
* obj2
= 0 ;
32580 PyObject
* obj3
= 0 ;
32581 PyObject
* obj4
= 0 ;
32582 char * kwnames
[] = {
32583 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32588 if (!SWIG_IsOK(res1
)) {
32589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32591 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32593 arg2
= wxString_in_helper(obj1
);
32594 if (arg2
== NULL
) SWIG_fail
;
32597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32598 if (!SWIG_IsOK(ecode3
)) {
32599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32601 arg3
= static_cast< int >(val3
);
32602 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32603 if (!SWIG_IsOK(ecode4
)) {
32604 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32606 arg4
= static_cast< int >(val4
);
32607 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32608 if (!SWIG_IsOK(ecode5
)) {
32609 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32611 arg5
= static_cast< int >(val5
);
32613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32614 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32615 wxPyEndAllowThreads(__tstate
);
32616 if (PyErr_Occurred()) SWIG_fail
;
32618 resultobj
= SWIG_Py_Void();
32633 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32635 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32636 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32637 return SWIG_Py_Void();
32640 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32641 return SWIG_Python_InitShadowInstance(args
);
32644 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32645 PyObject
*resultobj
= 0;
32646 wxFontList
*result
= 0 ;
32648 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32651 result
= (wxFontList
*)_wxPyInitTheFontList();
32652 wxPyEndAllowThreads(__tstate
);
32653 if (PyErr_Occurred()) SWIG_fail
;
32655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
32662 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32663 PyObject
*resultobj
= 0;
32664 wxPenList
*result
= 0 ;
32666 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
32668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32669 result
= (wxPenList
*)_wxPyInitThePenList();
32670 wxPyEndAllowThreads(__tstate
);
32671 if (PyErr_Occurred()) SWIG_fail
;
32673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
32680 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32681 PyObject
*resultobj
= 0;
32682 wxBrushList
*result
= 0 ;
32684 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
32686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32687 result
= (wxBrushList
*)_wxPyInitTheBrushList();
32688 wxPyEndAllowThreads(__tstate
);
32689 if (PyErr_Occurred()) SWIG_fail
;
32691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
32698 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32699 PyObject
*resultobj
= 0;
32700 wxColourDatabase
*result
= 0 ;
32702 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
32704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32705 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
32706 wxPyEndAllowThreads(__tstate
);
32707 if (PyErr_Occurred()) SWIG_fail
;
32709 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32716 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32717 PyObject
*resultobj
= 0;
32718 wxEffects
*result
= 0 ;
32720 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
32722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32723 result
= (wxEffects
*)new wxEffects();
32724 wxPyEndAllowThreads(__tstate
);
32725 if (PyErr_Occurred()) SWIG_fail
;
32727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
32734 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32735 PyObject
*resultobj
= 0;
32736 wxEffects
*arg1
= (wxEffects
*) 0 ;
32740 PyObject
*swig_obj
[1] ;
32742 if (!args
) SWIG_fail
;
32743 swig_obj
[0] = args
;
32744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32745 if (!SWIG_IsOK(res1
)) {
32746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32748 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32751 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
32752 wxPyEndAllowThreads(__tstate
);
32753 if (PyErr_Occurred()) SWIG_fail
;
32755 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32762 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32763 PyObject
*resultobj
= 0;
32764 wxEffects
*arg1
= (wxEffects
*) 0 ;
32768 PyObject
*swig_obj
[1] ;
32770 if (!args
) SWIG_fail
;
32771 swig_obj
[0] = args
;
32772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32773 if (!SWIG_IsOK(res1
)) {
32774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32776 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32779 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
32780 wxPyEndAllowThreads(__tstate
);
32781 if (PyErr_Occurred()) SWIG_fail
;
32783 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32790 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32791 PyObject
*resultobj
= 0;
32792 wxEffects
*arg1
= (wxEffects
*) 0 ;
32796 PyObject
*swig_obj
[1] ;
32798 if (!args
) SWIG_fail
;
32799 swig_obj
[0] = args
;
32800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32801 if (!SWIG_IsOK(res1
)) {
32802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32804 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32807 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
32808 wxPyEndAllowThreads(__tstate
);
32809 if (PyErr_Occurred()) SWIG_fail
;
32811 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32818 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32819 PyObject
*resultobj
= 0;
32820 wxEffects
*arg1
= (wxEffects
*) 0 ;
32824 PyObject
*swig_obj
[1] ;
32826 if (!args
) SWIG_fail
;
32827 swig_obj
[0] = args
;
32828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32829 if (!SWIG_IsOK(res1
)) {
32830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32832 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32835 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
32836 wxPyEndAllowThreads(__tstate
);
32837 if (PyErr_Occurred()) SWIG_fail
;
32839 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32846 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32847 PyObject
*resultobj
= 0;
32848 wxEffects
*arg1
= (wxEffects
*) 0 ;
32852 PyObject
*swig_obj
[1] ;
32854 if (!args
) SWIG_fail
;
32855 swig_obj
[0] = args
;
32856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32857 if (!SWIG_IsOK(res1
)) {
32858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32860 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32863 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
32864 wxPyEndAllowThreads(__tstate
);
32865 if (PyErr_Occurred()) SWIG_fail
;
32867 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32874 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32875 PyObject
*resultobj
= 0;
32876 wxEffects
*arg1
= (wxEffects
*) 0 ;
32877 wxColour
*arg2
= 0 ;
32881 PyObject
* obj0
= 0 ;
32882 PyObject
* obj1
= 0 ;
32883 char * kwnames
[] = {
32884 (char *) "self",(char *) "c", NULL
32887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32889 if (!SWIG_IsOK(res1
)) {
32890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32892 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32895 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32899 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
32900 wxPyEndAllowThreads(__tstate
);
32901 if (PyErr_Occurred()) SWIG_fail
;
32903 resultobj
= SWIG_Py_Void();
32910 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32911 PyObject
*resultobj
= 0;
32912 wxEffects
*arg1
= (wxEffects
*) 0 ;
32913 wxColour
*arg2
= 0 ;
32917 PyObject
* obj0
= 0 ;
32918 PyObject
* obj1
= 0 ;
32919 char * kwnames
[] = {
32920 (char *) "self",(char *) "c", NULL
32923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32925 if (!SWIG_IsOK(res1
)) {
32926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32928 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32931 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32935 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
32936 wxPyEndAllowThreads(__tstate
);
32937 if (PyErr_Occurred()) SWIG_fail
;
32939 resultobj
= SWIG_Py_Void();
32946 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32947 PyObject
*resultobj
= 0;
32948 wxEffects
*arg1
= (wxEffects
*) 0 ;
32949 wxColour
*arg2
= 0 ;
32953 PyObject
* obj0
= 0 ;
32954 PyObject
* obj1
= 0 ;
32955 char * kwnames
[] = {
32956 (char *) "self",(char *) "c", NULL
32959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32961 if (!SWIG_IsOK(res1
)) {
32962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32964 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32967 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32971 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
32972 wxPyEndAllowThreads(__tstate
);
32973 if (PyErr_Occurred()) SWIG_fail
;
32975 resultobj
= SWIG_Py_Void();
32982 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32983 PyObject
*resultobj
= 0;
32984 wxEffects
*arg1
= (wxEffects
*) 0 ;
32985 wxColour
*arg2
= 0 ;
32989 PyObject
* obj0
= 0 ;
32990 PyObject
* obj1
= 0 ;
32991 char * kwnames
[] = {
32992 (char *) "self",(char *) "c", NULL
32995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32997 if (!SWIG_IsOK(res1
)) {
32998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33000 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33003 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33007 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33008 wxPyEndAllowThreads(__tstate
);
33009 if (PyErr_Occurred()) SWIG_fail
;
33011 resultobj
= SWIG_Py_Void();
33018 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33019 PyObject
*resultobj
= 0;
33020 wxEffects
*arg1
= (wxEffects
*) 0 ;
33021 wxColour
*arg2
= 0 ;
33025 PyObject
* obj0
= 0 ;
33026 PyObject
* obj1
= 0 ;
33027 char * kwnames
[] = {
33028 (char *) "self",(char *) "c", NULL
33031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33033 if (!SWIG_IsOK(res1
)) {
33034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33036 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33039 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33043 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33044 wxPyEndAllowThreads(__tstate
);
33045 if (PyErr_Occurred()) SWIG_fail
;
33047 resultobj
= SWIG_Py_Void();
33054 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33055 PyObject
*resultobj
= 0;
33056 wxEffects
*arg1
= (wxEffects
*) 0 ;
33057 wxColour
*arg2
= 0 ;
33058 wxColour
*arg3
= 0 ;
33059 wxColour
*arg4
= 0 ;
33060 wxColour
*arg5
= 0 ;
33061 wxColour
*arg6
= 0 ;
33069 PyObject
* obj0
= 0 ;
33070 PyObject
* obj1
= 0 ;
33071 PyObject
* obj2
= 0 ;
33072 PyObject
* obj3
= 0 ;
33073 PyObject
* obj4
= 0 ;
33074 PyObject
* obj5
= 0 ;
33075 char * kwnames
[] = {
33076 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33081 if (!SWIG_IsOK(res1
)) {
33082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33084 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33087 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33091 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33095 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33099 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33103 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33107 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33108 wxPyEndAllowThreads(__tstate
);
33109 if (PyErr_Occurred()) SWIG_fail
;
33111 resultobj
= SWIG_Py_Void();
33118 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33119 PyObject
*resultobj
= 0;
33120 wxEffects
*arg1
= (wxEffects
*) 0 ;
33123 int arg4
= (int) 1 ;
33131 PyObject
* obj0
= 0 ;
33132 PyObject
* obj1
= 0 ;
33133 PyObject
* obj2
= 0 ;
33134 PyObject
* obj3
= 0 ;
33135 char * kwnames
[] = {
33136 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33141 if (!SWIG_IsOK(res1
)) {
33142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33144 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33145 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33146 if (!SWIG_IsOK(res2
)) {
33147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33150 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33152 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33155 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33158 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33159 if (!SWIG_IsOK(ecode4
)) {
33160 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33162 arg4
= static_cast< int >(val4
);
33165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33166 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33167 wxPyEndAllowThreads(__tstate
);
33168 if (PyErr_Occurred()) SWIG_fail
;
33170 resultobj
= SWIG_Py_Void();
33177 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33178 PyObject
*resultobj
= 0;
33179 wxEffects
*arg1
= (wxEffects
*) 0 ;
33182 wxBitmap
*arg4
= 0 ;
33191 PyObject
* obj0
= 0 ;
33192 PyObject
* obj1
= 0 ;
33193 PyObject
* obj2
= 0 ;
33194 PyObject
* obj3
= 0 ;
33195 char * kwnames
[] = {
33196 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33201 if (!SWIG_IsOK(res1
)) {
33202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33204 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33207 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33209 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33210 if (!SWIG_IsOK(res3
)) {
33211 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33216 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33217 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33218 if (!SWIG_IsOK(res4
)) {
33219 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33224 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33227 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33228 wxPyEndAllowThreads(__tstate
);
33229 if (PyErr_Occurred()) SWIG_fail
;
33232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33240 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33242 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33243 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33244 return SWIG_Py_Void();
33247 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33248 return SWIG_Python_InitShadowInstance(args
);
33251 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33252 PyObject
*resultobj
= 0;
33256 wxSplitterRenderParams
*result
= 0 ;
33263 PyObject
* obj0
= 0 ;
33264 PyObject
* obj1
= 0 ;
33265 PyObject
* obj2
= 0 ;
33266 char * kwnames
[] = {
33267 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33271 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33272 if (!SWIG_IsOK(ecode1
)) {
33273 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33275 arg1
= static_cast< int >(val1
);
33276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33277 if (!SWIG_IsOK(ecode2
)) {
33278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33280 arg2
= static_cast< int >(val2
);
33281 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33282 if (!SWIG_IsOK(ecode3
)) {
33283 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33285 arg3
= static_cast< bool >(val3
);
33287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33288 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33289 wxPyEndAllowThreads(__tstate
);
33290 if (PyErr_Occurred()) SWIG_fail
;
33292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33299 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33300 PyObject
*resultobj
= 0;
33301 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33304 PyObject
*swig_obj
[1] ;
33306 if (!args
) SWIG_fail
;
33307 swig_obj
[0] = args
;
33308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33309 if (!SWIG_IsOK(res1
)) {
33310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33312 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33317 wxPyEndAllowThreads(__tstate
);
33318 if (PyErr_Occurred()) SWIG_fail
;
33320 resultobj
= SWIG_Py_Void();
33327 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33328 PyObject
*resultobj
= 0;
33329 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33333 PyObject
*swig_obj
[1] ;
33335 if (!args
) SWIG_fail
;
33336 swig_obj
[0] = args
;
33337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33338 if (!SWIG_IsOK(res1
)) {
33339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33341 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33342 result
= (int)(int) ((arg1
)->widthSash
);
33343 resultobj
= SWIG_From_int(static_cast< int >(result
));
33350 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33351 PyObject
*resultobj
= 0;
33352 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33356 PyObject
*swig_obj
[1] ;
33358 if (!args
) SWIG_fail
;
33359 swig_obj
[0] = args
;
33360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33361 if (!SWIG_IsOK(res1
)) {
33362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33364 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33365 result
= (int)(int) ((arg1
)->border
);
33366 resultobj
= SWIG_From_int(static_cast< int >(result
));
33373 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33374 PyObject
*resultobj
= 0;
33375 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33379 PyObject
*swig_obj
[1] ;
33381 if (!args
) SWIG_fail
;
33382 swig_obj
[0] = args
;
33383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33384 if (!SWIG_IsOK(res1
)) {
33385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33387 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33388 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33389 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33396 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33398 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33399 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33400 return SWIG_Py_Void();
33403 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33404 return SWIG_Python_InitShadowInstance(args
);
33407 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33408 PyObject
*resultobj
= 0;
33409 wxHeaderButtonParams
*result
= 0 ;
33411 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33414 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33415 wxPyEndAllowThreads(__tstate
);
33416 if (PyErr_Occurred()) SWIG_fail
;
33418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33425 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33426 PyObject
*resultobj
= 0;
33427 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33430 PyObject
*swig_obj
[1] ;
33432 if (!args
) SWIG_fail
;
33433 swig_obj
[0] = args
;
33434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33435 if (!SWIG_IsOK(res1
)) {
33436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33438 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33443 wxPyEndAllowThreads(__tstate
);
33444 if (PyErr_Occurred()) SWIG_fail
;
33446 resultobj
= SWIG_Py_Void();
33453 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33454 PyObject
*resultobj
= 0;
33455 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33456 wxColour
*arg2
= (wxColour
*) 0 ;
33460 PyObject
*swig_obj
[2] ;
33462 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33464 if (!SWIG_IsOK(res1
)) {
33465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33467 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33470 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33472 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33474 resultobj
= SWIG_Py_Void();
33481 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33482 PyObject
*resultobj
= 0;
33483 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33484 wxColour
*result
= 0 ;
33487 PyObject
*swig_obj
[1] ;
33489 if (!args
) SWIG_fail
;
33490 swig_obj
[0] = args
;
33491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33492 if (!SWIG_IsOK(res1
)) {
33493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33495 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33496 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33504 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33505 PyObject
*resultobj
= 0;
33506 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33507 wxColour
*arg2
= (wxColour
*) 0 ;
33511 PyObject
*swig_obj
[2] ;
33513 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33515 if (!SWIG_IsOK(res1
)) {
33516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33518 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33521 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33523 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33525 resultobj
= SWIG_Py_Void();
33532 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33533 PyObject
*resultobj
= 0;
33534 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33535 wxColour
*result
= 0 ;
33538 PyObject
*swig_obj
[1] ;
33540 if (!args
) SWIG_fail
;
33541 swig_obj
[0] = args
;
33542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33543 if (!SWIG_IsOK(res1
)) {
33544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33546 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33547 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33555 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33556 PyObject
*resultobj
= 0;
33557 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33558 wxString
*arg2
= (wxString
*) 0 ;
33561 bool temp2
= false ;
33562 PyObject
*swig_obj
[2] ;
33564 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33566 if (!SWIG_IsOK(res1
)) {
33567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33569 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33571 arg2
= wxString_in_helper(swig_obj
[1]);
33572 if (arg2
== NULL
) SWIG_fail
;
33575 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33577 resultobj
= SWIG_Py_Void();
33592 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33593 PyObject
*resultobj
= 0;
33594 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33595 wxString
*result
= 0 ;
33598 PyObject
*swig_obj
[1] ;
33600 if (!args
) SWIG_fail
;
33601 swig_obj
[0] = args
;
33602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33603 if (!SWIG_IsOK(res1
)) {
33604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33606 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33607 result
= (wxString
*)& ((arg1
)->m_labelText
);
33610 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33612 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33621 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33622 PyObject
*resultobj
= 0;
33623 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33624 wxFont
*arg2
= (wxFont
*) 0 ;
33629 PyObject
*swig_obj
[2] ;
33631 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33633 if (!SWIG_IsOK(res1
)) {
33634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33636 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33637 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33638 if (!SWIG_IsOK(res2
)) {
33639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33641 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33642 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33644 resultobj
= SWIG_Py_Void();
33651 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33652 PyObject
*resultobj
= 0;
33653 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33654 wxFont
*result
= 0 ;
33657 PyObject
*swig_obj
[1] ;
33659 if (!args
) SWIG_fail
;
33660 swig_obj
[0] = args
;
33661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33662 if (!SWIG_IsOK(res1
)) {
33663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33665 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33666 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
33667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33674 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33675 PyObject
*resultobj
= 0;
33676 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33677 wxColour
*arg2
= (wxColour
*) 0 ;
33681 PyObject
*swig_obj
[2] ;
33683 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
33684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33685 if (!SWIG_IsOK(res1
)) {
33686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33688 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33691 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33693 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
33695 resultobj
= SWIG_Py_Void();
33702 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33703 PyObject
*resultobj
= 0;
33704 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33705 wxColour
*result
= 0 ;
33708 PyObject
*swig_obj
[1] ;
33710 if (!args
) SWIG_fail
;
33711 swig_obj
[0] = args
;
33712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33713 if (!SWIG_IsOK(res1
)) {
33714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33716 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33717 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
33718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33725 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33726 PyObject
*resultobj
= 0;
33727 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33728 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33733 PyObject
*swig_obj
[2] ;
33735 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
33736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33737 if (!SWIG_IsOK(res1
)) {
33738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33740 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33741 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
33742 if (!SWIG_IsOK(res2
)) {
33743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
33745 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33746 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
33748 resultobj
= SWIG_Py_Void();
33755 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33756 PyObject
*resultobj
= 0;
33757 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33758 wxBitmap
*result
= 0 ;
33761 PyObject
*swig_obj
[1] ;
33763 if (!args
) SWIG_fail
;
33764 swig_obj
[0] = args
;
33765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33766 if (!SWIG_IsOK(res1
)) {
33767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33769 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33770 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
33771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
33778 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33779 PyObject
*resultobj
= 0;
33780 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33786 PyObject
*swig_obj
[2] ;
33788 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
33789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33790 if (!SWIG_IsOK(res1
)) {
33791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33793 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33794 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33795 if (!SWIG_IsOK(ecode2
)) {
33796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
33798 arg2
= static_cast< int >(val2
);
33799 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
33801 resultobj
= SWIG_Py_Void();
33808 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33809 PyObject
*resultobj
= 0;
33810 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33814 PyObject
*swig_obj
[1] ;
33816 if (!args
) SWIG_fail
;
33817 swig_obj
[0] = args
;
33818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33819 if (!SWIG_IsOK(res1
)) {
33820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33822 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33823 result
= (int) ((arg1
)->m_labelAlignment
);
33824 resultobj
= SWIG_From_int(static_cast< int >(result
));
33831 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33833 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33834 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
33835 return SWIG_Py_Void();
33838 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33839 return SWIG_Python_InitShadowInstance(args
);
33842 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33843 PyObject
*resultobj
= 0;
33846 wxRendererVersion
*result
= 0 ;
33851 PyObject
* obj0
= 0 ;
33852 PyObject
* obj1
= 0 ;
33853 char * kwnames
[] = {
33854 (char *) "version_",(char *) "age_", NULL
33857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33858 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33859 if (!SWIG_IsOK(ecode1
)) {
33860 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
33862 arg1
= static_cast< int >(val1
);
33863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33864 if (!SWIG_IsOK(ecode2
)) {
33865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
33867 arg2
= static_cast< int >(val2
);
33869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33870 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
33871 wxPyEndAllowThreads(__tstate
);
33872 if (PyErr_Occurred()) SWIG_fail
;
33874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
33881 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33882 PyObject
*resultobj
= 0;
33883 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33886 PyObject
*swig_obj
[1] ;
33888 if (!args
) SWIG_fail
;
33889 swig_obj
[0] = args
;
33890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
33891 if (!SWIG_IsOK(res1
)) {
33892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33894 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33899 wxPyEndAllowThreads(__tstate
);
33900 if (PyErr_Occurred()) SWIG_fail
;
33902 resultobj
= SWIG_Py_Void();
33909 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33910 PyObject
*resultobj
= 0;
33911 wxRendererVersion
*arg1
= 0 ;
33915 PyObject
* obj0
= 0 ;
33916 char * kwnames
[] = {
33917 (char *) "ver", NULL
33920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
33921 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
33922 if (!SWIG_IsOK(res1
)) {
33923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33926 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33928 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33931 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
33932 wxPyEndAllowThreads(__tstate
);
33933 if (PyErr_Occurred()) SWIG_fail
;
33936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33944 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33945 PyObject
*resultobj
= 0;
33946 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33950 PyObject
*swig_obj
[1] ;
33952 if (!args
) SWIG_fail
;
33953 swig_obj
[0] = args
;
33954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
33955 if (!SWIG_IsOK(res1
)) {
33956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33958 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33959 result
= (int)(int) ((arg1
)->version
);
33960 resultobj
= SWIG_From_int(static_cast< int >(result
));
33967 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33968 PyObject
*resultobj
= 0;
33969 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33973 PyObject
*swig_obj
[1] ;
33975 if (!args
) SWIG_fail
;
33976 swig_obj
[0] = args
;
33977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
33978 if (!SWIG_IsOK(res1
)) {
33979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33981 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33982 result
= (int)(int) ((arg1
)->age
);
33983 resultobj
= SWIG_From_int(static_cast< int >(result
));
33990 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33992 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33993 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
33994 return SWIG_Py_Void();
33997 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33998 return SWIG_Python_InitShadowInstance(args
);
34001 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34002 PyObject
*resultobj
= 0;
34003 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34004 wxWindow
*arg2
= (wxWindow
*) 0 ;
34007 int arg5
= (int) 0 ;
34008 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34009 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34023 PyObject
* obj0
= 0 ;
34024 PyObject
* obj1
= 0 ;
34025 PyObject
* obj2
= 0 ;
34026 PyObject
* obj3
= 0 ;
34027 PyObject
* obj4
= 0 ;
34028 PyObject
* obj5
= 0 ;
34029 PyObject
* obj6
= 0 ;
34030 char * kwnames
[] = {
34031 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34036 if (!SWIG_IsOK(res1
)) {
34037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34039 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34040 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34041 if (!SWIG_IsOK(res2
)) {
34042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34044 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34045 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34046 if (!SWIG_IsOK(res3
)) {
34047 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34052 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34055 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34058 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34059 if (!SWIG_IsOK(ecode5
)) {
34060 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34062 arg5
= static_cast< int >(val5
);
34065 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34066 if (!SWIG_IsOK(ecode6
)) {
34067 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34069 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34072 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34073 if (!SWIG_IsOK(res7
)) {
34074 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34076 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34080 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34081 wxPyEndAllowThreads(__tstate
);
34082 if (PyErr_Occurred()) SWIG_fail
;
34084 resultobj
= SWIG_Py_Void();
34091 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34092 PyObject
*resultobj
= 0;
34093 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34094 wxWindow
*arg2
= (wxWindow
*) 0 ;
34097 int arg5
= (int) 0 ;
34098 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34099 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34113 PyObject
* obj0
= 0 ;
34114 PyObject
* obj1
= 0 ;
34115 PyObject
* obj2
= 0 ;
34116 PyObject
* obj3
= 0 ;
34117 PyObject
* obj4
= 0 ;
34118 PyObject
* obj5
= 0 ;
34119 PyObject
* obj6
= 0 ;
34120 char * kwnames
[] = {
34121 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34126 if (!SWIG_IsOK(res1
)) {
34127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34129 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34130 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34131 if (!SWIG_IsOK(res2
)) {
34132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34134 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34135 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34136 if (!SWIG_IsOK(res3
)) {
34137 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34140 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34142 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34145 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34148 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34149 if (!SWIG_IsOK(ecode5
)) {
34150 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34152 arg5
= static_cast< int >(val5
);
34155 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34156 if (!SWIG_IsOK(ecode6
)) {
34157 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34159 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34162 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34163 if (!SWIG_IsOK(res7
)) {
34164 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34166 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34170 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34171 wxPyEndAllowThreads(__tstate
);
34172 if (PyErr_Occurred()) SWIG_fail
;
34174 resultobj
= SWIG_Py_Void();
34181 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34182 PyObject
*resultobj
= 0;
34183 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34184 wxWindow
*arg2
= (wxWindow
*) 0 ;
34190 PyObject
* obj0
= 0 ;
34191 PyObject
* obj1
= 0 ;
34192 char * kwnames
[] = {
34193 (char *) "self",(char *) "win", NULL
34196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34198 if (!SWIG_IsOK(res1
)) {
34199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34201 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34202 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34203 if (!SWIG_IsOK(res2
)) {
34204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34206 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34209 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34210 wxPyEndAllowThreads(__tstate
);
34211 if (PyErr_Occurred()) SWIG_fail
;
34213 resultobj
= SWIG_From_int(static_cast< int >(result
));
34220 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34221 PyObject
*resultobj
= 0;
34222 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34223 wxWindow
*arg2
= (wxWindow
*) 0 ;
34226 int arg5
= (int) 0 ;
34236 PyObject
* obj0
= 0 ;
34237 PyObject
* obj1
= 0 ;
34238 PyObject
* obj2
= 0 ;
34239 PyObject
* obj3
= 0 ;
34240 PyObject
* obj4
= 0 ;
34241 char * kwnames
[] = {
34242 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34247 if (!SWIG_IsOK(res1
)) {
34248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34250 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34251 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34252 if (!SWIG_IsOK(res2
)) {
34253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34255 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34256 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34257 if (!SWIG_IsOK(res3
)) {
34258 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34263 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34266 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34269 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34270 if (!SWIG_IsOK(ecode5
)) {
34271 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34273 arg5
= static_cast< int >(val5
);
34276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34277 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34278 wxPyEndAllowThreads(__tstate
);
34279 if (PyErr_Occurred()) SWIG_fail
;
34281 resultobj
= SWIG_Py_Void();
34288 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34289 PyObject
*resultobj
= 0;
34290 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34291 wxWindow
*arg2
= (wxWindow
*) 0 ;
34294 int arg5
= (int) 0 ;
34304 PyObject
* obj0
= 0 ;
34305 PyObject
* obj1
= 0 ;
34306 PyObject
* obj2
= 0 ;
34307 PyObject
* obj3
= 0 ;
34308 PyObject
* obj4
= 0 ;
34309 char * kwnames
[] = {
34310 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34315 if (!SWIG_IsOK(res1
)) {
34316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34318 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34319 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34320 if (!SWIG_IsOK(res2
)) {
34321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34323 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34324 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34325 if (!SWIG_IsOK(res3
)) {
34326 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34331 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34334 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34337 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34338 if (!SWIG_IsOK(ecode5
)) {
34339 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34341 arg5
= static_cast< int >(val5
);
34344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34345 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34346 wxPyEndAllowThreads(__tstate
);
34347 if (PyErr_Occurred()) SWIG_fail
;
34349 resultobj
= SWIG_Py_Void();
34356 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34357 PyObject
*resultobj
= 0;
34358 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34359 wxWindow
*arg2
= (wxWindow
*) 0 ;
34363 wxOrientation arg6
;
34364 int arg7
= (int) 0 ;
34378 PyObject
* obj0
= 0 ;
34379 PyObject
* obj1
= 0 ;
34380 PyObject
* obj2
= 0 ;
34381 PyObject
* obj3
= 0 ;
34382 PyObject
* obj4
= 0 ;
34383 PyObject
* obj5
= 0 ;
34384 PyObject
* obj6
= 0 ;
34385 char * kwnames
[] = {
34386 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34391 if (!SWIG_IsOK(res1
)) {
34392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34394 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34395 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34396 if (!SWIG_IsOK(res2
)) {
34397 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34399 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34400 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34401 if (!SWIG_IsOK(res3
)) {
34402 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34407 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34410 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34412 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34413 if (!SWIG_IsOK(ecode5
)) {
34414 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34416 arg5
= static_cast< int >(val5
);
34417 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34418 if (!SWIG_IsOK(ecode6
)) {
34419 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34421 arg6
= static_cast< wxOrientation
>(val6
);
34423 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34424 if (!SWIG_IsOK(ecode7
)) {
34425 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34427 arg7
= static_cast< int >(val7
);
34430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34431 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34432 wxPyEndAllowThreads(__tstate
);
34433 if (PyErr_Occurred()) SWIG_fail
;
34435 resultobj
= SWIG_Py_Void();
34442 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34443 PyObject
*resultobj
= 0;
34444 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34445 wxWindow
*arg2
= (wxWindow
*) 0 ;
34448 int arg5
= (int) 0 ;
34458 PyObject
* obj0
= 0 ;
34459 PyObject
* obj1
= 0 ;
34460 PyObject
* obj2
= 0 ;
34461 PyObject
* obj3
= 0 ;
34462 PyObject
* obj4
= 0 ;
34463 char * kwnames
[] = {
34464 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34469 if (!SWIG_IsOK(res1
)) {
34470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34472 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34473 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34474 if (!SWIG_IsOK(res2
)) {
34475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34477 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34478 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34479 if (!SWIG_IsOK(res3
)) {
34480 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34485 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34488 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34491 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34492 if (!SWIG_IsOK(ecode5
)) {
34493 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34495 arg5
= static_cast< int >(val5
);
34498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34499 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34500 wxPyEndAllowThreads(__tstate
);
34501 if (PyErr_Occurred()) SWIG_fail
;
34503 resultobj
= SWIG_Py_Void();
34510 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34511 PyObject
*resultobj
= 0;
34512 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34513 wxWindow
*arg2
= (wxWindow
*) 0 ;
34516 int arg5
= (int) 0 ;
34526 PyObject
* obj0
= 0 ;
34527 PyObject
* obj1
= 0 ;
34528 PyObject
* obj2
= 0 ;
34529 PyObject
* obj3
= 0 ;
34530 PyObject
* obj4
= 0 ;
34531 char * kwnames
[] = {
34532 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34537 if (!SWIG_IsOK(res1
)) {
34538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34540 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34541 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34542 if (!SWIG_IsOK(res2
)) {
34543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34545 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34546 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34547 if (!SWIG_IsOK(res3
)) {
34548 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34551 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34553 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34556 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34559 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34560 if (!SWIG_IsOK(ecode5
)) {
34561 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34563 arg5
= static_cast< int >(val5
);
34566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34567 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34568 wxPyEndAllowThreads(__tstate
);
34569 if (PyErr_Occurred()) SWIG_fail
;
34571 resultobj
= SWIG_Py_Void();
34578 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34579 PyObject
*resultobj
= 0;
34580 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34581 wxWindow
*arg2
= (wxWindow
*) 0 ;
34584 int arg5
= (int) 0 ;
34594 PyObject
* obj0
= 0 ;
34595 PyObject
* obj1
= 0 ;
34596 PyObject
* obj2
= 0 ;
34597 PyObject
* obj3
= 0 ;
34598 PyObject
* obj4
= 0 ;
34599 char * kwnames
[] = {
34600 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34605 if (!SWIG_IsOK(res1
)) {
34606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34608 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34609 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34610 if (!SWIG_IsOK(res2
)) {
34611 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34613 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34614 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34615 if (!SWIG_IsOK(res3
)) {
34616 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34621 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34624 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34627 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34628 if (!SWIG_IsOK(ecode5
)) {
34629 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34631 arg5
= static_cast< int >(val5
);
34634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34635 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34636 wxPyEndAllowThreads(__tstate
);
34637 if (PyErr_Occurred()) SWIG_fail
;
34639 resultobj
= SWIG_Py_Void();
34646 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34647 PyObject
*resultobj
= 0;
34648 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34649 wxWindow
*arg2
= (wxWindow
*) 0 ;
34652 int arg5
= (int) 0 ;
34662 PyObject
* obj0
= 0 ;
34663 PyObject
* obj1
= 0 ;
34664 PyObject
* obj2
= 0 ;
34665 PyObject
* obj3
= 0 ;
34666 PyObject
* obj4
= 0 ;
34667 char * kwnames
[] = {
34668 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34673 if (!SWIG_IsOK(res1
)) {
34674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34676 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34677 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34678 if (!SWIG_IsOK(res2
)) {
34679 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34681 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34682 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34683 if (!SWIG_IsOK(res3
)) {
34684 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34689 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34692 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34695 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34696 if (!SWIG_IsOK(ecode5
)) {
34697 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
34699 arg5
= static_cast< int >(val5
);
34702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34703 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34704 wxPyEndAllowThreads(__tstate
);
34705 if (PyErr_Occurred()) SWIG_fail
;
34707 resultobj
= SWIG_Py_Void();
34714 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34715 PyObject
*resultobj
= 0;
34716 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34717 wxWindow
*arg2
= (wxWindow
*) 0 ;
34720 int arg5
= (int) 0 ;
34730 PyObject
* obj0
= 0 ;
34731 PyObject
* obj1
= 0 ;
34732 PyObject
* obj2
= 0 ;
34733 PyObject
* obj3
= 0 ;
34734 PyObject
* obj4
= 0 ;
34735 char * kwnames
[] = {
34736 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34741 if (!SWIG_IsOK(res1
)) {
34742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34744 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34745 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34746 if (!SWIG_IsOK(res2
)) {
34747 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
34749 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34750 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34751 if (!SWIG_IsOK(res3
)) {
34752 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34755 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34757 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34760 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34763 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34764 if (!SWIG_IsOK(ecode5
)) {
34765 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
34767 arg5
= static_cast< int >(val5
);
34770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34771 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34772 wxPyEndAllowThreads(__tstate
);
34773 if (PyErr_Occurred()) SWIG_fail
;
34775 resultobj
= SWIG_Py_Void();
34782 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34783 PyObject
*resultobj
= 0;
34784 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34785 wxWindow
*arg2
= (wxWindow
*) 0 ;
34786 SwigValueWrapper
<wxSplitterRenderParams
> result
;
34791 PyObject
* obj0
= 0 ;
34792 PyObject
* obj1
= 0 ;
34793 char * kwnames
[] = {
34794 (char *) "self",(char *) "win", NULL
34797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34799 if (!SWIG_IsOK(res1
)) {
34800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34802 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34803 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34804 if (!SWIG_IsOK(res2
)) {
34805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
34807 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34810 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
34811 wxPyEndAllowThreads(__tstate
);
34812 if (PyErr_Occurred()) SWIG_fail
;
34814 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
34821 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34822 PyObject
*resultobj
= 0;
34823 wxRendererNative
*result
= 0 ;
34825 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
34827 if (!wxPyCheckForApp()) SWIG_fail
;
34828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34830 wxRendererNative
&_result_ref
= wxRendererNative::Get();
34831 result
= (wxRendererNative
*) &_result_ref
;
34833 wxPyEndAllowThreads(__tstate
);
34834 if (PyErr_Occurred()) SWIG_fail
;
34836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34843 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34844 PyObject
*resultobj
= 0;
34845 wxRendererNative
*result
= 0 ;
34847 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
34849 if (!wxPyCheckForApp()) SWIG_fail
;
34850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34852 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
34853 result
= (wxRendererNative
*) &_result_ref
;
34855 wxPyEndAllowThreads(__tstate
);
34856 if (PyErr_Occurred()) SWIG_fail
;
34858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34865 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34866 PyObject
*resultobj
= 0;
34867 wxRendererNative
*result
= 0 ;
34869 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
34871 if (!wxPyCheckForApp()) SWIG_fail
;
34872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34874 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
34875 result
= (wxRendererNative
*) &_result_ref
;
34877 wxPyEndAllowThreads(__tstate
);
34878 if (PyErr_Occurred()) SWIG_fail
;
34880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34887 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34888 PyObject
*resultobj
= 0;
34889 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34890 wxRendererNative
*result
= 0 ;
34893 PyObject
* obj0
= 0 ;
34894 char * kwnames
[] = {
34895 (char *) "renderer", NULL
34898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
34899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34900 if (!SWIG_IsOK(res1
)) {
34901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34903 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34905 if (!wxPyCheckForApp()) SWIG_fail
;
34906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34907 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
34908 wxPyEndAllowThreads(__tstate
);
34909 if (PyErr_Occurred()) SWIG_fail
;
34911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34918 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34919 PyObject
*resultobj
= 0;
34920 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34921 SwigValueWrapper
<wxRendererVersion
> result
;
34924 PyObject
*swig_obj
[1] ;
34926 if (!args
) SWIG_fail
;
34927 swig_obj
[0] = args
;
34928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34929 if (!SWIG_IsOK(res1
)) {
34930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
34932 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34935 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
34936 wxPyEndAllowThreads(__tstate
);
34937 if (PyErr_Occurred()) SWIG_fail
;
34939 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
34946 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34948 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34949 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
34950 return SWIG_Py_Void();
34953 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34954 PyObject
*resultobj
= 0;
34955 wxPseudoDC
*result
= 0 ;
34957 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
34959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34960 result
= (wxPseudoDC
*)new wxPseudoDC();
34961 wxPyEndAllowThreads(__tstate
);
34962 if (PyErr_Occurred()) SWIG_fail
;
34964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
34971 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34972 PyObject
*resultobj
= 0;
34973 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34976 PyObject
*swig_obj
[1] ;
34978 if (!args
) SWIG_fail
;
34979 swig_obj
[0] = args
;
34980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34981 if (!SWIG_IsOK(res1
)) {
34982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34984 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34987 (arg1
)->BeginDrawing();
34988 wxPyEndAllowThreads(__tstate
);
34989 if (PyErr_Occurred()) SWIG_fail
;
34991 resultobj
= SWIG_Py_Void();
34998 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34999 PyObject
*resultobj
= 0;
35000 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35003 PyObject
*swig_obj
[1] ;
35005 if (!args
) SWIG_fail
;
35006 swig_obj
[0] = args
;
35007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35008 if (!SWIG_IsOK(res1
)) {
35009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35011 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35014 (arg1
)->EndDrawing();
35015 wxPyEndAllowThreads(__tstate
);
35016 if (PyErr_Occurred()) SWIG_fail
;
35018 resultobj
= SWIG_Py_Void();
35025 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35026 PyObject
*resultobj
= 0;
35027 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35030 PyObject
*swig_obj
[1] ;
35032 if (!args
) SWIG_fail
;
35033 swig_obj
[0] = args
;
35034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35035 if (!SWIG_IsOK(res1
)) {
35036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35038 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35043 wxPyEndAllowThreads(__tstate
);
35044 if (PyErr_Occurred()) SWIG_fail
;
35046 resultobj
= SWIG_Py_Void();
35053 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35054 PyObject
*resultobj
= 0;
35055 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35058 PyObject
*swig_obj
[1] ;
35060 if (!args
) SWIG_fail
;
35061 swig_obj
[0] = args
;
35062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35063 if (!SWIG_IsOK(res1
)) {
35064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35066 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35069 (arg1
)->RemoveAll();
35070 wxPyEndAllowThreads(__tstate
);
35071 if (PyErr_Occurred()) SWIG_fail
;
35073 resultobj
= SWIG_Py_Void();
35080 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35081 PyObject
*resultobj
= 0;
35082 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35086 PyObject
*swig_obj
[1] ;
35088 if (!args
) SWIG_fail
;
35089 swig_obj
[0] = args
;
35090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35091 if (!SWIG_IsOK(res1
)) {
35092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35094 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35097 result
= (int)(arg1
)->GetLen();
35098 wxPyEndAllowThreads(__tstate
);
35099 if (PyErr_Occurred()) SWIG_fail
;
35101 resultobj
= SWIG_From_int(static_cast< int >(result
));
35108 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(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 *) "id", NULL
35122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",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_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35127 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35129 if (!SWIG_IsOK(ecode2
)) {
35130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35132 arg2
= static_cast< int >(val2
);
35134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35135 (arg1
)->SetId(arg2
);
35136 wxPyEndAllowThreads(__tstate
);
35137 if (PyErr_Occurred()) SWIG_fail
;
35139 resultobj
= SWIG_Py_Void();
35146 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35147 PyObject
*resultobj
= 0;
35148 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35154 PyObject
* obj0
= 0 ;
35155 PyObject
* obj1
= 0 ;
35156 char * kwnames
[] = {
35157 (char *) "self",(char *) "id", NULL
35160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35162 if (!SWIG_IsOK(res1
)) {
35163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35165 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35167 if (!SWIG_IsOK(ecode2
)) {
35168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35170 arg2
= static_cast< int >(val2
);
35172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35173 (arg1
)->ClearId(arg2
);
35174 wxPyEndAllowThreads(__tstate
);
35175 if (PyErr_Occurred()) SWIG_fail
;
35177 resultobj
= SWIG_Py_Void();
35184 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35185 PyObject
*resultobj
= 0;
35186 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35192 PyObject
* obj0
= 0 ;
35193 PyObject
* obj1
= 0 ;
35194 char * kwnames
[] = {
35195 (char *) "self",(char *) "id", NULL
35198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35200 if (!SWIG_IsOK(res1
)) {
35201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35203 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35205 if (!SWIG_IsOK(ecode2
)) {
35206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35208 arg2
= static_cast< int >(val2
);
35210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35211 (arg1
)->RemoveId(arg2
);
35212 wxPyEndAllowThreads(__tstate
);
35213 if (PyErr_Occurred()) SWIG_fail
;
35215 resultobj
= SWIG_Py_Void();
35222 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35223 PyObject
*resultobj
= 0;
35224 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35236 PyObject
* obj0
= 0 ;
35237 PyObject
* obj1
= 0 ;
35238 PyObject
* obj2
= 0 ;
35239 PyObject
* obj3
= 0 ;
35240 char * kwnames
[] = {
35241 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35246 if (!SWIG_IsOK(res1
)) {
35247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35249 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35251 if (!SWIG_IsOK(ecode2
)) {
35252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35254 arg2
= static_cast< int >(val2
);
35255 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35256 if (!SWIG_IsOK(ecode3
)) {
35257 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35259 arg3
= static_cast< int >(val3
);
35260 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35261 if (!SWIG_IsOK(ecode4
)) {
35262 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35264 arg4
= static_cast< int >(val4
);
35266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35267 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35268 wxPyEndAllowThreads(__tstate
);
35269 if (PyErr_Occurred()) SWIG_fail
;
35271 resultobj
= SWIG_Py_Void();
35278 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35279 PyObject
*resultobj
= 0;
35280 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35282 bool arg3
= (bool) true ;
35289 PyObject
* obj0
= 0 ;
35290 PyObject
* obj1
= 0 ;
35291 PyObject
* obj2
= 0 ;
35292 char * kwnames
[] = {
35293 (char *) "self",(char *) "id",(char *) "greyout", NULL
35296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35298 if (!SWIG_IsOK(res1
)) {
35299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35301 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35303 if (!SWIG_IsOK(ecode2
)) {
35304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35306 arg2
= static_cast< int >(val2
);
35308 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35309 if (!SWIG_IsOK(ecode3
)) {
35310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35312 arg3
= static_cast< bool >(val3
);
35315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35316 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35317 wxPyEndAllowThreads(__tstate
);
35318 if (PyErr_Occurred()) SWIG_fail
;
35320 resultobj
= SWIG_Py_Void();
35327 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35328 PyObject
*resultobj
= 0;
35329 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35336 PyObject
* obj0
= 0 ;
35337 PyObject
* obj1
= 0 ;
35338 char * kwnames
[] = {
35339 (char *) "self",(char *) "id", NULL
35342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35344 if (!SWIG_IsOK(res1
)) {
35345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35347 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35349 if (!SWIG_IsOK(ecode2
)) {
35350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35352 arg2
= static_cast< int >(val2
);
35354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35355 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35356 wxPyEndAllowThreads(__tstate
);
35357 if (PyErr_Occurred()) SWIG_fail
;
35360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35368 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35369 PyObject
*resultobj
= 0;
35370 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35373 int arg4
= (int) 1 ;
35374 wxColor
const &arg5_defvalue
= *wxWHITE
;
35375 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
35376 PyObject
*result
= 0 ;
35387 PyObject
* obj0
= 0 ;
35388 PyObject
* obj1
= 0 ;
35389 PyObject
* obj2
= 0 ;
35390 PyObject
* obj3
= 0 ;
35391 PyObject
* obj4
= 0 ;
35392 char * kwnames
[] = {
35393 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_FindObjects" "', 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_FindObjects" "', expected argument " "2"" of type '" "int""'");
35406 arg2
= static_cast< int >(val2
);
35407 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35408 if (!SWIG_IsOK(ecode3
)) {
35409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35411 arg3
= static_cast< int >(val3
);
35413 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35414 if (!SWIG_IsOK(ecode4
)) {
35415 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35417 arg4
= static_cast< int >(val4
);
35420 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
35421 if (!SWIG_IsOK(res5
)) {
35422 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35425 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35427 arg5
= reinterpret_cast< wxColor
* >(argp5
);
35430 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
35431 if (PyErr_Occurred()) SWIG_fail
;
35433 resultobj
= result
;
35440 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35441 PyObject
*resultobj
= 0;
35442 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35445 PyObject
*result
= 0 ;
35452 PyObject
* obj0
= 0 ;
35453 PyObject
* obj1
= 0 ;
35454 PyObject
* obj2
= 0 ;
35455 char * kwnames
[] = {
35456 (char *) "self",(char *) "x",(char *) "y", NULL
35459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35461 if (!SWIG_IsOK(res1
)) {
35462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35464 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35466 if (!SWIG_IsOK(ecode2
)) {
35467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35469 arg2
= static_cast< int >(val2
);
35470 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35471 if (!SWIG_IsOK(ecode3
)) {
35472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35474 arg3
= static_cast< int >(val3
);
35476 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35477 if (PyErr_Occurred()) SWIG_fail
;
35479 resultobj
= result
;
35486 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35487 PyObject
*resultobj
= 0;
35488 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35490 wxDC
*arg3
= (wxDC
*) 0 ;
35497 PyObject
* obj0
= 0 ;
35498 PyObject
* obj1
= 0 ;
35499 PyObject
* obj2
= 0 ;
35500 char * kwnames
[] = {
35501 (char *) "self",(char *) "id",(char *) "dc", NULL
35504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35506 if (!SWIG_IsOK(res1
)) {
35507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35509 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35511 if (!SWIG_IsOK(ecode2
)) {
35512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35514 arg2
= static_cast< int >(val2
);
35515 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35516 if (!SWIG_IsOK(res3
)) {
35517 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35519 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35522 (arg1
)->DrawIdToDC(arg2
,arg3
);
35523 wxPyEndAllowThreads(__tstate
);
35524 if (PyErr_Occurred()) SWIG_fail
;
35526 resultobj
= SWIG_Py_Void();
35533 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35534 PyObject
*resultobj
= 0;
35535 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35543 PyObject
* obj0
= 0 ;
35544 PyObject
* obj1
= 0 ;
35545 PyObject
* obj2
= 0 ;
35546 char * kwnames
[] = {
35547 (char *) "self",(char *) "id",(char *) "rect", NULL
35550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35552 if (!SWIG_IsOK(res1
)) {
35553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35555 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35557 if (!SWIG_IsOK(ecode2
)) {
35558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35560 arg2
= static_cast< int >(val2
);
35563 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35567 (arg1
)->SetIdBounds(arg2
,*arg3
);
35568 wxPyEndAllowThreads(__tstate
);
35569 if (PyErr_Occurred()) SWIG_fail
;
35571 resultobj
= SWIG_Py_Void();
35578 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35579 PyObject
*resultobj
= 0;
35580 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35587 PyObject
* obj0
= 0 ;
35588 PyObject
* obj1
= 0 ;
35589 char * kwnames
[] = {
35590 (char *) "self",(char *) "id", NULL
35593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35595 if (!SWIG_IsOK(res1
)) {
35596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35598 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35600 if (!SWIG_IsOK(ecode2
)) {
35601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35603 arg2
= static_cast< int >(val2
);
35605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35606 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35607 wxPyEndAllowThreads(__tstate
);
35608 if (PyErr_Occurred()) SWIG_fail
;
35610 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35617 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35618 PyObject
*resultobj
= 0;
35619 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35620 wxDC
*arg2
= (wxDC
*) 0 ;
35627 PyObject
* obj0
= 0 ;
35628 PyObject
* obj1
= 0 ;
35629 PyObject
* obj2
= 0 ;
35630 char * kwnames
[] = {
35631 (char *) "self",(char *) "dc",(char *) "rect", NULL
35634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35636 if (!SWIG_IsOK(res1
)) {
35637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35639 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35640 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35641 if (!SWIG_IsOK(res2
)) {
35642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35644 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35647 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35651 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35652 wxPyEndAllowThreads(__tstate
);
35653 if (PyErr_Occurred()) SWIG_fail
;
35655 resultobj
= SWIG_Py_Void();
35662 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35663 PyObject
*resultobj
= 0;
35664 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35665 wxDC
*arg2
= (wxDC
*) 0 ;
35666 wxRegion
*arg3
= 0 ;
35673 PyObject
* obj0
= 0 ;
35674 PyObject
* obj1
= 0 ;
35675 PyObject
* obj2
= 0 ;
35676 char * kwnames
[] = {
35677 (char *) "self",(char *) "dc",(char *) "region", NULL
35680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35682 if (!SWIG_IsOK(res1
)) {
35683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35685 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35686 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35687 if (!SWIG_IsOK(res2
)) {
35688 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
35690 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35691 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
35692 if (!SWIG_IsOK(res3
)) {
35693 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35698 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
35700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35701 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
35702 wxPyEndAllowThreads(__tstate
);
35703 if (PyErr_Occurred()) SWIG_fail
;
35705 resultobj
= SWIG_Py_Void();
35712 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35713 PyObject
*resultobj
= 0;
35714 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35715 wxDC
*arg2
= (wxDC
*) 0 ;
35720 PyObject
* obj0
= 0 ;
35721 PyObject
* obj1
= 0 ;
35722 char * kwnames
[] = {
35723 (char *) "self",(char *) "dc", NULL
35726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35728 if (!SWIG_IsOK(res1
)) {
35729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35731 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35732 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35733 if (!SWIG_IsOK(res2
)) {
35734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
35736 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35739 (arg1
)->DrawToDC(arg2
);
35740 wxPyEndAllowThreads(__tstate
);
35741 if (PyErr_Occurred()) SWIG_fail
;
35743 resultobj
= SWIG_Py_Void();
35750 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35751 PyObject
*resultobj
= 0;
35752 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35755 wxColour
*arg4
= 0 ;
35756 int arg5
= (int) wxFLOOD_SURFACE
;
35766 PyObject
* obj0
= 0 ;
35767 PyObject
* obj1
= 0 ;
35768 PyObject
* obj2
= 0 ;
35769 PyObject
* obj3
= 0 ;
35770 PyObject
* obj4
= 0 ;
35771 char * kwnames
[] = {
35772 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
35775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35777 if (!SWIG_IsOK(res1
)) {
35778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35780 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35782 if (!SWIG_IsOK(ecode2
)) {
35783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
35785 arg2
= static_cast< int >(val2
);
35786 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35787 if (!SWIG_IsOK(ecode3
)) {
35788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
35790 arg3
= static_cast< int >(val3
);
35793 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
35796 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35797 if (!SWIG_IsOK(ecode5
)) {
35798 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
35800 arg5
= static_cast< int >(val5
);
35803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35804 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
35805 wxPyEndAllowThreads(__tstate
);
35806 if (PyErr_Occurred()) SWIG_fail
;
35808 resultobj
= SWIG_Py_Void();
35815 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35816 PyObject
*resultobj
= 0;
35817 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35818 wxPoint
*arg2
= 0 ;
35819 wxColour
*arg3
= 0 ;
35820 int arg4
= (int) wxFLOOD_SURFACE
;
35827 PyObject
* obj0
= 0 ;
35828 PyObject
* obj1
= 0 ;
35829 PyObject
* obj2
= 0 ;
35830 PyObject
* obj3
= 0 ;
35831 char * kwnames
[] = {
35832 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
35835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35837 if (!SWIG_IsOK(res1
)) {
35838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35840 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35843 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35847 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35850 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35851 if (!SWIG_IsOK(ecode4
)) {
35852 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
35854 arg4
= static_cast< int >(val4
);
35857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35858 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
35859 wxPyEndAllowThreads(__tstate
);
35860 if (PyErr_Occurred()) SWIG_fail
;
35862 resultobj
= SWIG_Py_Void();
35869 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35870 PyObject
*resultobj
= 0;
35871 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35886 PyObject
* obj0
= 0 ;
35887 PyObject
* obj1
= 0 ;
35888 PyObject
* obj2
= 0 ;
35889 PyObject
* obj3
= 0 ;
35890 PyObject
* obj4
= 0 ;
35891 char * kwnames
[] = {
35892 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
35895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35897 if (!SWIG_IsOK(res1
)) {
35898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35900 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35902 if (!SWIG_IsOK(ecode2
)) {
35903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
35905 arg2
= static_cast< int >(val2
);
35906 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35907 if (!SWIG_IsOK(ecode3
)) {
35908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
35910 arg3
= static_cast< int >(val3
);
35911 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35912 if (!SWIG_IsOK(ecode4
)) {
35913 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
35915 arg4
= static_cast< int >(val4
);
35916 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35917 if (!SWIG_IsOK(ecode5
)) {
35918 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
35920 arg5
= static_cast< int >(val5
);
35922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35923 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
35924 wxPyEndAllowThreads(__tstate
);
35925 if (PyErr_Occurred()) SWIG_fail
;
35927 resultobj
= SWIG_Py_Void();
35934 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35935 PyObject
*resultobj
= 0;
35936 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35937 wxPoint
*arg2
= 0 ;
35938 wxPoint
*arg3
= 0 ;
35943 PyObject
* obj0
= 0 ;
35944 PyObject
* obj1
= 0 ;
35945 PyObject
* obj2
= 0 ;
35946 char * kwnames
[] = {
35947 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
35950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35952 if (!SWIG_IsOK(res1
)) {
35953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35955 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35958 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35962 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35966 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
35967 wxPyEndAllowThreads(__tstate
);
35968 if (PyErr_Occurred()) SWIG_fail
;
35970 resultobj
= SWIG_Py_Void();
35977 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35978 PyObject
*resultobj
= 0;
35979 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35988 PyObject
* obj0
= 0 ;
35989 PyObject
* obj1
= 0 ;
35990 PyObject
* obj2
= 0 ;
35991 char * kwnames
[] = {
35992 (char *) "self",(char *) "x",(char *) "y", NULL
35995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35997 if (!SWIG_IsOK(res1
)) {
35998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36000 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36002 if (!SWIG_IsOK(ecode2
)) {
36003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36005 arg2
= static_cast< int >(val2
);
36006 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36007 if (!SWIG_IsOK(ecode3
)) {
36008 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36010 arg3
= static_cast< int >(val3
);
36012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36013 (arg1
)->CrossHair(arg2
,arg3
);
36014 wxPyEndAllowThreads(__tstate
);
36015 if (PyErr_Occurred()) SWIG_fail
;
36017 resultobj
= SWIG_Py_Void();
36024 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36025 PyObject
*resultobj
= 0;
36026 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36027 wxPoint
*arg2
= 0 ;
36031 PyObject
* obj0
= 0 ;
36032 PyObject
* obj1
= 0 ;
36033 char * kwnames
[] = {
36034 (char *) "self",(char *) "pt", NULL
36037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36039 if (!SWIG_IsOK(res1
)) {
36040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36042 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36045 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36049 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36050 wxPyEndAllowThreads(__tstate
);
36051 if (PyErr_Occurred()) SWIG_fail
;
36053 resultobj
= SWIG_Py_Void();
36060 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36061 PyObject
*resultobj
= 0;
36062 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36083 PyObject
* obj0
= 0 ;
36084 PyObject
* obj1
= 0 ;
36085 PyObject
* obj2
= 0 ;
36086 PyObject
* obj3
= 0 ;
36087 PyObject
* obj4
= 0 ;
36088 PyObject
* obj5
= 0 ;
36089 PyObject
* obj6
= 0 ;
36090 char * kwnames
[] = {
36091 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36096 if (!SWIG_IsOK(res1
)) {
36097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36099 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36101 if (!SWIG_IsOK(ecode2
)) {
36102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36104 arg2
= static_cast< int >(val2
);
36105 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36106 if (!SWIG_IsOK(ecode3
)) {
36107 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36109 arg3
= static_cast< int >(val3
);
36110 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36111 if (!SWIG_IsOK(ecode4
)) {
36112 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36114 arg4
= static_cast< int >(val4
);
36115 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36116 if (!SWIG_IsOK(ecode5
)) {
36117 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36119 arg5
= static_cast< int >(val5
);
36120 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36121 if (!SWIG_IsOK(ecode6
)) {
36122 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36124 arg6
= static_cast< int >(val6
);
36125 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36126 if (!SWIG_IsOK(ecode7
)) {
36127 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36129 arg7
= static_cast< int >(val7
);
36131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36132 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36133 wxPyEndAllowThreads(__tstate
);
36134 if (PyErr_Occurred()) SWIG_fail
;
36136 resultobj
= SWIG_Py_Void();
36143 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36144 PyObject
*resultobj
= 0;
36145 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36146 wxPoint
*arg2
= 0 ;
36147 wxPoint
*arg3
= 0 ;
36148 wxPoint
*arg4
= 0 ;
36154 PyObject
* obj0
= 0 ;
36155 PyObject
* obj1
= 0 ;
36156 PyObject
* obj2
= 0 ;
36157 PyObject
* obj3
= 0 ;
36158 char * kwnames
[] = {
36159 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36164 if (!SWIG_IsOK(res1
)) {
36165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36167 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36170 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36174 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36178 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36182 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36183 wxPyEndAllowThreads(__tstate
);
36184 if (PyErr_Occurred()) SWIG_fail
;
36186 resultobj
= SWIG_Py_Void();
36193 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36194 PyObject
*resultobj
= 0;
36195 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36210 PyObject
* obj0
= 0 ;
36211 PyObject
* obj1
= 0 ;
36212 PyObject
* obj2
= 0 ;
36213 PyObject
* obj3
= 0 ;
36214 PyObject
* obj4
= 0 ;
36215 char * kwnames
[] = {
36216 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36221 if (!SWIG_IsOK(res1
)) {
36222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36224 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36226 if (!SWIG_IsOK(ecode2
)) {
36227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36229 arg2
= static_cast< int >(val2
);
36230 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36231 if (!SWIG_IsOK(ecode3
)) {
36232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36234 arg3
= static_cast< int >(val3
);
36235 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36236 if (!SWIG_IsOK(ecode4
)) {
36237 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36239 arg4
= static_cast< int >(val4
);
36240 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36241 if (!SWIG_IsOK(ecode5
)) {
36242 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36244 arg5
= static_cast< int >(val5
);
36246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36247 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36248 wxPyEndAllowThreads(__tstate
);
36249 if (PyErr_Occurred()) SWIG_fail
;
36251 resultobj
= SWIG_Py_Void();
36258 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36259 PyObject
*resultobj
= 0;
36260 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36265 PyObject
* obj0
= 0 ;
36266 PyObject
* obj1
= 0 ;
36267 char * kwnames
[] = {
36268 (char *) "self",(char *) "rect", NULL
36271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36273 if (!SWIG_IsOK(res1
)) {
36274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36276 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36279 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36283 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36284 wxPyEndAllowThreads(__tstate
);
36285 if (PyErr_Occurred()) SWIG_fail
;
36287 resultobj
= SWIG_Py_Void();
36294 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36295 PyObject
*resultobj
= 0;
36296 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36317 PyObject
* obj0
= 0 ;
36318 PyObject
* obj1
= 0 ;
36319 PyObject
* obj2
= 0 ;
36320 PyObject
* obj3
= 0 ;
36321 PyObject
* obj4
= 0 ;
36322 PyObject
* obj5
= 0 ;
36323 PyObject
* obj6
= 0 ;
36324 char * kwnames
[] = {
36325 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36330 if (!SWIG_IsOK(res1
)) {
36331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36333 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36335 if (!SWIG_IsOK(ecode2
)) {
36336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36338 arg2
= static_cast< int >(val2
);
36339 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36340 if (!SWIG_IsOK(ecode3
)) {
36341 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36343 arg3
= static_cast< int >(val3
);
36344 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36345 if (!SWIG_IsOK(ecode4
)) {
36346 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36348 arg4
= static_cast< int >(val4
);
36349 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36350 if (!SWIG_IsOK(ecode5
)) {
36351 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36353 arg5
= static_cast< int >(val5
);
36354 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36355 if (!SWIG_IsOK(ecode6
)) {
36356 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36358 arg6
= static_cast< double >(val6
);
36359 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36360 if (!SWIG_IsOK(ecode7
)) {
36361 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36363 arg7
= static_cast< double >(val7
);
36365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36366 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36367 wxPyEndAllowThreads(__tstate
);
36368 if (PyErr_Occurred()) SWIG_fail
;
36370 resultobj
= SWIG_Py_Void();
36377 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36378 PyObject
*resultobj
= 0;
36379 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36380 wxPoint
*arg2
= 0 ;
36392 PyObject
* obj0
= 0 ;
36393 PyObject
* obj1
= 0 ;
36394 PyObject
* obj2
= 0 ;
36395 PyObject
* obj3
= 0 ;
36396 PyObject
* obj4
= 0 ;
36397 char * kwnames
[] = {
36398 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36403 if (!SWIG_IsOK(res1
)) {
36404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36406 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36409 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36413 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36415 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36416 if (!SWIG_IsOK(ecode4
)) {
36417 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36419 arg4
= static_cast< double >(val4
);
36420 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36421 if (!SWIG_IsOK(ecode5
)) {
36422 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36424 arg5
= static_cast< double >(val5
);
36426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36427 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36428 wxPyEndAllowThreads(__tstate
);
36429 if (PyErr_Occurred()) SWIG_fail
;
36431 resultobj
= SWIG_Py_Void();
36438 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36439 PyObject
*resultobj
= 0;
36440 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36449 PyObject
* obj0
= 0 ;
36450 PyObject
* obj1
= 0 ;
36451 PyObject
* obj2
= 0 ;
36452 char * kwnames
[] = {
36453 (char *) "self",(char *) "x",(char *) "y", NULL
36456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36458 if (!SWIG_IsOK(res1
)) {
36459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36461 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36463 if (!SWIG_IsOK(ecode2
)) {
36464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36466 arg2
= static_cast< int >(val2
);
36467 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36468 if (!SWIG_IsOK(ecode3
)) {
36469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36471 arg3
= static_cast< int >(val3
);
36473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36474 (arg1
)->DrawPoint(arg2
,arg3
);
36475 wxPyEndAllowThreads(__tstate
);
36476 if (PyErr_Occurred()) SWIG_fail
;
36478 resultobj
= SWIG_Py_Void();
36485 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36486 PyObject
*resultobj
= 0;
36487 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36488 wxPoint
*arg2
= 0 ;
36492 PyObject
* obj0
= 0 ;
36493 PyObject
* obj1
= 0 ;
36494 char * kwnames
[] = {
36495 (char *) "self",(char *) "pt", NULL
36498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36500 if (!SWIG_IsOK(res1
)) {
36501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36503 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36506 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36510 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36511 wxPyEndAllowThreads(__tstate
);
36512 if (PyErr_Occurred()) SWIG_fail
;
36514 resultobj
= SWIG_Py_Void();
36521 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36522 PyObject
*resultobj
= 0;
36523 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36538 PyObject
* obj0
= 0 ;
36539 PyObject
* obj1
= 0 ;
36540 PyObject
* obj2
= 0 ;
36541 PyObject
* obj3
= 0 ;
36542 PyObject
* obj4
= 0 ;
36543 char * kwnames
[] = {
36544 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36549 if (!SWIG_IsOK(res1
)) {
36550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36552 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36553 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36554 if (!SWIG_IsOK(ecode2
)) {
36555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36557 arg2
= static_cast< int >(val2
);
36558 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36559 if (!SWIG_IsOK(ecode3
)) {
36560 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36562 arg3
= static_cast< int >(val3
);
36563 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36564 if (!SWIG_IsOK(ecode4
)) {
36565 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36567 arg4
= static_cast< int >(val4
);
36568 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36569 if (!SWIG_IsOK(ecode5
)) {
36570 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36572 arg5
= static_cast< int >(val5
);
36574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36575 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36576 wxPyEndAllowThreads(__tstate
);
36577 if (PyErr_Occurred()) SWIG_fail
;
36579 resultobj
= SWIG_Py_Void();
36586 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36587 PyObject
*resultobj
= 0;
36588 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36593 PyObject
* obj0
= 0 ;
36594 PyObject
* obj1
= 0 ;
36595 char * kwnames
[] = {
36596 (char *) "self",(char *) "rect", NULL
36599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36601 if (!SWIG_IsOK(res1
)) {
36602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36604 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36607 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36611 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36612 wxPyEndAllowThreads(__tstate
);
36613 if (PyErr_Occurred()) SWIG_fail
;
36615 resultobj
= SWIG_Py_Void();
36622 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36623 PyObject
*resultobj
= 0;
36624 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36625 wxPoint
*arg2
= 0 ;
36631 PyObject
* obj0
= 0 ;
36632 PyObject
* obj1
= 0 ;
36633 PyObject
* obj2
= 0 ;
36634 char * kwnames
[] = {
36635 (char *) "self",(char *) "pt",(char *) "sz", NULL
36638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36640 if (!SWIG_IsOK(res1
)) {
36641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36643 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36646 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36650 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36654 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36655 wxPyEndAllowThreads(__tstate
);
36656 if (PyErr_Occurred()) SWIG_fail
;
36658 resultobj
= SWIG_Py_Void();
36665 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36666 PyObject
*resultobj
= 0;
36667 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36685 PyObject
* obj0
= 0 ;
36686 PyObject
* obj1
= 0 ;
36687 PyObject
* obj2
= 0 ;
36688 PyObject
* obj3
= 0 ;
36689 PyObject
* obj4
= 0 ;
36690 PyObject
* obj5
= 0 ;
36691 char * kwnames
[] = {
36692 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
36695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36697 if (!SWIG_IsOK(res1
)) {
36698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36700 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36702 if (!SWIG_IsOK(ecode2
)) {
36703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
36705 arg2
= static_cast< int >(val2
);
36706 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36707 if (!SWIG_IsOK(ecode3
)) {
36708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
36710 arg3
= static_cast< int >(val3
);
36711 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36712 if (!SWIG_IsOK(ecode4
)) {
36713 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
36715 arg4
= static_cast< int >(val4
);
36716 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36717 if (!SWIG_IsOK(ecode5
)) {
36718 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
36720 arg5
= static_cast< int >(val5
);
36721 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36722 if (!SWIG_IsOK(ecode6
)) {
36723 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
36725 arg6
= static_cast< double >(val6
);
36727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36728 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
36729 wxPyEndAllowThreads(__tstate
);
36730 if (PyErr_Occurred()) SWIG_fail
;
36732 resultobj
= SWIG_Py_Void();
36739 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36740 PyObject
*resultobj
= 0;
36741 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36749 PyObject
* obj0
= 0 ;
36750 PyObject
* obj1
= 0 ;
36751 PyObject
* obj2
= 0 ;
36752 char * kwnames
[] = {
36753 (char *) "self",(char *) "r",(char *) "radius", NULL
36756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36758 if (!SWIG_IsOK(res1
)) {
36759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36761 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36764 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36766 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
36767 if (!SWIG_IsOK(ecode3
)) {
36768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
36770 arg3
= static_cast< double >(val3
);
36772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36773 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
36774 wxPyEndAllowThreads(__tstate
);
36775 if (PyErr_Occurred()) SWIG_fail
;
36777 resultobj
= SWIG_Py_Void();
36784 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36785 PyObject
*resultobj
= 0;
36786 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36787 wxPoint
*arg2
= 0 ;
36796 PyObject
* obj0
= 0 ;
36797 PyObject
* obj1
= 0 ;
36798 PyObject
* obj2
= 0 ;
36799 PyObject
* obj3
= 0 ;
36800 char * kwnames
[] = {
36801 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
36804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36806 if (!SWIG_IsOK(res1
)) {
36807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36809 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36812 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36816 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36818 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36819 if (!SWIG_IsOK(ecode4
)) {
36820 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
36822 arg4
= static_cast< double >(val4
);
36824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36825 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
36826 wxPyEndAllowThreads(__tstate
);
36827 if (PyErr_Occurred()) SWIG_fail
;
36829 resultobj
= SWIG_Py_Void();
36836 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36837 PyObject
*resultobj
= 0;
36838 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36850 PyObject
* obj0
= 0 ;
36851 PyObject
* obj1
= 0 ;
36852 PyObject
* obj2
= 0 ;
36853 PyObject
* obj3
= 0 ;
36854 char * kwnames
[] = {
36855 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
36858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36860 if (!SWIG_IsOK(res1
)) {
36861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36863 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36865 if (!SWIG_IsOK(ecode2
)) {
36866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
36868 arg2
= static_cast< int >(val2
);
36869 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36870 if (!SWIG_IsOK(ecode3
)) {
36871 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
36873 arg3
= static_cast< int >(val3
);
36874 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36875 if (!SWIG_IsOK(ecode4
)) {
36876 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
36878 arg4
= static_cast< int >(val4
);
36880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36881 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
36882 wxPyEndAllowThreads(__tstate
);
36883 if (PyErr_Occurred()) SWIG_fail
;
36885 resultobj
= SWIG_Py_Void();
36892 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36893 PyObject
*resultobj
= 0;
36894 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36895 wxPoint
*arg2
= 0 ;
36902 PyObject
* obj0
= 0 ;
36903 PyObject
* obj1
= 0 ;
36904 PyObject
* obj2
= 0 ;
36905 char * kwnames
[] = {
36906 (char *) "self",(char *) "pt",(char *) "radius", NULL
36909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36911 if (!SWIG_IsOK(res1
)) {
36912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36914 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36917 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36919 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36920 if (!SWIG_IsOK(ecode3
)) {
36921 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
36923 arg3
= static_cast< int >(val3
);
36925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36926 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
36927 wxPyEndAllowThreads(__tstate
);
36928 if (PyErr_Occurred()) SWIG_fail
;
36930 resultobj
= SWIG_Py_Void();
36937 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36938 PyObject
*resultobj
= 0;
36939 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36954 PyObject
* obj0
= 0 ;
36955 PyObject
* obj1
= 0 ;
36956 PyObject
* obj2
= 0 ;
36957 PyObject
* obj3
= 0 ;
36958 PyObject
* obj4
= 0 ;
36959 char * kwnames
[] = {
36960 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36965 if (!SWIG_IsOK(res1
)) {
36966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36968 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36970 if (!SWIG_IsOK(ecode2
)) {
36971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
36973 arg2
= static_cast< int >(val2
);
36974 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36975 if (!SWIG_IsOK(ecode3
)) {
36976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
36978 arg3
= static_cast< int >(val3
);
36979 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36980 if (!SWIG_IsOK(ecode4
)) {
36981 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
36983 arg4
= static_cast< int >(val4
);
36984 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36985 if (!SWIG_IsOK(ecode5
)) {
36986 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
36988 arg5
= static_cast< int >(val5
);
36990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36991 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
36992 wxPyEndAllowThreads(__tstate
);
36993 if (PyErr_Occurred()) SWIG_fail
;
36995 resultobj
= SWIG_Py_Void();
37002 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37003 PyObject
*resultobj
= 0;
37004 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37009 PyObject
* obj0
= 0 ;
37010 PyObject
* obj1
= 0 ;
37011 char * kwnames
[] = {
37012 (char *) "self",(char *) "rect", NULL
37015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37017 if (!SWIG_IsOK(res1
)) {
37018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37020 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37023 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37027 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37028 wxPyEndAllowThreads(__tstate
);
37029 if (PyErr_Occurred()) SWIG_fail
;
37031 resultobj
= SWIG_Py_Void();
37038 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37039 PyObject
*resultobj
= 0;
37040 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37041 wxPoint
*arg2
= 0 ;
37047 PyObject
* obj0
= 0 ;
37048 PyObject
* obj1
= 0 ;
37049 PyObject
* obj2
= 0 ;
37050 char * kwnames
[] = {
37051 (char *) "self",(char *) "pt",(char *) "sz", NULL
37054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37056 if (!SWIG_IsOK(res1
)) {
37057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37059 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37062 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37066 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37070 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37071 wxPyEndAllowThreads(__tstate
);
37072 if (PyErr_Occurred()) SWIG_fail
;
37074 resultobj
= SWIG_Py_Void();
37081 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37082 PyObject
*resultobj
= 0;
37083 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37095 PyObject
* obj0
= 0 ;
37096 PyObject
* obj1
= 0 ;
37097 PyObject
* obj2
= 0 ;
37098 PyObject
* obj3
= 0 ;
37099 char * kwnames
[] = {
37100 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37105 if (!SWIG_IsOK(res1
)) {
37106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37108 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37109 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37110 if (!SWIG_IsOK(res2
)) {
37111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37114 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37116 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37117 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37118 if (!SWIG_IsOK(ecode3
)) {
37119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37121 arg3
= static_cast< int >(val3
);
37122 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37123 if (!SWIG_IsOK(ecode4
)) {
37124 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37126 arg4
= static_cast< int >(val4
);
37128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37129 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37130 wxPyEndAllowThreads(__tstate
);
37131 if (PyErr_Occurred()) SWIG_fail
;
37133 resultobj
= SWIG_Py_Void();
37140 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37141 PyObject
*resultobj
= 0;
37142 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37144 wxPoint
*arg3
= 0 ;
37150 PyObject
* obj0
= 0 ;
37151 PyObject
* obj1
= 0 ;
37152 PyObject
* obj2
= 0 ;
37153 char * kwnames
[] = {
37154 (char *) "self",(char *) "icon",(char *) "pt", NULL
37157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37159 if (!SWIG_IsOK(res1
)) {
37160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37162 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37163 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37164 if (!SWIG_IsOK(res2
)) {
37165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37170 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37173 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37177 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37178 wxPyEndAllowThreads(__tstate
);
37179 if (PyErr_Occurred()) SWIG_fail
;
37181 resultobj
= SWIG_Py_Void();
37188 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37189 PyObject
*resultobj
= 0;
37190 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37191 wxBitmap
*arg2
= 0 ;
37194 bool arg5
= (bool) false ;
37205 PyObject
* obj0
= 0 ;
37206 PyObject
* obj1
= 0 ;
37207 PyObject
* obj2
= 0 ;
37208 PyObject
* obj3
= 0 ;
37209 PyObject
* obj4
= 0 ;
37210 char * kwnames
[] = {
37211 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37216 if (!SWIG_IsOK(res1
)) {
37217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37219 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37220 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37221 if (!SWIG_IsOK(res2
)) {
37222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37225 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37227 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37228 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37229 if (!SWIG_IsOK(ecode3
)) {
37230 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37232 arg3
= static_cast< int >(val3
);
37233 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37234 if (!SWIG_IsOK(ecode4
)) {
37235 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37237 arg4
= static_cast< int >(val4
);
37239 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37240 if (!SWIG_IsOK(ecode5
)) {
37241 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37243 arg5
= static_cast< bool >(val5
);
37246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37247 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37248 wxPyEndAllowThreads(__tstate
);
37249 if (PyErr_Occurred()) SWIG_fail
;
37251 resultobj
= SWIG_Py_Void();
37258 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37259 PyObject
*resultobj
= 0;
37260 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37261 wxBitmap
*arg2
= 0 ;
37262 wxPoint
*arg3
= 0 ;
37263 bool arg4
= (bool) false ;
37271 PyObject
* obj0
= 0 ;
37272 PyObject
* obj1
= 0 ;
37273 PyObject
* obj2
= 0 ;
37274 PyObject
* obj3
= 0 ;
37275 char * kwnames
[] = {
37276 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37281 if (!SWIG_IsOK(res1
)) {
37282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37284 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37285 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37286 if (!SWIG_IsOK(res2
)) {
37287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37290 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37292 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37295 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37298 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37299 if (!SWIG_IsOK(ecode4
)) {
37300 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37302 arg4
= static_cast< bool >(val4
);
37305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37306 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37307 wxPyEndAllowThreads(__tstate
);
37308 if (PyErr_Occurred()) SWIG_fail
;
37310 resultobj
= SWIG_Py_Void();
37317 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37318 PyObject
*resultobj
= 0;
37319 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37320 wxString
*arg2
= 0 ;
37325 bool temp2
= false ;
37330 PyObject
* obj0
= 0 ;
37331 PyObject
* obj1
= 0 ;
37332 PyObject
* obj2
= 0 ;
37333 PyObject
* obj3
= 0 ;
37334 char * kwnames
[] = {
37335 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37340 if (!SWIG_IsOK(res1
)) {
37341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37343 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37345 arg2
= wxString_in_helper(obj1
);
37346 if (arg2
== NULL
) SWIG_fail
;
37349 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37350 if (!SWIG_IsOK(ecode3
)) {
37351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37353 arg3
= static_cast< int >(val3
);
37354 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37355 if (!SWIG_IsOK(ecode4
)) {
37356 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37358 arg4
= static_cast< int >(val4
);
37360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37361 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37362 wxPyEndAllowThreads(__tstate
);
37363 if (PyErr_Occurred()) SWIG_fail
;
37365 resultobj
= SWIG_Py_Void();
37380 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37381 PyObject
*resultobj
= 0;
37382 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37383 wxString
*arg2
= 0 ;
37384 wxPoint
*arg3
= 0 ;
37387 bool temp2
= false ;
37389 PyObject
* obj0
= 0 ;
37390 PyObject
* obj1
= 0 ;
37391 PyObject
* obj2
= 0 ;
37392 char * kwnames
[] = {
37393 (char *) "self",(char *) "text",(char *) "pt", NULL
37396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37398 if (!SWIG_IsOK(res1
)) {
37399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37401 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37403 arg2
= wxString_in_helper(obj1
);
37404 if (arg2
== NULL
) SWIG_fail
;
37409 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37413 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37414 wxPyEndAllowThreads(__tstate
);
37415 if (PyErr_Occurred()) SWIG_fail
;
37417 resultobj
= SWIG_Py_Void();
37432 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37433 PyObject
*resultobj
= 0;
37434 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37435 wxString
*arg2
= 0 ;
37441 bool temp2
= false ;
37448 PyObject
* obj0
= 0 ;
37449 PyObject
* obj1
= 0 ;
37450 PyObject
* obj2
= 0 ;
37451 PyObject
* obj3
= 0 ;
37452 PyObject
* obj4
= 0 ;
37453 char * kwnames
[] = {
37454 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37459 if (!SWIG_IsOK(res1
)) {
37460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37462 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37464 arg2
= wxString_in_helper(obj1
);
37465 if (arg2
== NULL
) SWIG_fail
;
37468 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37469 if (!SWIG_IsOK(ecode3
)) {
37470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37472 arg3
= static_cast< int >(val3
);
37473 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37474 if (!SWIG_IsOK(ecode4
)) {
37475 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37477 arg4
= static_cast< int >(val4
);
37478 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37479 if (!SWIG_IsOK(ecode5
)) {
37480 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37482 arg5
= static_cast< double >(val5
);
37484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37485 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37486 wxPyEndAllowThreads(__tstate
);
37487 if (PyErr_Occurred()) SWIG_fail
;
37489 resultobj
= SWIG_Py_Void();
37504 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37505 PyObject
*resultobj
= 0;
37506 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37507 wxString
*arg2
= 0 ;
37508 wxPoint
*arg3
= 0 ;
37512 bool temp2
= false ;
37516 PyObject
* obj0
= 0 ;
37517 PyObject
* obj1
= 0 ;
37518 PyObject
* obj2
= 0 ;
37519 PyObject
* obj3
= 0 ;
37520 char * kwnames
[] = {
37521 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37526 if (!SWIG_IsOK(res1
)) {
37527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37529 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37531 arg2
= wxString_in_helper(obj1
);
37532 if (arg2
== NULL
) SWIG_fail
;
37537 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37539 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37540 if (!SWIG_IsOK(ecode4
)) {
37541 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37543 arg4
= static_cast< double >(val4
);
37545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37546 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37547 wxPyEndAllowThreads(__tstate
);
37548 if (PyErr_Occurred()) SWIG_fail
;
37550 resultobj
= SWIG_Py_Void();
37565 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37566 PyObject
*resultobj
= 0;
37567 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37569 wxPoint
*arg3
= (wxPoint
*) 0 ;
37570 int arg4
= (int) 0 ;
37571 int arg5
= (int) 0 ;
37578 PyObject
* obj0
= 0 ;
37579 PyObject
* obj1
= 0 ;
37580 PyObject
* obj2
= 0 ;
37581 PyObject
* obj3
= 0 ;
37582 char * kwnames
[] = {
37583 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37588 if (!SWIG_IsOK(res1
)) {
37589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37591 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37593 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37594 if (arg3
== NULL
) SWIG_fail
;
37597 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37598 if (!SWIG_IsOK(ecode4
)) {
37599 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37601 arg4
= static_cast< int >(val4
);
37604 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37605 if (!SWIG_IsOK(ecode5
)) {
37606 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37608 arg5
= static_cast< int >(val5
);
37611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37612 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37613 wxPyEndAllowThreads(__tstate
);
37614 if (PyErr_Occurred()) SWIG_fail
;
37616 resultobj
= SWIG_Py_Void();
37618 if (arg3
) delete [] arg3
;
37623 if (arg3
) delete [] arg3
;
37629 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37630 PyObject
*resultobj
= 0;
37631 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37633 wxPoint
*arg3
= (wxPoint
*) 0 ;
37634 int arg4
= (int) 0 ;
37635 int arg5
= (int) 0 ;
37636 int arg6
= (int) wxODDEVEN_RULE
;
37645 PyObject
* obj0
= 0 ;
37646 PyObject
* obj1
= 0 ;
37647 PyObject
* obj2
= 0 ;
37648 PyObject
* obj3
= 0 ;
37649 PyObject
* obj4
= 0 ;
37650 char * kwnames
[] = {
37651 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37656 if (!SWIG_IsOK(res1
)) {
37657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37659 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37661 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37662 if (arg3
== NULL
) SWIG_fail
;
37665 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37666 if (!SWIG_IsOK(ecode4
)) {
37667 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
37669 arg4
= static_cast< int >(val4
);
37672 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37673 if (!SWIG_IsOK(ecode5
)) {
37674 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
37676 arg5
= static_cast< int >(val5
);
37679 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
37680 if (!SWIG_IsOK(ecode6
)) {
37681 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
37683 arg6
= static_cast< int >(val6
);
37686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37687 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
37688 wxPyEndAllowThreads(__tstate
);
37689 if (PyErr_Occurred()) SWIG_fail
;
37691 resultobj
= SWIG_Py_Void();
37693 if (arg3
) delete [] arg3
;
37698 if (arg3
) delete [] arg3
;
37704 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37705 PyObject
*resultobj
= 0;
37706 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37707 wxString
*arg2
= 0 ;
37709 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37710 int arg5
= (int) -1 ;
37713 bool temp2
= false ;
37719 PyObject
* obj0
= 0 ;
37720 PyObject
* obj1
= 0 ;
37721 PyObject
* obj2
= 0 ;
37722 PyObject
* obj3
= 0 ;
37723 PyObject
* obj4
= 0 ;
37724 char * kwnames
[] = {
37725 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37730 if (!SWIG_IsOK(res1
)) {
37731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37733 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37735 arg2
= wxString_in_helper(obj1
);
37736 if (arg2
== NULL
) SWIG_fail
;
37741 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
37744 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37745 if (!SWIG_IsOK(ecode4
)) {
37746 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
37748 arg4
= static_cast< int >(val4
);
37751 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37752 if (!SWIG_IsOK(ecode5
)) {
37753 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
37755 arg5
= static_cast< int >(val5
);
37758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37759 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
37760 wxPyEndAllowThreads(__tstate
);
37761 if (PyErr_Occurred()) SWIG_fail
;
37763 resultobj
= SWIG_Py_Void();
37778 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37779 PyObject
*resultobj
= 0;
37780 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37781 wxString
*arg2
= 0 ;
37782 wxBitmap
*arg3
= 0 ;
37784 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37785 int arg6
= (int) -1 ;
37788 bool temp2
= false ;
37796 PyObject
* obj0
= 0 ;
37797 PyObject
* obj1
= 0 ;
37798 PyObject
* obj2
= 0 ;
37799 PyObject
* obj3
= 0 ;
37800 PyObject
* obj4
= 0 ;
37801 PyObject
* obj5
= 0 ;
37802 char * kwnames
[] = {
37803 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37808 if (!SWIG_IsOK(res1
)) {
37809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37811 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37813 arg2
= wxString_in_helper(obj1
);
37814 if (arg2
== NULL
) SWIG_fail
;
37817 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37818 if (!SWIG_IsOK(res3
)) {
37819 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37822 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37824 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
37827 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
37830 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37831 if (!SWIG_IsOK(ecode5
)) {
37832 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
37834 arg5
= static_cast< int >(val5
);
37837 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37838 if (!SWIG_IsOK(ecode6
)) {
37839 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
37841 arg6
= static_cast< int >(val6
);
37844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37845 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
37846 wxPyEndAllowThreads(__tstate
);
37847 if (PyErr_Occurred()) SWIG_fail
;
37849 resultobj
= SWIG_Py_Void();
37864 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37865 PyObject
*resultobj
= 0;
37866 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37868 wxPoint
*arg3
= (wxPoint
*) 0 ;
37871 PyObject
* obj0
= 0 ;
37872 PyObject
* obj1
= 0 ;
37873 char * kwnames
[] = {
37874 (char *) "self",(char *) "points", NULL
37877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37879 if (!SWIG_IsOK(res1
)) {
37880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37882 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37884 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37885 if (arg3
== NULL
) SWIG_fail
;
37888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37889 (arg1
)->DrawSpline(arg2
,arg3
);
37890 wxPyEndAllowThreads(__tstate
);
37891 if (PyErr_Occurred()) SWIG_fail
;
37893 resultobj
= SWIG_Py_Void();
37895 if (arg3
) delete [] arg3
;
37900 if (arg3
) delete [] arg3
;
37906 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37907 PyObject
*resultobj
= 0;
37908 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37911 PyObject
*swig_obj
[1] ;
37913 if (!args
) SWIG_fail
;
37914 swig_obj
[0] = args
;
37915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37916 if (!SWIG_IsOK(res1
)) {
37917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37919 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37923 wxPyEndAllowThreads(__tstate
);
37924 if (PyErr_Occurred()) SWIG_fail
;
37926 resultobj
= SWIG_Py_Void();
37933 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37934 PyObject
*resultobj
= 0;
37935 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37941 PyObject
* obj0
= 0 ;
37942 PyObject
* obj1
= 0 ;
37943 char * kwnames
[] = {
37944 (char *) "self",(char *) "font", NULL
37947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37949 if (!SWIG_IsOK(res1
)) {
37950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37952 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37953 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
37954 if (!SWIG_IsOK(res2
)) {
37955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37960 arg2
= reinterpret_cast< wxFont
* >(argp2
);
37962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37963 (arg1
)->SetFont((wxFont
const &)*arg2
);
37964 wxPyEndAllowThreads(__tstate
);
37965 if (PyErr_Occurred()) SWIG_fail
;
37967 resultobj
= SWIG_Py_Void();
37974 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37975 PyObject
*resultobj
= 0;
37976 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37982 PyObject
* obj0
= 0 ;
37983 PyObject
* obj1
= 0 ;
37984 char * kwnames
[] = {
37985 (char *) "self",(char *) "pen", NULL
37988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37990 if (!SWIG_IsOK(res1
)) {
37991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37993 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37994 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
37995 if (!SWIG_IsOK(res2
)) {
37996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
37999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38001 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38004 (arg1
)->SetPen((wxPen
const &)*arg2
);
38005 wxPyEndAllowThreads(__tstate
);
38006 if (PyErr_Occurred()) SWIG_fail
;
38008 resultobj
= SWIG_Py_Void();
38015 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38016 PyObject
*resultobj
= 0;
38017 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38018 wxBrush
*arg2
= 0 ;
38023 PyObject
* obj0
= 0 ;
38024 PyObject
* obj1
= 0 ;
38025 char * kwnames
[] = {
38026 (char *) "self",(char *) "brush", NULL
38029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38031 if (!SWIG_IsOK(res1
)) {
38032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38034 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38035 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38036 if (!SWIG_IsOK(res2
)) {
38037 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38040 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38042 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38045 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38046 wxPyEndAllowThreads(__tstate
);
38047 if (PyErr_Occurred()) SWIG_fail
;
38049 resultobj
= SWIG_Py_Void();
38056 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38057 PyObject
*resultobj
= 0;
38058 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38059 wxBrush
*arg2
= 0 ;
38064 PyObject
* obj0
= 0 ;
38065 PyObject
* obj1
= 0 ;
38066 char * kwnames
[] = {
38067 (char *) "self",(char *) "brush", NULL
38070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38072 if (!SWIG_IsOK(res1
)) {
38073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38075 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38076 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38077 if (!SWIG_IsOK(res2
)) {
38078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38083 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38086 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38087 wxPyEndAllowThreads(__tstate
);
38088 if (PyErr_Occurred()) SWIG_fail
;
38090 resultobj
= SWIG_Py_Void();
38097 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38098 PyObject
*resultobj
= 0;
38099 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38105 PyObject
* obj0
= 0 ;
38106 PyObject
* obj1
= 0 ;
38107 char * kwnames
[] = {
38108 (char *) "self",(char *) "mode", NULL
38111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38113 if (!SWIG_IsOK(res1
)) {
38114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38116 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38118 if (!SWIG_IsOK(ecode2
)) {
38119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38121 arg2
= static_cast< int >(val2
);
38123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38124 (arg1
)->SetBackgroundMode(arg2
);
38125 wxPyEndAllowThreads(__tstate
);
38126 if (PyErr_Occurred()) SWIG_fail
;
38128 resultobj
= SWIG_Py_Void();
38135 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38136 PyObject
*resultobj
= 0;
38137 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38138 wxPalette
*arg2
= 0 ;
38143 PyObject
* obj0
= 0 ;
38144 PyObject
* obj1
= 0 ;
38145 char * kwnames
[] = {
38146 (char *) "self",(char *) "palette", NULL
38149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38151 if (!SWIG_IsOK(res1
)) {
38152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38154 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38155 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38156 if (!SWIG_IsOK(res2
)) {
38157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38162 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38165 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38166 wxPyEndAllowThreads(__tstate
);
38167 if (PyErr_Occurred()) SWIG_fail
;
38169 resultobj
= SWIG_Py_Void();
38176 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38177 PyObject
*resultobj
= 0;
38178 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38179 wxColour
*arg2
= 0 ;
38183 PyObject
* obj0
= 0 ;
38184 PyObject
* obj1
= 0 ;
38185 char * kwnames
[] = {
38186 (char *) "self",(char *) "colour", NULL
38189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38191 if (!SWIG_IsOK(res1
)) {
38192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38194 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38197 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38201 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38202 wxPyEndAllowThreads(__tstate
);
38203 if (PyErr_Occurred()) SWIG_fail
;
38205 resultobj
= SWIG_Py_Void();
38212 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38213 PyObject
*resultobj
= 0;
38214 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38215 wxColour
*arg2
= 0 ;
38219 PyObject
* obj0
= 0 ;
38220 PyObject
* obj1
= 0 ;
38221 char * kwnames
[] = {
38222 (char *) "self",(char *) "colour", NULL
38225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38227 if (!SWIG_IsOK(res1
)) {
38228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38230 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38233 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38237 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38238 wxPyEndAllowThreads(__tstate
);
38239 if (PyErr_Occurred()) SWIG_fail
;
38241 resultobj
= SWIG_Py_Void();
38248 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38249 PyObject
*resultobj
= 0;
38250 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38256 PyObject
* obj0
= 0 ;
38257 PyObject
* obj1
= 0 ;
38258 char * kwnames
[] = {
38259 (char *) "self",(char *) "function", NULL
38262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38264 if (!SWIG_IsOK(res1
)) {
38265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38267 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38269 if (!SWIG_IsOK(ecode2
)) {
38270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38272 arg2
= static_cast< int >(val2
);
38274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38275 (arg1
)->SetLogicalFunction(arg2
);
38276 wxPyEndAllowThreads(__tstate
);
38277 if (PyErr_Occurred()) SWIG_fail
;
38279 resultobj
= SWIG_Py_Void();
38286 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38288 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38289 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38290 return SWIG_Py_Void();
38293 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38294 return SWIG_Python_InitShadowInstance(args
);
38297 static PyMethodDef SwigMethods
[] = {
38298 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38299 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38300 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38301 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38302 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38303 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38304 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38305 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38306 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38307 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38308 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38309 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38310 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38311 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38312 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38313 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38314 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38315 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38316 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38317 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38318 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38319 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38320 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38321 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38322 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38323 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38324 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38325 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38326 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38327 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38328 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38329 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38330 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38331 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38332 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38333 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38334 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38335 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38336 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38337 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38338 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38339 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38340 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38341 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38342 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38343 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38344 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38345 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38346 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38347 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38348 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38349 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38350 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38351 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38352 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38353 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38354 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38355 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38356 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38357 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38358 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38359 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38360 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38361 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38362 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
38363 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38364 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38365 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38366 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38367 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38368 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38369 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38370 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38371 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38372 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38373 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38374 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38375 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38376 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38377 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38378 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38379 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38380 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38381 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38382 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38383 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38384 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38385 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38386 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38387 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38388 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38389 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38390 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38391 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38392 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38393 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38394 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38395 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38396 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38397 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38398 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38399 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38400 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38401 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38402 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38403 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38404 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38405 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38406 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38407 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38408 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38409 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38410 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38411 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38412 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38413 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38414 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38415 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38416 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38417 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38418 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38419 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38420 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38421 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38422 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38423 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38424 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38425 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38426 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38427 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38428 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38429 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38430 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38431 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38432 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38433 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38434 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38435 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38436 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38437 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38438 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38439 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38440 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38441 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38442 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38443 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38444 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38445 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38446 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38447 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38448 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38449 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38450 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38451 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38452 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38453 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38454 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38455 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38456 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38457 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38458 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38459 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38460 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38461 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38462 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38463 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38464 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38465 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38466 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38467 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38468 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38469 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38470 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38471 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38472 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38473 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38474 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38475 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38476 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38477 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38478 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38479 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38480 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38481 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38482 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38483 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38484 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38485 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38486 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38487 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38488 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38489 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38490 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38491 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38492 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38493 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38494 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38495 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38496 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38497 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38498 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38499 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38500 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38501 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38502 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38503 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38504 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38505 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38506 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38507 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38508 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38509 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38510 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38511 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38512 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38513 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38514 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38515 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38516 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38517 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38518 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38519 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38520 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38521 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38522 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38523 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38524 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38525 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38526 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38527 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38528 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38529 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38530 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38531 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38532 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38533 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38534 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38535 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38536 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38537 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38538 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38539 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38540 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38541 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38542 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38543 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38544 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38545 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38546 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38547 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38548 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38549 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38550 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38551 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38552 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38553 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38554 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38555 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38556 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38557 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38558 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38559 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38560 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38561 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38562 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38563 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38564 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38565 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38566 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38567 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38568 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38569 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38570 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38571 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38572 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38573 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38574 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38575 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38576 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38577 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38578 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38579 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38580 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38581 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38582 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38583 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38584 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38585 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38586 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38587 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38588 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38589 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38590 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38591 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38592 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38593 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38594 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38595 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38596 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38597 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38598 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38599 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38600 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38601 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38602 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38603 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38604 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38605 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38606 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38607 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38608 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38609 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38610 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38611 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38612 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38613 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38614 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38615 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38616 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38617 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38618 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38619 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38620 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38621 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38622 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38623 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38624 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38625 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38626 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38627 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38628 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38629 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38630 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38631 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38632 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38633 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38634 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38635 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38636 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38637 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38638 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38639 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38640 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38641 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38642 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38643 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38644 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38645 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38646 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38647 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38648 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38649 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38650 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38651 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38652 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38653 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38654 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38655 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38656 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
38657 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
38658 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
38659 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
38660 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
38661 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
38662 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
38663 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
38664 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38665 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38666 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38667 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38668 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38669 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38670 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38671 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38672 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38673 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
38674 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
38675 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
38676 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38677 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
38678 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38679 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38680 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38681 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
38682 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
38683 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
38684 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
38685 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
38686 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
38687 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38688 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38689 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38690 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38691 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38692 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
38693 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
38694 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
38695 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38696 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38697 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38698 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38699 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38700 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38701 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38702 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38703 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38704 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38705 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38706 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38707 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38708 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38709 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38710 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38711 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38712 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38713 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38714 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38715 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38716 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38717 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38718 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38719 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38720 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38721 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38722 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38723 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38724 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38725 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38726 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38727 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38728 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38729 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38730 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38731 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38732 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38733 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38734 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38735 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38736 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38737 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38738 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38739 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38740 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38741 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38742 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38743 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38744 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
38745 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38746 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
38747 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
38748 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
38749 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38750 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38751 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38752 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38753 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38754 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38755 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
38756 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
38757 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
38758 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
38759 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
38760 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38761 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38762 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38763 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38764 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
38765 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
38766 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
38767 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
38768 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38769 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38770 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38771 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38772 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38773 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38774 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38775 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38776 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
38777 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
38778 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
38779 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
38780 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
38781 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
38782 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
38783 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
38784 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
38785 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
38786 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
38787 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
38788 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38789 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38790 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
38791 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38792 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
38793 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38794 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
38795 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38796 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
38797 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
38798 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38799 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38800 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
38801 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
38802 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38803 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38804 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38805 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
38806 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38807 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
38808 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38809 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38810 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
38811 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
38812 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
38813 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
38814 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
38815 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
38816 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
38817 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38818 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38819 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38820 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38821 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38822 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38823 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38824 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
38825 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38826 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
38827 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
38828 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
38829 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38830 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
38831 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
38832 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
38833 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38834 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
38835 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
38836 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
38837 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
38838 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
38839 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
38840 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
38841 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38842 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38843 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38844 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38845 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
38846 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
38847 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
38848 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38849 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38850 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
38851 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
38852 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
38853 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38854 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
38855 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
38856 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38857 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
38858 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
38859 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38860 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
38861 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
38862 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
38863 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
38864 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
38865 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
38866 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
38867 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38868 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38869 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38870 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38871 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38872 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38873 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38874 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38875 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
38876 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
38877 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38878 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
38879 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38880 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38881 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
38882 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
38883 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
38884 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38885 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
38886 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
38887 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38888 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
38889 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
38890 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
38891 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
38892 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
38893 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38894 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
38895 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
38896 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
38897 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38898 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
38899 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
38900 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38901 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
38902 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
38903 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
38904 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
38905 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
38906 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
38907 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
38908 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
38909 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
38910 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
38911 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
38912 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
38913 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
38914 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
38915 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
38916 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
38917 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
38918 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
38919 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
38920 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38921 { (char *)"GraphicsMatrix_Copy", (PyCFunction
) _wrap_GraphicsMatrix_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38922 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38923 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
38924 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38925 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
38926 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38927 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38928 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38929 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38930 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38931 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
38932 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
38933 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
38934 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
38935 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
38936 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
38937 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
38938 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
38939 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38940 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
38941 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
38942 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
38943 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38944 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38945 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38946 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38947 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38948 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38949 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
38950 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38951 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38952 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
38953 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
38954 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
38955 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
38956 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
38957 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
38958 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38959 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38960 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
38961 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38962 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38963 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38964 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38965 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38966 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38967 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
38968 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
38969 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38970 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38971 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
38972 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
38973 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38974 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38975 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38976 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38977 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38978 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
38979 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
38980 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
38981 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
38982 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38983 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38984 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38985 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38986 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38987 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38988 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38989 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38990 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38991 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38992 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38993 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38994 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38995 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38996 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38997 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38998 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38999 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39000 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39001 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39002 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39003 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39004 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39005 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39006 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39007 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39008 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39009 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39010 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39011 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39012 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39013 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39014 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39015 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39016 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39017 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39018 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39019 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39020 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39021 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39022 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39023 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39024 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39025 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39026 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39027 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39028 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39029 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39030 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39031 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39032 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39033 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39034 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39035 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39036 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39037 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39038 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39039 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39040 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39041 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39042 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39043 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39044 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39045 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39046 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39047 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39048 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39049 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39050 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39051 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39052 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39053 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39054 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39055 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39056 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39057 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39058 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39059 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39060 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39061 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39062 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39063 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39064 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39065 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39066 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39067 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39068 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39069 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39070 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39071 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39072 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39073 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39074 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39075 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39076 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39077 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39078 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39079 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39080 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39081 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39082 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39083 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39084 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39085 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39086 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39087 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39088 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39089 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39090 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39091 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39092 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39093 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39094 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39095 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39096 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39097 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39098 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39099 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39100 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39101 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39102 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39103 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39104 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39105 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39106 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39107 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39108 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39109 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39110 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39111 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39112 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39113 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39114 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39115 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39116 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39117 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39118 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39119 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39120 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39121 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39122 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39123 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39124 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39125 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39126 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39127 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39128 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39129 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39130 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39131 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39132 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39133 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39134 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39135 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39136 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39137 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39138 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39140 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39141 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39142 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39143 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39144 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39145 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39146 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39147 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39148 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39149 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39150 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39151 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39152 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39153 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39154 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39155 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39156 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39157 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39158 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39159 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39160 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39161 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39162 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39163 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39164 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39167 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39168 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39169 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39170 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39171 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39172 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39173 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39174 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39175 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39176 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39177 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39178 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39179 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39180 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39181 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39182 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39183 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39184 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39185 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39186 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39187 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39188 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39189 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39190 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39191 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39192 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39193 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39194 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39195 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39196 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39197 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39198 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39199 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39200 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39201 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39202 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39203 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39204 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39205 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39206 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39207 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39208 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39209 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39210 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39211 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39212 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39213 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39214 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39215 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39216 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39217 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39218 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39219 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39220 { NULL
, NULL
, 0, NULL
}
39224 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39226 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39227 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39229 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39230 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39232 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39233 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39235 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39236 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39238 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39239 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39241 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39242 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39244 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39245 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39247 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39248 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39250 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39251 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39253 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39254 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39256 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39257 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39259 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39260 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39262 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39263 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39265 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39266 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39268 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39269 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39271 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39272 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39274 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39275 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39277 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39278 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39280 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39281 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39283 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39284 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39286 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39287 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39289 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39290 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39292 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39293 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39295 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39296 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39298 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39299 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
39301 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39302 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39304 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39305 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39307 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39308 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39310 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39311 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39313 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39314 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39316 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39317 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39319 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39320 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39322 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39323 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39325 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39326 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39328 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39329 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39331 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39332 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39334 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39335 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39337 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39338 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39340 static void *_p_wxPenTo_p_wxObject(void *x
) {
39341 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39343 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39344 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39346 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39347 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39349 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39350 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39352 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39353 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39355 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39356 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39358 static void *_p_wxIconTo_p_wxObject(void *x
) {
39359 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39361 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39362 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39364 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39365 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39367 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39368 return (void *)((wxObject
*) ((wxSizer
*) x
));
39370 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39371 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39373 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39374 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39376 static void *_p_wxEventTo_p_wxObject(void *x
) {
39377 return (void *)((wxObject
*) ((wxEvent
*) x
));
39379 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39380 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39382 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39383 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39385 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39386 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39388 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39389 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39391 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39392 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39394 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39395 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39397 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39398 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39400 static void *_p_wxDCTo_p_wxObject(void *x
) {
39401 return (void *)((wxObject
*) ((wxDC
*) x
));
39403 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39404 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39406 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39407 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39409 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39410 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39412 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39413 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39415 static void *_p_wxControlTo_p_wxObject(void *x
) {
39416 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39418 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39419 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39421 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39422 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39424 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39425 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39427 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39428 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39430 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39431 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
39433 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39434 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39436 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39437 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39439 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39440 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39442 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39443 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39445 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39446 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39448 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39449 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39451 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39452 return (void *)((wxObject
*) ((wxEffects
*) x
));
39454 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39455 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39457 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39458 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39460 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39461 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39463 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39464 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39466 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39467 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39469 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39470 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39472 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39473 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39475 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39476 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39478 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39479 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39481 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39482 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39484 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39485 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39487 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39488 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39490 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39491 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39493 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39494 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39496 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39497 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39499 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39500 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39502 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39503 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39505 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39506 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39508 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39509 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39511 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39512 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39514 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39515 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39517 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39518 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39520 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39521 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39523 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39524 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39526 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39527 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39529 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39530 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39532 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39533 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39535 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39536 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39538 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
39539 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
39541 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39542 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39544 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39545 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39547 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39548 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39550 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39551 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39553 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39554 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39556 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39557 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39559 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39560 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39562 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39563 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39565 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39566 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39568 static void *_p_wxImageTo_p_wxObject(void *x
) {
39569 return (void *)((wxObject
*) ((wxImage
*) x
));
39571 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39572 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39574 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39575 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39577 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39578 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39580 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39581 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39583 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39584 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39586 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39587 return (void *)((wxObject
*) ((wxImageList
*) x
));
39589 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39590 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39592 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39593 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39595 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39596 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39598 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39599 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39601 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39602 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39604 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39605 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39607 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39608 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39610 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39611 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39613 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39614 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39616 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39617 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39619 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39620 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39622 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39623 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39625 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39626 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39628 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39629 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39631 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39632 return (void *)((wxObject
*) ((wxMask
*) x
));
39634 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39635 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39637 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39638 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39640 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39641 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39643 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39644 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39646 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39647 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39649 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39650 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39652 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39653 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39655 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
39656 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39658 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
39659 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
39661 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
39662 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
39664 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
39665 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
39667 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
39668 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39670 static void *_p_wxFontTo_p_wxObject(void *x
) {
39671 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
39673 static void *_p_wxBrushTo_p_wxObject(void *x
) {
39674 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
39676 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
39677 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
39679 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39680 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39682 static void *_p_wxColourTo_p_wxObject(void *x
) {
39683 return (void *)((wxObject
*) ((wxColour
*) x
));
39685 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39686 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39688 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39689 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39691 static void *_p_wxControlTo_p_wxWindow(void *x
) {
39692 return (void *)((wxWindow
*) ((wxControl
*) x
));
39694 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
39695 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
39697 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
39698 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
39700 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
39701 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
39703 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
39704 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
39706 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
39707 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
39708 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
39709 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};
39710 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
39711 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
39712 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
39713 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
39714 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
39715 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
39716 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
39717 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
39718 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
39719 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
39720 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
39721 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
39722 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
39723 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
39724 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
39725 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
39726 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
39727 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
39728 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
39729 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
39730 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
39731 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
39732 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
39733 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
39734 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
39735 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
39736 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
39737 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
39738 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
39739 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
39740 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
39741 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
39742 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
39743 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
39744 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
39745 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
39746 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
39747 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
39748 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
39749 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
39750 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
39751 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
39752 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
39753 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
39754 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
39755 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
39756 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
39757 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
39758 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
39759 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
39760 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
39761 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
39762 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
39763 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
39764 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
39765 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
39766 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
39767 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
39768 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
39769 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
39770 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
39771 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
39772 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
39773 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
39774 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
39775 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
39776 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
39777 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
39778 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
39779 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
39780 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
39781 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
39782 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
39783 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
39784 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
39785 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
39786 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
39787 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
39788 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
39789 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
39790 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
39791 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
39792 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
39793 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
39794 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
39795 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
39796 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
39797 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
39798 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
39799 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
39800 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
39801 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
39802 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
39803 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
39804 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
39805 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
39806 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
39807 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
39808 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
39809 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
39810 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
39811 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
39812 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
39813 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
39814 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
39815 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
39816 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
39817 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
39818 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
39819 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
39820 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
39821 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
39822 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
39823 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
39824 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
39825 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
39826 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
39827 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
39828 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
39829 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
39830 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
39831 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
39832 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
39833 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
39834 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
39835 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
39836 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
39837 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
39838 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
39839 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
39840 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
39841 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
39842 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
39843 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
39844 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
39845 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
39846 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
39847 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
39848 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
39849 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
39850 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
39851 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
39852 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
39853 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
39854 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
39855 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
39856 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
39857 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
39858 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
39859 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
39860 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
39861 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
39862 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
39863 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
39864 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
39865 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
39866 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
39867 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
39868 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
39869 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
39870 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
39871 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
39872 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
39873 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
39874 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
39875 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
39876 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
39878 static swig_type_info
*swig_type_initial
[] = {
39882 &_swigt__p_form_ops_t
,
39884 &_swigt__p_unsigned_char
,
39885 &_swigt__p_unsigned_int
,
39886 &_swigt__p_unsigned_long
,
39888 &_swigt__p_wxANIHandler
,
39889 &_swigt__p_wxAcceleratorTable
,
39890 &_swigt__p_wxActivateEvent
,
39891 &_swigt__p_wxAlphaPixelData
,
39892 &_swigt__p_wxAlphaPixelData_Accessor
,
39893 &_swigt__p_wxAutoBufferedPaintDC
,
39894 &_swigt__p_wxBMPHandler
,
39895 &_swigt__p_wxBitmap
,
39896 &_swigt__p_wxBoxSizer
,
39897 &_swigt__p_wxBrush
,
39898 &_swigt__p_wxBrushList
,
39899 &_swigt__p_wxBufferedDC
,
39900 &_swigt__p_wxBufferedPaintDC
,
39901 &_swigt__p_wxCURHandler
,
39903 &_swigt__p_wxChildFocusEvent
,
39904 &_swigt__p_wxClientDC
,
39905 &_swigt__p_wxClipboardTextEvent
,
39906 &_swigt__p_wxCloseEvent
,
39907 &_swigt__p_wxColor
,
39908 &_swigt__p_wxColour
,
39909 &_swigt__p_wxColourDatabase
,
39910 &_swigt__p_wxCommandEvent
,
39911 &_swigt__p_wxContextMenuEvent
,
39912 &_swigt__p_wxControl
,
39913 &_swigt__p_wxControlWithItems
,
39914 &_swigt__p_wxCursor
,
39916 &_swigt__p_wxDCBrushChanger
,
39917 &_swigt__p_wxDCClipper
,
39918 &_swigt__p_wxDCOverlay
,
39919 &_swigt__p_wxDCPenChanger
,
39920 &_swigt__p_wxDCTextColourChanger
,
39922 &_swigt__p_wxDateEvent
,
39923 &_swigt__p_wxDisplayChangedEvent
,
39924 &_swigt__p_wxDropFilesEvent
,
39925 &_swigt__p_wxDuplexMode
,
39926 &_swigt__p_wxEffects
,
39927 &_swigt__p_wxEncodingConverter
,
39928 &_swigt__p_wxEraseEvent
,
39929 &_swigt__p_wxEvent
,
39930 &_swigt__p_wxEvtHandler
,
39931 &_swigt__p_wxFSFile
,
39932 &_swigt__p_wxFileSystem
,
39933 &_swigt__p_wxFlexGridSizer
,
39934 &_swigt__p_wxFocusEvent
,
39936 &_swigt__p_wxFontList
,
39937 &_swigt__p_wxFontMapper
,
39938 &_swigt__p_wxGBSizerItem
,
39940 &_swigt__p_wxGDIObjListBase
,
39941 &_swigt__p_wxGDIObject
,
39942 &_swigt__p_wxGIFHandler
,
39943 &_swigt__p_wxGraphicsBrush
,
39944 &_swigt__p_wxGraphicsContext
,
39945 &_swigt__p_wxGraphicsFont
,
39946 &_swigt__p_wxGraphicsMatrix
,
39947 &_swigt__p_wxGraphicsObject
,
39948 &_swigt__p_wxGraphicsPath
,
39949 &_swigt__p_wxGraphicsPen
,
39950 &_swigt__p_wxGraphicsRenderer
,
39951 &_swigt__p_wxGridBagSizer
,
39952 &_swigt__p_wxGridSizer
,
39953 &_swigt__p_wxHeaderButtonParams
,
39954 &_swigt__p_wxICOHandler
,
39956 &_swigt__p_wxIconBundle
,
39957 &_swigt__p_wxIconLocation
,
39958 &_swigt__p_wxIconizeEvent
,
39959 &_swigt__p_wxIdleEvent
,
39960 &_swigt__p_wxImage
,
39961 &_swigt__p_wxImageHandler
,
39962 &_swigt__p_wxImageList
,
39963 &_swigt__p_wxIndividualLayoutConstraint
,
39964 &_swigt__p_wxInitDialogEvent
,
39965 &_swigt__p_wxJPEGHandler
,
39966 &_swigt__p_wxKeyEvent
,
39967 &_swigt__p_wxLanguageInfo
,
39968 &_swigt__p_wxLayoutConstraints
,
39969 &_swigt__p_wxLocale
,
39971 &_swigt__p_wxMaximizeEvent
,
39972 &_swigt__p_wxMemoryDC
,
39974 &_swigt__p_wxMenuBar
,
39975 &_swigt__p_wxMenuEvent
,
39976 &_swigt__p_wxMenuItem
,
39977 &_swigt__p_wxMetaFile
,
39978 &_swigt__p_wxMetaFileDC
,
39979 &_swigt__p_wxMirrorDC
,
39980 &_swigt__p_wxMouseCaptureChangedEvent
,
39981 &_swigt__p_wxMouseCaptureLostEvent
,
39982 &_swigt__p_wxMouseEvent
,
39983 &_swigt__p_wxMoveEvent
,
39984 &_swigt__p_wxNativeEncodingInfo
,
39985 &_swigt__p_wxNativeFontInfo
,
39986 &_swigt__p_wxNativePixelData
,
39987 &_swigt__p_wxNativePixelData_Accessor
,
39988 &_swigt__p_wxNavigationKeyEvent
,
39989 &_swigt__p_wxNcPaintEvent
,
39990 &_swigt__p_wxNotifyEvent
,
39991 &_swigt__p_wxObject
,
39992 &_swigt__p_wxOverlay
,
39993 &_swigt__p_wxPCXHandler
,
39994 &_swigt__p_wxPNGHandler
,
39995 &_swigt__p_wxPNMHandler
,
39996 &_swigt__p_wxPaintDC
,
39997 &_swigt__p_wxPaintEvent
,
39998 &_swigt__p_wxPalette
,
39999 &_swigt__p_wxPaletteChangedEvent
,
40000 &_swigt__p_wxPaperSize
,
40002 &_swigt__p_wxPenList
,
40003 &_swigt__p_wxPixelDataBase
,
40004 &_swigt__p_wxPoint
,
40005 &_swigt__p_wxPoint2D
,
40006 &_swigt__p_wxPoint2DDouble
,
40007 &_swigt__p_wxPostScriptDC
,
40008 &_swigt__p_wxPrintData
,
40009 &_swigt__p_wxPrinterDC
,
40010 &_swigt__p_wxPseudoDC
,
40011 &_swigt__p_wxPyApp
,
40012 &_swigt__p_wxPyCommandEvent
,
40013 &_swigt__p_wxPyEvent
,
40014 &_swigt__p_wxPyFontEnumerator
,
40015 &_swigt__p_wxPyImageHandler
,
40016 &_swigt__p_wxPyLocale
,
40017 &_swigt__p_wxPySizer
,
40018 &_swigt__p_wxPyValidator
,
40019 &_swigt__p_wxQueryNewPaletteEvent
,
40021 &_swigt__p_wxRect2DDouble
,
40022 &_swigt__p_wxRegion
,
40023 &_swigt__p_wxRegionIterator
,
40024 &_swigt__p_wxRendererNative
,
40025 &_swigt__p_wxRendererVersion
,
40026 &_swigt__p_wxScreenDC
,
40027 &_swigt__p_wxScrollEvent
,
40028 &_swigt__p_wxScrollWinEvent
,
40029 &_swigt__p_wxSetCursorEvent
,
40030 &_swigt__p_wxShowEvent
,
40032 &_swigt__p_wxSizeEvent
,
40033 &_swigt__p_wxSizer
,
40034 &_swigt__p_wxSizerItem
,
40035 &_swigt__p_wxSplitterRenderParams
,
40036 &_swigt__p_wxStaticBoxSizer
,
40037 &_swigt__p_wxStdDialogButtonSizer
,
40038 &_swigt__p_wxStockGDI
,
40039 &_swigt__p_wxString
,
40040 &_swigt__p_wxSysColourChangedEvent
,
40041 &_swigt__p_wxTGAHandler
,
40042 &_swigt__p_wxTIFFHandler
,
40043 &_swigt__p_wxUpdateUIEvent
,
40044 &_swigt__p_wxValidator
,
40045 &_swigt__p_wxWindow
,
40046 &_swigt__p_wxWindowCreateEvent
,
40047 &_swigt__p_wxWindowDC
,
40048 &_swigt__p_wxWindowDestroyEvent
,
40049 &_swigt__p_wxXPMHandler
,
40052 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40053 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40054 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40055 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40056 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40057 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40058 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40059 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40060 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40061 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40062 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40063 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40064 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40065 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40066 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40067 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}};
40068 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40069 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40070 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}};
40071 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
40072 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40073 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40074 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40075 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}};
40076 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40077 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40078 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40079 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40080 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40081 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40082 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40083 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40084 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40085 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40086 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40087 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40088 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40089 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}};
40090 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}};
40091 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40092 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40093 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40094 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40095 static swig_cast_info _swigc__p_wxGraphicsObject
[] = { {&_swigt__p_wxGraphicsPen
, _p_wxGraphicsPenTo_p_wxGraphicsObject
, 0, 0}, {&_swigt__p_wxGraphicsBrush
, _p_wxGraphicsBrushTo_p_wxGraphicsObject
, 0, 0}, {&_swigt__p_wxGraphicsObject
, 0, 0, 0}, {&_swigt__p_wxGraphicsMatrix
, _p_wxGraphicsMatrixTo_p_wxGraphicsObject
, 0, 0}, {&_swigt__p_wxGraphicsFont
, _p_wxGraphicsFontTo_p_wxGraphicsObject
, 0, 0}, {&_swigt__p_wxGraphicsContext
, _p_wxGraphicsContextTo_p_wxGraphicsObject
, 0, 0}, {&_swigt__p_wxGraphicsPath
, _p_wxGraphicsPathTo_p_wxGraphicsObject
, 0, 0},{0, 0, 0, 0}};
40096 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40097 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40098 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40099 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40100 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40101 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40102 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40103 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40104 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40105 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40106 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}};
40107 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40108 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}};
40109 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40110 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40111 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40112 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40113 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40114 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40115 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40116 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40117 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40118 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40119 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40120 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40121 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40122 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40123 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40124 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40125 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40126 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40127 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40128 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40129 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40130 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40131 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40132 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40133 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40134 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40135 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40136 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40137 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40138 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40139 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40140 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40141 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40142 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40143 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40144 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40145 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40146 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40147 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40148 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40149 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40150 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40151 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40152 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40153 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40154 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40155 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40156 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40157 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40158 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40159 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40160 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40161 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40162 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40163 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40164 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40165 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40166 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40167 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40168 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40169 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40170 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40171 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40172 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40173 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40174 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40175 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40176 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40177 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40178 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40179 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40180 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40181 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40182 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40183 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40184 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40185 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40186 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40187 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40188 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40189 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40190 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40191 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40192 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40193 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_wxGraphicsPen
, _p_wxGraphicsPenTo_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_wxGraphicsObject
, _p_wxGraphicsObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPath
, _p_wxGraphicsPathTo_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_wxGraphicsContext
, _p_wxGraphicsContextTo_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_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_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_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsBrush
, _p_wxGraphicsBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsRenderer
, _p_wxGraphicsRendererTo_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_wxGraphicsFont
, _p_wxGraphicsFontTo_p_wxObject
, 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_wxGraphicsMatrix
, _p_wxGraphicsMatrixTo_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}};
40194 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40195 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40196 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40197 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40198 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40199 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40200 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}};
40201 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40202 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40203 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40204 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40205 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40206 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40207 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40208 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40209 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40210 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40211 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40212 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40213 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40214 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40215 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40216 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40217 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40218 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40219 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40220 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40221 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}};
40222 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}};
40224 static swig_cast_info
*swig_cast_initial
[] = {
40228 _swigc__p_form_ops_t
,
40230 _swigc__p_unsigned_char
,
40231 _swigc__p_unsigned_int
,
40232 _swigc__p_unsigned_long
,
40234 _swigc__p_wxANIHandler
,
40235 _swigc__p_wxAcceleratorTable
,
40236 _swigc__p_wxActivateEvent
,
40237 _swigc__p_wxAlphaPixelData
,
40238 _swigc__p_wxAlphaPixelData_Accessor
,
40239 _swigc__p_wxAutoBufferedPaintDC
,
40240 _swigc__p_wxBMPHandler
,
40241 _swigc__p_wxBitmap
,
40242 _swigc__p_wxBoxSizer
,
40244 _swigc__p_wxBrushList
,
40245 _swigc__p_wxBufferedDC
,
40246 _swigc__p_wxBufferedPaintDC
,
40247 _swigc__p_wxCURHandler
,
40249 _swigc__p_wxChildFocusEvent
,
40250 _swigc__p_wxClientDC
,
40251 _swigc__p_wxClipboardTextEvent
,
40252 _swigc__p_wxCloseEvent
,
40254 _swigc__p_wxColour
,
40255 _swigc__p_wxColourDatabase
,
40256 _swigc__p_wxCommandEvent
,
40257 _swigc__p_wxContextMenuEvent
,
40258 _swigc__p_wxControl
,
40259 _swigc__p_wxControlWithItems
,
40260 _swigc__p_wxCursor
,
40262 _swigc__p_wxDCBrushChanger
,
40263 _swigc__p_wxDCClipper
,
40264 _swigc__p_wxDCOverlay
,
40265 _swigc__p_wxDCPenChanger
,
40266 _swigc__p_wxDCTextColourChanger
,
40268 _swigc__p_wxDateEvent
,
40269 _swigc__p_wxDisplayChangedEvent
,
40270 _swigc__p_wxDropFilesEvent
,
40271 _swigc__p_wxDuplexMode
,
40272 _swigc__p_wxEffects
,
40273 _swigc__p_wxEncodingConverter
,
40274 _swigc__p_wxEraseEvent
,
40276 _swigc__p_wxEvtHandler
,
40277 _swigc__p_wxFSFile
,
40278 _swigc__p_wxFileSystem
,
40279 _swigc__p_wxFlexGridSizer
,
40280 _swigc__p_wxFocusEvent
,
40282 _swigc__p_wxFontList
,
40283 _swigc__p_wxFontMapper
,
40284 _swigc__p_wxGBSizerItem
,
40286 _swigc__p_wxGDIObjListBase
,
40287 _swigc__p_wxGDIObject
,
40288 _swigc__p_wxGIFHandler
,
40289 _swigc__p_wxGraphicsBrush
,
40290 _swigc__p_wxGraphicsContext
,
40291 _swigc__p_wxGraphicsFont
,
40292 _swigc__p_wxGraphicsMatrix
,
40293 _swigc__p_wxGraphicsObject
,
40294 _swigc__p_wxGraphicsPath
,
40295 _swigc__p_wxGraphicsPen
,
40296 _swigc__p_wxGraphicsRenderer
,
40297 _swigc__p_wxGridBagSizer
,
40298 _swigc__p_wxGridSizer
,
40299 _swigc__p_wxHeaderButtonParams
,
40300 _swigc__p_wxICOHandler
,
40302 _swigc__p_wxIconBundle
,
40303 _swigc__p_wxIconLocation
,
40304 _swigc__p_wxIconizeEvent
,
40305 _swigc__p_wxIdleEvent
,
40307 _swigc__p_wxImageHandler
,
40308 _swigc__p_wxImageList
,
40309 _swigc__p_wxIndividualLayoutConstraint
,
40310 _swigc__p_wxInitDialogEvent
,
40311 _swigc__p_wxJPEGHandler
,
40312 _swigc__p_wxKeyEvent
,
40313 _swigc__p_wxLanguageInfo
,
40314 _swigc__p_wxLayoutConstraints
,
40315 _swigc__p_wxLocale
,
40317 _swigc__p_wxMaximizeEvent
,
40318 _swigc__p_wxMemoryDC
,
40320 _swigc__p_wxMenuBar
,
40321 _swigc__p_wxMenuEvent
,
40322 _swigc__p_wxMenuItem
,
40323 _swigc__p_wxMetaFile
,
40324 _swigc__p_wxMetaFileDC
,
40325 _swigc__p_wxMirrorDC
,
40326 _swigc__p_wxMouseCaptureChangedEvent
,
40327 _swigc__p_wxMouseCaptureLostEvent
,
40328 _swigc__p_wxMouseEvent
,
40329 _swigc__p_wxMoveEvent
,
40330 _swigc__p_wxNativeEncodingInfo
,
40331 _swigc__p_wxNativeFontInfo
,
40332 _swigc__p_wxNativePixelData
,
40333 _swigc__p_wxNativePixelData_Accessor
,
40334 _swigc__p_wxNavigationKeyEvent
,
40335 _swigc__p_wxNcPaintEvent
,
40336 _swigc__p_wxNotifyEvent
,
40337 _swigc__p_wxObject
,
40338 _swigc__p_wxOverlay
,
40339 _swigc__p_wxPCXHandler
,
40340 _swigc__p_wxPNGHandler
,
40341 _swigc__p_wxPNMHandler
,
40342 _swigc__p_wxPaintDC
,
40343 _swigc__p_wxPaintEvent
,
40344 _swigc__p_wxPalette
,
40345 _swigc__p_wxPaletteChangedEvent
,
40346 _swigc__p_wxPaperSize
,
40348 _swigc__p_wxPenList
,
40349 _swigc__p_wxPixelDataBase
,
40351 _swigc__p_wxPoint2D
,
40352 _swigc__p_wxPoint2DDouble
,
40353 _swigc__p_wxPostScriptDC
,
40354 _swigc__p_wxPrintData
,
40355 _swigc__p_wxPrinterDC
,
40356 _swigc__p_wxPseudoDC
,
40358 _swigc__p_wxPyCommandEvent
,
40359 _swigc__p_wxPyEvent
,
40360 _swigc__p_wxPyFontEnumerator
,
40361 _swigc__p_wxPyImageHandler
,
40362 _swigc__p_wxPyLocale
,
40363 _swigc__p_wxPySizer
,
40364 _swigc__p_wxPyValidator
,
40365 _swigc__p_wxQueryNewPaletteEvent
,
40367 _swigc__p_wxRect2DDouble
,
40368 _swigc__p_wxRegion
,
40369 _swigc__p_wxRegionIterator
,
40370 _swigc__p_wxRendererNative
,
40371 _swigc__p_wxRendererVersion
,
40372 _swigc__p_wxScreenDC
,
40373 _swigc__p_wxScrollEvent
,
40374 _swigc__p_wxScrollWinEvent
,
40375 _swigc__p_wxSetCursorEvent
,
40376 _swigc__p_wxShowEvent
,
40378 _swigc__p_wxSizeEvent
,
40380 _swigc__p_wxSizerItem
,
40381 _swigc__p_wxSplitterRenderParams
,
40382 _swigc__p_wxStaticBoxSizer
,
40383 _swigc__p_wxStdDialogButtonSizer
,
40384 _swigc__p_wxStockGDI
,
40385 _swigc__p_wxString
,
40386 _swigc__p_wxSysColourChangedEvent
,
40387 _swigc__p_wxTGAHandler
,
40388 _swigc__p_wxTIFFHandler
,
40389 _swigc__p_wxUpdateUIEvent
,
40390 _swigc__p_wxValidator
,
40391 _swigc__p_wxWindow
,
40392 _swigc__p_wxWindowCreateEvent
,
40393 _swigc__p_wxWindowDC
,
40394 _swigc__p_wxWindowDestroyEvent
,
40395 _swigc__p_wxXPMHandler
,
40399 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40401 static swig_const_info swig_const_table
[] = {
40402 {0, 0, 0, 0.0, 0, 0}};
40407 /* -----------------------------------------------------------------------------
40408 * Type initialization:
40409 * This problem is tough by the requirement that no dynamic
40410 * memory is used. Also, since swig_type_info structures store pointers to
40411 * swig_cast_info structures and swig_cast_info structures store pointers back
40412 * to swig_type_info structures, we need some lookup code at initialization.
40413 * The idea is that swig generates all the structures that are needed.
40414 * The runtime then collects these partially filled structures.
40415 * The SWIG_InitializeModule function takes these initial arrays out of
40416 * swig_module, and does all the lookup, filling in the swig_module.types
40417 * array with the correct data and linking the correct swig_cast_info
40418 * structures together.
40420 * The generated swig_type_info structures are assigned staticly to an initial
40421 * array. We just loop though that array, and handle each type individually.
40422 * First we lookup if this type has been already loaded, and if so, use the
40423 * loaded structure instead of the generated one. Then we have to fill in the
40424 * cast linked list. The cast data is initially stored in something like a
40425 * two-dimensional array. Each row corresponds to a type (there are the same
40426 * number of rows as there are in the swig_type_initial array). Each entry in
40427 * a column is one of the swig_cast_info structures for that type.
40428 * The cast_initial array is actually an array of arrays, because each row has
40429 * a variable number of columns. So to actually build the cast linked list,
40430 * we find the array of casts associated with the type, and loop through it
40431 * adding the casts to the list. The one last trick we need to do is making
40432 * sure the type pointer in the swig_cast_info struct is correct.
40434 * First off, we lookup the cast->type name to see if it is already loaded.
40435 * There are three cases to handle:
40436 * 1) If the cast->type has already been loaded AND the type we are adding
40437 * casting info to has not been loaded (it is in this module), THEN we
40438 * replace the cast->type pointer with the type pointer that has already
40440 * 2) If BOTH types (the one we are adding casting info to, and the
40441 * cast->type) are loaded, THEN the cast info has already been loaded by
40442 * the previous module so we just ignore it.
40443 * 3) Finally, if cast->type has not already been loaded, then we add that
40444 * swig_cast_info to the linked list (because the cast->type) pointer will
40446 * ----------------------------------------------------------------------------- */
40456 #define SWIGRUNTIME_DEBUG
40460 SWIG_InitializeModule(void *clientdata
) {
40462 swig_module_info
*module_head
;
40463 static int init_run
= 0;
40465 clientdata
= clientdata
;
40467 if (init_run
) return;
40470 /* Initialize the swig_module */
40471 swig_module
.type_initial
= swig_type_initial
;
40472 swig_module
.cast_initial
= swig_cast_initial
;
40474 /* Try and load any already created modules */
40475 module_head
= SWIG_GetModule(clientdata
);
40477 swig_module
.next
= module_head
->next
;
40478 module_head
->next
= &swig_module
;
40480 /* This is the first module loaded */
40481 swig_module
.next
= &swig_module
;
40482 SWIG_SetModule(clientdata
, &swig_module
);
40485 /* Now work on filling in swig_module.types */
40486 #ifdef SWIGRUNTIME_DEBUG
40487 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40489 for (i
= 0; i
< swig_module
.size
; ++i
) {
40490 swig_type_info
*type
= 0;
40491 swig_type_info
*ret
;
40492 swig_cast_info
*cast
;
40494 #ifdef SWIGRUNTIME_DEBUG
40495 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40498 /* if there is another module already loaded */
40499 if (swig_module
.next
!= &swig_module
) {
40500 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40503 /* Overwrite clientdata field */
40504 #ifdef SWIGRUNTIME_DEBUG
40505 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40507 if (swig_module
.type_initial
[i
]->clientdata
) {
40508 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40509 #ifdef SWIGRUNTIME_DEBUG
40510 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40514 type
= swig_module
.type_initial
[i
];
40517 /* Insert casting types */
40518 cast
= swig_module
.cast_initial
[i
];
40519 while (cast
->type
) {
40520 /* Don't need to add information already in the list */
40522 #ifdef SWIGRUNTIME_DEBUG
40523 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40525 if (swig_module
.next
!= &swig_module
) {
40526 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40527 #ifdef SWIGRUNTIME_DEBUG
40528 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40532 if (type
== swig_module
.type_initial
[i
]) {
40533 #ifdef SWIGRUNTIME_DEBUG
40534 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40539 /* Check for casting already in the list */
40540 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40541 #ifdef SWIGRUNTIME_DEBUG
40542 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40544 if (!ocast
) ret
= 0;
40549 #ifdef SWIGRUNTIME_DEBUG
40550 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40553 type
->cast
->prev
= cast
;
40554 cast
->next
= type
->cast
;
40560 /* Set entry in modules->types array equal to the type */
40561 swig_module
.types
[i
] = type
;
40563 swig_module
.types
[i
] = 0;
40565 #ifdef SWIGRUNTIME_DEBUG
40566 printf("**** SWIG_InitializeModule: Cast List ******\n");
40567 for (i
= 0; i
< swig_module
.size
; ++i
) {
40569 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40570 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40571 while (cast
->type
) {
40572 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40576 printf("---- Total casts: %d\n",j
);
40578 printf("**** SWIG_InitializeModule: Cast List ******\n");
40582 /* This function will propagate the clientdata field of type to
40583 * any new swig_type_info structures that have been added into the list
40584 * of equivalent types. It is like calling
40585 * SWIG_TypeClientData(type, clientdata) a second time.
40588 SWIG_PropagateClientData(void) {
40590 swig_cast_info
*equiv
;
40591 static int init_run
= 0;
40593 if (init_run
) return;
40596 for (i
= 0; i
< swig_module
.size
; i
++) {
40597 if (swig_module
.types
[i
]->clientdata
) {
40598 equiv
= swig_module
.types
[i
]->cast
;
40600 if (!equiv
->converter
) {
40601 if (equiv
->type
&& !equiv
->type
->clientdata
)
40602 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40604 equiv
= equiv
->next
;
40624 /* Python-specific SWIG API */
40625 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40626 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40627 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40629 /* -----------------------------------------------------------------------------
40630 * global variable support code.
40631 * ----------------------------------------------------------------------------- */
40633 typedef struct swig_globalvar
{
40634 char *name
; /* Name of global variable */
40635 PyObject
*(*get_attr
)(void); /* Return the current value */
40636 int (*set_attr
)(PyObject
*); /* Set the value */
40637 struct swig_globalvar
*next
;
40640 typedef struct swig_varlinkobject
{
40642 swig_globalvar
*vars
;
40643 } swig_varlinkobject
;
40645 SWIGINTERN PyObject
*
40646 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
40647 return PyString_FromString("<Swig global variables>");
40650 SWIGINTERN PyObject
*
40651 swig_varlink_str(swig_varlinkobject
*v
) {
40652 PyObject
*str
= PyString_FromString("(");
40653 swig_globalvar
*var
;
40654 for (var
= v
->vars
; var
; var
=var
->next
) {
40655 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
40656 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
40658 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
40663 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
40664 PyObject
*str
= swig_varlink_str(v
);
40665 fprintf(fp
,"Swig global variables ");
40666 fprintf(fp
,"%s\n", PyString_AsString(str
));
40672 swig_varlink_dealloc(swig_varlinkobject
*v
) {
40673 swig_globalvar
*var
= v
->vars
;
40675 swig_globalvar
*n
= var
->next
;
40682 SWIGINTERN PyObject
*
40683 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
40684 PyObject
*res
= NULL
;
40685 swig_globalvar
*var
= v
->vars
;
40687 if (strcmp(var
->name
,n
) == 0) {
40688 res
= (*var
->get_attr
)();
40693 if (res
== NULL
&& !PyErr_Occurred()) {
40694 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40700 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
40702 swig_globalvar
*var
= v
->vars
;
40704 if (strcmp(var
->name
,n
) == 0) {
40705 res
= (*var
->set_attr
)(p
);
40710 if (res
== 1 && !PyErr_Occurred()) {
40711 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40716 SWIGINTERN PyTypeObject
*
40717 swig_varlink_type(void) {
40718 static char varlink__doc__
[] = "Swig var link object";
40719 static PyTypeObject varlink_type
;
40720 static int type_init
= 0;
40722 const PyTypeObject tmp
40724 PyObject_HEAD_INIT(NULL
)
40725 0, /* Number of items in variable part (ob_size) */
40726 (char *)"swigvarlink", /* Type name (tp_name) */
40727 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
40728 0, /* Itemsize (tp_itemsize) */
40729 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
40730 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
40731 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
40732 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
40733 0, /* tp_compare */
40734 (reprfunc
) swig_varlink_repr
, /* tp_repr */
40735 0, /* tp_as_number */
40736 0, /* tp_as_sequence */
40737 0, /* tp_as_mapping */
40740 (reprfunc
)swig_varlink_str
, /* tp_str */
40741 0, /* tp_getattro */
40742 0, /* tp_setattro */
40743 0, /* tp_as_buffer */
40745 varlink__doc__
, /* tp_doc */
40746 0, /* tp_traverse */
40748 0, /* tp_richcompare */
40749 0, /* tp_weaklistoffset */
40750 #if PY_VERSION_HEX >= 0x02020000
40751 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
40753 #if PY_VERSION_HEX >= 0x02030000
40756 #ifdef COUNT_ALLOCS
40757 0,0,0,0 /* tp_alloc -> tp_next */
40760 varlink_type
= tmp
;
40761 varlink_type
.ob_type
= &PyType_Type
;
40764 return &varlink_type
;
40767 /* Create a variable linking object for use later */
40768 SWIGINTERN PyObject
*
40769 SWIG_Python_newvarlink(void) {
40770 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
40774 return ((PyObject
*) result
);
40778 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
40779 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
40780 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
40782 size_t size
= strlen(name
)+1;
40783 gv
->name
= (char *)malloc(size
);
40785 strncpy(gv
->name
,name
,size
);
40786 gv
->get_attr
= get_attr
;
40787 gv
->set_attr
= set_attr
;
40788 gv
->next
= v
->vars
;
40794 SWIGINTERN PyObject
*
40796 static PyObject
*_SWIG_globals
= 0;
40797 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
40798 return _SWIG_globals
;
40801 /* -----------------------------------------------------------------------------
40802 * constants/methods manipulation
40803 * ----------------------------------------------------------------------------- */
40805 /* Install Constants */
40807 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
40810 for (i
= 0; constants
[i
].type
; ++i
) {
40811 switch(constants
[i
].type
) {
40812 case SWIG_PY_POINTER
:
40813 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
40815 case SWIG_PY_BINARY
:
40816 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
40823 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
40829 /* -----------------------------------------------------------------------------*/
40830 /* Fix SwigMethods to carry the callback ptrs when needed */
40831 /* -----------------------------------------------------------------------------*/
40834 SWIG_Python_FixMethods(PyMethodDef
*methods
,
40835 swig_const_info
*const_table
,
40836 swig_type_info
**types
,
40837 swig_type_info
**types_initial
) {
40839 for (i
= 0; methods
[i
].ml_name
; ++i
) {
40840 const char *c
= methods
[i
].ml_doc
;
40841 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
40843 swig_const_info
*ci
= 0;
40844 const char *name
= c
+ 10;
40845 for (j
= 0; const_table
[j
].type
; ++j
) {
40846 if (strncmp(const_table
[j
].name
, name
,
40847 strlen(const_table
[j
].name
)) == 0) {
40848 ci
= &(const_table
[j
]);
40853 size_t shift
= (ci
->ptype
) - types
;
40854 swig_type_info
*ty
= types_initial
[shift
];
40855 size_t ldoc
= (c
- methods
[i
].ml_doc
);
40856 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
40857 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
40860 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
40862 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
40864 strncpy(buff
, "swig_ptr: ", 10);
40866 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
40867 methods
[i
].ml_doc
= ndoc
;
40879 /* -----------------------------------------------------------------------------*
40880 * Partial Init method
40881 * -----------------------------------------------------------------------------*/
40886 SWIGEXPORT
void SWIG_init(void) {
40889 /* Fix SwigMethods to carry the callback ptrs when needed */
40890 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
40892 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
40893 d
= PyModule_GetDict(m
);
40895 SWIG_InitializeModule(0);
40896 SWIG_InstallConstants(d
,swig_const_table
);
40899 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
40900 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
40901 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
40902 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
40903 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
40904 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
40905 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
40906 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
40907 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
40908 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
40909 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
40910 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
40911 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
40912 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
40913 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
40914 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
40915 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
40916 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
40917 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
40918 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
40919 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
40920 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
40921 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
40922 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
40923 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
40924 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
40925 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
40926 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
40927 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
40928 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
40929 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
40930 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
40931 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
40932 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
40933 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
40934 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
40935 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
40936 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
40937 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
40938 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
40939 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
40940 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
40941 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
40942 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
40943 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
40944 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
40945 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
40946 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
40947 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
40948 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
40949 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
40950 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
40951 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
40952 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
40953 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
40954 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
40955 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
40956 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
40957 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
40958 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
40959 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
40960 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
40961 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
40962 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
40963 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
40964 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
40965 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
40966 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
40967 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
40968 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
40969 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
40970 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
40971 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
40972 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
40973 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
40974 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
40975 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
40976 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
40977 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
40978 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
40979 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
40980 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
40981 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
40982 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
40983 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
40984 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
40985 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
40986 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
40987 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
40988 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
40989 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
40990 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
40991 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
40992 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
40993 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
40994 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
40995 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
40996 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
40997 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
40998 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
40999 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41000 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41001 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41002 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41003 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41004 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41005 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41006 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41007 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41008 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41009 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41010 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41011 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41012 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41013 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41014 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41015 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41016 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41017 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41018 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41019 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41020 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41021 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41022 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41023 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41024 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41025 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41026 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41027 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41028 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41029 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41030 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41032 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41034 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41035 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41036 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41037 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41038 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41039 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41040 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41041 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41042 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41043 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41044 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41045 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41046 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41047 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41048 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41049 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41050 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41051 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41052 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41053 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41054 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41055 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41056 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41057 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41058 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41059 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41060 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41061 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41062 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41063 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41064 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41065 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41066 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41067 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41068 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41069 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41070 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41071 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41072 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41073 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41074 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41075 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41076 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41077 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41078 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41079 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41080 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41081 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41082 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41083 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41084 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41085 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41086 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41087 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41088 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41089 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41090 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41091 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41092 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41093 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41094 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41095 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41096 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41097 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41098 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41099 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41100 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41101 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41102 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41103 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41104 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41105 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41106 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41107 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41108 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41109 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41110 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41111 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41112 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41113 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41114 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41115 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41116 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41117 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41118 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41119 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41120 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41121 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41122 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41123 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41124 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41125 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41126 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41127 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41128 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41129 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41130 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41131 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41132 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41133 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41134 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41135 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41136 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41137 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41138 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41139 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41140 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41141 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41142 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41143 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41144 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41145 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41146 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41147 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41148 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41149 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41150 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41151 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41152 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41153 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41154 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41155 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41156 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41157 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41158 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41159 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41160 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41161 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41162 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41163 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41164 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41165 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41166 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41167 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41168 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41169 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41170 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41171 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41172 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41173 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41174 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41175 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41176 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41177 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41178 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41179 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41180 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41181 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41182 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41183 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41184 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41185 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41186 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41187 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41188 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41189 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41190 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41191 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41192 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41193 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41194 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41195 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41196 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41197 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41198 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41199 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41200 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41201 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41202 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41203 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41204 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41205 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41206 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41207 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41208 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41209 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41210 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41211 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41212 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41213 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41214 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41215 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41216 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41217 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41218 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41219 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41220 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41221 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41222 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41223 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41224 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41225 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41226 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41227 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41228 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41229 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41230 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41231 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41232 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41233 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41234 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41235 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41236 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41237 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41238 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41239 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41240 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41241 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41242 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41243 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41244 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41245 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41246 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41247 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41248 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41249 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41250 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41251 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41252 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41253 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41254 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41255 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41256 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41257 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41258 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41259 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41260 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41261 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41262 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41263 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41264 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41265 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41266 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41267 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41268 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41269 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41270 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41271 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41272 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41273 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41274 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41275 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41276 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41277 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41278 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41279 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41280 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41281 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41282 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41283 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41284 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41285 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41286 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41287 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41288 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41289 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41290 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41291 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41292 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41293 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41294 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41295 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41296 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41297 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41298 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41299 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41300 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41301 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41302 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41303 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41304 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41305 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41306 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41307 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41308 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41309 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41310 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41311 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41312 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41313 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41314 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41315 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41316 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41317 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41318 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41319 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41320 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41321 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41322 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41323 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41324 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41325 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41326 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41327 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41328 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41329 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41330 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41331 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41332 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41333 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41334 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41335 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41336 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41337 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41338 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41339 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41340 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41341 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41342 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41343 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41344 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41345 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41346 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41347 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41348 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41349 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41350 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41351 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41352 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41353 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41354 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41355 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41356 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41357 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41359 // Work around a chicken/egg problem in drawlist.cpp
41360 wxPyDrawList_SetAPIPtr();