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 PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3909 wxDouble width
= 0.0,
3911 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3912 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3913 PyObject
* rv
= PyTuple_New(2);
3914 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3915 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3918 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3919 wxArrayDouble widths
;
3920 self
->GetPartialTextExtents(text
, widths
);
3923 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3924 size_t c1
, c2
, count
;
3925 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3926 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3928 if ( beginP
!= NULL
&& endP
!= NULL
)
3930 count
= wxMin(c1
, c2
);
3931 self
->StrokeLines(count
, beginP
, endP
);
3937 #include "wx/dcgraph.h"
3940 #include <wx/overlay.h>
3944 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3945 self
->AddColour(name
, wxColour(red
, green
, blue
));
3948 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3949 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3950 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3951 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3954 #include <wx/effects.h>
3957 #include "wx/renderer.h"
3960 SWIGINTERNINLINE PyObject
*
3961 SWIG_From_bool (bool value
)
3963 return PyBool_FromLong(value
? 1 : 0);
3967 #include "wx/wxPython/pseudodc.h"
3969 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3971 self
->GetIdBounds(id
, rect
);
3977 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3978 PyObject
*resultobj
= 0;
3979 wxGDIObject
*result
= 0 ;
3981 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3983 if (!wxPyCheckForApp()) SWIG_fail
;
3984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3985 result
= (wxGDIObject
*)new wxGDIObject();
3986 wxPyEndAllowThreads(__tstate
);
3987 if (PyErr_Occurred()) SWIG_fail
;
3989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3996 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3997 PyObject
*resultobj
= 0;
3998 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4001 PyObject
*swig_obj
[1] ;
4003 if (!args
) SWIG_fail
;
4005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4006 if (!SWIG_IsOK(res1
)) {
4007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4009 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4014 wxPyEndAllowThreads(__tstate
);
4015 if (PyErr_Occurred()) SWIG_fail
;
4017 resultobj
= SWIG_Py_Void();
4024 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4025 PyObject
*resultobj
= 0;
4026 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4030 PyObject
*swig_obj
[1] ;
4032 if (!args
) SWIG_fail
;
4034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4035 if (!SWIG_IsOK(res1
)) {
4036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4038 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4041 result
= (bool)(arg1
)->IsNull();
4042 wxPyEndAllowThreads(__tstate
);
4043 if (PyErr_Occurred()) SWIG_fail
;
4046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4054 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4056 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4057 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4058 return SWIG_Py_Void();
4061 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4062 return SWIG_Python_InitShadowInstance(args
);
4065 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
*resultobj
= 0;
4067 byte arg1
= (byte
) 0 ;
4068 byte arg2
= (byte
) 0 ;
4069 byte arg3
= (byte
) 0 ;
4070 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4071 wxColour
*result
= 0 ;
4072 unsigned char val1
;
4074 unsigned char val2
;
4076 unsigned char val3
;
4078 unsigned char val4
;
4080 PyObject
* obj0
= 0 ;
4081 PyObject
* obj1
= 0 ;
4082 PyObject
* obj2
= 0 ;
4083 PyObject
* obj3
= 0 ;
4084 char * kwnames
[] = {
4085 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4090 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4091 if (!SWIG_IsOK(ecode1
)) {
4092 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4094 arg1
= static_cast< byte
>(val1
);
4097 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4098 if (!SWIG_IsOK(ecode2
)) {
4099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4101 arg2
= static_cast< byte
>(val2
);
4104 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4105 if (!SWIG_IsOK(ecode3
)) {
4106 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4108 arg3
= static_cast< byte
>(val3
);
4111 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4112 if (!SWIG_IsOK(ecode4
)) {
4113 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4115 arg4
= static_cast< byte
>(val4
);
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4119 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4130 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
*resultobj
= 0;
4132 wxString
*arg1
= 0 ;
4133 wxColour
*result
= 0 ;
4134 bool temp1
= false ;
4135 PyObject
* obj0
= 0 ;
4136 char * kwnames
[] = {
4137 (char *) "colorName", NULL
4140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4142 arg1
= wxString_in_helper(obj0
);
4143 if (arg1
== NULL
) SWIG_fail
;
4147 if (!wxPyCheckForApp()) SWIG_fail
;
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4168 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4169 PyObject
*resultobj
= 0;
4170 unsigned long arg1
;
4171 wxColour
*result
= 0 ;
4172 unsigned long val1
;
4174 PyObject
* obj0
= 0 ;
4175 char * kwnames
[] = {
4176 (char *) "colRGB", NULL
4179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4180 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4181 if (!SWIG_IsOK(ecode1
)) {
4182 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4184 arg1
= static_cast< unsigned long >(val1
);
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 result
= (wxColour
*)new wxColour(arg1
);
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4198 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4199 PyObject
*resultobj
= 0;
4200 wxColour
*arg1
= (wxColour
*) 0 ;
4203 PyObject
*swig_obj
[1] ;
4205 if (!args
) SWIG_fail
;
4207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4208 if (!SWIG_IsOK(res1
)) {
4209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4211 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) SWIG_fail
;
4219 resultobj
= SWIG_Py_Void();
4226 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4227 PyObject
*resultobj
= 0;
4228 wxColour
*arg1
= (wxColour
*) 0 ;
4232 PyObject
*swig_obj
[1] ;
4234 if (!args
) SWIG_fail
;
4236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4237 if (!SWIG_IsOK(res1
)) {
4238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4240 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4243 result
= (byte
)(arg1
)->Red();
4244 wxPyEndAllowThreads(__tstate
);
4245 if (PyErr_Occurred()) SWIG_fail
;
4247 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4254 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4255 PyObject
*resultobj
= 0;
4256 wxColour
*arg1
= (wxColour
*) 0 ;
4260 PyObject
*swig_obj
[1] ;
4262 if (!args
) SWIG_fail
;
4264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4265 if (!SWIG_IsOK(res1
)) {
4266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4268 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4271 result
= (byte
)(arg1
)->Green();
4272 wxPyEndAllowThreads(__tstate
);
4273 if (PyErr_Occurred()) SWIG_fail
;
4275 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4282 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4283 PyObject
*resultobj
= 0;
4284 wxColour
*arg1
= (wxColour
*) 0 ;
4288 PyObject
*swig_obj
[1] ;
4290 if (!args
) SWIG_fail
;
4292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4293 if (!SWIG_IsOK(res1
)) {
4294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4296 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4299 result
= (byte
)(arg1
)->Blue();
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4303 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4310 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4311 PyObject
*resultobj
= 0;
4312 wxColour
*arg1
= (wxColour
*) 0 ;
4316 PyObject
*swig_obj
[1] ;
4318 if (!args
) SWIG_fail
;
4320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4321 if (!SWIG_IsOK(res1
)) {
4322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4324 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4327 result
= (byte
)(arg1
)->Alpha();
4328 wxPyEndAllowThreads(__tstate
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4331 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4338 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4339 PyObject
*resultobj
= 0;
4340 wxColour
*arg1
= (wxColour
*) 0 ;
4344 PyObject
*swig_obj
[1] ;
4346 if (!args
) SWIG_fail
;
4348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4349 if (!SWIG_IsOK(res1
)) {
4350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4352 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4355 result
= (bool)(arg1
)->IsOk();
4356 wxPyEndAllowThreads(__tstate
);
4357 if (PyErr_Occurred()) SWIG_fail
;
4360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4368 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
*resultobj
= 0;
4370 wxColour
*arg1
= (wxColour
*) 0 ;
4374 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4377 unsigned char val2
;
4379 unsigned char val3
;
4381 unsigned char val4
;
4383 unsigned char val5
;
4385 PyObject
* obj0
= 0 ;
4386 PyObject
* obj1
= 0 ;
4387 PyObject
* obj2
= 0 ;
4388 PyObject
* obj3
= 0 ;
4389 PyObject
* obj4
= 0 ;
4390 char * kwnames
[] = {
4391 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4396 if (!SWIG_IsOK(res1
)) {
4397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4399 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4400 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4401 if (!SWIG_IsOK(ecode2
)) {
4402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4404 arg2
= static_cast< byte
>(val2
);
4405 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4406 if (!SWIG_IsOK(ecode3
)) {
4407 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4409 arg3
= static_cast< byte
>(val3
);
4410 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4411 if (!SWIG_IsOK(ecode4
)) {
4412 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4414 arg4
= static_cast< byte
>(val4
);
4416 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4417 if (!SWIG_IsOK(ecode5
)) {
4418 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4420 arg5
= static_cast< byte
>(val5
);
4423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4424 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4425 wxPyEndAllowThreads(__tstate
);
4426 if (PyErr_Occurred()) SWIG_fail
;
4428 resultobj
= SWIG_Py_Void();
4435 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
*resultobj
= 0;
4437 wxColour
*arg1
= (wxColour
*) 0 ;
4438 unsigned long arg2
;
4441 unsigned long val2
;
4443 PyObject
* obj0
= 0 ;
4444 PyObject
* obj1
= 0 ;
4445 char * kwnames
[] = {
4446 (char *) "self",(char *) "colRGB", NULL
4449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4451 if (!SWIG_IsOK(res1
)) {
4452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4454 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4455 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4456 if (!SWIG_IsOK(ecode2
)) {
4457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4459 arg2
= static_cast< unsigned long >(val2
);
4461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4463 wxPyEndAllowThreads(__tstate
);
4464 if (PyErr_Occurred()) SWIG_fail
;
4466 resultobj
= SWIG_Py_Void();
4473 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4474 PyObject
*resultobj
= 0;
4475 wxColour
*arg1
= (wxColour
*) 0 ;
4476 wxString
*arg2
= 0 ;
4479 bool temp2
= false ;
4480 PyObject
* obj0
= 0 ;
4481 PyObject
* obj1
= 0 ;
4482 char * kwnames
[] = {
4483 (char *) "self",(char *) "colourName", NULL
4486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4488 if (!SWIG_IsOK(res1
)) {
4489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4491 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4493 arg2
= wxString_in_helper(obj1
);
4494 if (arg2
== NULL
) SWIG_fail
;
4498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4499 (arg1
)->Set((wxString
const &)*arg2
);
4500 wxPyEndAllowThreads(__tstate
);
4501 if (PyErr_Occurred()) SWIG_fail
;
4503 resultobj
= SWIG_Py_Void();
4518 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4519 PyObject
*resultobj
= 0;
4520 wxColour
*arg1
= (wxColour
*) 0 ;
4521 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4527 PyObject
* obj0
= 0 ;
4528 PyObject
* obj1
= 0 ;
4529 char * kwnames
[] = {
4530 (char *) "self",(char *) "flags", NULL
4533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4535 if (!SWIG_IsOK(res1
)) {
4536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4538 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4540 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4541 if (!SWIG_IsOK(ecode2
)) {
4542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4544 arg2
= static_cast< long >(val2
);
4547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4548 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4549 wxPyEndAllowThreads(__tstate
);
4550 if (PyErr_Occurred()) SWIG_fail
;
4554 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4556 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4565 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4566 PyObject
*resultobj
= 0;
4567 wxColour
*arg1
= (wxColour
*) 0 ;
4571 PyObject
*swig_obj
[1] ;
4573 if (!args
) SWIG_fail
;
4575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4576 if (!SWIG_IsOK(res1
)) {
4577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4579 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4582 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4583 wxPyEndAllowThreads(__tstate
);
4584 if (PyErr_Occurred()) SWIG_fail
;
4586 resultobj
= SWIG_From_long(static_cast< long >(result
));
4593 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
*resultobj
= 0;
4595 wxColour
*arg1
= (wxColour
*) 0 ;
4596 PyObject
*arg2
= (PyObject
*) 0 ;
4600 PyObject
* obj0
= 0 ;
4601 PyObject
* obj1
= 0 ;
4602 char * kwnames
[] = {
4603 (char *) "self",(char *) "other", NULL
4606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4608 if (!SWIG_IsOK(res1
)) {
4609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4611 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4614 result
= (bool)wxColour___eq__(arg1
,arg2
);
4615 if (PyErr_Occurred()) SWIG_fail
;
4618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4626 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
*resultobj
= 0;
4628 wxColour
*arg1
= (wxColour
*) 0 ;
4629 PyObject
*arg2
= (PyObject
*) 0 ;
4633 PyObject
* obj0
= 0 ;
4634 PyObject
* obj1
= 0 ;
4635 char * kwnames
[] = {
4636 (char *) "self",(char *) "other", NULL
4639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4641 if (!SWIG_IsOK(res1
)) {
4642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4644 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4647 result
= (bool)wxColour___ne__(arg1
,arg2
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4659 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
= 0;
4661 wxColour
*arg1
= (wxColour
*) 0 ;
4662 bool arg2
= (bool) false ;
4663 PyObject
*result
= 0 ;
4668 PyObject
* obj0
= 0 ;
4669 PyObject
* obj1
= 0 ;
4670 char * kwnames
[] = {
4671 (char *) "self",(char *) "includeAlpha", NULL
4674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4676 if (!SWIG_IsOK(res1
)) {
4677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4679 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4681 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4682 if (!SWIG_IsOK(ecode2
)) {
4683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4685 arg2
= static_cast< bool >(val2
);
4688 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4689 if (PyErr_Occurred()) SWIG_fail
;
4698 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4699 PyObject
*resultobj
= 0;
4700 wxColour
*arg1
= (wxColour
*) 0 ;
4701 unsigned long result
;
4704 PyObject
*swig_obj
[1] ;
4706 if (!args
) SWIG_fail
;
4708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4709 if (!SWIG_IsOK(res1
)) {
4710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4712 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4714 result
= (unsigned long)wxColour_GetRGB(arg1
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4717 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4724 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4727 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4728 return SWIG_Py_Void();
4731 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4732 return SWIG_Python_InitShadowInstance(args
);
4735 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4736 PyObject
*resultobj
= 0;
4738 unsigned char *arg2
= (unsigned char *) 0 ;
4739 unsigned char *arg3
= (unsigned char *) 0 ;
4740 unsigned char *arg4
= (unsigned char *) 0 ;
4741 wxPalette
*result
= 0 ;
4750 PyObject
* obj0
= 0 ;
4751 PyObject
* obj1
= 0 ;
4752 PyObject
* obj2
= 0 ;
4753 PyObject
* obj3
= 0 ;
4754 char * kwnames
[] = {
4755 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4759 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4760 if (!SWIG_IsOK(ecode1
)) {
4761 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4763 arg1
= static_cast< int >(val1
);
4764 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4765 if (!SWIG_IsOK(res2
)) {
4766 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4768 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4769 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4770 if (!SWIG_IsOK(res3
)) {
4771 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4773 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4774 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4775 if (!SWIG_IsOK(res4
)) {
4776 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4778 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4780 if (!wxPyCheckForApp()) SWIG_fail
;
4781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4782 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4783 wxPyEndAllowThreads(__tstate
);
4784 if (PyErr_Occurred()) SWIG_fail
;
4786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4793 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4794 PyObject
*resultobj
= 0;
4795 wxPalette
*arg1
= (wxPalette
*) 0 ;
4798 PyObject
*swig_obj
[1] ;
4800 if (!args
) SWIG_fail
;
4802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4803 if (!SWIG_IsOK(res1
)) {
4804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4806 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4814 resultobj
= SWIG_Py_Void();
4821 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
*resultobj
= 0;
4823 wxPalette
*arg1
= (wxPalette
*) 0 ;
4830 unsigned char val2
;
4832 unsigned char val3
;
4834 unsigned char val4
;
4836 PyObject
* obj0
= 0 ;
4837 PyObject
* obj1
= 0 ;
4838 PyObject
* obj2
= 0 ;
4839 PyObject
* obj3
= 0 ;
4840 char * kwnames
[] = {
4841 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4846 if (!SWIG_IsOK(res1
)) {
4847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4849 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4850 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4851 if (!SWIG_IsOK(ecode2
)) {
4852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4854 arg2
= static_cast< byte
>(val2
);
4855 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4856 if (!SWIG_IsOK(ecode3
)) {
4857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4859 arg3
= static_cast< byte
>(val3
);
4860 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4861 if (!SWIG_IsOK(ecode4
)) {
4862 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4864 arg4
= static_cast< byte
>(val4
);
4866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4867 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4868 wxPyEndAllowThreads(__tstate
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4871 resultobj
= SWIG_From_int(static_cast< int >(result
));
4878 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4879 PyObject
*resultobj
= 0;
4880 wxPalette
*arg1
= (wxPalette
*) 0 ;
4882 byte
*arg3
= (byte
*) 0 ;
4883 byte
*arg4
= (byte
*) 0 ;
4884 byte
*arg5
= (byte
*) 0 ;
4891 int res3
= SWIG_TMPOBJ
;
4893 int res4
= SWIG_TMPOBJ
;
4895 int res5
= SWIG_TMPOBJ
;
4896 PyObject
* obj0
= 0 ;
4897 PyObject
* obj1
= 0 ;
4898 char * kwnames
[] = {
4899 (char *) "self",(char *) "pixel", NULL
4905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4907 if (!SWIG_IsOK(res1
)) {
4908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4910 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4912 if (!SWIG_IsOK(ecode2
)) {
4913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4915 arg2
= static_cast< int >(val2
);
4917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4918 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4925 if (SWIG_IsTmpObj(res3
)) {
4926 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4928 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4929 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4931 if (SWIG_IsTmpObj(res4
)) {
4932 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4934 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4937 if (SWIG_IsTmpObj(res5
)) {
4938 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4940 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4941 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4949 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4950 PyObject
*resultobj
= 0;
4951 wxPalette
*arg1
= (wxPalette
*) 0 ;
4955 PyObject
*swig_obj
[1] ;
4957 if (!args
) SWIG_fail
;
4959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4960 if (!SWIG_IsOK(res1
)) {
4961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4963 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4966 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4967 wxPyEndAllowThreads(__tstate
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4970 resultobj
= SWIG_From_int(static_cast< int >(result
));
4977 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4978 PyObject
*resultobj
= 0;
4979 wxPalette
*arg1
= (wxPalette
*) 0 ;
4983 PyObject
*swig_obj
[1] ;
4985 if (!args
) SWIG_fail
;
4987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4988 if (!SWIG_IsOK(res1
)) {
4989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4991 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4994 result
= (bool)(arg1
)->IsOk();
4995 wxPyEndAllowThreads(__tstate
);
4996 if (PyErr_Occurred()) SWIG_fail
;
4999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5007 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5009 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5010 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5011 return SWIG_Py_Void();
5014 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5015 return SWIG_Python_InitShadowInstance(args
);
5018 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
*resultobj
= 0;
5020 wxColour
*arg1
= 0 ;
5021 int arg2
= (int) 1 ;
5022 int arg3
= (int) wxSOLID
;
5029 PyObject
* obj0
= 0 ;
5030 PyObject
* obj1
= 0 ;
5031 PyObject
* obj2
= 0 ;
5032 char * kwnames
[] = {
5033 (char *) "colour",(char *) "width",(char *) "style", NULL
5036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5039 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5042 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5043 if (!SWIG_IsOK(ecode2
)) {
5044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5046 arg2
= static_cast< int >(val2
);
5049 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5050 if (!SWIG_IsOK(ecode3
)) {
5051 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5053 arg3
= static_cast< int >(val3
);
5056 if (!wxPyCheckForApp()) SWIG_fail
;
5057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5058 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5059 wxPyEndAllowThreads(__tstate
);
5060 if (PyErr_Occurred()) SWIG_fail
;
5062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5069 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5070 PyObject
*resultobj
= 0;
5071 wxPen
*arg1
= (wxPen
*) 0 ;
5074 PyObject
*swig_obj
[1] ;
5076 if (!args
) SWIG_fail
;
5078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5079 if (!SWIG_IsOK(res1
)) {
5080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5082 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5087 wxPyEndAllowThreads(__tstate
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5090 resultobj
= SWIG_Py_Void();
5097 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5098 PyObject
*resultobj
= 0;
5099 wxPen
*arg1
= (wxPen
*) 0 ;
5103 PyObject
*swig_obj
[1] ;
5105 if (!args
) SWIG_fail
;
5107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5108 if (!SWIG_IsOK(res1
)) {
5109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5111 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 result
= (int)(arg1
)->GetCap();
5115 wxPyEndAllowThreads(__tstate
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5118 resultobj
= SWIG_From_int(static_cast< int >(result
));
5125 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5126 PyObject
*resultobj
= 0;
5127 wxPen
*arg1
= (wxPen
*) 0 ;
5131 PyObject
*swig_obj
[1] ;
5133 if (!args
) SWIG_fail
;
5135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5136 if (!SWIG_IsOK(res1
)) {
5137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5139 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5142 result
= (arg1
)->GetColour();
5143 wxPyEndAllowThreads(__tstate
);
5144 if (PyErr_Occurred()) SWIG_fail
;
5146 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5153 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5154 PyObject
*resultobj
= 0;
5155 wxPen
*arg1
= (wxPen
*) 0 ;
5159 PyObject
*swig_obj
[1] ;
5161 if (!args
) SWIG_fail
;
5163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5164 if (!SWIG_IsOK(res1
)) {
5165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5167 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 result
= (int)(arg1
)->GetJoin();
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5174 resultobj
= SWIG_From_int(static_cast< int >(result
));
5181 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5182 PyObject
*resultobj
= 0;
5183 wxPen
*arg1
= (wxPen
*) 0 ;
5187 PyObject
*swig_obj
[1] ;
5189 if (!args
) SWIG_fail
;
5191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5192 if (!SWIG_IsOK(res1
)) {
5193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5195 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5198 result
= (int)(arg1
)->GetStyle();
5199 wxPyEndAllowThreads(__tstate
);
5200 if (PyErr_Occurred()) SWIG_fail
;
5202 resultobj
= SWIG_From_int(static_cast< int >(result
));
5209 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5210 PyObject
*resultobj
= 0;
5211 wxPen
*arg1
= (wxPen
*) 0 ;
5215 PyObject
*swig_obj
[1] ;
5217 if (!args
) SWIG_fail
;
5219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5220 if (!SWIG_IsOK(res1
)) {
5221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5223 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5226 result
= (int)(arg1
)->GetWidth();
5227 wxPyEndAllowThreads(__tstate
);
5228 if (PyErr_Occurred()) SWIG_fail
;
5230 resultobj
= SWIG_From_int(static_cast< int >(result
));
5237 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5238 PyObject
*resultobj
= 0;
5239 wxPen
*arg1
= (wxPen
*) 0 ;
5243 PyObject
*swig_obj
[1] ;
5245 if (!args
) SWIG_fail
;
5247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5248 if (!SWIG_IsOK(res1
)) {
5249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5251 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5254 result
= (bool)(arg1
)->IsOk();
5255 wxPyEndAllowThreads(__tstate
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5267 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
*resultobj
= 0;
5269 wxPen
*arg1
= (wxPen
*) 0 ;
5275 PyObject
* obj0
= 0 ;
5276 PyObject
* obj1
= 0 ;
5277 char * kwnames
[] = {
5278 (char *) "self",(char *) "cap_style", NULL
5281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5283 if (!SWIG_IsOK(res1
)) {
5284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5286 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5288 if (!SWIG_IsOK(ecode2
)) {
5289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5291 arg2
= static_cast< int >(val2
);
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5294 (arg1
)->SetCap(arg2
);
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5298 resultobj
= SWIG_Py_Void();
5305 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
*resultobj
= 0;
5307 wxPen
*arg1
= (wxPen
*) 0 ;
5308 wxColour
*arg2
= 0 ;
5312 PyObject
* obj0
= 0 ;
5313 PyObject
* obj1
= 0 ;
5314 char * kwnames
[] = {
5315 (char *) "self",(char *) "colour", NULL
5318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5320 if (!SWIG_IsOK(res1
)) {
5321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5323 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5326 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 (arg1
)->SetColour(*arg2
);
5331 wxPyEndAllowThreads(__tstate
);
5332 if (PyErr_Occurred()) SWIG_fail
;
5334 resultobj
= SWIG_Py_Void();
5341 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
*resultobj
= 0;
5343 wxPen
*arg1
= (wxPen
*) 0 ;
5349 PyObject
* obj0
= 0 ;
5350 PyObject
* obj1
= 0 ;
5351 char * kwnames
[] = {
5352 (char *) "self",(char *) "join_style", NULL
5355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5357 if (!SWIG_IsOK(res1
)) {
5358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5360 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5361 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5362 if (!SWIG_IsOK(ecode2
)) {
5363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5365 arg2
= static_cast< int >(val2
);
5367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 (arg1
)->SetJoin(arg2
);
5369 wxPyEndAllowThreads(__tstate
);
5370 if (PyErr_Occurred()) SWIG_fail
;
5372 resultobj
= SWIG_Py_Void();
5379 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5380 PyObject
*resultobj
= 0;
5381 wxPen
*arg1
= (wxPen
*) 0 ;
5387 PyObject
* obj0
= 0 ;
5388 PyObject
* obj1
= 0 ;
5389 char * kwnames
[] = {
5390 (char *) "self",(char *) "style", NULL
5393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5395 if (!SWIG_IsOK(res1
)) {
5396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5398 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5400 if (!SWIG_IsOK(ecode2
)) {
5401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5403 arg2
= static_cast< int >(val2
);
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 (arg1
)->SetStyle(arg2
);
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5410 resultobj
= SWIG_Py_Void();
5417 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
*resultobj
= 0;
5419 wxPen
*arg1
= (wxPen
*) 0 ;
5425 PyObject
* obj0
= 0 ;
5426 PyObject
* obj1
= 0 ;
5427 char * kwnames
[] = {
5428 (char *) "self",(char *) "width", NULL
5431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5433 if (!SWIG_IsOK(res1
)) {
5434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5436 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5438 if (!SWIG_IsOK(ecode2
)) {
5439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5441 arg2
= static_cast< int >(val2
);
5443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5444 (arg1
)->SetWidth(arg2
);
5445 wxPyEndAllowThreads(__tstate
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5448 resultobj
= SWIG_Py_Void();
5455 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5456 PyObject
*resultobj
= 0;
5457 wxPen
*arg1
= (wxPen
*) 0 ;
5459 wxDash
*arg3
= (wxDash
*) 0 ;
5462 PyObject
* obj0
= 0 ;
5463 PyObject
* obj1
= 0 ;
5464 char * kwnames
[] = {
5465 (char *) "self",(char *) "dashes", NULL
5468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5470 if (!SWIG_IsOK(res1
)) {
5471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5473 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5475 arg2
= PyList_Size(obj1
);
5476 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5477 if (arg3
== NULL
) SWIG_fail
;
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5481 (arg1
)->SetDashes(arg2
,arg3
);
5482 wxPyEndAllowThreads(__tstate
);
5483 if (PyErr_Occurred()) SWIG_fail
;
5485 resultobj
= SWIG_Py_Void();
5487 if (arg3
) delete [] arg3
;
5492 if (arg3
) delete [] arg3
;
5498 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5499 PyObject
*resultobj
= 0;
5500 wxPen
*arg1
= (wxPen
*) 0 ;
5501 PyObject
*result
= 0 ;
5504 PyObject
*swig_obj
[1] ;
5506 if (!args
) SWIG_fail
;
5508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5509 if (!SWIG_IsOK(res1
)) {
5510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5512 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5515 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5516 wxPyEndAllowThreads(__tstate
);
5517 if (PyErr_Occurred()) SWIG_fail
;
5526 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5527 PyObject
*resultobj
= 0;
5528 wxPen
*arg1
= (wxPen
*) 0 ;
5529 PyObject
*arg2
= (PyObject
*) 0 ;
5530 PyObject
*arg3
= (PyObject
*) 0 ;
5533 PyObject
* obj0
= 0 ;
5534 PyObject
* obj1
= 0 ;
5535 PyObject
* obj2
= 0 ;
5536 char * kwnames
[] = {
5537 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5542 if (!SWIG_IsOK(res1
)) {
5543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5545 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5550 wxPen__SetDashes(arg1
,arg2
,arg3
);
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) SWIG_fail
;
5554 resultobj
= SWIG_Py_Void();
5561 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
*resultobj
= 0;
5563 wxPen
*arg1
= (wxPen
*) 0 ;
5564 wxPen
*arg2
= (wxPen
*) 0 ;
5570 PyObject
* obj0
= 0 ;
5571 PyObject
* obj1
= 0 ;
5572 char * kwnames
[] = {
5573 (char *) "self",(char *) "other", NULL
5576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5578 if (!SWIG_IsOK(res1
)) {
5579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5581 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5582 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5583 if (!SWIG_IsOK(res2
)) {
5584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5586 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5590 wxPyEndAllowThreads(__tstate
);
5591 if (PyErr_Occurred()) SWIG_fail
;
5594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5602 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
*resultobj
= 0;
5604 wxPen
*arg1
= (wxPen
*) 0 ;
5605 wxPen
*arg2
= (wxPen
*) 0 ;
5611 PyObject
* obj0
= 0 ;
5612 PyObject
* obj1
= 0 ;
5613 char * kwnames
[] = {
5614 (char *) "self",(char *) "other", NULL
5617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5619 if (!SWIG_IsOK(res1
)) {
5620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5622 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5623 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5624 if (!SWIG_IsOK(res2
)) {
5625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5627 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5630 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5643 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5645 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5646 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5647 return SWIG_Py_Void();
5650 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5651 return SWIG_Python_InitShadowInstance(args
);
5654 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5655 PyObject
*resultobj
= 0;
5656 wxColour
*arg1
= 0 ;
5657 int arg2
= (int) wxSOLID
;
5658 wxBrush
*result
= 0 ;
5662 PyObject
* obj0
= 0 ;
5663 PyObject
* obj1
= 0 ;
5664 char * kwnames
[] = {
5665 (char *) "colour",(char *) "style", NULL
5668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5671 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5675 if (!SWIG_IsOK(ecode2
)) {
5676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5678 arg2
= static_cast< int >(val2
);
5681 if (!wxPyCheckForApp()) SWIG_fail
;
5682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5683 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5684 wxPyEndAllowThreads(__tstate
);
5685 if (PyErr_Occurred()) SWIG_fail
;
5687 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5694 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5695 PyObject
*resultobj
= 0;
5696 wxBitmap
*arg1
= 0 ;
5697 wxBrush
*result
= 0 ;
5700 PyObject
* obj0
= 0 ;
5701 char * kwnames
[] = {
5702 (char *) "stippleBitmap", NULL
5705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5706 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5707 if (!SWIG_IsOK(res1
)) {
5708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5711 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5713 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5715 if (!wxPyCheckForApp()) SWIG_fail
;
5716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5717 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5718 wxPyEndAllowThreads(__tstate
);
5719 if (PyErr_Occurred()) SWIG_fail
;
5721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5728 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5729 PyObject
*resultobj
= 0;
5730 wxBrush
*arg1
= (wxBrush
*) 0 ;
5733 PyObject
*swig_obj
[1] ;
5735 if (!args
) SWIG_fail
;
5737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5738 if (!SWIG_IsOK(res1
)) {
5739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5741 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5746 wxPyEndAllowThreads(__tstate
);
5747 if (PyErr_Occurred()) SWIG_fail
;
5749 resultobj
= SWIG_Py_Void();
5756 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5757 PyObject
*resultobj
= 0;
5758 wxBrush
*arg1
= (wxBrush
*) 0 ;
5759 wxColour
*arg2
= 0 ;
5763 PyObject
* obj0
= 0 ;
5764 PyObject
* obj1
= 0 ;
5765 char * kwnames
[] = {
5766 (char *) "self",(char *) "col", NULL
5769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5771 if (!SWIG_IsOK(res1
)) {
5772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5774 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5777 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5781 (arg1
)->SetColour((wxColour
const &)*arg2
);
5782 wxPyEndAllowThreads(__tstate
);
5783 if (PyErr_Occurred()) SWIG_fail
;
5785 resultobj
= SWIG_Py_Void();
5792 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5793 PyObject
*resultobj
= 0;
5794 wxBrush
*arg1
= (wxBrush
*) 0 ;
5800 PyObject
* obj0
= 0 ;
5801 PyObject
* obj1
= 0 ;
5802 char * kwnames
[] = {
5803 (char *) "self",(char *) "style", NULL
5806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5808 if (!SWIG_IsOK(res1
)) {
5809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5811 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5813 if (!SWIG_IsOK(ecode2
)) {
5814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5816 arg2
= static_cast< int >(val2
);
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5819 (arg1
)->SetStyle(arg2
);
5820 wxPyEndAllowThreads(__tstate
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5823 resultobj
= SWIG_Py_Void();
5830 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
*resultobj
= 0;
5832 wxBrush
*arg1
= (wxBrush
*) 0 ;
5833 wxBitmap
*arg2
= 0 ;
5838 PyObject
* obj0
= 0 ;
5839 PyObject
* obj1
= 0 ;
5840 char * kwnames
[] = {
5841 (char *) "self",(char *) "stipple", NULL
5844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5846 if (!SWIG_IsOK(res1
)) {
5847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5849 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5850 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5851 if (!SWIG_IsOK(res2
)) {
5852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5855 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5857 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5860 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5861 wxPyEndAllowThreads(__tstate
);
5862 if (PyErr_Occurred()) SWIG_fail
;
5864 resultobj
= SWIG_Py_Void();
5871 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5872 PyObject
*resultobj
= 0;
5873 wxBrush
*arg1
= (wxBrush
*) 0 ;
5877 PyObject
*swig_obj
[1] ;
5879 if (!args
) SWIG_fail
;
5881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5882 if (!SWIG_IsOK(res1
)) {
5883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5885 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 result
= ((wxBrush
const *)arg1
)->GetColour();
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5892 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5899 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5900 PyObject
*resultobj
= 0;
5901 wxBrush
*arg1
= (wxBrush
*) 0 ;
5905 PyObject
*swig_obj
[1] ;
5907 if (!args
) SWIG_fail
;
5909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5910 if (!SWIG_IsOK(res1
)) {
5911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5913 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_From_int(static_cast< int >(result
));
5927 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5928 PyObject
*resultobj
= 0;
5929 wxBrush
*arg1
= (wxBrush
*) 0 ;
5930 wxBitmap
*result
= 0 ;
5933 PyObject
*swig_obj
[1] ;
5935 if (!args
) SWIG_fail
;
5937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5938 if (!SWIG_IsOK(res1
)) {
5939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5941 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5955 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5956 PyObject
*resultobj
= 0;
5957 wxBrush
*arg1
= (wxBrush
*) 0 ;
5961 PyObject
*swig_obj
[1] ;
5963 if (!args
) SWIG_fail
;
5965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5966 if (!SWIG_IsOK(res1
)) {
5967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5969 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5972 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5985 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5986 PyObject
*resultobj
= 0;
5987 wxBrush
*arg1
= (wxBrush
*) 0 ;
5991 PyObject
*swig_obj
[1] ;
5993 if (!args
) SWIG_fail
;
5995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5996 if (!SWIG_IsOK(res1
)) {
5997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
5999 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6002 result
= (bool)(arg1
)->IsOk();
6003 wxPyEndAllowThreads(__tstate
);
6004 if (PyErr_Occurred()) SWIG_fail
;
6007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6015 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6016 PyObject
*resultobj
= 0;
6017 wxBrush
*arg1
= (wxBrush
*) 0 ;
6021 PyObject
*swig_obj
[1] ;
6023 if (!args
) SWIG_fail
;
6025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6026 if (!SWIG_IsOK(res1
)) {
6027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6029 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6032 result
= (short)(arg1
)->MacGetTheme();
6033 wxPyEndAllowThreads(__tstate
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6036 resultobj
= SWIG_From_short(static_cast< short >(result
));
6043 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
*resultobj
= 0;
6045 wxBrush
*arg1
= (wxBrush
*) 0 ;
6051 PyObject
* obj0
= 0 ;
6052 PyObject
* obj1
= 0 ;
6053 char * kwnames
[] = {
6054 (char *) "self",(char *) "macThemeBrush", NULL
6057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6059 if (!SWIG_IsOK(res1
)) {
6060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6062 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6063 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
6064 if (!SWIG_IsOK(ecode2
)) {
6065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
6067 arg2
= static_cast< short >(val2
);
6069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6070 (arg1
)->MacSetTheme(arg2
);
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6074 resultobj
= SWIG_Py_Void();
6081 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6083 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6084 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6085 return SWIG_Py_Void();
6088 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6089 return SWIG_Python_InitShadowInstance(args
);
6092 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6093 PyObject
*resultobj
= 0;
6094 wxString
*arg1
= 0 ;
6095 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6096 wxBitmap
*result
= 0 ;
6097 bool temp1
= false ;
6100 PyObject
* obj0
= 0 ;
6101 PyObject
* obj1
= 0 ;
6102 char * kwnames
[] = {
6103 (char *) "name",(char *) "type", NULL
6106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6108 arg1
= wxString_in_helper(obj0
);
6109 if (arg1
== NULL
) SWIG_fail
;
6113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6114 if (!SWIG_IsOK(ecode2
)) {
6115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6117 arg2
= static_cast< wxBitmapType
>(val2
);
6120 if (!wxPyCheckForApp()) SWIG_fail
;
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6123 wxPyEndAllowThreads(__tstate
);
6124 if (PyErr_Occurred()) SWIG_fail
;
6126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6141 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6142 PyObject
*resultobj
= 0;
6143 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6146 PyObject
*swig_obj
[1] ;
6148 if (!args
) SWIG_fail
;
6150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6151 if (!SWIG_IsOK(res1
)) {
6152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6154 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6158 if (PyErr_Occurred()) SWIG_fail
;
6160 resultobj
= SWIG_Py_Void();
6167 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6168 PyObject
*resultobj
= 0;
6171 int arg3
= (int) -1 ;
6172 wxBitmap
*result
= 0 ;
6179 PyObject
* obj0
= 0 ;
6180 PyObject
* obj1
= 0 ;
6181 PyObject
* obj2
= 0 ;
6182 char * kwnames
[] = {
6183 (char *) "width",(char *) "height",(char *) "depth", NULL
6186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6187 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6188 if (!SWIG_IsOK(ecode1
)) {
6189 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6191 arg1
= static_cast< int >(val1
);
6192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6193 if (!SWIG_IsOK(ecode2
)) {
6194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6196 arg2
= static_cast< int >(val2
);
6198 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6199 if (!SWIG_IsOK(ecode3
)) {
6200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6202 arg3
= static_cast< int >(val3
);
6205 if (!wxPyCheckForApp()) SWIG_fail
;
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6207 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6218 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
*resultobj
= 0;
6221 wxBitmap
*result
= 0 ;
6224 PyObject
* obj0
= 0 ;
6225 char * kwnames
[] = {
6226 (char *) "icon", NULL
6229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6230 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6231 if (!SWIG_IsOK(res1
)) {
6232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6237 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6239 if (!wxPyCheckForApp()) SWIG_fail
;
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6252 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
*resultobj
= 0;
6255 int arg2
= (int) -1 ;
6256 wxBitmap
*result
= 0 ;
6261 PyObject
* obj0
= 0 ;
6262 PyObject
* obj1
= 0 ;
6263 char * kwnames
[] = {
6264 (char *) "image",(char *) "depth", NULL
6267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6268 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6269 if (!SWIG_IsOK(res1
)) {
6270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6273 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6275 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6278 if (!SWIG_IsOK(ecode2
)) {
6279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6281 arg2
= static_cast< int >(val2
);
6284 if (!wxPyCheckForApp()) SWIG_fail
;
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6286 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) SWIG_fail
;
6290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6297 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6298 PyObject
*resultobj
= 0;
6299 PyObject
*arg1
= (PyObject
*) 0 ;
6300 wxBitmap
*result
= 0 ;
6301 PyObject
* obj0
= 0 ;
6302 char * kwnames
[] = {
6303 (char *) "listOfStrings", NULL
6306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6309 if (!wxPyCheckForApp()) SWIG_fail
;
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6312 wxPyEndAllowThreads(__tstate
);
6313 if (PyErr_Occurred()) SWIG_fail
;
6315 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6322 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
*resultobj
= 0;
6324 PyObject
*arg1
= (PyObject
*) 0 ;
6327 int arg4
= (int) 1 ;
6328 wxBitmap
*result
= 0 ;
6335 PyObject
* obj0
= 0 ;
6336 PyObject
* obj1
= 0 ;
6337 PyObject
* obj2
= 0 ;
6338 PyObject
* obj3
= 0 ;
6339 char * kwnames
[] = {
6340 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6346 if (!SWIG_IsOK(ecode2
)) {
6347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6349 arg2
= static_cast< int >(val2
);
6350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6351 if (!SWIG_IsOK(ecode3
)) {
6352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6354 arg3
= static_cast< int >(val3
);
6356 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6357 if (!SWIG_IsOK(ecode4
)) {
6358 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6360 arg4
= static_cast< int >(val4
);
6363 if (!wxPyCheckForApp()) SWIG_fail
;
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6366 wxPyEndAllowThreads(__tstate
);
6367 if (PyErr_Occurred()) SWIG_fail
;
6369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6376 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6377 PyObject
*resultobj
= 0;
6378 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6382 PyObject
*swig_obj
[1] ;
6384 if (!args
) SWIG_fail
;
6386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6387 if (!SWIG_IsOK(res1
)) {
6388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6390 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6392 result
= (bool)(arg1
)->IsOk();
6393 if (PyErr_Occurred()) SWIG_fail
;
6396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6404 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6405 PyObject
*resultobj
= 0;
6406 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6410 PyObject
*swig_obj
[1] ;
6412 if (!args
) SWIG_fail
;
6414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6415 if (!SWIG_IsOK(res1
)) {
6416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6418 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6420 result
= (int)(arg1
)->GetWidth();
6421 if (PyErr_Occurred()) SWIG_fail
;
6423 resultobj
= SWIG_From_int(static_cast< int >(result
));
6430 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6431 PyObject
*resultobj
= 0;
6432 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6436 PyObject
*swig_obj
[1] ;
6438 if (!args
) SWIG_fail
;
6440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6441 if (!SWIG_IsOK(res1
)) {
6442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6444 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6446 result
= (int)(arg1
)->GetHeight();
6447 if (PyErr_Occurred()) SWIG_fail
;
6449 resultobj
= SWIG_From_int(static_cast< int >(result
));
6456 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6457 PyObject
*resultobj
= 0;
6458 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6462 PyObject
*swig_obj
[1] ;
6464 if (!args
) SWIG_fail
;
6466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6467 if (!SWIG_IsOK(res1
)) {
6468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6470 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6472 result
= (int)(arg1
)->GetDepth();
6473 if (PyErr_Occurred()) SWIG_fail
;
6475 resultobj
= SWIG_From_int(static_cast< int >(result
));
6482 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6483 PyObject
*resultobj
= 0;
6484 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6488 PyObject
*swig_obj
[1] ;
6490 if (!args
) SWIG_fail
;
6492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6493 if (!SWIG_IsOK(res1
)) {
6494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6496 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6498 result
= wxBitmap_GetSize(arg1
);
6499 if (PyErr_Occurred()) SWIG_fail
;
6501 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6508 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6509 PyObject
*resultobj
= 0;
6510 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6511 SwigValueWrapper
<wxImage
> result
;
6514 PyObject
*swig_obj
[1] ;
6516 if (!args
) SWIG_fail
;
6518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6519 if (!SWIG_IsOK(res1
)) {
6520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6522 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6524 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6525 if (PyErr_Occurred()) SWIG_fail
;
6527 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6534 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6535 PyObject
*resultobj
= 0;
6536 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6537 wxMask
*result
= 0 ;
6540 PyObject
*swig_obj
[1] ;
6542 if (!args
) SWIG_fail
;
6544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6545 if (!SWIG_IsOK(res1
)) {
6546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6548 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6550 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6551 if (PyErr_Occurred()) SWIG_fail
;
6553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6560 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
*resultobj
= 0;
6562 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6563 wxMask
*arg2
= (wxMask
*) 0 ;
6567 PyObject
* obj0
= 0 ;
6568 PyObject
* obj1
= 0 ;
6569 char * kwnames
[] = {
6570 (char *) "self",(char *) "mask", NULL
6573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6575 if (!SWIG_IsOK(res1
)) {
6576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6578 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6579 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6580 if (!SWIG_IsOK(res2
)) {
6581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6584 (arg1
)->SetMask(arg2
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6587 resultobj
= SWIG_Py_Void();
6594 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6595 PyObject
*resultobj
= 0;
6596 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6597 wxColour
*arg2
= 0 ;
6601 PyObject
* obj0
= 0 ;
6602 PyObject
* obj1
= 0 ;
6603 char * kwnames
[] = {
6604 (char *) "self",(char *) "colour", NULL
6607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6609 if (!SWIG_IsOK(res1
)) {
6610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6612 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6615 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6618 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6619 if (PyErr_Occurred()) SWIG_fail
;
6621 resultobj
= SWIG_Py_Void();
6628 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6629 PyObject
*resultobj
= 0;
6630 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6632 SwigValueWrapper
<wxBitmap
> result
;
6636 PyObject
* obj0
= 0 ;
6637 PyObject
* obj1
= 0 ;
6638 char * kwnames
[] = {
6639 (char *) "self",(char *) "rect", NULL
6642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6644 if (!SWIG_IsOK(res1
)) {
6645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6647 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6650 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6653 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6656 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6663 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6664 PyObject
*resultobj
= 0;
6665 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6666 wxString
*arg2
= 0 ;
6668 wxPalette
*arg4
= (wxPalette
*) NULL
;
6672 bool temp2
= false ;
6677 PyObject
* obj0
= 0 ;
6678 PyObject
* obj1
= 0 ;
6679 PyObject
* obj2
= 0 ;
6680 PyObject
* obj3
= 0 ;
6681 char * kwnames
[] = {
6682 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6687 if (!SWIG_IsOK(res1
)) {
6688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6690 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6692 arg2
= wxString_in_helper(obj1
);
6693 if (arg2
== NULL
) SWIG_fail
;
6696 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6697 if (!SWIG_IsOK(ecode3
)) {
6698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6700 arg3
= static_cast< wxBitmapType
>(val3
);
6702 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6703 if (!SWIG_IsOK(res4
)) {
6704 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6706 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6709 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6729 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6730 PyObject
*resultobj
= 0;
6731 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6732 wxString
*arg2
= 0 ;
6737 bool temp2
= false ;
6740 PyObject
* obj0
= 0 ;
6741 PyObject
* obj1
= 0 ;
6742 PyObject
* obj2
= 0 ;
6743 char * kwnames
[] = {
6744 (char *) "self",(char *) "name",(char *) "type", NULL
6747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6749 if (!SWIG_IsOK(res1
)) {
6750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6752 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6754 arg2
= wxString_in_helper(obj1
);
6755 if (arg2
== NULL
) SWIG_fail
;
6758 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6759 if (!SWIG_IsOK(ecode3
)) {
6760 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6762 arg3
= static_cast< wxBitmapType
>(val3
);
6764 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6765 if (PyErr_Occurred()) SWIG_fail
;
6768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6784 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6785 PyObject
*resultobj
= 0;
6786 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6787 wxPalette
*result
= 0 ;
6790 PyObject
*swig_obj
[1] ;
6792 if (!args
) SWIG_fail
;
6794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6795 if (!SWIG_IsOK(res1
)) {
6796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6798 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6800 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6801 if (PyErr_Occurred()) SWIG_fail
;
6803 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6810 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
*resultobj
= 0;
6812 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6819 PyObject
* obj0
= 0 ;
6820 PyObject
* obj1
= 0 ;
6821 char * kwnames
[] = {
6822 (char *) "self",(char *) "icon", NULL
6825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6827 if (!SWIG_IsOK(res1
)) {
6828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6830 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6831 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6832 if (!SWIG_IsOK(res2
)) {
6833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6836 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6838 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6840 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6841 if (PyErr_Occurred()) SWIG_fail
;
6844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6852 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6853 PyObject
*resultobj
= 0;
6854 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6860 PyObject
* obj0
= 0 ;
6861 PyObject
* obj1
= 0 ;
6862 char * kwnames
[] = {
6863 (char *) "self",(char *) "height", NULL
6866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6868 if (!SWIG_IsOK(res1
)) {
6869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6871 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6873 if (!SWIG_IsOK(ecode2
)) {
6874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6876 arg2
= static_cast< int >(val2
);
6878 (arg1
)->SetHeight(arg2
);
6879 if (PyErr_Occurred()) SWIG_fail
;
6881 resultobj
= SWIG_Py_Void();
6888 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6889 PyObject
*resultobj
= 0;
6890 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6896 PyObject
* obj0
= 0 ;
6897 PyObject
* obj1
= 0 ;
6898 char * kwnames
[] = {
6899 (char *) "self",(char *) "width", NULL
6902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6904 if (!SWIG_IsOK(res1
)) {
6905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6907 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6909 if (!SWIG_IsOK(ecode2
)) {
6910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6912 arg2
= static_cast< int >(val2
);
6914 (arg1
)->SetWidth(arg2
);
6915 if (PyErr_Occurred()) SWIG_fail
;
6917 resultobj
= SWIG_Py_Void();
6924 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6925 PyObject
*resultobj
= 0;
6926 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6932 PyObject
* obj0
= 0 ;
6933 PyObject
* obj1
= 0 ;
6934 char * kwnames
[] = {
6935 (char *) "self",(char *) "depth", NULL
6938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6940 if (!SWIG_IsOK(res1
)) {
6941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6943 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6945 if (!SWIG_IsOK(ecode2
)) {
6946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6948 arg2
= static_cast< int >(val2
);
6950 (arg1
)->SetDepth(arg2
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6953 resultobj
= SWIG_Py_Void();
6960 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
*resultobj
= 0;
6962 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6967 PyObject
* obj0
= 0 ;
6968 PyObject
* obj1
= 0 ;
6969 char * kwnames
[] = {
6970 (char *) "self",(char *) "size", NULL
6973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6975 if (!SWIG_IsOK(res1
)) {
6976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6978 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6981 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6984 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6985 if (PyErr_Occurred()) SWIG_fail
;
6987 resultobj
= SWIG_Py_Void();
6994 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6995 PyObject
*resultobj
= 0;
6996 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7002 PyObject
* obj0
= 0 ;
7003 PyObject
* obj1
= 0 ;
7004 char * kwnames
[] = {
7005 (char *) "self",(char *) "data", NULL
7008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7010 if (!SWIG_IsOK(res1
)) {
7011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7013 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7015 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7019 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7020 if (PyErr_Occurred()) SWIG_fail
;
7022 resultobj
= SWIG_Py_Void();
7029 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7030 PyObject
*resultobj
= 0;
7031 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7037 PyObject
* obj0
= 0 ;
7038 PyObject
* obj1
= 0 ;
7039 char * kwnames
[] = {
7040 (char *) "self",(char *) "data", NULL
7043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7045 if (!SWIG_IsOK(res1
)) {
7046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7048 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7050 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7054 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7055 if (PyErr_Occurred()) SWIG_fail
;
7057 resultobj
= SWIG_Py_Void();
7064 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
*resultobj
= 0;
7066 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7067 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7073 PyObject
* obj0
= 0 ;
7074 PyObject
* obj1
= 0 ;
7075 char * kwnames
[] = {
7076 (char *) "self",(char *) "other", NULL
7079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7081 if (!SWIG_IsOK(res1
)) {
7082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7084 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7085 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7086 if (!SWIG_IsOK(res2
)) {
7087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7089 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7091 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7103 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
= 0;
7105 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7106 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7112 PyObject
* obj0
= 0 ;
7113 PyObject
* obj1
= 0 ;
7114 char * kwnames
[] = {
7115 (char *) "self",(char *) "other", NULL
7118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7120 if (!SWIG_IsOK(res1
)) {
7121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7123 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7124 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7125 if (!SWIG_IsOK(res2
)) {
7126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7128 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7130 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7131 if (PyErr_Occurred()) SWIG_fail
;
7134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7142 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7144 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7145 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7146 return SWIG_Py_Void();
7149 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7150 return SWIG_Python_InitShadowInstance(args
);
7153 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
*resultobj
= 0;
7161 wxBitmap
*result
= 0 ;
7168 PyObject
* obj0
= 0 ;
7169 PyObject
* obj1
= 0 ;
7170 PyObject
* obj2
= 0 ;
7171 PyObject
* obj3
= 0 ;
7172 char * kwnames
[] = {
7173 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7177 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7178 if (!SWIG_IsOK(ecode1
)) {
7179 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7181 arg1
= static_cast< int >(val1
);
7182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7183 if (!SWIG_IsOK(ecode2
)) {
7184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7186 arg2
= static_cast< int >(val2
);
7188 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7192 if (obj3
!= Py_None
) {
7193 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7198 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7199 if (PyErr_Occurred()) SWIG_fail
;
7201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7208 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7209 PyObject
*resultobj
= 0;
7214 wxBitmap
*result
= 0 ;
7220 PyObject
* obj0
= 0 ;
7221 PyObject
* obj1
= 0 ;
7222 PyObject
* obj2
= 0 ;
7223 char * kwnames
[] = {
7224 (char *) "width",(char *) "height",(char *) "data", NULL
7227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7228 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7229 if (!SWIG_IsOK(ecode1
)) {
7230 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7232 arg1
= static_cast< int >(val1
);
7233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7234 if (!SWIG_IsOK(ecode2
)) {
7235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7237 arg2
= static_cast< int >(val2
);
7239 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7243 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7253 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
*resultobj
= 0;
7259 wxBitmap
*result
= 0 ;
7265 PyObject
* obj0
= 0 ;
7266 PyObject
* obj1
= 0 ;
7267 PyObject
* obj2
= 0 ;
7268 char * kwnames
[] = {
7269 (char *) "width",(char *) "height",(char *) "data", NULL
7272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7273 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7274 if (!SWIG_IsOK(ecode1
)) {
7275 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7277 arg1
= static_cast< int >(val1
);
7278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7279 if (!SWIG_IsOK(ecode2
)) {
7280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7282 arg2
= static_cast< int >(val2
);
7284 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7288 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7289 if (PyErr_Occurred()) SWIG_fail
;
7291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7298 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7299 PyObject
*resultobj
= 0;
7300 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7304 PyObject
*swig_obj
[1] ;
7306 if (!args
) SWIG_fail
;
7308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7309 if (!SWIG_IsOK(res1
)) {
7310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7312 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7314 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7315 if (PyErr_Occurred()) SWIG_fail
;
7317 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7324 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7325 PyObject
*resultobj
= 0;
7326 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7330 PyObject
*swig_obj
[1] ;
7332 if (!args
) SWIG_fail
;
7334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7335 if (!SWIG_IsOK(res1
)) {
7336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7338 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7340 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7341 if (PyErr_Occurred()) SWIG_fail
;
7343 resultobj
= SWIG_From_int(static_cast< int >(result
));
7350 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7351 PyObject
*resultobj
= 0;
7352 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7356 PyObject
*swig_obj
[1] ;
7358 if (!args
) SWIG_fail
;
7360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7361 if (!SWIG_IsOK(res1
)) {
7362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7364 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7366 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7367 if (PyErr_Occurred()) SWIG_fail
;
7369 resultobj
= SWIG_From_int(static_cast< int >(result
));
7376 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7377 PyObject
*resultobj
= 0;
7378 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7382 PyObject
*swig_obj
[1] ;
7384 if (!args
) SWIG_fail
;
7386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7387 if (!SWIG_IsOK(res1
)) {
7388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7390 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7392 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7393 if (PyErr_Occurred()) SWIG_fail
;
7395 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7402 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7403 PyObject
*resultobj
= 0;
7404 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7408 PyObject
*swig_obj
[1] ;
7410 if (!args
) SWIG_fail
;
7412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7413 if (!SWIG_IsOK(res1
)) {
7414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7416 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7418 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7419 if (PyErr_Occurred()) SWIG_fail
;
7421 resultobj
= SWIG_From_int(static_cast< int >(result
));
7428 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7430 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7431 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7432 return SWIG_Py_Void();
7435 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7436 PyObject
*resultobj
= 0;
7437 wxBitmap
*arg1
= 0 ;
7438 wxNativePixelData
*result
= 0 ;
7442 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7444 if (!SWIG_IsOK(res1
)) {
7445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7448 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7450 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7452 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7462 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7463 PyObject
*resultobj
= 0;
7464 wxBitmap
*arg1
= 0 ;
7466 wxNativePixelData
*result
= 0 ;
7471 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7473 if (!SWIG_IsOK(res1
)) {
7474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7479 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7482 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7485 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7495 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7496 PyObject
*resultobj
= 0;
7497 wxBitmap
*arg1
= 0 ;
7500 wxNativePixelData
*result
= 0 ;
7506 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7508 if (!SWIG_IsOK(res1
)) {
7509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7512 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7514 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7517 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7521 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7524 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7525 if (PyErr_Occurred()) SWIG_fail
;
7527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7534 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7538 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7541 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7544 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7547 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7551 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7556 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7557 PyObject
*resultobj
= 0;
7558 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7561 PyObject
*swig_obj
[1] ;
7563 if (!args
) SWIG_fail
;
7565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7566 if (!SWIG_IsOK(res1
)) {
7567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7569 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= SWIG_Py_Void();
7582 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7583 PyObject
*resultobj
= 0;
7584 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7585 wxNativePixelData_Accessor result
;
7588 PyObject
*swig_obj
[1] ;
7590 if (!args
) SWIG_fail
;
7592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7593 if (!SWIG_IsOK(res1
)) {
7594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7596 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7598 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7599 if (PyErr_Occurred()) SWIG_fail
;
7601 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7608 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7609 PyObject
*resultobj
= 0;
7610 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7613 PyObject
*swig_obj
[1] ;
7615 if (!args
) SWIG_fail
;
7617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7618 if (!SWIG_IsOK(res1
)) {
7619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7621 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7626 resultobj
= SWIG_Py_Void();
7633 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7634 PyObject
*resultobj
= 0;
7635 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7639 PyObject
*swig_obj
[1] ;
7641 if (!args
) SWIG_fail
;
7643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7644 if (!SWIG_IsOK(res1
)) {
7645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7647 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7649 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7650 if (PyErr_Occurred()) SWIG_fail
;
7653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7661 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7663 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7664 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7665 return SWIG_Py_Void();
7668 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7669 return SWIG_Python_InitShadowInstance(args
);
7672 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7673 PyObject
*resultobj
= 0;
7674 wxNativePixelData
*arg1
= 0 ;
7675 wxNativePixelData_Accessor
*result
= 0 ;
7679 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7681 if (!SWIG_IsOK(res1
)) {
7682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7685 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7687 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7689 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7690 if (PyErr_Occurred()) SWIG_fail
;
7692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7699 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7700 PyObject
*resultobj
= 0;
7701 wxBitmap
*arg1
= 0 ;
7702 wxNativePixelData
*arg2
= 0 ;
7703 wxNativePixelData_Accessor
*result
= 0 ;
7709 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7711 if (!SWIG_IsOK(res1
)) {
7712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7717 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7718 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7719 if (!SWIG_IsOK(res2
)) {
7720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7723 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7725 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7727 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7737 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7738 PyObject
*resultobj
= 0;
7739 wxNativePixelData_Accessor
*result
= 0 ;
7741 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7743 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7744 if (PyErr_Occurred()) SWIG_fail
;
7746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7753 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7757 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7760 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7763 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7766 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7770 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7775 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7776 PyObject
*resultobj
= 0;
7777 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7780 PyObject
*swig_obj
[1] ;
7782 if (!args
) SWIG_fail
;
7784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7785 if (!SWIG_IsOK(res1
)) {
7786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7788 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7794 resultobj
= SWIG_Py_Void();
7801 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
*resultobj
= 0;
7803 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7804 wxNativePixelData
*arg2
= 0 ;
7809 PyObject
* obj0
= 0 ;
7810 PyObject
* obj1
= 0 ;
7811 char * kwnames
[] = {
7812 (char *) "self",(char *) "data", NULL
7815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7817 if (!SWIG_IsOK(res1
)) {
7818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7820 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7821 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7822 if (!SWIG_IsOK(res2
)) {
7823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7828 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7830 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7831 if (PyErr_Occurred()) SWIG_fail
;
7833 resultobj
= SWIG_Py_Void();
7840 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7841 PyObject
*resultobj
= 0;
7842 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7846 PyObject
*swig_obj
[1] ;
7848 if (!args
) SWIG_fail
;
7850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7851 if (!SWIG_IsOK(res1
)) {
7852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7854 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7856 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7857 if (PyErr_Occurred()) SWIG_fail
;
7860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7868 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7869 PyObject
*resultobj
= 0;
7870 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7873 PyObject
*swig_obj
[1] ;
7875 if (!args
) SWIG_fail
;
7877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7878 if (!SWIG_IsOK(res1
)) {
7879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7881 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7883 wxNativePixelData_Accessor_nextPixel(arg1
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7886 resultobj
= SWIG_Py_Void();
7893 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
*resultobj
= 0;
7895 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7896 wxNativePixelData
*arg2
= 0 ;
7907 PyObject
* obj0
= 0 ;
7908 PyObject
* obj1
= 0 ;
7909 PyObject
* obj2
= 0 ;
7910 PyObject
* obj3
= 0 ;
7911 char * kwnames
[] = {
7912 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7917 if (!SWIG_IsOK(res1
)) {
7918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7920 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7921 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7922 if (!SWIG_IsOK(res2
)) {
7923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7926 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7928 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7929 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7930 if (!SWIG_IsOK(ecode3
)) {
7931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7933 arg3
= static_cast< int >(val3
);
7934 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7935 if (!SWIG_IsOK(ecode4
)) {
7936 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7938 arg4
= static_cast< int >(val4
);
7940 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7941 if (PyErr_Occurred()) SWIG_fail
;
7943 resultobj
= SWIG_Py_Void();
7950 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7951 PyObject
*resultobj
= 0;
7952 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7953 wxNativePixelData
*arg2
= 0 ;
7961 PyObject
* obj0
= 0 ;
7962 PyObject
* obj1
= 0 ;
7963 PyObject
* obj2
= 0 ;
7964 char * kwnames
[] = {
7965 (char *) "self",(char *) "data",(char *) "x", NULL
7968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7970 if (!SWIG_IsOK(res1
)) {
7971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7973 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7974 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7975 if (!SWIG_IsOK(res2
)) {
7976 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7979 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7981 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7982 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7983 if (!SWIG_IsOK(ecode3
)) {
7984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7986 arg3
= static_cast< int >(val3
);
7988 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7991 resultobj
= SWIG_Py_Void();
7998 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
*resultobj
= 0;
8000 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8001 wxNativePixelData
*arg2
= 0 ;
8009 PyObject
* obj0
= 0 ;
8010 PyObject
* obj1
= 0 ;
8011 PyObject
* obj2
= 0 ;
8012 char * kwnames
[] = {
8013 (char *) "self",(char *) "data",(char *) "y", NULL
8016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8018 if (!SWIG_IsOK(res1
)) {
8019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8021 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8022 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8023 if (!SWIG_IsOK(res2
)) {
8024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8029 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8030 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8031 if (!SWIG_IsOK(ecode3
)) {
8032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8034 arg3
= static_cast< int >(val3
);
8036 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8037 if (PyErr_Occurred()) SWIG_fail
;
8039 resultobj
= SWIG_Py_Void();
8046 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8047 PyObject
*resultobj
= 0;
8048 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8049 wxNativePixelData
*arg2
= 0 ;
8060 PyObject
* obj0
= 0 ;
8061 PyObject
* obj1
= 0 ;
8062 PyObject
* obj2
= 0 ;
8063 PyObject
* obj3
= 0 ;
8064 char * kwnames
[] = {
8065 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8070 if (!SWIG_IsOK(res1
)) {
8071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8073 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8074 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8075 if (!SWIG_IsOK(res2
)) {
8076 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8079 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8081 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8082 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8083 if (!SWIG_IsOK(ecode3
)) {
8084 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8086 arg3
= static_cast< int >(val3
);
8087 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8088 if (!SWIG_IsOK(ecode4
)) {
8089 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8091 arg4
= static_cast< int >(val4
);
8093 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8094 if (PyErr_Occurred()) SWIG_fail
;
8096 resultobj
= SWIG_Py_Void();
8103 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8104 PyObject
*resultobj
= 0;
8105 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8111 unsigned char val2
;
8113 unsigned char val3
;
8115 unsigned char val4
;
8117 PyObject
* obj0
= 0 ;
8118 PyObject
* obj1
= 0 ;
8119 PyObject
* obj2
= 0 ;
8120 PyObject
* obj3
= 0 ;
8121 char * kwnames
[] = {
8122 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8127 if (!SWIG_IsOK(res1
)) {
8128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8130 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8131 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8132 if (!SWIG_IsOK(ecode2
)) {
8133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8135 arg2
= static_cast< byte
>(val2
);
8136 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8137 if (!SWIG_IsOK(ecode3
)) {
8138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8140 arg3
= static_cast< byte
>(val3
);
8141 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8142 if (!SWIG_IsOK(ecode4
)) {
8143 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8145 arg4
= static_cast< byte
>(val4
);
8147 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8148 if (PyErr_Occurred()) SWIG_fail
;
8150 resultobj
= SWIG_Py_Void();
8157 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8158 PyObject
*resultobj
= 0;
8159 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8160 PyObject
*result
= 0 ;
8163 PyObject
*swig_obj
[1] ;
8165 if (!args
) SWIG_fail
;
8167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8168 if (!SWIG_IsOK(res1
)) {
8169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8171 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8173 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8174 if (PyErr_Occurred()) SWIG_fail
;
8183 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8186 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8187 return SWIG_Py_Void();
8190 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8191 return SWIG_Python_InitShadowInstance(args
);
8194 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8195 PyObject
*resultobj
= 0;
8196 wxBitmap
*arg1
= 0 ;
8197 wxAlphaPixelData
*result
= 0 ;
8201 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8203 if (!SWIG_IsOK(res1
)) {
8204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8207 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8209 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8211 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8212 if (PyErr_Occurred()) SWIG_fail
;
8214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8221 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8222 PyObject
*resultobj
= 0;
8223 wxBitmap
*arg1
= 0 ;
8225 wxAlphaPixelData
*result
= 0 ;
8230 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8232 if (!SWIG_IsOK(res1
)) {
8233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8238 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8241 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8244 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8254 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8255 PyObject
*resultobj
= 0;
8256 wxBitmap
*arg1
= 0 ;
8259 wxAlphaPixelData
*result
= 0 ;
8265 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8267 if (!SWIG_IsOK(res1
)) {
8268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8271 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8273 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8276 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8280 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8283 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8293 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8297 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8300 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8303 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8306 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8310 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8315 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8316 PyObject
*resultobj
= 0;
8317 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8320 PyObject
*swig_obj
[1] ;
8322 if (!args
) SWIG_fail
;
8324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8325 if (!SWIG_IsOK(res1
)) {
8326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8328 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8334 resultobj
= SWIG_Py_Void();
8341 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8342 PyObject
*resultobj
= 0;
8343 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8344 wxAlphaPixelData_Accessor result
;
8347 PyObject
*swig_obj
[1] ;
8349 if (!args
) SWIG_fail
;
8351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8352 if (!SWIG_IsOK(res1
)) {
8353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8355 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8357 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8358 if (PyErr_Occurred()) SWIG_fail
;
8360 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8367 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8368 PyObject
*resultobj
= 0;
8369 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8372 PyObject
*swig_obj
[1] ;
8374 if (!args
) SWIG_fail
;
8376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8377 if (!SWIG_IsOK(res1
)) {
8378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8380 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8383 if (PyErr_Occurred()) SWIG_fail
;
8385 resultobj
= SWIG_Py_Void();
8392 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8393 PyObject
*resultobj
= 0;
8394 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8398 PyObject
*swig_obj
[1] ;
8400 if (!args
) SWIG_fail
;
8402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8403 if (!SWIG_IsOK(res1
)) {
8404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8406 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8408 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8420 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8422 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8423 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8424 return SWIG_Py_Void();
8427 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8428 return SWIG_Python_InitShadowInstance(args
);
8431 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8432 PyObject
*resultobj
= 0;
8433 wxAlphaPixelData
*arg1
= 0 ;
8434 wxAlphaPixelData_Accessor
*result
= 0 ;
8438 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8440 if (!SWIG_IsOK(res1
)) {
8441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8444 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8446 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8448 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8458 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8459 PyObject
*resultobj
= 0;
8460 wxBitmap
*arg1
= 0 ;
8461 wxAlphaPixelData
*arg2
= 0 ;
8462 wxAlphaPixelData_Accessor
*result
= 0 ;
8468 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8470 if (!SWIG_IsOK(res1
)) {
8471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8474 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8476 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8477 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8478 if (!SWIG_IsOK(res2
)) {
8479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8484 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8486 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8496 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8497 PyObject
*resultobj
= 0;
8498 wxAlphaPixelData_Accessor
*result
= 0 ;
8500 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8502 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8503 if (PyErr_Occurred()) SWIG_fail
;
8505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8512 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8516 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8519 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8522 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8525 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8529 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8534 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8535 PyObject
*resultobj
= 0;
8536 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8539 PyObject
*swig_obj
[1] ;
8541 if (!args
) SWIG_fail
;
8543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8544 if (!SWIG_IsOK(res1
)) {
8545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8547 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8551 if (PyErr_Occurred()) SWIG_fail
;
8553 resultobj
= SWIG_Py_Void();
8560 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8561 PyObject
*resultobj
= 0;
8562 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8563 wxAlphaPixelData
*arg2
= 0 ;
8568 PyObject
* obj0
= 0 ;
8569 PyObject
* obj1
= 0 ;
8570 char * kwnames
[] = {
8571 (char *) "self",(char *) "data", NULL
8574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8576 if (!SWIG_IsOK(res1
)) {
8577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8579 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8580 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8581 if (!SWIG_IsOK(res2
)) {
8582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8587 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8589 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8590 if (PyErr_Occurred()) SWIG_fail
;
8592 resultobj
= SWIG_Py_Void();
8599 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8600 PyObject
*resultobj
= 0;
8601 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8605 PyObject
*swig_obj
[1] ;
8607 if (!args
) SWIG_fail
;
8609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8610 if (!SWIG_IsOK(res1
)) {
8611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8613 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8615 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8616 if (PyErr_Occurred()) SWIG_fail
;
8619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8627 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8628 PyObject
*resultobj
= 0;
8629 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8632 PyObject
*swig_obj
[1] ;
8634 if (!args
) SWIG_fail
;
8636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8637 if (!SWIG_IsOK(res1
)) {
8638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8640 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8642 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8643 if (PyErr_Occurred()) SWIG_fail
;
8645 resultobj
= SWIG_Py_Void();
8652 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8653 PyObject
*resultobj
= 0;
8654 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8655 wxAlphaPixelData
*arg2
= 0 ;
8666 PyObject
* obj0
= 0 ;
8667 PyObject
* obj1
= 0 ;
8668 PyObject
* obj2
= 0 ;
8669 PyObject
* obj3
= 0 ;
8670 char * kwnames
[] = {
8671 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8676 if (!SWIG_IsOK(res1
)) {
8677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8679 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8680 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8681 if (!SWIG_IsOK(res2
)) {
8682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8685 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8687 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8688 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8689 if (!SWIG_IsOK(ecode3
)) {
8690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8692 arg3
= static_cast< int >(val3
);
8693 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8694 if (!SWIG_IsOK(ecode4
)) {
8695 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8697 arg4
= static_cast< int >(val4
);
8699 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8702 resultobj
= SWIG_Py_Void();
8709 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8710 PyObject
*resultobj
= 0;
8711 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8712 wxAlphaPixelData
*arg2
= 0 ;
8720 PyObject
* obj0
= 0 ;
8721 PyObject
* obj1
= 0 ;
8722 PyObject
* obj2
= 0 ;
8723 char * kwnames
[] = {
8724 (char *) "self",(char *) "data",(char *) "x", NULL
8727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8729 if (!SWIG_IsOK(res1
)) {
8730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8732 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8733 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8734 if (!SWIG_IsOK(res2
)) {
8735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8740 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8741 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8742 if (!SWIG_IsOK(ecode3
)) {
8743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8745 arg3
= static_cast< int >(val3
);
8747 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8750 resultobj
= SWIG_Py_Void();
8757 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8758 PyObject
*resultobj
= 0;
8759 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8760 wxAlphaPixelData
*arg2
= 0 ;
8768 PyObject
* obj0
= 0 ;
8769 PyObject
* obj1
= 0 ;
8770 PyObject
* obj2
= 0 ;
8771 char * kwnames
[] = {
8772 (char *) "self",(char *) "data",(char *) "y", NULL
8775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8777 if (!SWIG_IsOK(res1
)) {
8778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8780 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8781 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8782 if (!SWIG_IsOK(res2
)) {
8783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8786 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8788 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8789 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8790 if (!SWIG_IsOK(ecode3
)) {
8791 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8793 arg3
= static_cast< int >(val3
);
8795 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8798 resultobj
= SWIG_Py_Void();
8805 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8806 PyObject
*resultobj
= 0;
8807 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8808 wxAlphaPixelData
*arg2
= 0 ;
8819 PyObject
* obj0
= 0 ;
8820 PyObject
* obj1
= 0 ;
8821 PyObject
* obj2
= 0 ;
8822 PyObject
* obj3
= 0 ;
8823 char * kwnames
[] = {
8824 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8829 if (!SWIG_IsOK(res1
)) {
8830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8832 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8833 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8834 if (!SWIG_IsOK(res2
)) {
8835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8840 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8841 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8842 if (!SWIG_IsOK(ecode3
)) {
8843 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8845 arg3
= static_cast< int >(val3
);
8846 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8847 if (!SWIG_IsOK(ecode4
)) {
8848 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8850 arg4
= static_cast< int >(val4
);
8852 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 resultobj
= SWIG_Py_Void();
8862 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8863 PyObject
*resultobj
= 0;
8864 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8871 unsigned char val2
;
8873 unsigned char val3
;
8875 unsigned char val4
;
8877 unsigned char val5
;
8879 PyObject
* obj0
= 0 ;
8880 PyObject
* obj1
= 0 ;
8881 PyObject
* obj2
= 0 ;
8882 PyObject
* obj3
= 0 ;
8883 PyObject
* obj4
= 0 ;
8884 char * kwnames
[] = {
8885 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8890 if (!SWIG_IsOK(res1
)) {
8891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8893 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8894 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8895 if (!SWIG_IsOK(ecode2
)) {
8896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8898 arg2
= static_cast< byte
>(val2
);
8899 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8900 if (!SWIG_IsOK(ecode3
)) {
8901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8903 arg3
= static_cast< byte
>(val3
);
8904 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8905 if (!SWIG_IsOK(ecode4
)) {
8906 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8908 arg4
= static_cast< byte
>(val4
);
8909 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8910 if (!SWIG_IsOK(ecode5
)) {
8911 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8913 arg5
= static_cast< byte
>(val5
);
8915 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8916 if (PyErr_Occurred()) SWIG_fail
;
8918 resultobj
= SWIG_Py_Void();
8925 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8926 PyObject
*resultobj
= 0;
8927 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8928 PyObject
*result
= 0 ;
8931 PyObject
*swig_obj
[1] ;
8933 if (!args
) SWIG_fail
;
8935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8936 if (!SWIG_IsOK(res1
)) {
8937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8939 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8941 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8942 if (PyErr_Occurred()) SWIG_fail
;
8951 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8953 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8954 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8955 return SWIG_Py_Void();
8958 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8959 return SWIG_Python_InitShadowInstance(args
);
8962 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8963 PyObject
*resultobj
= 0;
8964 wxBitmap
*arg1
= 0 ;
8965 wxColour
const &arg2_defvalue
= wxNullColour
;
8966 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8967 wxMask
*result
= 0 ;
8971 PyObject
* obj0
= 0 ;
8972 PyObject
* obj1
= 0 ;
8973 char * kwnames
[] = {
8974 (char *) "bitmap",(char *) "colour", NULL
8977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8978 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8979 if (!SWIG_IsOK(res1
)) {
8980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8985 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8989 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8993 if (!wxPyCheckForApp()) SWIG_fail
;
8994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8995 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) SWIG_fail
;
8999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9006 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9007 PyObject
*resultobj
= 0;
9008 wxMask
*arg1
= (wxMask
*) 0 ;
9011 PyObject
*swig_obj
[1] ;
9013 if (!args
) SWIG_fail
;
9015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9016 if (!SWIG_IsOK(res1
)) {
9017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9019 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9023 if (PyErr_Occurred()) SWIG_fail
;
9025 resultobj
= SWIG_Py_Void();
9032 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9034 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9035 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9036 return SWIG_Py_Void();
9039 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9040 return SWIG_Python_InitShadowInstance(args
);
9043 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
= 0;
9045 wxString
*arg1
= 0 ;
9047 int arg3
= (int) -1 ;
9048 int arg4
= (int) -1 ;
9049 wxIcon
*result
= 0 ;
9050 bool temp1
= false ;
9057 PyObject
* obj0
= 0 ;
9058 PyObject
* obj1
= 0 ;
9059 PyObject
* obj2
= 0 ;
9060 PyObject
* obj3
= 0 ;
9061 char * kwnames
[] = {
9062 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9067 arg1
= wxString_in_helper(obj0
);
9068 if (arg1
== NULL
) SWIG_fail
;
9071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9072 if (!SWIG_IsOK(ecode2
)) {
9073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9075 arg2
= static_cast< wxBitmapType
>(val2
);
9077 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9078 if (!SWIG_IsOK(ecode3
)) {
9079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9081 arg3
= static_cast< int >(val3
);
9084 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9085 if (!SWIG_IsOK(ecode4
)) {
9086 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9088 arg4
= static_cast< int >(val4
);
9091 if (!wxPyCheckForApp()) SWIG_fail
;
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9093 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9094 wxPyEndAllowThreads(__tstate
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9097 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9112 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9113 PyObject
*resultobj
= 0;
9114 wxIcon
*arg1
= (wxIcon
*) 0 ;
9117 PyObject
*swig_obj
[1] ;
9119 if (!args
) SWIG_fail
;
9121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9122 if (!SWIG_IsOK(res1
)) {
9123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9125 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 wxPyEndAllowThreads(__tstate
);
9131 if (PyErr_Occurred()) SWIG_fail
;
9133 resultobj
= SWIG_Py_Void();
9140 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9141 PyObject
*resultobj
= 0;
9142 wxIcon
*result
= 0 ;
9144 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9146 if (!wxPyCheckForApp()) SWIG_fail
;
9147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9148 result
= (wxIcon
*)new wxIcon();
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9159 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9160 PyObject
*resultobj
= 0;
9161 wxIconLocation
*arg1
= 0 ;
9162 wxIcon
*result
= 0 ;
9165 PyObject
* obj0
= 0 ;
9166 char * kwnames
[] = {
9167 (char *) "loc", NULL
9170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9171 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9172 if (!SWIG_IsOK(res1
)) {
9173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9176 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9178 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9180 if (!wxPyCheckForApp()) SWIG_fail
;
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9183 wxPyEndAllowThreads(__tstate
);
9184 if (PyErr_Occurred()) SWIG_fail
;
9186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9193 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9194 PyObject
*resultobj
= 0;
9195 wxBitmap
*arg1
= 0 ;
9196 wxIcon
*result
= 0 ;
9199 PyObject
* obj0
= 0 ;
9200 char * kwnames
[] = {
9201 (char *) "bmp", NULL
9204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9205 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9206 if (!SWIG_IsOK(res1
)) {
9207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9212 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9214 if (!wxPyCheckForApp()) SWIG_fail
;
9215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9217 wxPyEndAllowThreads(__tstate
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9227 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9228 PyObject
*resultobj
= 0;
9229 PyObject
*arg1
= (PyObject
*) 0 ;
9230 wxIcon
*result
= 0 ;
9231 PyObject
* obj0
= 0 ;
9232 char * kwnames
[] = {
9233 (char *) "listOfStrings", NULL
9236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9239 if (!wxPyCheckForApp()) SWIG_fail
;
9240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9241 result
= (wxIcon
*)new_wxIcon(arg1
);
9242 wxPyEndAllowThreads(__tstate
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9252 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9253 PyObject
*resultobj
= 0;
9254 wxIcon
*arg1
= (wxIcon
*) 0 ;
9258 PyObject
*swig_obj
[1] ;
9260 if (!args
) SWIG_fail
;
9262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9263 if (!SWIG_IsOK(res1
)) {
9264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9266 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9269 result
= (bool)(arg1
)->IsOk();
9270 wxPyEndAllowThreads(__tstate
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9282 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9283 PyObject
*resultobj
= 0;
9284 wxIcon
*arg1
= (wxIcon
*) 0 ;
9288 PyObject
*swig_obj
[1] ;
9290 if (!args
) SWIG_fail
;
9292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9293 if (!SWIG_IsOK(res1
)) {
9294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9296 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 result
= (int)(arg1
)->GetWidth();
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9303 resultobj
= SWIG_From_int(static_cast< int >(result
));
9310 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9311 PyObject
*resultobj
= 0;
9312 wxIcon
*arg1
= (wxIcon
*) 0 ;
9316 PyObject
*swig_obj
[1] ;
9318 if (!args
) SWIG_fail
;
9320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9321 if (!SWIG_IsOK(res1
)) {
9322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9324 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 result
= (int)(arg1
)->GetHeight();
9328 wxPyEndAllowThreads(__tstate
);
9329 if (PyErr_Occurred()) SWIG_fail
;
9331 resultobj
= SWIG_From_int(static_cast< int >(result
));
9338 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9339 PyObject
*resultobj
= 0;
9340 wxIcon
*arg1
= (wxIcon
*) 0 ;
9344 PyObject
*swig_obj
[1] ;
9346 if (!args
) SWIG_fail
;
9348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9349 if (!SWIG_IsOK(res1
)) {
9350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9352 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9355 result
= (int)(arg1
)->GetDepth();
9356 wxPyEndAllowThreads(__tstate
);
9357 if (PyErr_Occurred()) SWIG_fail
;
9359 resultobj
= SWIG_From_int(static_cast< int >(result
));
9366 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9367 PyObject
*resultobj
= 0;
9368 wxIcon
*arg1
= (wxIcon
*) 0 ;
9374 PyObject
* obj0
= 0 ;
9375 PyObject
* obj1
= 0 ;
9376 char * kwnames
[] = {
9377 (char *) "self",(char *) "w", NULL
9380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9382 if (!SWIG_IsOK(res1
)) {
9383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9385 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9387 if (!SWIG_IsOK(ecode2
)) {
9388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9390 arg2
= static_cast< int >(val2
);
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 (arg1
)->SetWidth(arg2
);
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9397 resultobj
= SWIG_Py_Void();
9404 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
*resultobj
= 0;
9406 wxIcon
*arg1
= (wxIcon
*) 0 ;
9412 PyObject
* obj0
= 0 ;
9413 PyObject
* obj1
= 0 ;
9414 char * kwnames
[] = {
9415 (char *) "self",(char *) "h", NULL
9418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9420 if (!SWIG_IsOK(res1
)) {
9421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9423 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9424 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9425 if (!SWIG_IsOK(ecode2
)) {
9426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9428 arg2
= static_cast< int >(val2
);
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 (arg1
)->SetHeight(arg2
);
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9435 resultobj
= SWIG_Py_Void();
9442 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
*resultobj
= 0;
9444 wxIcon
*arg1
= (wxIcon
*) 0 ;
9450 PyObject
* obj0
= 0 ;
9451 PyObject
* obj1
= 0 ;
9452 char * kwnames
[] = {
9453 (char *) "self",(char *) "d", NULL
9456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9458 if (!SWIG_IsOK(res1
)) {
9459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9461 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9463 if (!SWIG_IsOK(ecode2
)) {
9464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9466 arg2
= static_cast< int >(val2
);
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 (arg1
)->SetDepth(arg2
);
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9473 resultobj
= SWIG_Py_Void();
9480 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9481 PyObject
*resultobj
= 0;
9482 wxIcon
*arg1
= (wxIcon
*) 0 ;
9483 wxBitmap
*arg2
= 0 ;
9488 PyObject
* obj0
= 0 ;
9489 PyObject
* obj1
= 0 ;
9490 char * kwnames
[] = {
9491 (char *) "self",(char *) "bmp", NULL
9494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9496 if (!SWIG_IsOK(res1
)) {
9497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9499 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9500 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9501 if (!SWIG_IsOK(res2
)) {
9502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9507 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9510 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9511 wxPyEndAllowThreads(__tstate
);
9512 if (PyErr_Occurred()) SWIG_fail
;
9514 resultobj
= SWIG_Py_Void();
9521 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9523 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9524 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9525 return SWIG_Py_Void();
9528 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9529 return SWIG_Python_InitShadowInstance(args
);
9532 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9533 PyObject
*resultobj
= 0;
9534 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9535 int arg2
= (int) 0 ;
9536 wxIconLocation
*result
= 0 ;
9537 bool temp1
= false ;
9540 PyObject
* obj0
= 0 ;
9541 PyObject
* obj1
= 0 ;
9542 char * kwnames
[] = {
9543 (char *) "filename",(char *) "num", NULL
9546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9549 arg1
= wxString_in_helper(obj0
);
9550 if (arg1
== NULL
) SWIG_fail
;
9555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9556 if (!SWIG_IsOK(ecode2
)) {
9557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9559 arg2
= static_cast< int >(val2
);
9562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9563 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9564 wxPyEndAllowThreads(__tstate
);
9565 if (PyErr_Occurred()) SWIG_fail
;
9567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9582 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9583 PyObject
*resultobj
= 0;
9584 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9587 PyObject
*swig_obj
[1] ;
9589 if (!args
) SWIG_fail
;
9591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9592 if (!SWIG_IsOK(res1
)) {
9593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9595 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 wxPyEndAllowThreads(__tstate
);
9601 if (PyErr_Occurred()) SWIG_fail
;
9603 resultobj
= SWIG_Py_Void();
9610 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9611 PyObject
*resultobj
= 0;
9612 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9616 PyObject
*swig_obj
[1] ;
9618 if (!args
) SWIG_fail
;
9620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9621 if (!SWIG_IsOK(res1
)) {
9622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9624 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9627 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9628 wxPyEndAllowThreads(__tstate
);
9629 if (PyErr_Occurred()) SWIG_fail
;
9632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9640 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9641 PyObject
*resultobj
= 0;
9642 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9643 wxString
*arg2
= 0 ;
9646 bool temp2
= false ;
9647 PyObject
* obj0
= 0 ;
9648 PyObject
* obj1
= 0 ;
9649 char * kwnames
[] = {
9650 (char *) "self",(char *) "filename", NULL
9653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9655 if (!SWIG_IsOK(res1
)) {
9656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9658 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9660 arg2
= wxString_in_helper(obj1
);
9661 if (arg2
== NULL
) SWIG_fail
;
9665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9666 (arg1
)->SetFileName((wxString
const &)*arg2
);
9667 wxPyEndAllowThreads(__tstate
);
9668 if (PyErr_Occurred()) SWIG_fail
;
9670 resultobj
= SWIG_Py_Void();
9685 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9686 PyObject
*resultobj
= 0;
9687 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9688 wxString
*result
= 0 ;
9691 PyObject
*swig_obj
[1] ;
9693 if (!args
) SWIG_fail
;
9695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9696 if (!SWIG_IsOK(res1
)) {
9697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9699 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9703 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9704 result
= (wxString
*) &_result_ref
;
9706 wxPyEndAllowThreads(__tstate
);
9707 if (PyErr_Occurred()) SWIG_fail
;
9711 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9713 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9722 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9723 PyObject
*resultobj
= 0;
9724 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9730 PyObject
* obj0
= 0 ;
9731 PyObject
* obj1
= 0 ;
9732 char * kwnames
[] = {
9733 (char *) "self",(char *) "num", NULL
9736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9738 if (!SWIG_IsOK(res1
)) {
9739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9741 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9743 if (!SWIG_IsOK(ecode2
)) {
9744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9746 arg2
= static_cast< int >(val2
);
9748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9749 wxIconLocation_SetIndex(arg1
,arg2
);
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9753 resultobj
= SWIG_Py_Void();
9760 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9761 PyObject
*resultobj
= 0;
9762 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9766 PyObject
*swig_obj
[1] ;
9768 if (!args
) SWIG_fail
;
9770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9771 if (!SWIG_IsOK(res1
)) {
9772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9774 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9777 result
= (int)wxIconLocation_GetIndex(arg1
);
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9781 resultobj
= SWIG_From_int(static_cast< int >(result
));
9788 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9790 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9791 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9792 return SWIG_Py_Void();
9795 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9796 return SWIG_Python_InitShadowInstance(args
);
9799 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9800 PyObject
*resultobj
= 0;
9801 wxIconBundle
*result
= 0 ;
9803 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9806 result
= (wxIconBundle
*)new wxIconBundle();
9807 wxPyEndAllowThreads(__tstate
);
9808 if (PyErr_Occurred()) SWIG_fail
;
9810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9817 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
*resultobj
= 0;
9819 wxString
*arg1
= 0 ;
9821 wxIconBundle
*result
= 0 ;
9822 bool temp1
= false ;
9825 PyObject
* obj0
= 0 ;
9826 PyObject
* obj1
= 0 ;
9827 char * kwnames
[] = {
9828 (char *) "file",(char *) "type", NULL
9831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9833 arg1
= wxString_in_helper(obj0
);
9834 if (arg1
== NULL
) SWIG_fail
;
9837 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9838 if (!SWIG_IsOK(ecode2
)) {
9839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9841 arg2
= static_cast< long >(val2
);
9843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9844 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9845 wxPyEndAllowThreads(__tstate
);
9846 if (PyErr_Occurred()) SWIG_fail
;
9848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9863 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
*resultobj
= 0;
9866 wxIconBundle
*result
= 0 ;
9869 PyObject
* obj0
= 0 ;
9870 char * kwnames
[] = {
9871 (char *) "icon", NULL
9874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9875 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9876 if (!SWIG_IsOK(res1
)) {
9877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9882 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9885 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9886 wxPyEndAllowThreads(__tstate
);
9887 if (PyErr_Occurred()) SWIG_fail
;
9889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9896 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9897 PyObject
*resultobj
= 0;
9898 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9901 PyObject
*swig_obj
[1] ;
9903 if (!args
) SWIG_fail
;
9905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9906 if (!SWIG_IsOK(res1
)) {
9907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9909 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 wxPyEndAllowThreads(__tstate
);
9915 if (PyErr_Occurred()) SWIG_fail
;
9917 resultobj
= SWIG_Py_Void();
9924 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9925 PyObject
*resultobj
= 0;
9926 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9932 PyObject
* obj0
= 0 ;
9933 PyObject
* obj1
= 0 ;
9934 char * kwnames
[] = {
9935 (char *) "self",(char *) "icon", NULL
9938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9940 if (!SWIG_IsOK(res1
)) {
9941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9943 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9944 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9945 if (!SWIG_IsOK(res2
)) {
9946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9951 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9955 wxPyEndAllowThreads(__tstate
);
9956 if (PyErr_Occurred()) SWIG_fail
;
9958 resultobj
= SWIG_Py_Void();
9965 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9966 PyObject
*resultobj
= 0;
9967 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9968 wxString
*arg2
= 0 ;
9972 bool temp2
= false ;
9975 PyObject
* obj0
= 0 ;
9976 PyObject
* obj1
= 0 ;
9977 PyObject
* obj2
= 0 ;
9978 char * kwnames
[] = {
9979 (char *) "self",(char *) "file",(char *) "type", NULL
9982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9984 if (!SWIG_IsOK(res1
)) {
9985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9987 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9989 arg2
= wxString_in_helper(obj1
);
9990 if (arg2
== NULL
) SWIG_fail
;
9993 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9994 if (!SWIG_IsOK(ecode3
)) {
9995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9997 arg3
= static_cast< long >(val3
);
9999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10000 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10004 resultobj
= SWIG_Py_Void();
10019 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
*resultobj
= 0;
10021 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10023 wxIcon
*result
= 0 ;
10027 PyObject
* obj0
= 0 ;
10028 PyObject
* obj1
= 0 ;
10029 char * kwnames
[] = {
10030 (char *) "self",(char *) "size", NULL
10033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10035 if (!SWIG_IsOK(res1
)) {
10036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10038 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10041 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10046 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10047 result
= (wxIcon
*) &_result_ref
;
10049 wxPyEndAllowThreads(__tstate
);
10050 if (PyErr_Occurred()) SWIG_fail
;
10053 wxIcon
* resultptr
= new wxIcon(*result
);
10054 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10062 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10064 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10065 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10066 return SWIG_Py_Void();
10069 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10070 return SWIG_Python_InitShadowInstance(args
);
10073 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10074 PyObject
*resultobj
= 0;
10075 wxString
*arg1
= 0 ;
10077 int arg3
= (int) 0 ;
10078 int arg4
= (int) 0 ;
10079 wxCursor
*result
= 0 ;
10080 bool temp1
= false ;
10087 PyObject
* obj0
= 0 ;
10088 PyObject
* obj1
= 0 ;
10089 PyObject
* obj2
= 0 ;
10090 PyObject
* obj3
= 0 ;
10091 char * kwnames
[] = {
10092 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10097 arg1
= wxString_in_helper(obj0
);
10098 if (arg1
== NULL
) SWIG_fail
;
10101 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10102 if (!SWIG_IsOK(ecode2
)) {
10103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10105 arg2
= static_cast< long >(val2
);
10107 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10108 if (!SWIG_IsOK(ecode3
)) {
10109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10111 arg3
= static_cast< int >(val3
);
10114 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10115 if (!SWIG_IsOK(ecode4
)) {
10116 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10118 arg4
= static_cast< int >(val4
);
10121 if (!wxPyCheckForApp()) SWIG_fail
;
10122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10123 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10124 wxPyEndAllowThreads(__tstate
);
10125 if (PyErr_Occurred()) SWIG_fail
;
10127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10142 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10143 PyObject
*resultobj
= 0;
10144 wxCursor
*arg1
= (wxCursor
*) 0 ;
10147 PyObject
*swig_obj
[1] ;
10149 if (!args
) SWIG_fail
;
10150 swig_obj
[0] = args
;
10151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10152 if (!SWIG_IsOK(res1
)) {
10153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10155 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10160 wxPyEndAllowThreads(__tstate
);
10161 if (PyErr_Occurred()) SWIG_fail
;
10163 resultobj
= SWIG_Py_Void();
10170 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10171 PyObject
*resultobj
= 0;
10173 wxCursor
*result
= 0 ;
10176 PyObject
* obj0
= 0 ;
10177 char * kwnames
[] = {
10178 (char *) "id", NULL
10181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10182 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10183 if (!SWIG_IsOK(ecode1
)) {
10184 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10186 arg1
= static_cast< int >(val1
);
10188 if (!wxPyCheckForApp()) SWIG_fail
;
10189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 result
= (wxCursor
*)new wxCursor(arg1
);
10191 wxPyEndAllowThreads(__tstate
);
10192 if (PyErr_Occurred()) SWIG_fail
;
10194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10201 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10202 PyObject
*resultobj
= 0;
10203 wxImage
*arg1
= 0 ;
10204 wxCursor
*result
= 0 ;
10207 PyObject
* obj0
= 0 ;
10208 char * kwnames
[] = {
10209 (char *) "image", NULL
10212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10213 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10214 if (!SWIG_IsOK(res1
)) {
10215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10220 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10222 if (!wxPyCheckForApp()) SWIG_fail
;
10223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10224 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10225 wxPyEndAllowThreads(__tstate
);
10226 if (PyErr_Occurred()) SWIG_fail
;
10228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10235 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10236 PyObject
*resultobj
= 0;
10237 wxCursor
*arg1
= (wxCursor
*) 0 ;
10241 PyObject
*swig_obj
[1] ;
10243 if (!args
) SWIG_fail
;
10244 swig_obj
[0] = args
;
10245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10246 if (!SWIG_IsOK(res1
)) {
10247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10249 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 result
= (bool)(arg1
)->IsOk();
10253 wxPyEndAllowThreads(__tstate
);
10254 if (PyErr_Occurred()) SWIG_fail
;
10257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10265 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10267 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10268 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10269 return SWIG_Py_Void();
10272 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10273 return SWIG_Python_InitShadowInstance(args
);
10276 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
*resultobj
= 0;
10278 int arg1
= (int) 0 ;
10279 int arg2
= (int) 0 ;
10280 int arg3
= (int) 0 ;
10281 int arg4
= (int) 0 ;
10282 wxRegion
*result
= 0 ;
10291 PyObject
* obj0
= 0 ;
10292 PyObject
* obj1
= 0 ;
10293 PyObject
* obj2
= 0 ;
10294 PyObject
* obj3
= 0 ;
10295 char * kwnames
[] = {
10296 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10301 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10302 if (!SWIG_IsOK(ecode1
)) {
10303 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10305 arg1
= static_cast< int >(val1
);
10308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10309 if (!SWIG_IsOK(ecode2
)) {
10310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10312 arg2
= static_cast< int >(val2
);
10315 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10316 if (!SWIG_IsOK(ecode3
)) {
10317 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10319 arg3
= static_cast< int >(val3
);
10322 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10323 if (!SWIG_IsOK(ecode4
)) {
10324 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10326 arg4
= static_cast< int >(val4
);
10329 if (!wxPyCheckForApp()) SWIG_fail
;
10330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10331 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10335 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10342 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10343 PyObject
*resultobj
= 0;
10344 wxBitmap
*arg1
= 0 ;
10345 wxRegion
*result
= 0 ;
10348 PyObject
* obj0
= 0 ;
10349 char * kwnames
[] = {
10350 (char *) "bmp", NULL
10353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10354 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10355 if (!SWIG_IsOK(res1
)) {
10356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10361 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10363 if (!wxPyCheckForApp()) SWIG_fail
;
10364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10365 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10376 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
*resultobj
= 0;
10378 wxBitmap
*arg1
= 0 ;
10379 wxColour
*arg2
= 0 ;
10380 int arg3
= (int) 0 ;
10381 wxRegion
*result
= 0 ;
10387 PyObject
* obj0
= 0 ;
10388 PyObject
* obj1
= 0 ;
10389 PyObject
* obj2
= 0 ;
10390 char * kwnames
[] = {
10391 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10395 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10396 if (!SWIG_IsOK(res1
)) {
10397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10402 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10405 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10408 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10409 if (!SWIG_IsOK(ecode3
)) {
10410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10412 arg3
= static_cast< int >(val3
);
10415 if (!wxPyCheckForApp()) SWIG_fail
;
10416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10417 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10418 wxPyEndAllowThreads(__tstate
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10428 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10429 PyObject
*resultobj
= 0;
10431 wxPoint
*arg2
= (wxPoint
*) 0 ;
10432 int arg3
= (int) wxWINDING_RULE
;
10433 wxRegion
*result
= 0 ;
10436 PyObject
* obj0
= 0 ;
10437 PyObject
* obj1
= 0 ;
10438 char * kwnames
[] = {
10439 (char *) "points",(char *) "fillStyle", NULL
10442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10444 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10445 if (arg2
== NULL
) SWIG_fail
;
10448 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10449 if (!SWIG_IsOK(ecode3
)) {
10450 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10452 arg3
= static_cast< int >(val3
);
10455 if (!wxPyCheckForApp()) SWIG_fail
;
10456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10457 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10458 wxPyEndAllowThreads(__tstate
);
10459 if (PyErr_Occurred()) SWIG_fail
;
10461 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10463 if (arg2
) delete [] arg2
;
10468 if (arg2
) delete [] arg2
;
10474 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10475 PyObject
*resultobj
= 0;
10476 wxRegion
*arg1
= (wxRegion
*) 0 ;
10479 PyObject
*swig_obj
[1] ;
10481 if (!args
) SWIG_fail
;
10482 swig_obj
[0] = args
;
10483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10484 if (!SWIG_IsOK(res1
)) {
10485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10487 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10495 resultobj
= SWIG_Py_Void();
10502 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10503 PyObject
*resultobj
= 0;
10504 wxRegion
*arg1
= (wxRegion
*) 0 ;
10507 PyObject
*swig_obj
[1] ;
10509 if (!args
) SWIG_fail
;
10510 swig_obj
[0] = args
;
10511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10512 if (!SWIG_IsOK(res1
)) {
10513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10515 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10519 wxPyEndAllowThreads(__tstate
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10522 resultobj
= SWIG_Py_Void();
10529 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10530 PyObject
*resultobj
= 0;
10531 wxRegion
*arg1
= (wxRegion
*) 0 ;
10541 PyObject
* obj0
= 0 ;
10542 PyObject
* obj1
= 0 ;
10543 PyObject
* obj2
= 0 ;
10544 char * kwnames
[] = {
10545 (char *) "self",(char *) "x",(char *) "y", NULL
10548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10550 if (!SWIG_IsOK(res1
)) {
10551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10553 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10555 if (!SWIG_IsOK(ecode2
)) {
10556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10558 arg2
= static_cast< int >(val2
);
10559 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10560 if (!SWIG_IsOK(ecode3
)) {
10561 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10563 arg3
= static_cast< int >(val3
);
10565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10566 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10579 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10580 PyObject
*resultobj
= 0;
10581 wxRegion
*arg1
= (wxRegion
*) 0 ;
10584 wxRegionContain result
;
10591 PyObject
* obj0
= 0 ;
10592 PyObject
* obj1
= 0 ;
10593 PyObject
* obj2
= 0 ;
10594 char * kwnames
[] = {
10595 (char *) "self",(char *) "x",(char *) "y", NULL
10598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10600 if (!SWIG_IsOK(res1
)) {
10601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10603 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10605 if (!SWIG_IsOK(ecode2
)) {
10606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10608 arg2
= static_cast< int >(val2
);
10609 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10610 if (!SWIG_IsOK(ecode3
)) {
10611 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10613 arg3
= static_cast< int >(val3
);
10615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10616 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10617 wxPyEndAllowThreads(__tstate
);
10618 if (PyErr_Occurred()) SWIG_fail
;
10620 resultobj
= SWIG_From_int(static_cast< int >(result
));
10627 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10628 PyObject
*resultobj
= 0;
10629 wxRegion
*arg1
= (wxRegion
*) 0 ;
10630 wxPoint
*arg2
= 0 ;
10631 wxRegionContain result
;
10635 PyObject
* obj0
= 0 ;
10636 PyObject
* obj1
= 0 ;
10637 char * kwnames
[] = {
10638 (char *) "self",(char *) "pt", NULL
10641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10643 if (!SWIG_IsOK(res1
)) {
10644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10646 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10649 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10657 resultobj
= SWIG_From_int(static_cast< int >(result
));
10664 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
= 0;
10666 wxRegion
*arg1
= (wxRegion
*) 0 ;
10668 wxRegionContain result
;
10672 PyObject
* obj0
= 0 ;
10673 PyObject
* obj1
= 0 ;
10674 char * kwnames
[] = {
10675 (char *) "self",(char *) "rect", NULL
10678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10680 if (!SWIG_IsOK(res1
)) {
10681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10683 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10686 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10690 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10691 wxPyEndAllowThreads(__tstate
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10694 resultobj
= SWIG_From_int(static_cast< int >(result
));
10701 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10702 PyObject
*resultobj
= 0;
10703 wxRegion
*arg1
= (wxRegion
*) 0 ;
10708 wxRegionContain result
;
10719 PyObject
* obj0
= 0 ;
10720 PyObject
* obj1
= 0 ;
10721 PyObject
* obj2
= 0 ;
10722 PyObject
* obj3
= 0 ;
10723 PyObject
* obj4
= 0 ;
10724 char * kwnames
[] = {
10725 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10730 if (!SWIG_IsOK(res1
)) {
10731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10733 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10735 if (!SWIG_IsOK(ecode2
)) {
10736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10738 arg2
= static_cast< int >(val2
);
10739 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10740 if (!SWIG_IsOK(ecode3
)) {
10741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10743 arg3
= static_cast< int >(val3
);
10744 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10745 if (!SWIG_IsOK(ecode4
)) {
10746 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10748 arg4
= static_cast< int >(val4
);
10749 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10750 if (!SWIG_IsOK(ecode5
)) {
10751 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10753 arg5
= static_cast< int >(val5
);
10755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10756 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10757 wxPyEndAllowThreads(__tstate
);
10758 if (PyErr_Occurred()) SWIG_fail
;
10760 resultobj
= SWIG_From_int(static_cast< int >(result
));
10767 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10768 PyObject
*resultobj
= 0;
10769 wxRegion
*arg1
= (wxRegion
*) 0 ;
10773 PyObject
*swig_obj
[1] ;
10775 if (!args
) SWIG_fail
;
10776 swig_obj
[0] = args
;
10777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10778 if (!SWIG_IsOK(res1
)) {
10779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10781 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 result
= (arg1
)->GetBox();
10785 wxPyEndAllowThreads(__tstate
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10788 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10795 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10796 PyObject
*resultobj
= 0;
10797 wxRegion
*arg1
= (wxRegion
*) 0 ;
10813 PyObject
* obj0
= 0 ;
10814 PyObject
* obj1
= 0 ;
10815 PyObject
* obj2
= 0 ;
10816 PyObject
* obj3
= 0 ;
10817 PyObject
* obj4
= 0 ;
10818 char * kwnames
[] = {
10819 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10824 if (!SWIG_IsOK(res1
)) {
10825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10827 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10829 if (!SWIG_IsOK(ecode2
)) {
10830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10832 arg2
= static_cast< int >(val2
);
10833 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10834 if (!SWIG_IsOK(ecode3
)) {
10835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10837 arg3
= static_cast< int >(val3
);
10838 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10839 if (!SWIG_IsOK(ecode4
)) {
10840 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10842 arg4
= static_cast< int >(val4
);
10843 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10844 if (!SWIG_IsOK(ecode5
)) {
10845 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10847 arg5
= static_cast< int >(val5
);
10849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10850 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10851 wxPyEndAllowThreads(__tstate
);
10852 if (PyErr_Occurred()) SWIG_fail
;
10855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10863 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10864 PyObject
*resultobj
= 0;
10865 wxRegion
*arg1
= (wxRegion
*) 0 ;
10871 PyObject
* obj0
= 0 ;
10872 PyObject
* obj1
= 0 ;
10873 char * kwnames
[] = {
10874 (char *) "self",(char *) "rect", NULL
10877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10879 if (!SWIG_IsOK(res1
)) {
10880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10882 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10885 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10889 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10890 wxPyEndAllowThreads(__tstate
);
10891 if (PyErr_Occurred()) SWIG_fail
;
10894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10902 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
*resultobj
= 0;
10904 wxRegion
*arg1
= (wxRegion
*) 0 ;
10905 wxRegion
*arg2
= 0 ;
10911 PyObject
* obj0
= 0 ;
10912 PyObject
* obj1
= 0 ;
10913 char * kwnames
[] = {
10914 (char *) "self",(char *) "region", NULL
10917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10919 if (!SWIG_IsOK(res1
)) {
10920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10922 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10923 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10924 if (!SWIG_IsOK(res2
)) {
10925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10928 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10930 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10933 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10934 wxPyEndAllowThreads(__tstate
);
10935 if (PyErr_Occurred()) SWIG_fail
;
10938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10946 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10947 PyObject
*resultobj
= 0;
10948 wxRegion
*arg1
= (wxRegion
*) 0 ;
10952 PyObject
*swig_obj
[1] ;
10954 if (!args
) SWIG_fail
;
10955 swig_obj
[0] = args
;
10956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10957 if (!SWIG_IsOK(res1
)) {
10958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10960 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 result
= (bool)(arg1
)->IsEmpty();
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10976 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
*resultobj
= 0;
10978 wxRegion
*arg1
= (wxRegion
*) 0 ;
10979 wxRegion
*arg2
= 0 ;
10985 PyObject
* obj0
= 0 ;
10986 PyObject
* obj1
= 0 ;
10987 char * kwnames
[] = {
10988 (char *) "self",(char *) "region", NULL
10991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10993 if (!SWIG_IsOK(res1
)) {
10994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
10996 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10997 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10998 if (!SWIG_IsOK(res2
)) {
10999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11002 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11004 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11007 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11020 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11021 PyObject
*resultobj
= 0;
11022 wxRegion
*arg1
= (wxRegion
*) 0 ;
11038 PyObject
* obj0
= 0 ;
11039 PyObject
* obj1
= 0 ;
11040 PyObject
* obj2
= 0 ;
11041 PyObject
* obj3
= 0 ;
11042 PyObject
* obj4
= 0 ;
11043 char * kwnames
[] = {
11044 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11049 if (!SWIG_IsOK(res1
)) {
11050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11052 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11054 if (!SWIG_IsOK(ecode2
)) {
11055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11057 arg2
= static_cast< int >(val2
);
11058 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11059 if (!SWIG_IsOK(ecode3
)) {
11060 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11062 arg3
= static_cast< int >(val3
);
11063 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11064 if (!SWIG_IsOK(ecode4
)) {
11065 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11067 arg4
= static_cast< int >(val4
);
11068 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11069 if (!SWIG_IsOK(ecode5
)) {
11070 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11072 arg5
= static_cast< int >(val5
);
11074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11075 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11076 wxPyEndAllowThreads(__tstate
);
11077 if (PyErr_Occurred()) SWIG_fail
;
11080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11088 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
*resultobj
= 0;
11090 wxRegion
*arg1
= (wxRegion
*) 0 ;
11096 PyObject
* obj0
= 0 ;
11097 PyObject
* obj1
= 0 ;
11098 char * kwnames
[] = {
11099 (char *) "self",(char *) "rect", NULL
11102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11104 if (!SWIG_IsOK(res1
)) {
11105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11107 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11110 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11114 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11127 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11128 PyObject
*resultobj
= 0;
11129 wxRegion
*arg1
= (wxRegion
*) 0 ;
11130 wxRegion
*arg2
= 0 ;
11136 PyObject
* obj0
= 0 ;
11137 PyObject
* obj1
= 0 ;
11138 char * kwnames
[] = {
11139 (char *) "self",(char *) "region", NULL
11142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11144 if (!SWIG_IsOK(res1
)) {
11145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11147 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11148 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11149 if (!SWIG_IsOK(res2
)) {
11150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11155 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11159 wxPyEndAllowThreads(__tstate
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11171 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11172 PyObject
*resultobj
= 0;
11173 wxRegion
*arg1
= (wxRegion
*) 0 ;
11189 PyObject
* obj0
= 0 ;
11190 PyObject
* obj1
= 0 ;
11191 PyObject
* obj2
= 0 ;
11192 PyObject
* obj3
= 0 ;
11193 PyObject
* obj4
= 0 ;
11194 char * kwnames
[] = {
11195 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11200 if (!SWIG_IsOK(res1
)) {
11201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11203 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11205 if (!SWIG_IsOK(ecode2
)) {
11206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11208 arg2
= static_cast< int >(val2
);
11209 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11210 if (!SWIG_IsOK(ecode3
)) {
11211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11213 arg3
= static_cast< int >(val3
);
11214 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11215 if (!SWIG_IsOK(ecode4
)) {
11216 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11218 arg4
= static_cast< int >(val4
);
11219 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11220 if (!SWIG_IsOK(ecode5
)) {
11221 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11223 arg5
= static_cast< int >(val5
);
11225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11226 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11239 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11240 PyObject
*resultobj
= 0;
11241 wxRegion
*arg1
= (wxRegion
*) 0 ;
11247 PyObject
* obj0
= 0 ;
11248 PyObject
* obj1
= 0 ;
11249 char * kwnames
[] = {
11250 (char *) "self",(char *) "rect", NULL
11253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11255 if (!SWIG_IsOK(res1
)) {
11256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11258 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11261 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11265 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11266 wxPyEndAllowThreads(__tstate
);
11267 if (PyErr_Occurred()) SWIG_fail
;
11270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11278 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
= 0;
11280 wxRegion
*arg1
= (wxRegion
*) 0 ;
11281 wxRegion
*arg2
= 0 ;
11287 PyObject
* obj0
= 0 ;
11288 PyObject
* obj1
= 0 ;
11289 char * kwnames
[] = {
11290 (char *) "self",(char *) "region", NULL
11293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11295 if (!SWIG_IsOK(res1
)) {
11296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11298 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11299 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11300 if (!SWIG_IsOK(res2
)) {
11301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11306 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11309 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11310 wxPyEndAllowThreads(__tstate
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11322 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11323 PyObject
*resultobj
= 0;
11324 wxRegion
*arg1
= (wxRegion
*) 0 ;
11340 PyObject
* obj0
= 0 ;
11341 PyObject
* obj1
= 0 ;
11342 PyObject
* obj2
= 0 ;
11343 PyObject
* obj3
= 0 ;
11344 PyObject
* obj4
= 0 ;
11345 char * kwnames
[] = {
11346 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11351 if (!SWIG_IsOK(res1
)) {
11352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11354 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11356 if (!SWIG_IsOK(ecode2
)) {
11357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11359 arg2
= static_cast< int >(val2
);
11360 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11361 if (!SWIG_IsOK(ecode3
)) {
11362 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11364 arg3
= static_cast< int >(val3
);
11365 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11366 if (!SWIG_IsOK(ecode4
)) {
11367 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11369 arg4
= static_cast< int >(val4
);
11370 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11371 if (!SWIG_IsOK(ecode5
)) {
11372 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11374 arg5
= static_cast< int >(val5
);
11376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11377 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11378 wxPyEndAllowThreads(__tstate
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11390 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
= 0;
11392 wxRegion
*arg1
= (wxRegion
*) 0 ;
11398 PyObject
* obj0
= 0 ;
11399 PyObject
* obj1
= 0 ;
11400 char * kwnames
[] = {
11401 (char *) "self",(char *) "rect", NULL
11404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11406 if (!SWIG_IsOK(res1
)) {
11407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11409 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11412 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11429 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11430 PyObject
*resultobj
= 0;
11431 wxRegion
*arg1
= (wxRegion
*) 0 ;
11432 wxRegion
*arg2
= 0 ;
11438 PyObject
* obj0
= 0 ;
11439 PyObject
* obj1
= 0 ;
11440 char * kwnames
[] = {
11441 (char *) "self",(char *) "region", NULL
11444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11446 if (!SWIG_IsOK(res1
)) {
11447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11449 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11450 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11451 if (!SWIG_IsOK(res2
)) {
11452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11457 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11460 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11473 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11474 PyObject
*resultobj
= 0;
11475 wxRegion
*arg1
= (wxRegion
*) 0 ;
11476 SwigValueWrapper
<wxBitmap
> result
;
11479 PyObject
*swig_obj
[1] ;
11481 if (!args
) SWIG_fail
;
11482 swig_obj
[0] = args
;
11483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11484 if (!SWIG_IsOK(res1
)) {
11485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11487 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11490 result
= (arg1
)->ConvertToBitmap();
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11494 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11501 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11502 PyObject
*resultobj
= 0;
11503 wxRegion
*arg1
= (wxRegion
*) 0 ;
11504 wxBitmap
*arg2
= 0 ;
11510 PyObject
* obj0
= 0 ;
11511 PyObject
* obj1
= 0 ;
11512 char * kwnames
[] = {
11513 (char *) "self",(char *) "bmp", NULL
11516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11518 if (!SWIG_IsOK(res1
)) {
11519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11521 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11522 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11523 if (!SWIG_IsOK(res2
)) {
11524 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11527 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11529 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11545 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11546 PyObject
*resultobj
= 0;
11547 wxRegion
*arg1
= (wxRegion
*) 0 ;
11548 wxBitmap
*arg2
= 0 ;
11549 wxColour
*arg3
= 0 ;
11550 int arg4
= (int) 0 ;
11559 PyObject
* obj0
= 0 ;
11560 PyObject
* obj1
= 0 ;
11561 PyObject
* obj2
= 0 ;
11562 PyObject
* obj3
= 0 ;
11563 char * kwnames
[] = {
11564 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11569 if (!SWIG_IsOK(res1
)) {
11570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11572 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11573 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11574 if (!SWIG_IsOK(res2
)) {
11575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11578 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11580 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11583 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11586 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11587 if (!SWIG_IsOK(ecode4
)) {
11588 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11590 arg4
= static_cast< int >(val4
);
11593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11594 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11595 wxPyEndAllowThreads(__tstate
);
11596 if (PyErr_Occurred()) SWIG_fail
;
11599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11607 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11609 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11610 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11611 return SWIG_Py_Void();
11614 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11615 return SWIG_Python_InitShadowInstance(args
);
11618 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11619 PyObject
*resultobj
= 0;
11620 wxRegion
*arg1
= 0 ;
11621 wxRegionIterator
*result
= 0 ;
11624 PyObject
* obj0
= 0 ;
11625 char * kwnames
[] = {
11626 (char *) "region", NULL
11629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11630 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11631 if (!SWIG_IsOK(res1
)) {
11632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11637 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11639 if (!wxPyCheckForApp()) SWIG_fail
;
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11642 wxPyEndAllowThreads(__tstate
);
11643 if (PyErr_Occurred()) SWIG_fail
;
11645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11652 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11653 PyObject
*resultobj
= 0;
11654 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11657 PyObject
*swig_obj
[1] ;
11659 if (!args
) SWIG_fail
;
11660 swig_obj
[0] = args
;
11661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11662 if (!SWIG_IsOK(res1
)) {
11663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11665 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11670 wxPyEndAllowThreads(__tstate
);
11671 if (PyErr_Occurred()) SWIG_fail
;
11673 resultobj
= SWIG_Py_Void();
11680 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11681 PyObject
*resultobj
= 0;
11682 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11686 PyObject
*swig_obj
[1] ;
11688 if (!args
) SWIG_fail
;
11689 swig_obj
[0] = args
;
11690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11691 if (!SWIG_IsOK(res1
)) {
11692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11694 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 result
= (int)(arg1
)->GetX();
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 resultobj
= SWIG_From_int(static_cast< int >(result
));
11708 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11709 PyObject
*resultobj
= 0;
11710 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11714 PyObject
*swig_obj
[1] ;
11716 if (!args
) SWIG_fail
;
11717 swig_obj
[0] = args
;
11718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11719 if (!SWIG_IsOK(res1
)) {
11720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11722 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 result
= (int)(arg1
)->GetY();
11726 wxPyEndAllowThreads(__tstate
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11729 resultobj
= SWIG_From_int(static_cast< int >(result
));
11736 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11737 PyObject
*resultobj
= 0;
11738 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11742 PyObject
*swig_obj
[1] ;
11744 if (!args
) SWIG_fail
;
11745 swig_obj
[0] = args
;
11746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11747 if (!SWIG_IsOK(res1
)) {
11748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11750 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11753 result
= (int)(arg1
)->GetW();
11754 wxPyEndAllowThreads(__tstate
);
11755 if (PyErr_Occurred()) SWIG_fail
;
11757 resultobj
= SWIG_From_int(static_cast< int >(result
));
11764 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11765 PyObject
*resultobj
= 0;
11766 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11770 PyObject
*swig_obj
[1] ;
11772 if (!args
) SWIG_fail
;
11773 swig_obj
[0] = args
;
11774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11775 if (!SWIG_IsOK(res1
)) {
11776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11778 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11781 result
= (int)(arg1
)->GetWidth();
11782 wxPyEndAllowThreads(__tstate
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11785 resultobj
= SWIG_From_int(static_cast< int >(result
));
11792 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11793 PyObject
*resultobj
= 0;
11794 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11798 PyObject
*swig_obj
[1] ;
11800 if (!args
) SWIG_fail
;
11801 swig_obj
[0] = args
;
11802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11803 if (!SWIG_IsOK(res1
)) {
11804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11806 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11809 result
= (int)(arg1
)->GetH();
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11813 resultobj
= SWIG_From_int(static_cast< int >(result
));
11820 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11821 PyObject
*resultobj
= 0;
11822 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11826 PyObject
*swig_obj
[1] ;
11828 if (!args
) SWIG_fail
;
11829 swig_obj
[0] = args
;
11830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11831 if (!SWIG_IsOK(res1
)) {
11832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11834 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 result
= (int)(arg1
)->GetHeight();
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11841 resultobj
= SWIG_From_int(static_cast< int >(result
));
11848 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11849 PyObject
*resultobj
= 0;
11850 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11854 PyObject
*swig_obj
[1] ;
11856 if (!args
) SWIG_fail
;
11857 swig_obj
[0] = args
;
11858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11859 if (!SWIG_IsOK(res1
)) {
11860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11862 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11865 result
= (arg1
)->GetRect();
11866 wxPyEndAllowThreads(__tstate
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11869 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11876 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11877 PyObject
*resultobj
= 0;
11878 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11882 PyObject
*swig_obj
[1] ;
11884 if (!args
) SWIG_fail
;
11885 swig_obj
[0] = args
;
11886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11887 if (!SWIG_IsOK(res1
)) {
11888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11890 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11893 result
= (bool)(arg1
)->HaveRects();
11894 wxPyEndAllowThreads(__tstate
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11906 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11907 PyObject
*resultobj
= 0;
11908 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11911 PyObject
*swig_obj
[1] ;
11913 if (!args
) SWIG_fail
;
11914 swig_obj
[0] = args
;
11915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11916 if (!SWIG_IsOK(res1
)) {
11917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11919 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11923 wxPyEndAllowThreads(__tstate
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11926 resultobj
= SWIG_Py_Void();
11933 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11934 PyObject
*resultobj
= 0;
11935 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11938 PyObject
*swig_obj
[1] ;
11940 if (!args
) SWIG_fail
;
11941 swig_obj
[0] = args
;
11942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11943 if (!SWIG_IsOK(res1
)) {
11944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11946 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11949 wxRegionIterator_Next(arg1
);
11950 wxPyEndAllowThreads(__tstate
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11953 resultobj
= SWIG_Py_Void();
11960 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11961 PyObject
*resultobj
= 0;
11962 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11966 PyObject
*swig_obj
[1] ;
11968 if (!args
) SWIG_fail
;
11969 swig_obj
[0] = args
;
11970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11971 if (!SWIG_IsOK(res1
)) {
11972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11974 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11978 wxPyEndAllowThreads(__tstate
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11990 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11992 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11993 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11994 return SWIG_Py_Void();
11997 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11998 return SWIG_Python_InitShadowInstance(args
);
12001 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12002 PyObject
*resultobj
= 0;
12003 wxNativeFontInfo
*result
= 0 ;
12005 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12008 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12009 wxPyEndAllowThreads(__tstate
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12019 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12020 PyObject
*resultobj
= 0;
12021 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12024 PyObject
*swig_obj
[1] ;
12026 if (!args
) SWIG_fail
;
12027 swig_obj
[0] = args
;
12028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12029 if (!SWIG_IsOK(res1
)) {
12030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12032 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12037 wxPyEndAllowThreads(__tstate
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12040 resultobj
= SWIG_Py_Void();
12047 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12048 PyObject
*resultobj
= 0;
12049 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12052 PyObject
*swig_obj
[1] ;
12054 if (!args
) SWIG_fail
;
12055 swig_obj
[0] = args
;
12056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12057 if (!SWIG_IsOK(res1
)) {
12058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12060 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 wxPyEndAllowThreads(__tstate
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12067 resultobj
= SWIG_Py_Void();
12074 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
= 0;
12076 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12082 PyObject
* obj0
= 0 ;
12083 PyObject
* obj1
= 0 ;
12084 char * kwnames
[] = {
12085 (char *) "self",(char *) "font", NULL
12088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12090 if (!SWIG_IsOK(res1
)) {
12091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12093 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12094 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12095 if (!SWIG_IsOK(res2
)) {
12096 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12099 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12101 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12104 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12105 wxPyEndAllowThreads(__tstate
);
12106 if (PyErr_Occurred()) SWIG_fail
;
12108 resultobj
= SWIG_Py_Void();
12115 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12116 PyObject
*resultobj
= 0;
12117 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12121 PyObject
*swig_obj
[1] ;
12123 if (!args
) SWIG_fail
;
12124 swig_obj
[0] = args
;
12125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12126 if (!SWIG_IsOK(res1
)) {
12127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12129 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12132 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12133 wxPyEndAllowThreads(__tstate
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12136 resultobj
= SWIG_From_int(static_cast< int >(result
));
12143 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12144 PyObject
*resultobj
= 0;
12145 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12146 wxFontStyle result
;
12149 PyObject
*swig_obj
[1] ;
12151 if (!args
) SWIG_fail
;
12152 swig_obj
[0] = args
;
12153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12154 if (!SWIG_IsOK(res1
)) {
12155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12157 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12164 resultobj
= SWIG_From_int(static_cast< int >(result
));
12171 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12172 PyObject
*resultobj
= 0;
12173 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12174 wxFontWeight result
;
12177 PyObject
*swig_obj
[1] ;
12179 if (!args
) SWIG_fail
;
12180 swig_obj
[0] = args
;
12181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12182 if (!SWIG_IsOK(res1
)) {
12183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12185 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12189 wxPyEndAllowThreads(__tstate
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12192 resultobj
= SWIG_From_int(static_cast< int >(result
));
12199 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12200 PyObject
*resultobj
= 0;
12201 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12205 PyObject
*swig_obj
[1] ;
12207 if (!args
) SWIG_fail
;
12208 swig_obj
[0] = args
;
12209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12210 if (!SWIG_IsOK(res1
)) {
12211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12213 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12229 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12230 PyObject
*resultobj
= 0;
12231 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12235 PyObject
*swig_obj
[1] ;
12237 if (!args
) SWIG_fail
;
12238 swig_obj
[0] = args
;
12239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12240 if (!SWIG_IsOK(res1
)) {
12241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12243 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12246 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12252 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12254 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12263 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12264 PyObject
*resultobj
= 0;
12265 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12266 wxFontFamily result
;
12269 PyObject
*swig_obj
[1] ;
12271 if (!args
) SWIG_fail
;
12272 swig_obj
[0] = args
;
12273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12274 if (!SWIG_IsOK(res1
)) {
12275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12277 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12280 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12281 wxPyEndAllowThreads(__tstate
);
12282 if (PyErr_Occurred()) SWIG_fail
;
12284 resultobj
= SWIG_From_int(static_cast< int >(result
));
12291 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12292 PyObject
*resultobj
= 0;
12293 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12294 wxFontEncoding result
;
12297 PyObject
*swig_obj
[1] ;
12299 if (!args
) SWIG_fail
;
12300 swig_obj
[0] = args
;
12301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12302 if (!SWIG_IsOK(res1
)) {
12303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12305 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12308 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12309 wxPyEndAllowThreads(__tstate
);
12310 if (PyErr_Occurred()) SWIG_fail
;
12312 resultobj
= SWIG_From_int(static_cast< int >(result
));
12319 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12320 PyObject
*resultobj
= 0;
12321 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12327 PyObject
* obj0
= 0 ;
12328 PyObject
* obj1
= 0 ;
12329 char * kwnames
[] = {
12330 (char *) "self",(char *) "pointsize", NULL
12333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12335 if (!SWIG_IsOK(res1
)) {
12336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12338 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12340 if (!SWIG_IsOK(ecode2
)) {
12341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12343 arg2
= static_cast< int >(val2
);
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 (arg1
)->SetPointSize(arg2
);
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12350 resultobj
= SWIG_Py_Void();
12357 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12358 PyObject
*resultobj
= 0;
12359 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12365 PyObject
* obj0
= 0 ;
12366 PyObject
* obj1
= 0 ;
12367 char * kwnames
[] = {
12368 (char *) "self",(char *) "style", NULL
12371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12373 if (!SWIG_IsOK(res1
)) {
12374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12376 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12378 if (!SWIG_IsOK(ecode2
)) {
12379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12381 arg2
= static_cast< wxFontStyle
>(val2
);
12383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12384 (arg1
)->SetStyle(arg2
);
12385 wxPyEndAllowThreads(__tstate
);
12386 if (PyErr_Occurred()) SWIG_fail
;
12388 resultobj
= SWIG_Py_Void();
12395 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12396 PyObject
*resultobj
= 0;
12397 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12398 wxFontWeight arg2
;
12403 PyObject
* obj0
= 0 ;
12404 PyObject
* obj1
= 0 ;
12405 char * kwnames
[] = {
12406 (char *) "self",(char *) "weight", NULL
12409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12411 if (!SWIG_IsOK(res1
)) {
12412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12414 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12416 if (!SWIG_IsOK(ecode2
)) {
12417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12419 arg2
= static_cast< wxFontWeight
>(val2
);
12421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12422 (arg1
)->SetWeight(arg2
);
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 resultobj
= SWIG_Py_Void();
12433 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
= 0;
12435 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12441 PyObject
* obj0
= 0 ;
12442 PyObject
* obj1
= 0 ;
12443 char * kwnames
[] = {
12444 (char *) "self",(char *) "underlined", NULL
12447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12449 if (!SWIG_IsOK(res1
)) {
12450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12452 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12453 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12454 if (!SWIG_IsOK(ecode2
)) {
12455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12457 arg2
= static_cast< bool >(val2
);
12459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12460 (arg1
)->SetUnderlined(arg2
);
12461 wxPyEndAllowThreads(__tstate
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12464 resultobj
= SWIG_Py_Void();
12471 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12472 PyObject
*resultobj
= 0;
12473 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12478 PyObject
* obj0
= 0 ;
12479 PyObject
* obj1
= 0 ;
12480 char * kwnames
[] = {
12481 (char *) "self",(char *) "facename", NULL
12484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12486 if (!SWIG_IsOK(res1
)) {
12487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12489 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12491 wxString
* sptr
= wxString_in_helper(obj1
);
12492 if (sptr
== NULL
) SWIG_fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 result
= (bool)(arg1
)->SetFaceName(arg2
);
12499 wxPyEndAllowThreads(__tstate
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12511 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12512 PyObject
*resultobj
= 0;
12513 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12514 wxFontFamily arg2
;
12519 PyObject
* obj0
= 0 ;
12520 PyObject
* obj1
= 0 ;
12521 char * kwnames
[] = {
12522 (char *) "self",(char *) "family", NULL
12525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12527 if (!SWIG_IsOK(res1
)) {
12528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12530 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12532 if (!SWIG_IsOK(ecode2
)) {
12533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12535 arg2
= static_cast< wxFontFamily
>(val2
);
12537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12538 (arg1
)->SetFamily(arg2
);
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12542 resultobj
= SWIG_Py_Void();
12549 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12550 PyObject
*resultobj
= 0;
12551 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12552 wxFontEncoding arg2
;
12557 PyObject
* obj0
= 0 ;
12558 PyObject
* obj1
= 0 ;
12559 char * kwnames
[] = {
12560 (char *) "self",(char *) "encoding", NULL
12563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12565 if (!SWIG_IsOK(res1
)) {
12566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12568 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12569 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12570 if (!SWIG_IsOK(ecode2
)) {
12571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12573 arg2
= static_cast< wxFontEncoding
>(val2
);
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 (arg1
)->SetEncoding(arg2
);
12577 wxPyEndAllowThreads(__tstate
);
12578 if (PyErr_Occurred()) SWIG_fail
;
12580 resultobj
= SWIG_Py_Void();
12587 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12588 PyObject
*resultobj
= 0;
12589 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12590 wxString
*arg2
= 0 ;
12594 bool temp2
= false ;
12595 PyObject
* obj0
= 0 ;
12596 PyObject
* obj1
= 0 ;
12597 char * kwnames
[] = {
12598 (char *) "self",(char *) "s", NULL
12601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12603 if (!SWIG_IsOK(res1
)) {
12604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12606 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12608 arg2
= wxString_in_helper(obj1
);
12609 if (arg2
== NULL
) SWIG_fail
;
12613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12614 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12615 wxPyEndAllowThreads(__tstate
);
12616 if (PyErr_Occurred()) SWIG_fail
;
12619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12635 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12636 PyObject
*resultobj
= 0;
12637 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12641 PyObject
*swig_obj
[1] ;
12643 if (!args
) SWIG_fail
;
12644 swig_obj
[0] = args
;
12645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12646 if (!SWIG_IsOK(res1
)) {
12647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12649 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12652 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12653 wxPyEndAllowThreads(__tstate
);
12654 if (PyErr_Occurred()) SWIG_fail
;
12658 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12660 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12669 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12670 PyObject
*resultobj
= 0;
12671 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12675 PyObject
*swig_obj
[1] ;
12677 if (!args
) SWIG_fail
;
12678 swig_obj
[0] = args
;
12679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12680 if (!SWIG_IsOK(res1
)) {
12681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12683 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12686 result
= wxNativeFontInfo___str__(arg1
);
12687 wxPyEndAllowThreads(__tstate
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12692 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12694 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12703 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12704 PyObject
*resultobj
= 0;
12705 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12706 wxString
*arg2
= 0 ;
12710 bool temp2
= false ;
12711 PyObject
* obj0
= 0 ;
12712 PyObject
* obj1
= 0 ;
12713 char * kwnames
[] = {
12714 (char *) "self",(char *) "s", NULL
12717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12719 if (!SWIG_IsOK(res1
)) {
12720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12722 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12724 arg2
= wxString_in_helper(obj1
);
12725 if (arg2
== NULL
) SWIG_fail
;
12729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12730 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12751 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12752 PyObject
*resultobj
= 0;
12753 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12757 PyObject
*swig_obj
[1] ;
12759 if (!args
) SWIG_fail
;
12760 swig_obj
[0] = args
;
12761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12762 if (!SWIG_IsOK(res1
)) {
12763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12765 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12768 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12769 wxPyEndAllowThreads(__tstate
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12774 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12776 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12785 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12787 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12788 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12789 return SWIG_Py_Void();
12792 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12793 return SWIG_Python_InitShadowInstance(args
);
12796 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12797 PyObject
*resultobj
= 0;
12798 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12799 wxString
*arg2
= (wxString
*) 0 ;
12802 bool temp2
= false ;
12803 PyObject
*swig_obj
[2] ;
12805 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12807 if (!SWIG_IsOK(res1
)) {
12808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12810 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12812 arg2
= wxString_in_helper(swig_obj
[1]);
12813 if (arg2
== NULL
) SWIG_fail
;
12816 if (arg1
) (arg1
)->facename
= *arg2
;
12818 resultobj
= SWIG_Py_Void();
12833 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12834 PyObject
*resultobj
= 0;
12835 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12836 wxString
*result
= 0 ;
12839 PyObject
*swig_obj
[1] ;
12841 if (!args
) SWIG_fail
;
12842 swig_obj
[0] = args
;
12843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12844 if (!SWIG_IsOK(res1
)) {
12845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12847 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12848 result
= (wxString
*)& ((arg1
)->facename
);
12851 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12853 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12862 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12863 PyObject
*resultobj
= 0;
12864 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12865 wxFontEncoding arg2
;
12870 PyObject
*swig_obj
[2] ;
12872 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12874 if (!SWIG_IsOK(res1
)) {
12875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12877 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12878 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12879 if (!SWIG_IsOK(ecode2
)) {
12880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12882 arg2
= static_cast< wxFontEncoding
>(val2
);
12883 if (arg1
) (arg1
)->encoding
= arg2
;
12885 resultobj
= SWIG_Py_Void();
12892 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12893 PyObject
*resultobj
= 0;
12894 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12895 wxFontEncoding result
;
12898 PyObject
*swig_obj
[1] ;
12900 if (!args
) SWIG_fail
;
12901 swig_obj
[0] = args
;
12902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12903 if (!SWIG_IsOK(res1
)) {
12904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12906 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12907 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12908 resultobj
= SWIG_From_int(static_cast< int >(result
));
12915 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12916 PyObject
*resultobj
= 0;
12917 wxNativeEncodingInfo
*result
= 0 ;
12919 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12922 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12933 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12934 PyObject
*resultobj
= 0;
12935 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12938 PyObject
*swig_obj
[1] ;
12940 if (!args
) SWIG_fail
;
12941 swig_obj
[0] = args
;
12942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12943 if (!SWIG_IsOK(res1
)) {
12944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12946 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12951 wxPyEndAllowThreads(__tstate
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12954 resultobj
= SWIG_Py_Void();
12961 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12962 PyObject
*resultobj
= 0;
12963 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12964 wxString
*arg2
= 0 ;
12968 bool temp2
= false ;
12969 PyObject
* obj0
= 0 ;
12970 PyObject
* obj1
= 0 ;
12971 char * kwnames
[] = {
12972 (char *) "self",(char *) "s", NULL
12975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12977 if (!SWIG_IsOK(res1
)) {
12978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12980 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12982 arg2
= wxString_in_helper(obj1
);
12983 if (arg2
== NULL
) SWIG_fail
;
12987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12988 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13009 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13010 PyObject
*resultobj
= 0;
13011 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13015 PyObject
*swig_obj
[1] ;
13017 if (!args
) SWIG_fail
;
13018 swig_obj
[0] = args
;
13019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13020 if (!SWIG_IsOK(res1
)) {
13021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13023 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13026 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13027 wxPyEndAllowThreads(__tstate
);
13028 if (PyErr_Occurred()) SWIG_fail
;
13032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13043 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13045 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13046 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13047 return SWIG_Py_Void();
13050 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13051 return SWIG_Python_InitShadowInstance(args
);
13054 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13055 PyObject
*resultobj
= 0;
13056 wxFontEncoding arg1
;
13057 wxNativeEncodingInfo
*result
= 0 ;
13060 PyObject
* obj0
= 0 ;
13061 char * kwnames
[] = {
13062 (char *) "encoding", NULL
13065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13066 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13067 if (!SWIG_IsOK(ecode1
)) {
13068 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13070 arg1
= static_cast< wxFontEncoding
>(val1
);
13072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13073 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13074 wxPyEndAllowThreads(__tstate
);
13075 if (PyErr_Occurred()) SWIG_fail
;
13077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13084 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13085 PyObject
*resultobj
= 0;
13086 wxNativeEncodingInfo
*arg1
= 0 ;
13090 PyObject
* obj0
= 0 ;
13091 char * kwnames
[] = {
13092 (char *) "info", NULL
13095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13096 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13097 if (!SWIG_IsOK(res1
)) {
13098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13101 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13103 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13106 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13107 wxPyEndAllowThreads(__tstate
);
13108 if (PyErr_Occurred()) SWIG_fail
;
13111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13119 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13120 PyObject
*resultobj
= 0;
13121 wxFontMapper
*result
= 0 ;
13123 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13126 result
= (wxFontMapper
*)new wxFontMapper();
13127 wxPyEndAllowThreads(__tstate
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13137 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13138 PyObject
*resultobj
= 0;
13139 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13142 PyObject
*swig_obj
[1] ;
13144 if (!args
) SWIG_fail
;
13145 swig_obj
[0] = args
;
13146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13147 if (!SWIG_IsOK(res1
)) {
13148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13150 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 wxPyEndAllowThreads(__tstate
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13158 resultobj
= SWIG_Py_Void();
13165 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13166 PyObject
*resultobj
= 0;
13167 wxFontMapper
*result
= 0 ;
13169 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 result
= (wxFontMapper
*)wxFontMapper::Get();
13173 wxPyEndAllowThreads(__tstate
);
13174 if (PyErr_Occurred()) SWIG_fail
;
13176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13183 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13184 PyObject
*resultobj
= 0;
13185 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13186 wxFontMapper
*result
= 0 ;
13189 PyObject
* obj0
= 0 ;
13190 char * kwnames
[] = {
13191 (char *) "mapper", NULL
13194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13196 if (!SWIG_IsOK(res1
)) {
13197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13199 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13213 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13214 PyObject
*resultobj
= 0;
13215 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13216 wxString
*arg2
= 0 ;
13217 bool arg3
= (bool) true ;
13218 wxFontEncoding result
;
13221 bool temp2
= false ;
13224 PyObject
* obj0
= 0 ;
13225 PyObject
* obj1
= 0 ;
13226 PyObject
* obj2
= 0 ;
13227 char * kwnames
[] = {
13228 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13233 if (!SWIG_IsOK(res1
)) {
13234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13236 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13238 arg2
= wxString_in_helper(obj1
);
13239 if (arg2
== NULL
) SWIG_fail
;
13243 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13244 if (!SWIG_IsOK(ecode3
)) {
13245 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13247 arg3
= static_cast< bool >(val3
);
13250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13251 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13252 wxPyEndAllowThreads(__tstate
);
13253 if (PyErr_Occurred()) SWIG_fail
;
13255 resultobj
= SWIG_From_int(static_cast< int >(result
));
13270 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13271 PyObject
*resultobj
= 0;
13274 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13277 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13278 wxPyEndAllowThreads(__tstate
);
13279 if (PyErr_Occurred()) SWIG_fail
;
13281 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13288 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13289 PyObject
*resultobj
= 0;
13291 wxFontEncoding result
;
13294 PyObject
* obj0
= 0 ;
13295 char * kwnames
[] = {
13299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13300 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13301 if (!SWIG_IsOK(ecode1
)) {
13302 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13304 arg1
= static_cast< size_t >(val1
);
13306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13307 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13308 wxPyEndAllowThreads(__tstate
);
13309 if (PyErr_Occurred()) SWIG_fail
;
13311 resultobj
= SWIG_From_int(static_cast< int >(result
));
13318 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13319 PyObject
*resultobj
= 0;
13320 wxFontEncoding arg1
;
13324 PyObject
* obj0
= 0 ;
13325 char * kwnames
[] = {
13326 (char *) "encoding", NULL
13329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13330 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13331 if (!SWIG_IsOK(ecode1
)) {
13332 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13334 arg1
= static_cast< wxFontEncoding
>(val1
);
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 result
= wxFontMapper::GetEncodingName(arg1
);
13338 wxPyEndAllowThreads(__tstate
);
13339 if (PyErr_Occurred()) SWIG_fail
;
13343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13354 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13355 PyObject
*resultobj
= 0;
13356 wxFontEncoding arg1
;
13360 PyObject
* obj0
= 0 ;
13361 char * kwnames
[] = {
13362 (char *) "encoding", NULL
13365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13366 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13367 if (!SWIG_IsOK(ecode1
)) {
13368 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13370 arg1
= static_cast< wxFontEncoding
>(val1
);
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 result
= wxFontMapper::GetEncodingDescription(arg1
);
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13379 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13381 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13390 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13391 PyObject
*resultobj
= 0;
13392 wxString
*arg1
= 0 ;
13393 wxFontEncoding result
;
13394 bool temp1
= false ;
13395 PyObject
* obj0
= 0 ;
13396 char * kwnames
[] = {
13397 (char *) "name", NULL
13400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13402 arg1
= wxString_in_helper(obj0
);
13403 if (arg1
== NULL
) SWIG_fail
;
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13409 wxPyEndAllowThreads(__tstate
);
13410 if (PyErr_Occurred()) SWIG_fail
;
13412 resultobj
= SWIG_From_int(static_cast< int >(result
));
13427 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13428 PyObject
*resultobj
= 0;
13429 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13430 wxString
*arg2
= 0 ;
13433 bool temp2
= false ;
13434 PyObject
* obj0
= 0 ;
13435 PyObject
* obj1
= 0 ;
13436 char * kwnames
[] = {
13437 (char *) "self",(char *) "prefix", NULL
13440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13442 if (!SWIG_IsOK(res1
)) {
13443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13445 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13447 arg2
= wxString_in_helper(obj1
);
13448 if (arg2
== NULL
) SWIG_fail
;
13452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13453 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13454 wxPyEndAllowThreads(__tstate
);
13455 if (PyErr_Occurred()) SWIG_fail
;
13457 resultobj
= SWIG_Py_Void();
13472 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13473 PyObject
*resultobj
= 0;
13476 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13479 result
= wxFontMapper::GetDefaultConfigPath();
13480 wxPyEndAllowThreads(__tstate
);
13481 if (PyErr_Occurred()) SWIG_fail
;
13485 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13487 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13496 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13497 PyObject
*resultobj
= 0;
13498 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13499 wxFontEncoding arg2
;
13500 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13501 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13502 bool arg4
= (bool) true ;
13503 PyObject
*result
= 0 ;
13508 bool temp3
= false ;
13511 PyObject
* obj0
= 0 ;
13512 PyObject
* obj1
= 0 ;
13513 PyObject
* obj2
= 0 ;
13514 PyObject
* obj3
= 0 ;
13515 char * kwnames
[] = {
13516 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13521 if (!SWIG_IsOK(res1
)) {
13522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13524 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13526 if (!SWIG_IsOK(ecode2
)) {
13527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13529 arg2
= static_cast< wxFontEncoding
>(val2
);
13532 arg3
= wxString_in_helper(obj2
);
13533 if (arg3
== NULL
) SWIG_fail
;
13538 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13539 if (!SWIG_IsOK(ecode4
)) {
13540 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13542 arg4
= static_cast< bool >(val4
);
13545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13546 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13547 wxPyEndAllowThreads(__tstate
);
13548 if (PyErr_Occurred()) SWIG_fail
;
13550 resultobj
= result
;
13565 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13566 PyObject
*resultobj
= 0;
13567 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13568 wxFontEncoding arg2
;
13569 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13570 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13576 bool temp3
= false ;
13577 PyObject
* obj0
= 0 ;
13578 PyObject
* obj1
= 0 ;
13579 PyObject
* obj2
= 0 ;
13580 char * kwnames
[] = {
13581 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13586 if (!SWIG_IsOK(res1
)) {
13587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13589 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13591 if (!SWIG_IsOK(ecode2
)) {
13592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13594 arg2
= static_cast< wxFontEncoding
>(val2
);
13597 arg3
= wxString_in_helper(obj2
);
13598 if (arg3
== NULL
) SWIG_fail
;
13603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13604 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13625 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13626 PyObject
*resultobj
= 0;
13627 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13628 wxWindow
*arg2
= (wxWindow
*) 0 ;
13633 PyObject
* obj0
= 0 ;
13634 PyObject
* obj1
= 0 ;
13635 char * kwnames
[] = {
13636 (char *) "self",(char *) "parent", NULL
13639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13641 if (!SWIG_IsOK(res1
)) {
13642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13644 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13645 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13646 if (!SWIG_IsOK(res2
)) {
13647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13649 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13652 (arg1
)->SetDialogParent(arg2
);
13653 wxPyEndAllowThreads(__tstate
);
13654 if (PyErr_Occurred()) SWIG_fail
;
13656 resultobj
= SWIG_Py_Void();
13663 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13664 PyObject
*resultobj
= 0;
13665 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13666 wxString
*arg2
= 0 ;
13669 bool temp2
= false ;
13670 PyObject
* obj0
= 0 ;
13671 PyObject
* obj1
= 0 ;
13672 char * kwnames
[] = {
13673 (char *) "self",(char *) "title", NULL
13676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13678 if (!SWIG_IsOK(res1
)) {
13679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13681 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13683 arg2
= wxString_in_helper(obj1
);
13684 if (arg2
== NULL
) SWIG_fail
;
13688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13689 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13690 wxPyEndAllowThreads(__tstate
);
13691 if (PyErr_Occurred()) SWIG_fail
;
13693 resultobj
= SWIG_Py_Void();
13708 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13710 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13711 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13712 return SWIG_Py_Void();
13715 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13716 return SWIG_Python_InitShadowInstance(args
);
13719 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13720 PyObject
*resultobj
= 0;
13725 bool arg5
= (bool) false ;
13726 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13727 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13728 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13729 wxFont
*result
= 0 ;
13740 bool temp6
= false ;
13743 PyObject
* obj0
= 0 ;
13744 PyObject
* obj1
= 0 ;
13745 PyObject
* obj2
= 0 ;
13746 PyObject
* obj3
= 0 ;
13747 PyObject
* obj4
= 0 ;
13748 PyObject
* obj5
= 0 ;
13749 PyObject
* obj6
= 0 ;
13750 char * kwnames
[] = {
13751 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13755 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13756 if (!SWIG_IsOK(ecode1
)) {
13757 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13759 arg1
= static_cast< int >(val1
);
13760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13761 if (!SWIG_IsOK(ecode2
)) {
13762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13764 arg2
= static_cast< int >(val2
);
13765 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13766 if (!SWIG_IsOK(ecode3
)) {
13767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13769 arg3
= static_cast< int >(val3
);
13770 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13771 if (!SWIG_IsOK(ecode4
)) {
13772 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13774 arg4
= static_cast< int >(val4
);
13776 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13777 if (!SWIG_IsOK(ecode5
)) {
13778 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13780 arg5
= static_cast< bool >(val5
);
13784 arg6
= wxString_in_helper(obj5
);
13785 if (arg6
== NULL
) SWIG_fail
;
13790 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13791 if (!SWIG_IsOK(ecode7
)) {
13792 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13794 arg7
= static_cast< wxFontEncoding
>(val7
);
13797 if (!wxPyCheckForApp()) SWIG_fail
;
13798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13799 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13800 wxPyEndAllowThreads(__tstate
);
13801 if (PyErr_Occurred()) SWIG_fail
;
13803 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13818 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13819 PyObject
*resultobj
= 0;
13820 wxFont
*arg1
= (wxFont
*) 0 ;
13823 PyObject
*swig_obj
[1] ;
13825 if (!args
) SWIG_fail
;
13826 swig_obj
[0] = args
;
13827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13828 if (!SWIG_IsOK(res1
)) {
13829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13831 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13836 wxPyEndAllowThreads(__tstate
);
13837 if (PyErr_Occurred()) SWIG_fail
;
13839 resultobj
= SWIG_Py_Void();
13846 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13847 PyObject
*resultobj
= 0;
13848 wxNativeFontInfo
*arg1
= 0 ;
13849 wxFont
*result
= 0 ;
13852 PyObject
* obj0
= 0 ;
13853 char * kwnames
[] = {
13854 (char *) "info", NULL
13857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13858 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13859 if (!SWIG_IsOK(res1
)) {
13860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13863 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13865 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13867 if (!wxPyCheckForApp()) SWIG_fail
;
13868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13869 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13870 wxPyEndAllowThreads(__tstate
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13880 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13881 PyObject
*resultobj
= 0;
13882 wxString
*arg1
= 0 ;
13883 wxFont
*result
= 0 ;
13884 bool temp1
= false ;
13885 PyObject
* obj0
= 0 ;
13886 char * kwnames
[] = {
13887 (char *) "info", NULL
13890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13892 arg1
= wxString_in_helper(obj0
);
13893 if (arg1
== NULL
) SWIG_fail
;
13897 if (!wxPyCheckForApp()) SWIG_fail
;
13898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13899 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13918 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13919 PyObject
*resultobj
= 0;
13921 wxFontFamily arg2
;
13922 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13923 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13924 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13925 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13926 wxFont
*result
= 0 ;
13933 bool temp4
= false ;
13936 PyObject
* obj0
= 0 ;
13937 PyObject
* obj1
= 0 ;
13938 PyObject
* obj2
= 0 ;
13939 PyObject
* obj3
= 0 ;
13940 PyObject
* obj4
= 0 ;
13941 char * kwnames
[] = {
13942 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13946 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13947 if (!SWIG_IsOK(ecode1
)) {
13948 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13950 arg1
= static_cast< int >(val1
);
13951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13952 if (!SWIG_IsOK(ecode2
)) {
13953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13955 arg2
= static_cast< wxFontFamily
>(val2
);
13957 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13958 if (!SWIG_IsOK(ecode3
)) {
13959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13961 arg3
= static_cast< int >(val3
);
13965 arg4
= wxString_in_helper(obj3
);
13966 if (arg4
== NULL
) SWIG_fail
;
13971 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13972 if (!SWIG_IsOK(ecode5
)) {
13973 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13975 arg5
= static_cast< wxFontEncoding
>(val5
);
13978 if (!wxPyCheckForApp()) SWIG_fail
;
13979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13980 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13981 wxPyEndAllowThreads(__tstate
);
13982 if (PyErr_Occurred()) SWIG_fail
;
13984 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13999 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14000 PyObject
*resultobj
= 0;
14005 bool arg5
= (bool) false ;
14006 wxString
const &arg6_defvalue
= wxEmptyString
;
14007 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14008 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14009 wxFont
*result
= 0 ;
14019 bool temp6
= false ;
14022 PyObject
* obj0
= 0 ;
14023 PyObject
* obj1
= 0 ;
14024 PyObject
* obj2
= 0 ;
14025 PyObject
* obj3
= 0 ;
14026 PyObject
* obj4
= 0 ;
14027 PyObject
* obj5
= 0 ;
14028 PyObject
* obj6
= 0 ;
14029 char * kwnames
[] = {
14030 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14036 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14039 if (!SWIG_IsOK(ecode2
)) {
14040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14042 arg2
= static_cast< int >(val2
);
14043 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14044 if (!SWIG_IsOK(ecode3
)) {
14045 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14047 arg3
= static_cast< int >(val3
);
14048 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14049 if (!SWIG_IsOK(ecode4
)) {
14050 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14052 arg4
= static_cast< int >(val4
);
14054 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14055 if (!SWIG_IsOK(ecode5
)) {
14056 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14058 arg5
= static_cast< bool >(val5
);
14062 arg6
= wxString_in_helper(obj5
);
14063 if (arg6
== NULL
) SWIG_fail
;
14068 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14069 if (!SWIG_IsOK(ecode7
)) {
14070 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14072 arg7
= static_cast< wxFontEncoding
>(val7
);
14075 if (!wxPyCheckForApp()) SWIG_fail
;
14076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14077 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14078 wxPyEndAllowThreads(__tstate
);
14079 if (PyErr_Occurred()) SWIG_fail
;
14081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14096 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14097 PyObject
*resultobj
= 0;
14099 wxFontFamily arg2
;
14100 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14101 wxString
const &arg4_defvalue
= wxEmptyString
;
14102 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14103 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14104 wxFont
*result
= 0 ;
14110 bool temp4
= false ;
14113 PyObject
* obj0
= 0 ;
14114 PyObject
* obj1
= 0 ;
14115 PyObject
* obj2
= 0 ;
14116 PyObject
* obj3
= 0 ;
14117 PyObject
* obj4
= 0 ;
14118 char * kwnames
[] = {
14119 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14125 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14128 if (!SWIG_IsOK(ecode2
)) {
14129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14131 arg2
= static_cast< wxFontFamily
>(val2
);
14133 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14134 if (!SWIG_IsOK(ecode3
)) {
14135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14137 arg3
= static_cast< int >(val3
);
14141 arg4
= wxString_in_helper(obj3
);
14142 if (arg4
== NULL
) SWIG_fail
;
14147 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14148 if (!SWIG_IsOK(ecode5
)) {
14149 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14151 arg5
= static_cast< wxFontEncoding
>(val5
);
14154 if (!wxPyCheckForApp()) SWIG_fail
;
14155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14156 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14157 wxPyEndAllowThreads(__tstate
);
14158 if (PyErr_Occurred()) SWIG_fail
;
14160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14175 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14176 PyObject
*resultobj
= 0;
14177 wxFont
*arg1
= (wxFont
*) 0 ;
14181 PyObject
*swig_obj
[1] ;
14183 if (!args
) SWIG_fail
;
14184 swig_obj
[0] = args
;
14185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14186 if (!SWIG_IsOK(res1
)) {
14187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14189 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14192 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14193 wxPyEndAllowThreads(__tstate
);
14194 if (PyErr_Occurred()) SWIG_fail
;
14197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14205 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14206 PyObject
*resultobj
= 0;
14207 wxFont
*arg1
= (wxFont
*) 0 ;
14208 wxFont
*arg2
= (wxFont
*) 0 ;
14214 PyObject
* obj0
= 0 ;
14215 PyObject
* obj1
= 0 ;
14216 char * kwnames
[] = {
14217 (char *) "self",(char *) "other", NULL
14220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14222 if (!SWIG_IsOK(res1
)) {
14223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14225 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14226 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14227 if (!SWIG_IsOK(res2
)) {
14228 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14230 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14246 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14247 PyObject
*resultobj
= 0;
14248 wxFont
*arg1
= (wxFont
*) 0 ;
14249 wxFont
*arg2
= (wxFont
*) 0 ;
14255 PyObject
* obj0
= 0 ;
14256 PyObject
* obj1
= 0 ;
14257 char * kwnames
[] = {
14258 (char *) "self",(char *) "other", NULL
14261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14263 if (!SWIG_IsOK(res1
)) {
14264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14266 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14267 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14268 if (!SWIG_IsOK(res2
)) {
14269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14271 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14274 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14287 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14288 PyObject
*resultobj
= 0;
14289 wxFont
*arg1
= (wxFont
*) 0 ;
14293 PyObject
*swig_obj
[1] ;
14295 if (!args
) SWIG_fail
;
14296 swig_obj
[0] = args
;
14297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14298 if (!SWIG_IsOK(res1
)) {
14299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14301 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14304 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14305 wxPyEndAllowThreads(__tstate
);
14306 if (PyErr_Occurred()) SWIG_fail
;
14308 resultobj
= SWIG_From_int(static_cast< int >(result
));
14315 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14316 PyObject
*resultobj
= 0;
14317 wxFont
*arg1
= (wxFont
*) 0 ;
14321 PyObject
*swig_obj
[1] ;
14323 if (!args
) SWIG_fail
;
14324 swig_obj
[0] = args
;
14325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14326 if (!SWIG_IsOK(res1
)) {
14327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14329 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14332 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14333 wxPyEndAllowThreads(__tstate
);
14334 if (PyErr_Occurred()) SWIG_fail
;
14336 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14343 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14344 PyObject
*resultobj
= 0;
14345 wxFont
*arg1
= (wxFont
*) 0 ;
14349 PyObject
*swig_obj
[1] ;
14351 if (!args
) SWIG_fail
;
14352 swig_obj
[0] = args
;
14353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14354 if (!SWIG_IsOK(res1
)) {
14355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14357 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14360 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14361 wxPyEndAllowThreads(__tstate
);
14362 if (PyErr_Occurred()) SWIG_fail
;
14365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14373 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14374 PyObject
*resultobj
= 0;
14375 wxFont
*arg1
= (wxFont
*) 0 ;
14379 PyObject
*swig_obj
[1] ;
14381 if (!args
) SWIG_fail
;
14382 swig_obj
[0] = args
;
14383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14384 if (!SWIG_IsOK(res1
)) {
14385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14387 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14390 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14391 wxPyEndAllowThreads(__tstate
);
14392 if (PyErr_Occurred()) SWIG_fail
;
14394 resultobj
= SWIG_From_int(static_cast< int >(result
));
14401 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14402 PyObject
*resultobj
= 0;
14403 wxFont
*arg1
= (wxFont
*) 0 ;
14407 PyObject
*swig_obj
[1] ;
14409 if (!args
) SWIG_fail
;
14410 swig_obj
[0] = args
;
14411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14412 if (!SWIG_IsOK(res1
)) {
14413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14415 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14418 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14419 wxPyEndAllowThreads(__tstate
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14422 resultobj
= SWIG_From_int(static_cast< int >(result
));
14429 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14430 PyObject
*resultobj
= 0;
14431 wxFont
*arg1
= (wxFont
*) 0 ;
14435 PyObject
*swig_obj
[1] ;
14437 if (!args
) SWIG_fail
;
14438 swig_obj
[0] = args
;
14439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14440 if (!SWIG_IsOK(res1
)) {
14441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14443 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14450 resultobj
= SWIG_From_int(static_cast< int >(result
));
14457 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14458 PyObject
*resultobj
= 0;
14459 wxFont
*arg1
= (wxFont
*) 0 ;
14463 PyObject
*swig_obj
[1] ;
14465 if (!args
) SWIG_fail
;
14466 swig_obj
[0] = args
;
14467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14468 if (!SWIG_IsOK(res1
)) {
14469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14471 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14474 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14475 wxPyEndAllowThreads(__tstate
);
14476 if (PyErr_Occurred()) SWIG_fail
;
14479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14487 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14488 PyObject
*resultobj
= 0;
14489 wxFont
*arg1
= (wxFont
*) 0 ;
14493 PyObject
*swig_obj
[1] ;
14495 if (!args
) SWIG_fail
;
14496 swig_obj
[0] = args
;
14497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14498 if (!SWIG_IsOK(res1
)) {
14499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14501 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14504 result
= ((wxFont
const *)arg1
)->GetFaceName();
14505 wxPyEndAllowThreads(__tstate
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14521 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14522 PyObject
*resultobj
= 0;
14523 wxFont
*arg1
= (wxFont
*) 0 ;
14524 wxFontEncoding result
;
14527 PyObject
*swig_obj
[1] ;
14529 if (!args
) SWIG_fail
;
14530 swig_obj
[0] = args
;
14531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14532 if (!SWIG_IsOK(res1
)) {
14533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14535 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14538 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14539 wxPyEndAllowThreads(__tstate
);
14540 if (PyErr_Occurred()) SWIG_fail
;
14542 resultobj
= SWIG_From_int(static_cast< int >(result
));
14549 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14550 PyObject
*resultobj
= 0;
14551 wxFont
*arg1
= (wxFont
*) 0 ;
14552 wxNativeFontInfo
*result
= 0 ;
14555 PyObject
*swig_obj
[1] ;
14557 if (!args
) SWIG_fail
;
14558 swig_obj
[0] = args
;
14559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14560 if (!SWIG_IsOK(res1
)) {
14561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14563 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14566 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14567 wxPyEndAllowThreads(__tstate
);
14568 if (PyErr_Occurred()) SWIG_fail
;
14570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14577 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14578 PyObject
*resultobj
= 0;
14579 wxFont
*arg1
= (wxFont
*) 0 ;
14583 PyObject
*swig_obj
[1] ;
14585 if (!args
) SWIG_fail
;
14586 swig_obj
[0] = args
;
14587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14588 if (!SWIG_IsOK(res1
)) {
14589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14591 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14594 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14595 wxPyEndAllowThreads(__tstate
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14607 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14608 PyObject
*resultobj
= 0;
14609 wxFont
*arg1
= (wxFont
*) 0 ;
14613 PyObject
*swig_obj
[1] ;
14615 if (!args
) SWIG_fail
;
14616 swig_obj
[0] = args
;
14617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14618 if (!SWIG_IsOK(res1
)) {
14619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14621 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14624 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14625 wxPyEndAllowThreads(__tstate
);
14626 if (PyErr_Occurred()) SWIG_fail
;
14630 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14632 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14641 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14642 PyObject
*resultobj
= 0;
14643 wxFont
*arg1
= (wxFont
*) 0 ;
14647 PyObject
*swig_obj
[1] ;
14649 if (!args
) SWIG_fail
;
14650 swig_obj
[0] = args
;
14651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14652 if (!SWIG_IsOK(res1
)) {
14653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14655 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14658 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14659 wxPyEndAllowThreads(__tstate
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14664 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14666 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14675 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14676 PyObject
*resultobj
= 0;
14677 wxFont
*arg1
= (wxFont
*) 0 ;
14683 PyObject
* obj0
= 0 ;
14684 PyObject
* obj1
= 0 ;
14685 char * kwnames
[] = {
14686 (char *) "self",(char *) "pointSize", NULL
14689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14691 if (!SWIG_IsOK(res1
)) {
14692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14694 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14696 if (!SWIG_IsOK(ecode2
)) {
14697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14699 arg2
= static_cast< int >(val2
);
14701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14702 (arg1
)->SetPointSize(arg2
);
14703 wxPyEndAllowThreads(__tstate
);
14704 if (PyErr_Occurred()) SWIG_fail
;
14706 resultobj
= SWIG_Py_Void();
14713 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14714 PyObject
*resultobj
= 0;
14715 wxFont
*arg1
= (wxFont
*) 0 ;
14720 PyObject
* obj0
= 0 ;
14721 PyObject
* obj1
= 0 ;
14722 char * kwnames
[] = {
14723 (char *) "self",(char *) "pixelSize", NULL
14726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14728 if (!SWIG_IsOK(res1
)) {
14729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14731 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14734 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14738 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14739 wxPyEndAllowThreads(__tstate
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14742 resultobj
= SWIG_Py_Void();
14749 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14750 PyObject
*resultobj
= 0;
14751 wxFont
*arg1
= (wxFont
*) 0 ;
14757 PyObject
* obj0
= 0 ;
14758 PyObject
* obj1
= 0 ;
14759 char * kwnames
[] = {
14760 (char *) "self",(char *) "family", NULL
14763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14765 if (!SWIG_IsOK(res1
)) {
14766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14768 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14770 if (!SWIG_IsOK(ecode2
)) {
14771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14773 arg2
= static_cast< int >(val2
);
14775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14776 (arg1
)->SetFamily(arg2
);
14777 wxPyEndAllowThreads(__tstate
);
14778 if (PyErr_Occurred()) SWIG_fail
;
14780 resultobj
= SWIG_Py_Void();
14787 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14788 PyObject
*resultobj
= 0;
14789 wxFont
*arg1
= (wxFont
*) 0 ;
14795 PyObject
* obj0
= 0 ;
14796 PyObject
* obj1
= 0 ;
14797 char * kwnames
[] = {
14798 (char *) "self",(char *) "style", NULL
14801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14803 if (!SWIG_IsOK(res1
)) {
14804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14806 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14808 if (!SWIG_IsOK(ecode2
)) {
14809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14811 arg2
= static_cast< int >(val2
);
14813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14814 (arg1
)->SetStyle(arg2
);
14815 wxPyEndAllowThreads(__tstate
);
14816 if (PyErr_Occurred()) SWIG_fail
;
14818 resultobj
= SWIG_Py_Void();
14825 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14826 PyObject
*resultobj
= 0;
14827 wxFont
*arg1
= (wxFont
*) 0 ;
14833 PyObject
* obj0
= 0 ;
14834 PyObject
* obj1
= 0 ;
14835 char * kwnames
[] = {
14836 (char *) "self",(char *) "weight", NULL
14839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14841 if (!SWIG_IsOK(res1
)) {
14842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14844 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14846 if (!SWIG_IsOK(ecode2
)) {
14847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14849 arg2
= static_cast< int >(val2
);
14851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14852 (arg1
)->SetWeight(arg2
);
14853 wxPyEndAllowThreads(__tstate
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14856 resultobj
= SWIG_Py_Void();
14863 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14864 PyObject
*resultobj
= 0;
14865 wxFont
*arg1
= (wxFont
*) 0 ;
14866 wxString
*arg2
= 0 ;
14870 bool temp2
= false ;
14871 PyObject
* obj0
= 0 ;
14872 PyObject
* obj1
= 0 ;
14873 char * kwnames
[] = {
14874 (char *) "self",(char *) "faceName", NULL
14877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14879 if (!SWIG_IsOK(res1
)) {
14880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14882 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14884 arg2
= wxString_in_helper(obj1
);
14885 if (arg2
== NULL
) SWIG_fail
;
14889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14890 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14891 wxPyEndAllowThreads(__tstate
);
14892 if (PyErr_Occurred()) SWIG_fail
;
14895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14911 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14912 PyObject
*resultobj
= 0;
14913 wxFont
*arg1
= (wxFont
*) 0 ;
14919 PyObject
* obj0
= 0 ;
14920 PyObject
* obj1
= 0 ;
14921 char * kwnames
[] = {
14922 (char *) "self",(char *) "underlined", NULL
14925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14927 if (!SWIG_IsOK(res1
)) {
14928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14930 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14931 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14932 if (!SWIG_IsOK(ecode2
)) {
14933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14935 arg2
= static_cast< bool >(val2
);
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 (arg1
)->SetUnderlined(arg2
);
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14942 resultobj
= SWIG_Py_Void();
14949 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14950 PyObject
*resultobj
= 0;
14951 wxFont
*arg1
= (wxFont
*) 0 ;
14952 wxFontEncoding arg2
;
14957 PyObject
* obj0
= 0 ;
14958 PyObject
* obj1
= 0 ;
14959 char * kwnames
[] = {
14960 (char *) "self",(char *) "encoding", NULL
14963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14965 if (!SWIG_IsOK(res1
)) {
14966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14968 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14970 if (!SWIG_IsOK(ecode2
)) {
14971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14973 arg2
= static_cast< wxFontEncoding
>(val2
);
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 (arg1
)->SetEncoding(arg2
);
14977 wxPyEndAllowThreads(__tstate
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14980 resultobj
= SWIG_Py_Void();
14987 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
= 0;
14989 wxFont
*arg1
= (wxFont
*) 0 ;
14990 wxNativeFontInfo
*arg2
= 0 ;
14995 PyObject
* obj0
= 0 ;
14996 PyObject
* obj1
= 0 ;
14997 char * kwnames
[] = {
14998 (char *) "self",(char *) "info", NULL
15001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15003 if (!SWIG_IsOK(res1
)) {
15004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15006 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15007 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15008 if (!SWIG_IsOK(res2
)) {
15009 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15012 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15014 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15017 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15018 wxPyEndAllowThreads(__tstate
);
15019 if (PyErr_Occurred()) SWIG_fail
;
15021 resultobj
= SWIG_Py_Void();
15028 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15029 PyObject
*resultobj
= 0;
15030 wxFont
*arg1
= (wxFont
*) 0 ;
15031 wxString
*arg2
= 0 ;
15035 bool temp2
= false ;
15036 PyObject
* obj0
= 0 ;
15037 PyObject
* obj1
= 0 ;
15038 char * kwnames
[] = {
15039 (char *) "self",(char *) "info", NULL
15042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15044 if (!SWIG_IsOK(res1
)) {
15045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15047 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15049 arg2
= wxString_in_helper(obj1
);
15050 if (arg2
== NULL
) SWIG_fail
;
15054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15055 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15056 wxPyEndAllowThreads(__tstate
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15076 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15077 PyObject
*resultobj
= 0;
15078 wxFont
*arg1
= (wxFont
*) 0 ;
15079 wxString
*arg2
= 0 ;
15083 bool temp2
= false ;
15084 PyObject
* obj0
= 0 ;
15085 PyObject
* obj1
= 0 ;
15086 char * kwnames
[] = {
15087 (char *) "self",(char *) "info", NULL
15090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15092 if (!SWIG_IsOK(res1
)) {
15093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15095 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15097 arg2
= wxString_in_helper(obj1
);
15098 if (arg2
== NULL
) SWIG_fail
;
15102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15103 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15104 wxPyEndAllowThreads(__tstate
);
15105 if (PyErr_Occurred()) SWIG_fail
;
15108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15124 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15125 PyObject
*resultobj
= 0;
15126 wxFont
*arg1
= (wxFont
*) 0 ;
15130 PyObject
*swig_obj
[1] ;
15132 if (!args
) SWIG_fail
;
15133 swig_obj
[0] = args
;
15134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15135 if (!SWIG_IsOK(res1
)) {
15136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15138 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15141 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15142 wxPyEndAllowThreads(__tstate
);
15143 if (PyErr_Occurred()) SWIG_fail
;
15147 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15149 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15158 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15159 PyObject
*resultobj
= 0;
15160 wxFont
*arg1
= (wxFont
*) 0 ;
15164 PyObject
*swig_obj
[1] ;
15166 if (!args
) SWIG_fail
;
15167 swig_obj
[0] = args
;
15168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15169 if (!SWIG_IsOK(res1
)) {
15170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15172 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15175 result
= ((wxFont
const *)arg1
)->GetStyleString();
15176 wxPyEndAllowThreads(__tstate
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15181 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15183 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15192 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15193 PyObject
*resultobj
= 0;
15194 wxFont
*arg1
= (wxFont
*) 0 ;
15198 PyObject
*swig_obj
[1] ;
15200 if (!args
) SWIG_fail
;
15201 swig_obj
[0] = args
;
15202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15203 if (!SWIG_IsOK(res1
)) {
15204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15206 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15209 result
= ((wxFont
const *)arg1
)->GetWeightString();
15210 wxPyEndAllowThreads(__tstate
);
15211 if (PyErr_Occurred()) SWIG_fail
;
15215 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15217 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15226 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15227 PyObject
*resultobj
= 0;
15228 wxFont
*arg1
= (wxFont
*) 0 ;
15229 bool arg2
= (bool) true ;
15234 PyObject
* obj0
= 0 ;
15235 PyObject
* obj1
= 0 ;
15236 char * kwnames
[] = {
15237 (char *) "self",(char *) "no", NULL
15240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15242 if (!SWIG_IsOK(res1
)) {
15243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15245 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15247 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15248 if (!SWIG_IsOK(ecode2
)) {
15249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15251 arg2
= static_cast< bool >(val2
);
15254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15255 (arg1
)->SetNoAntiAliasing(arg2
);
15256 wxPyEndAllowThreads(__tstate
);
15257 if (PyErr_Occurred()) SWIG_fail
;
15259 resultobj
= SWIG_Py_Void();
15266 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15267 PyObject
*resultobj
= 0;
15268 wxFont
*arg1
= (wxFont
*) 0 ;
15272 PyObject
*swig_obj
[1] ;
15274 if (!args
) SWIG_fail
;
15275 swig_obj
[0] = args
;
15276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15277 if (!SWIG_IsOK(res1
)) {
15278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15280 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15283 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15284 wxPyEndAllowThreads(__tstate
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15296 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15297 PyObject
*resultobj
= 0;
15298 wxFontEncoding result
;
15300 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15302 if (!wxPyCheckForApp()) SWIG_fail
;
15303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15304 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15305 wxPyEndAllowThreads(__tstate
);
15306 if (PyErr_Occurred()) SWIG_fail
;
15308 resultobj
= SWIG_From_int(static_cast< int >(result
));
15315 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15316 PyObject
*resultobj
= 0;
15317 wxFontEncoding arg1
;
15320 PyObject
* obj0
= 0 ;
15321 char * kwnames
[] = {
15322 (char *) "encoding", NULL
15325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15326 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15327 if (!SWIG_IsOK(ecode1
)) {
15328 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15330 arg1
= static_cast< wxFontEncoding
>(val1
);
15332 if (!wxPyCheckForApp()) SWIG_fail
;
15333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15334 wxFont::SetDefaultEncoding(arg1
);
15335 wxPyEndAllowThreads(__tstate
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15338 resultobj
= SWIG_Py_Void();
15345 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15347 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15348 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15349 return SWIG_Py_Void();
15352 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15353 return SWIG_Python_InitShadowInstance(args
);
15356 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15357 PyObject
*resultobj
= 0;
15358 wxPyFontEnumerator
*result
= 0 ;
15360 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15362 if (!wxPyCheckForApp()) SWIG_fail
;
15363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15364 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15365 wxPyEndAllowThreads(__tstate
);
15366 if (PyErr_Occurred()) SWIG_fail
;
15368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15375 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15376 PyObject
*resultobj
= 0;
15377 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15380 PyObject
*swig_obj
[1] ;
15382 if (!args
) SWIG_fail
;
15383 swig_obj
[0] = args
;
15384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15385 if (!SWIG_IsOK(res1
)) {
15386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15388 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15393 wxPyEndAllowThreads(__tstate
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15396 resultobj
= SWIG_Py_Void();
15403 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
= 0;
15405 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15406 PyObject
*arg2
= (PyObject
*) 0 ;
15407 PyObject
*arg3
= (PyObject
*) 0 ;
15413 PyObject
* obj0
= 0 ;
15414 PyObject
* obj1
= 0 ;
15415 PyObject
* obj2
= 0 ;
15416 PyObject
* obj3
= 0 ;
15417 char * kwnames
[] = {
15418 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15423 if (!SWIG_IsOK(res1
)) {
15424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15426 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15429 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15430 if (!SWIG_IsOK(ecode4
)) {
15431 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15433 arg4
= static_cast< bool >(val4
);
15435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15436 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15437 wxPyEndAllowThreads(__tstate
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15440 resultobj
= SWIG_Py_Void();
15447 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15448 PyObject
*resultobj
= 0;
15449 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15450 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15451 bool arg3
= (bool) false ;
15459 PyObject
* obj0
= 0 ;
15460 PyObject
* obj1
= 0 ;
15461 PyObject
* obj2
= 0 ;
15462 char * kwnames
[] = {
15463 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15468 if (!SWIG_IsOK(res1
)) {
15469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15471 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15474 if (!SWIG_IsOK(ecode2
)) {
15475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15477 arg2
= static_cast< wxFontEncoding
>(val2
);
15480 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15481 if (!SWIG_IsOK(ecode3
)) {
15482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15484 arg3
= static_cast< bool >(val3
);
15487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15488 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15489 wxPyEndAllowThreads(__tstate
);
15490 if (PyErr_Occurred()) SWIG_fail
;
15493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15501 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15502 PyObject
*resultobj
= 0;
15503 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15504 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15505 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15509 bool temp2
= false ;
15510 PyObject
* obj0
= 0 ;
15511 PyObject
* obj1
= 0 ;
15512 char * kwnames
[] = {
15513 (char *) "self",(char *) "facename", NULL
15516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15518 if (!SWIG_IsOK(res1
)) {
15519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15521 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15524 arg2
= wxString_in_helper(obj1
);
15525 if (arg2
== NULL
) SWIG_fail
;
15530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15531 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15532 wxPyEndAllowThreads(__tstate
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15552 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15553 PyObject
*resultobj
= 0;
15554 PyObject
*result
= 0 ;
15556 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15559 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15560 wxPyEndAllowThreads(__tstate
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15563 resultobj
= result
;
15570 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15571 PyObject
*resultobj
= 0;
15572 PyObject
*result
= 0 ;
15574 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15577 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15578 wxPyEndAllowThreads(__tstate
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15581 resultobj
= result
;
15588 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15589 PyObject
*resultobj
= 0;
15590 wxString
*arg1
= 0 ;
15592 bool temp1
= false ;
15593 PyObject
* obj0
= 0 ;
15594 char * kwnames
[] = {
15595 (char *) "str", NULL
15598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15600 arg1
= wxString_in_helper(obj0
);
15601 if (arg1
== NULL
) SWIG_fail
;
15605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15606 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15607 wxPyEndAllowThreads(__tstate
);
15608 if (PyErr_Occurred()) SWIG_fail
;
15611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15627 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15629 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15630 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15631 return SWIG_Py_Void();
15634 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15635 return SWIG_Python_InitShadowInstance(args
);
15638 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15639 PyObject
*resultobj
= 0;
15640 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15646 PyObject
*swig_obj
[2] ;
15648 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15650 if (!SWIG_IsOK(res1
)) {
15651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15653 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15654 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15655 if (!SWIG_IsOK(ecode2
)) {
15656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15658 arg2
= static_cast< int >(val2
);
15659 if (arg1
) (arg1
)->Language
= arg2
;
15661 resultobj
= SWIG_Py_Void();
15668 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15669 PyObject
*resultobj
= 0;
15670 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15674 PyObject
*swig_obj
[1] ;
15676 if (!args
) SWIG_fail
;
15677 swig_obj
[0] = args
;
15678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15679 if (!SWIG_IsOK(res1
)) {
15680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15682 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15683 result
= (int) ((arg1
)->Language
);
15684 resultobj
= SWIG_From_int(static_cast< int >(result
));
15691 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15692 PyObject
*resultobj
= 0;
15693 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15694 wxString
*arg2
= (wxString
*) 0 ;
15697 bool temp2
= false ;
15698 PyObject
*swig_obj
[2] ;
15700 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15702 if (!SWIG_IsOK(res1
)) {
15703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15705 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15707 arg2
= wxString_in_helper(swig_obj
[1]);
15708 if (arg2
== NULL
) SWIG_fail
;
15711 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15713 resultobj
= SWIG_Py_Void();
15728 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15729 PyObject
*resultobj
= 0;
15730 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15731 wxString
*result
= 0 ;
15734 PyObject
*swig_obj
[1] ;
15736 if (!args
) SWIG_fail
;
15737 swig_obj
[0] = args
;
15738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15739 if (!SWIG_IsOK(res1
)) {
15740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15742 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15743 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15746 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15748 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15757 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15758 PyObject
*resultobj
= 0;
15759 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15760 wxString
*arg2
= (wxString
*) 0 ;
15763 bool temp2
= false ;
15764 PyObject
*swig_obj
[2] ;
15766 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15768 if (!SWIG_IsOK(res1
)) {
15769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15771 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15773 arg2
= wxString_in_helper(swig_obj
[1]);
15774 if (arg2
== NULL
) SWIG_fail
;
15777 if (arg1
) (arg1
)->Description
= *arg2
;
15779 resultobj
= SWIG_Py_Void();
15794 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15795 PyObject
*resultobj
= 0;
15796 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15797 wxString
*result
= 0 ;
15800 PyObject
*swig_obj
[1] ;
15802 if (!args
) SWIG_fail
;
15803 swig_obj
[0] = args
;
15804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15805 if (!SWIG_IsOK(res1
)) {
15806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15808 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15809 result
= (wxString
*)& ((arg1
)->Description
);
15812 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15814 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15823 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15825 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15826 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15827 return SWIG_Py_Void();
15830 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15831 PyObject
*resultobj
= 0;
15832 int arg1
= (int) -1 ;
15833 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15834 wxLocale
*result
= 0 ;
15839 PyObject
* obj0
= 0 ;
15840 PyObject
* obj1
= 0 ;
15841 char * kwnames
[] = {
15842 (char *) "language",(char *) "flags", NULL
15845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15847 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15848 if (!SWIG_IsOK(ecode1
)) {
15849 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15851 arg1
= static_cast< int >(val1
);
15854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15855 if (!SWIG_IsOK(ecode2
)) {
15856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15858 arg2
= static_cast< int >(val2
);
15861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15862 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15863 wxPyEndAllowThreads(__tstate
);
15864 if (PyErr_Occurred()) SWIG_fail
;
15866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15873 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15874 PyObject
*resultobj
= 0;
15875 wxLocale
*arg1
= (wxLocale
*) 0 ;
15878 PyObject
*swig_obj
[1] ;
15880 if (!args
) SWIG_fail
;
15881 swig_obj
[0] = args
;
15882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15883 if (!SWIG_IsOK(res1
)) {
15884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15886 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15891 wxPyEndAllowThreads(__tstate
);
15892 if (PyErr_Occurred()) SWIG_fail
;
15894 resultobj
= SWIG_Py_Void();
15901 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15902 PyObject
*resultobj
= 0;
15903 wxLocale
*arg1
= (wxLocale
*) 0 ;
15904 wxString
*arg2
= 0 ;
15905 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15906 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15907 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15908 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15909 bool arg5
= (bool) true ;
15910 bool arg6
= (bool) false ;
15914 bool temp2
= false ;
15915 bool temp3
= false ;
15916 bool temp4
= false ;
15921 PyObject
* obj0
= 0 ;
15922 PyObject
* obj1
= 0 ;
15923 PyObject
* obj2
= 0 ;
15924 PyObject
* obj3
= 0 ;
15925 PyObject
* obj4
= 0 ;
15926 PyObject
* obj5
= 0 ;
15927 char * kwnames
[] = {
15928 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15933 if (!SWIG_IsOK(res1
)) {
15934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15936 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15938 arg2
= wxString_in_helper(obj1
);
15939 if (arg2
== NULL
) SWIG_fail
;
15944 arg3
= wxString_in_helper(obj2
);
15945 if (arg3
== NULL
) SWIG_fail
;
15951 arg4
= wxString_in_helper(obj3
);
15952 if (arg4
== NULL
) SWIG_fail
;
15957 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15958 if (!SWIG_IsOK(ecode5
)) {
15959 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15961 arg5
= static_cast< bool >(val5
);
15964 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15965 if (!SWIG_IsOK(ecode6
)) {
15966 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15968 arg6
= static_cast< bool >(val6
);
15971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15972 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15973 wxPyEndAllowThreads(__tstate
);
15974 if (PyErr_Occurred()) SWIG_fail
;
15977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16009 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16010 PyObject
*resultobj
= 0;
16011 wxLocale
*arg1
= (wxLocale
*) 0 ;
16012 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16013 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16021 PyObject
* obj0
= 0 ;
16022 PyObject
* obj1
= 0 ;
16023 PyObject
* obj2
= 0 ;
16024 char * kwnames
[] = {
16025 (char *) "self",(char *) "language",(char *) "flags", NULL
16028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16030 if (!SWIG_IsOK(res1
)) {
16031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16033 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16036 if (!SWIG_IsOK(ecode2
)) {
16037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16039 arg2
= static_cast< int >(val2
);
16042 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16043 if (!SWIG_IsOK(ecode3
)) {
16044 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16046 arg3
= static_cast< int >(val3
);
16049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16050 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16051 wxPyEndAllowThreads(__tstate
);
16052 if (PyErr_Occurred()) SWIG_fail
;
16055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16063 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16064 PyObject
*resultobj
= 0;
16067 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16070 result
= (int)wxLocale::GetSystemLanguage();
16071 wxPyEndAllowThreads(__tstate
);
16072 if (PyErr_Occurred()) SWIG_fail
;
16074 resultobj
= SWIG_From_int(static_cast< int >(result
));
16081 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16082 PyObject
*resultobj
= 0;
16083 wxFontEncoding result
;
16085 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16088 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16089 wxPyEndAllowThreads(__tstate
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16092 resultobj
= SWIG_From_int(static_cast< int >(result
));
16099 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16100 PyObject
*resultobj
= 0;
16103 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 result
= wxLocale::GetSystemEncodingName();
16107 wxPyEndAllowThreads(__tstate
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16112 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16114 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16123 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16124 PyObject
*resultobj
= 0;
16125 wxLocale
*arg1
= (wxLocale
*) 0 ;
16129 PyObject
*swig_obj
[1] ;
16131 if (!args
) SWIG_fail
;
16132 swig_obj
[0] = args
;
16133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16134 if (!SWIG_IsOK(res1
)) {
16135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16137 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16140 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16141 wxPyEndAllowThreads(__tstate
);
16142 if (PyErr_Occurred()) SWIG_fail
;
16145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16153 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16154 PyObject
*resultobj
= 0;
16155 wxLocale
*arg1
= (wxLocale
*) 0 ;
16159 PyObject
*swig_obj
[1] ;
16161 if (!args
) SWIG_fail
;
16162 swig_obj
[0] = args
;
16163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16164 if (!SWIG_IsOK(res1
)) {
16165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16167 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16170 result
= ((wxLocale
const *)arg1
)->GetLocale();
16171 wxPyEndAllowThreads(__tstate
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16176 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16178 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16187 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16188 PyObject
*resultobj
= 0;
16189 wxLocale
*arg1
= (wxLocale
*) 0 ;
16193 PyObject
*swig_obj
[1] ;
16195 if (!args
) SWIG_fail
;
16196 swig_obj
[0] = args
;
16197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16198 if (!SWIG_IsOK(res1
)) {
16199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16201 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16204 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16205 wxPyEndAllowThreads(__tstate
);
16206 if (PyErr_Occurred()) SWIG_fail
;
16208 resultobj
= SWIG_From_int(static_cast< int >(result
));
16215 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16216 PyObject
*resultobj
= 0;
16217 wxLocale
*arg1
= (wxLocale
*) 0 ;
16221 PyObject
*swig_obj
[1] ;
16223 if (!args
) SWIG_fail
;
16224 swig_obj
[0] = args
;
16225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16226 if (!SWIG_IsOK(res1
)) {
16227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16229 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16232 result
= ((wxLocale
const *)arg1
)->GetSysName();
16233 wxPyEndAllowThreads(__tstate
);
16234 if (PyErr_Occurred()) SWIG_fail
;
16238 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16240 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16249 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16250 PyObject
*resultobj
= 0;
16251 wxLocale
*arg1
= (wxLocale
*) 0 ;
16255 PyObject
*swig_obj
[1] ;
16257 if (!args
) SWIG_fail
;
16258 swig_obj
[0] = args
;
16259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16260 if (!SWIG_IsOK(res1
)) {
16261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16263 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16266 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16267 wxPyEndAllowThreads(__tstate
);
16268 if (PyErr_Occurred()) SWIG_fail
;
16272 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16274 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16283 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16284 PyObject
*resultobj
= 0;
16285 wxString
*arg1
= 0 ;
16286 bool temp1
= false ;
16287 PyObject
* obj0
= 0 ;
16288 char * kwnames
[] = {
16289 (char *) "prefix", NULL
16292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16294 arg1
= wxString_in_helper(obj0
);
16295 if (arg1
== NULL
) SWIG_fail
;
16299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16300 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16301 wxPyEndAllowThreads(__tstate
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16304 resultobj
= SWIG_Py_Void();
16319 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16320 PyObject
*resultobj
= 0;
16321 wxLocale
*arg1
= (wxLocale
*) 0 ;
16322 wxString
*arg2
= 0 ;
16326 bool temp2
= false ;
16327 PyObject
* obj0
= 0 ;
16328 PyObject
* obj1
= 0 ;
16329 char * kwnames
[] = {
16330 (char *) "self",(char *) "szDomain", NULL
16333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16335 if (!SWIG_IsOK(res1
)) {
16336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16338 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16340 arg2
= wxString_in_helper(obj1
);
16341 if (arg2
== NULL
) SWIG_fail
;
16345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16346 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16347 wxPyEndAllowThreads(__tstate
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16367 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16368 PyObject
*resultobj
= 0;
16373 PyObject
* obj0
= 0 ;
16374 char * kwnames
[] = {
16375 (char *) "lang", NULL
16378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16379 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16380 if (!SWIG_IsOK(ecode1
)) {
16381 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16383 arg1
= static_cast< int >(val1
);
16385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16386 result
= (bool)wxLocale::IsAvailable(arg1
);
16387 wxPyEndAllowThreads(__tstate
);
16388 if (PyErr_Occurred()) SWIG_fail
;
16391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16399 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16400 PyObject
*resultobj
= 0;
16401 wxLocale
*arg1
= (wxLocale
*) 0 ;
16402 wxString
*arg2
= 0 ;
16406 bool temp2
= false ;
16407 PyObject
* obj0
= 0 ;
16408 PyObject
* obj1
= 0 ;
16409 char * kwnames
[] = {
16410 (char *) "self",(char *) "szDomain", NULL
16413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16415 if (!SWIG_IsOK(res1
)) {
16416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16418 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16420 arg2
= wxString_in_helper(obj1
);
16421 if (arg2
== NULL
) SWIG_fail
;
16425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16426 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16427 wxPyEndAllowThreads(__tstate
);
16428 if (PyErr_Occurred()) SWIG_fail
;
16431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16447 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16448 PyObject
*resultobj
= 0;
16450 wxLanguageInfo
*result
= 0 ;
16453 PyObject
* obj0
= 0 ;
16454 char * kwnames
[] = {
16455 (char *) "lang", NULL
16458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16459 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16460 if (!SWIG_IsOK(ecode1
)) {
16461 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16463 arg1
= static_cast< int >(val1
);
16465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16466 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16467 wxPyEndAllowThreads(__tstate
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16477 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16478 PyObject
*resultobj
= 0;
16483 PyObject
* obj0
= 0 ;
16484 char * kwnames
[] = {
16485 (char *) "lang", NULL
16488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16489 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16490 if (!SWIG_IsOK(ecode1
)) {
16491 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16493 arg1
= static_cast< int >(val1
);
16495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16496 result
= wxLocale::GetLanguageName(arg1
);
16497 wxPyEndAllowThreads(__tstate
);
16498 if (PyErr_Occurred()) SWIG_fail
;
16502 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16504 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16513 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16514 PyObject
*resultobj
= 0;
16515 wxString
*arg1
= 0 ;
16516 wxLanguageInfo
*result
= 0 ;
16517 bool temp1
= false ;
16518 PyObject
* obj0
= 0 ;
16519 char * kwnames
[] = {
16520 (char *) "locale", NULL
16523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16525 arg1
= wxString_in_helper(obj0
);
16526 if (arg1
== NULL
) SWIG_fail
;
16530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16531 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16532 wxPyEndAllowThreads(__tstate
);
16533 if (PyErr_Occurred()) SWIG_fail
;
16535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16550 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16551 PyObject
*resultobj
= 0;
16552 wxLanguageInfo
*arg1
= 0 ;
16555 PyObject
* obj0
= 0 ;
16556 char * kwnames
[] = {
16557 (char *) "info", NULL
16560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16561 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16562 if (!SWIG_IsOK(res1
)) {
16563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16566 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16568 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16571 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16575 resultobj
= SWIG_Py_Void();
16582 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16583 PyObject
*resultobj
= 0;
16584 wxLocale
*arg1
= (wxLocale
*) 0 ;
16585 wxString
*arg2
= 0 ;
16586 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16587 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16591 bool temp2
= false ;
16592 bool temp3
= false ;
16593 PyObject
* obj0
= 0 ;
16594 PyObject
* obj1
= 0 ;
16595 PyObject
* obj2
= 0 ;
16596 char * kwnames
[] = {
16597 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16602 if (!SWIG_IsOK(res1
)) {
16603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16605 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16607 arg2
= wxString_in_helper(obj1
);
16608 if (arg2
== NULL
) SWIG_fail
;
16613 arg3
= wxString_in_helper(obj2
);
16614 if (arg3
== NULL
) SWIG_fail
;
16619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16620 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16621 wxPyEndAllowThreads(__tstate
);
16622 if (PyErr_Occurred()) SWIG_fail
;
16626 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16628 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16653 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16654 PyObject
*resultobj
= 0;
16655 wxLocale
*arg1
= (wxLocale
*) 0 ;
16656 wxString
*result
= 0 ;
16659 PyObject
*swig_obj
[1] ;
16661 if (!args
) SWIG_fail
;
16662 swig_obj
[0] = args
;
16663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16664 if (!SWIG_IsOK(res1
)) {
16665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16667 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16671 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16672 result
= (wxString
*) &_result_ref
;
16674 wxPyEndAllowThreads(__tstate
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16679 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16681 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16690 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16692 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16693 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16694 return SWIG_Py_Void();
16697 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16698 return SWIG_Python_InitShadowInstance(args
);
16701 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16702 PyObject
*resultobj
= 0;
16703 int arg1
= (int) -1 ;
16704 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16705 wxPyLocale
*result
= 0 ;
16710 PyObject
* obj0
= 0 ;
16711 PyObject
* obj1
= 0 ;
16712 char * kwnames
[] = {
16713 (char *) "language",(char *) "flags", NULL
16716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16718 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16719 if (!SWIG_IsOK(ecode1
)) {
16720 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16722 arg1
= static_cast< int >(val1
);
16725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16726 if (!SWIG_IsOK(ecode2
)) {
16727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16729 arg2
= static_cast< int >(val2
);
16732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16733 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16734 wxPyEndAllowThreads(__tstate
);
16735 if (PyErr_Occurred()) SWIG_fail
;
16737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16744 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16745 PyObject
*resultobj
= 0;
16746 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16749 PyObject
*swig_obj
[1] ;
16751 if (!args
) SWIG_fail
;
16752 swig_obj
[0] = args
;
16753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16754 if (!SWIG_IsOK(res1
)) {
16755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16757 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16762 wxPyEndAllowThreads(__tstate
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16765 resultobj
= SWIG_Py_Void();
16772 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16773 PyObject
*resultobj
= 0;
16774 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16775 PyObject
*arg2
= (PyObject
*) 0 ;
16776 PyObject
*arg3
= (PyObject
*) 0 ;
16779 PyObject
* obj0
= 0 ;
16780 PyObject
* obj1
= 0 ;
16781 PyObject
* obj2
= 0 ;
16782 char * kwnames
[] = {
16783 (char *) "self",(char *) "self",(char *) "_class", NULL
16786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16788 if (!SWIG_IsOK(res1
)) {
16789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16791 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16796 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16797 wxPyEndAllowThreads(__tstate
);
16798 if (PyErr_Occurred()) SWIG_fail
;
16800 resultobj
= SWIG_Py_Void();
16807 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16808 PyObject
*resultobj
= 0;
16809 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16810 wxChar
*arg2
= (wxChar
*) 0 ;
16811 wxChar
*arg3
= (wxChar
*) NULL
;
16812 wxChar
*result
= 0 ;
16819 PyObject
* obj0
= 0 ;
16820 PyObject
* obj1
= 0 ;
16821 PyObject
* obj2
= 0 ;
16822 char * kwnames
[] = {
16823 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16828 if (!SWIG_IsOK(res1
)) {
16829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16831 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16832 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16833 if (!SWIG_IsOK(res2
)) {
16834 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16836 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16838 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16839 if (!SWIG_IsOK(res3
)) {
16840 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16842 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16846 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16847 wxPyEndAllowThreads(__tstate
);
16848 if (PyErr_Occurred()) SWIG_fail
;
16850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16857 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16858 PyObject
*resultobj
= 0;
16859 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16860 wxChar
*arg2
= (wxChar
*) 0 ;
16861 wxChar
*arg3
= (wxChar
*) 0 ;
16863 wxChar
*arg5
= (wxChar
*) NULL
;
16864 wxChar
*result
= 0 ;
16875 PyObject
* obj0
= 0 ;
16876 PyObject
* obj1
= 0 ;
16877 PyObject
* obj2
= 0 ;
16878 PyObject
* obj3
= 0 ;
16879 PyObject
* obj4
= 0 ;
16880 char * kwnames
[] = {
16881 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16886 if (!SWIG_IsOK(res1
)) {
16887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16889 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16890 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16891 if (!SWIG_IsOK(res2
)) {
16892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16894 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16895 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16896 if (!SWIG_IsOK(res3
)) {
16897 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16899 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16900 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16901 if (!SWIG_IsOK(ecode4
)) {
16902 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16904 arg4
= static_cast< size_t >(val4
);
16906 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16907 if (!SWIG_IsOK(res5
)) {
16908 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16910 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16914 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16915 wxPyEndAllowThreads(__tstate
);
16916 if (PyErr_Occurred()) SWIG_fail
;
16918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16925 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16927 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16928 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16929 return SWIG_Py_Void();
16932 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16933 return SWIG_Python_InitShadowInstance(args
);
16936 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16937 PyObject
*resultobj
= 0;
16938 wxLocale
*result
= 0 ;
16940 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16943 result
= (wxLocale
*)wxGetLocale();
16944 wxPyEndAllowThreads(__tstate
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16954 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16955 PyObject
*resultobj
= 0;
16956 wxString
*arg1
= 0 ;
16958 bool temp1
= false ;
16960 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16962 arg1
= wxString_in_helper(swig_obj
[0]);
16963 if (arg1
== NULL
) SWIG_fail
;
16967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16968 result
= wxGetTranslation((wxString
const &)*arg1
);
16969 wxPyEndAllowThreads(__tstate
);
16970 if (PyErr_Occurred()) SWIG_fail
;
16974 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16976 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16993 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16994 PyObject
*resultobj
= 0;
16995 wxString
*arg1
= 0 ;
16996 wxString
*arg2
= 0 ;
16998 bool temp1
= false ;
16999 bool temp2
= false ;
17001 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17003 arg1
= wxString_in_helper(swig_obj
[0]);
17004 if (arg1
== NULL
) SWIG_fail
;
17008 arg2
= wxString_in_helper(swig_obj
[1]);
17009 if (arg2
== NULL
) SWIG_fail
;
17013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17014 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17015 wxPyEndAllowThreads(__tstate
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17047 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17048 PyObject
*resultobj
= 0;
17049 wxString
*arg1
= 0 ;
17050 wxString
*arg2
= 0 ;
17053 bool temp1
= false ;
17054 bool temp2
= false ;
17058 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17060 arg1
= wxString_in_helper(swig_obj
[0]);
17061 if (arg1
== NULL
) SWIG_fail
;
17065 arg2
= wxString_in_helper(swig_obj
[1]);
17066 if (arg2
== NULL
) SWIG_fail
;
17069 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17070 if (!SWIG_IsOK(ecode3
)) {
17071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17073 arg3
= static_cast< size_t >(val3
);
17075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17076 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17077 wxPyEndAllowThreads(__tstate
);
17078 if (PyErr_Occurred()) SWIG_fail
;
17082 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17084 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17109 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17110 PyObject
*resultobj
= 0;
17111 wxString
*arg1
= 0 ;
17112 wxString
*arg2
= 0 ;
17114 wxString
*arg4
= 0 ;
17116 bool temp1
= false ;
17117 bool temp2
= false ;
17120 bool temp4
= false ;
17122 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17124 arg1
= wxString_in_helper(swig_obj
[0]);
17125 if (arg1
== NULL
) SWIG_fail
;
17129 arg2
= wxString_in_helper(swig_obj
[1]);
17130 if (arg2
== NULL
) SWIG_fail
;
17133 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17134 if (!SWIG_IsOK(ecode3
)) {
17135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17137 arg3
= static_cast< size_t >(val3
);
17139 arg4
= wxString_in_helper(swig_obj
[3]);
17140 if (arg4
== NULL
) SWIG_fail
;
17144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17145 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17146 wxPyEndAllowThreads(__tstate
);
17147 if (PyErr_Occurred()) SWIG_fail
;
17151 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17153 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17186 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17190 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17193 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17196 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17199 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17202 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17206 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17211 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17212 PyObject
*resultobj
= 0;
17213 wxEncodingConverter
*result
= 0 ;
17215 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17218 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17219 wxPyEndAllowThreads(__tstate
);
17220 if (PyErr_Occurred()) SWIG_fail
;
17222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17229 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17230 PyObject
*resultobj
= 0;
17231 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17234 PyObject
*swig_obj
[1] ;
17236 if (!args
) SWIG_fail
;
17237 swig_obj
[0] = args
;
17238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17239 if (!SWIG_IsOK(res1
)) {
17240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17242 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17247 wxPyEndAllowThreads(__tstate
);
17248 if (PyErr_Occurred()) SWIG_fail
;
17250 resultobj
= SWIG_Py_Void();
17257 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17258 PyObject
*resultobj
= 0;
17259 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17260 wxFontEncoding arg2
;
17261 wxFontEncoding arg3
;
17262 int arg4
= (int) wxCONVERT_STRICT
;
17272 PyObject
* obj0
= 0 ;
17273 PyObject
* obj1
= 0 ;
17274 PyObject
* obj2
= 0 ;
17275 PyObject
* obj3
= 0 ;
17276 char * kwnames
[] = {
17277 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17282 if (!SWIG_IsOK(res1
)) {
17283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17285 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17287 if (!SWIG_IsOK(ecode2
)) {
17288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17290 arg2
= static_cast< wxFontEncoding
>(val2
);
17291 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17292 if (!SWIG_IsOK(ecode3
)) {
17293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17295 arg3
= static_cast< wxFontEncoding
>(val3
);
17297 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17298 if (!SWIG_IsOK(ecode4
)) {
17299 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17301 arg4
= static_cast< int >(val4
);
17304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17305 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17306 wxPyEndAllowThreads(__tstate
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17318 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17319 PyObject
*resultobj
= 0;
17320 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17321 wxString
*arg2
= 0 ;
17325 bool temp2
= false ;
17326 PyObject
* obj0
= 0 ;
17327 PyObject
* obj1
= 0 ;
17328 char * kwnames
[] = {
17329 (char *) "self",(char *) "input", NULL
17332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17334 if (!SWIG_IsOK(res1
)) {
17335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17337 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17339 arg2
= wxString_in_helper(obj1
);
17340 if (arg2
== NULL
) SWIG_fail
;
17344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17345 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17346 wxPyEndAllowThreads(__tstate
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17351 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17353 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17370 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17371 PyObject
*resultobj
= 0;
17372 wxFontEncoding arg1
;
17373 int arg2
= (int) wxPLATFORM_CURRENT
;
17374 wxFontEncodingArray result
;
17379 PyObject
* obj0
= 0 ;
17380 PyObject
* obj1
= 0 ;
17381 char * kwnames
[] = {
17382 (char *) "enc",(char *) "platform", NULL
17385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17386 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17387 if (!SWIG_IsOK(ecode1
)) {
17388 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17390 arg1
= static_cast< wxFontEncoding
>(val1
);
17392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17393 if (!SWIG_IsOK(ecode2
)) {
17394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17396 arg2
= static_cast< int >(val2
);
17399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17400 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17401 wxPyEndAllowThreads(__tstate
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17405 resultobj
= PyList_New(0);
17406 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17407 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17408 PyList_Append(resultobj
, number
);
17418 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17419 PyObject
*resultobj
= 0;
17420 wxFontEncoding arg1
;
17421 wxFontEncodingArray result
;
17424 PyObject
* obj0
= 0 ;
17425 char * kwnames
[] = {
17426 (char *) "enc", NULL
17429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17430 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17431 if (!SWIG_IsOK(ecode1
)) {
17432 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17434 arg1
= static_cast< wxFontEncoding
>(val1
);
17436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17437 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17438 wxPyEndAllowThreads(__tstate
);
17439 if (PyErr_Occurred()) SWIG_fail
;
17442 resultobj
= PyList_New(0);
17443 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17444 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17445 PyList_Append(resultobj
, number
);
17455 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17456 PyObject
*resultobj
= 0;
17457 wxFontEncoding arg1
;
17458 wxFontEncoding arg2
;
17464 PyObject
* obj0
= 0 ;
17465 PyObject
* obj1
= 0 ;
17466 char * kwnames
[] = {
17467 (char *) "encIn",(char *) "encOut", NULL
17470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17471 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17472 if (!SWIG_IsOK(ecode1
)) {
17473 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17475 arg1
= static_cast< wxFontEncoding
>(val1
);
17476 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17477 if (!SWIG_IsOK(ecode2
)) {
17478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17480 arg2
= static_cast< wxFontEncoding
>(val2
);
17482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17483 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17484 wxPyEndAllowThreads(__tstate
);
17485 if (PyErr_Occurred()) SWIG_fail
;
17488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17496 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17498 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17499 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17500 return SWIG_Py_Void();
17503 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17504 return SWIG_Python_InitShadowInstance(args
);
17507 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17508 PyObject
*resultobj
= 0;
17509 wxDC
*arg1
= (wxDC
*) 0 ;
17512 PyObject
*swig_obj
[1] ;
17514 if (!args
) SWIG_fail
;
17515 swig_obj
[0] = args
;
17516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17517 if (!SWIG_IsOK(res1
)) {
17518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17520 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 wxPyEndAllowThreads(__tstate
);
17526 if (PyErr_Occurred()) SWIG_fail
;
17528 resultobj
= SWIG_Py_Void();
17535 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17536 PyObject
*resultobj
= 0;
17537 wxDC
*arg1
= (wxDC
*) 0 ;
17540 wxColour
*arg4
= 0 ;
17541 int arg5
= (int) wxFLOOD_SURFACE
;
17552 PyObject
* obj0
= 0 ;
17553 PyObject
* obj1
= 0 ;
17554 PyObject
* obj2
= 0 ;
17555 PyObject
* obj3
= 0 ;
17556 PyObject
* obj4
= 0 ;
17557 char * kwnames
[] = {
17558 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17563 if (!SWIG_IsOK(res1
)) {
17564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17566 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17568 if (!SWIG_IsOK(ecode2
)) {
17569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17571 arg2
= static_cast< int >(val2
);
17572 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17573 if (!SWIG_IsOK(ecode3
)) {
17574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17576 arg3
= static_cast< int >(val3
);
17579 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17582 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17583 if (!SWIG_IsOK(ecode5
)) {
17584 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17586 arg5
= static_cast< int >(val5
);
17589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17590 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17591 wxPyEndAllowThreads(__tstate
);
17592 if (PyErr_Occurred()) SWIG_fail
;
17595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17603 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17604 PyObject
*resultobj
= 0;
17605 wxDC
*arg1
= (wxDC
*) 0 ;
17606 wxPoint
*arg2
= 0 ;
17607 wxColour
*arg3
= 0 ;
17608 int arg4
= (int) wxFLOOD_SURFACE
;
17616 PyObject
* obj0
= 0 ;
17617 PyObject
* obj1
= 0 ;
17618 PyObject
* obj2
= 0 ;
17619 PyObject
* obj3
= 0 ;
17620 char * kwnames
[] = {
17621 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17626 if (!SWIG_IsOK(res1
)) {
17627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17629 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17632 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17636 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17639 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17640 if (!SWIG_IsOK(ecode4
)) {
17641 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17643 arg4
= static_cast< int >(val4
);
17646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17647 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17648 wxPyEndAllowThreads(__tstate
);
17649 if (PyErr_Occurred()) SWIG_fail
;
17652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17660 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17661 PyObject
*resultobj
= 0;
17662 wxDC
*arg1
= (wxDC
*) 0 ;
17664 wxColour
*arg3
= 0 ;
17665 wxColour
*arg4
= 0 ;
17666 wxPoint
*arg5
= 0 ;
17673 PyObject
* obj0
= 0 ;
17674 PyObject
* obj1
= 0 ;
17675 PyObject
* obj2
= 0 ;
17676 PyObject
* obj3
= 0 ;
17677 PyObject
* obj4
= 0 ;
17678 char * kwnames
[] = {
17679 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17684 if (!SWIG_IsOK(res1
)) {
17685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17687 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17690 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17694 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17698 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17702 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17706 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17707 wxPyEndAllowThreads(__tstate
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17710 resultobj
= SWIG_Py_Void();
17717 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17718 PyObject
*resultobj
= 0;
17719 wxDC
*arg1
= (wxDC
*) 0 ;
17721 wxColour
*arg3
= 0 ;
17722 wxColour
*arg4
= 0 ;
17723 wxDirection arg5
= (wxDirection
) wxEAST
;
17731 PyObject
* obj0
= 0 ;
17732 PyObject
* obj1
= 0 ;
17733 PyObject
* obj2
= 0 ;
17734 PyObject
* obj3
= 0 ;
17735 PyObject
* obj4
= 0 ;
17736 char * kwnames
[] = {
17737 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17742 if (!SWIG_IsOK(res1
)) {
17743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17745 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17748 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17752 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17756 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17759 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17760 if (!SWIG_IsOK(ecode5
)) {
17761 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17763 arg5
= static_cast< wxDirection
>(val5
);
17766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17767 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17768 wxPyEndAllowThreads(__tstate
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17771 resultobj
= SWIG_Py_Void();
17778 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17779 PyObject
*resultobj
= 0;
17780 wxDC
*arg1
= (wxDC
*) 0 ;
17790 PyObject
* obj0
= 0 ;
17791 PyObject
* obj1
= 0 ;
17792 PyObject
* obj2
= 0 ;
17793 char * kwnames
[] = {
17794 (char *) "self",(char *) "x",(char *) "y", NULL
17797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17799 if (!SWIG_IsOK(res1
)) {
17800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17802 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17804 if (!SWIG_IsOK(ecode2
)) {
17805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17807 arg2
= static_cast< int >(val2
);
17808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17809 if (!SWIG_IsOK(ecode3
)) {
17810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17812 arg3
= static_cast< int >(val3
);
17814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17815 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17816 wxPyEndAllowThreads(__tstate
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17819 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17826 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17827 PyObject
*resultobj
= 0;
17828 wxDC
*arg1
= (wxDC
*) 0 ;
17829 wxPoint
*arg2
= 0 ;
17834 PyObject
* obj0
= 0 ;
17835 PyObject
* obj1
= 0 ;
17836 char * kwnames
[] = {
17837 (char *) "self",(char *) "pt", NULL
17840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17842 if (!SWIG_IsOK(res1
)) {
17843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17845 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17848 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17852 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17853 wxPyEndAllowThreads(__tstate
);
17854 if (PyErr_Occurred()) SWIG_fail
;
17856 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17863 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17864 PyObject
*resultobj
= 0;
17865 wxDC
*arg1
= (wxDC
*) 0 ;
17880 PyObject
* obj0
= 0 ;
17881 PyObject
* obj1
= 0 ;
17882 PyObject
* obj2
= 0 ;
17883 PyObject
* obj3
= 0 ;
17884 PyObject
* obj4
= 0 ;
17885 char * kwnames
[] = {
17886 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17891 if (!SWIG_IsOK(res1
)) {
17892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17894 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17896 if (!SWIG_IsOK(ecode2
)) {
17897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17899 arg2
= static_cast< int >(val2
);
17900 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17901 if (!SWIG_IsOK(ecode3
)) {
17902 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17904 arg3
= static_cast< int >(val3
);
17905 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17906 if (!SWIG_IsOK(ecode4
)) {
17907 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17909 arg4
= static_cast< int >(val4
);
17910 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17911 if (!SWIG_IsOK(ecode5
)) {
17912 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17914 arg5
= static_cast< int >(val5
);
17916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17917 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17918 wxPyEndAllowThreads(__tstate
);
17919 if (PyErr_Occurred()) SWIG_fail
;
17921 resultobj
= SWIG_Py_Void();
17928 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17929 PyObject
*resultobj
= 0;
17930 wxDC
*arg1
= (wxDC
*) 0 ;
17931 wxPoint
*arg2
= 0 ;
17932 wxPoint
*arg3
= 0 ;
17937 PyObject
* obj0
= 0 ;
17938 PyObject
* obj1
= 0 ;
17939 PyObject
* obj2
= 0 ;
17940 char * kwnames
[] = {
17941 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17946 if (!SWIG_IsOK(res1
)) {
17947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17949 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17952 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17956 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17960 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17961 wxPyEndAllowThreads(__tstate
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17964 resultobj
= SWIG_Py_Void();
17971 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17972 PyObject
*resultobj
= 0;
17973 wxDC
*arg1
= (wxDC
*) 0 ;
17982 PyObject
* obj0
= 0 ;
17983 PyObject
* obj1
= 0 ;
17984 PyObject
* obj2
= 0 ;
17985 char * kwnames
[] = {
17986 (char *) "self",(char *) "x",(char *) "y", NULL
17989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17991 if (!SWIG_IsOK(res1
)) {
17992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17994 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17995 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17996 if (!SWIG_IsOK(ecode2
)) {
17997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
17999 arg2
= static_cast< int >(val2
);
18000 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18001 if (!SWIG_IsOK(ecode3
)) {
18002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18004 arg3
= static_cast< int >(val3
);
18006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18007 (arg1
)->CrossHair(arg2
,arg3
);
18008 wxPyEndAllowThreads(__tstate
);
18009 if (PyErr_Occurred()) SWIG_fail
;
18011 resultobj
= SWIG_Py_Void();
18018 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18019 PyObject
*resultobj
= 0;
18020 wxDC
*arg1
= (wxDC
*) 0 ;
18021 wxPoint
*arg2
= 0 ;
18025 PyObject
* obj0
= 0 ;
18026 PyObject
* obj1
= 0 ;
18027 char * kwnames
[] = {
18028 (char *) "self",(char *) "pt", NULL
18031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18033 if (!SWIG_IsOK(res1
)) {
18034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18036 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18039 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18043 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18044 wxPyEndAllowThreads(__tstate
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18047 resultobj
= SWIG_Py_Void();
18054 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18055 PyObject
*resultobj
= 0;
18056 wxDC
*arg1
= (wxDC
*) 0 ;
18077 PyObject
* obj0
= 0 ;
18078 PyObject
* obj1
= 0 ;
18079 PyObject
* obj2
= 0 ;
18080 PyObject
* obj3
= 0 ;
18081 PyObject
* obj4
= 0 ;
18082 PyObject
* obj5
= 0 ;
18083 PyObject
* obj6
= 0 ;
18084 char * kwnames
[] = {
18085 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18090 if (!SWIG_IsOK(res1
)) {
18091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18093 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18095 if (!SWIG_IsOK(ecode2
)) {
18096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18098 arg2
= static_cast< int >(val2
);
18099 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18100 if (!SWIG_IsOK(ecode3
)) {
18101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18103 arg3
= static_cast< int >(val3
);
18104 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18105 if (!SWIG_IsOK(ecode4
)) {
18106 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18108 arg4
= static_cast< int >(val4
);
18109 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18110 if (!SWIG_IsOK(ecode5
)) {
18111 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18113 arg5
= static_cast< int >(val5
);
18114 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18115 if (!SWIG_IsOK(ecode6
)) {
18116 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18118 arg6
= static_cast< int >(val6
);
18119 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18120 if (!SWIG_IsOK(ecode7
)) {
18121 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18123 arg7
= static_cast< int >(val7
);
18125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 resultobj
= SWIG_Py_Void();
18137 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18138 PyObject
*resultobj
= 0;
18139 wxDC
*arg1
= (wxDC
*) 0 ;
18140 wxPoint
*arg2
= 0 ;
18141 wxPoint
*arg3
= 0 ;
18142 wxPoint
*arg4
= 0 ;
18148 PyObject
* obj0
= 0 ;
18149 PyObject
* obj1
= 0 ;
18150 PyObject
* obj2
= 0 ;
18151 PyObject
* obj3
= 0 ;
18152 char * kwnames
[] = {
18153 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18158 if (!SWIG_IsOK(res1
)) {
18159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18161 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18164 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18168 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18172 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18176 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18180 resultobj
= SWIG_Py_Void();
18187 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18188 PyObject
*resultobj
= 0;
18189 wxDC
*arg1
= (wxDC
*) 0 ;
18204 PyObject
* obj0
= 0 ;
18205 PyObject
* obj1
= 0 ;
18206 PyObject
* obj2
= 0 ;
18207 PyObject
* obj3
= 0 ;
18208 PyObject
* obj4
= 0 ;
18209 char * kwnames
[] = {
18210 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18215 if (!SWIG_IsOK(res1
)) {
18216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18218 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18220 if (!SWIG_IsOK(ecode2
)) {
18221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18223 arg2
= static_cast< int >(val2
);
18224 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18225 if (!SWIG_IsOK(ecode3
)) {
18226 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18228 arg3
= static_cast< int >(val3
);
18229 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18230 if (!SWIG_IsOK(ecode4
)) {
18231 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18233 arg4
= static_cast< int >(val4
);
18234 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18235 if (!SWIG_IsOK(ecode5
)) {
18236 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18238 arg5
= static_cast< int >(val5
);
18240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18241 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18242 wxPyEndAllowThreads(__tstate
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18245 resultobj
= SWIG_Py_Void();
18252 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18253 PyObject
*resultobj
= 0;
18254 wxDC
*arg1
= (wxDC
*) 0 ;
18259 PyObject
* obj0
= 0 ;
18260 PyObject
* obj1
= 0 ;
18261 char * kwnames
[] = {
18262 (char *) "self",(char *) "rect", NULL
18265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18267 if (!SWIG_IsOK(res1
)) {
18268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18270 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18273 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18277 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18278 wxPyEndAllowThreads(__tstate
);
18279 if (PyErr_Occurred()) SWIG_fail
;
18281 resultobj
= SWIG_Py_Void();
18288 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18289 PyObject
*resultobj
= 0;
18290 wxDC
*arg1
= (wxDC
*) 0 ;
18311 PyObject
* obj0
= 0 ;
18312 PyObject
* obj1
= 0 ;
18313 PyObject
* obj2
= 0 ;
18314 PyObject
* obj3
= 0 ;
18315 PyObject
* obj4
= 0 ;
18316 PyObject
* obj5
= 0 ;
18317 PyObject
* obj6
= 0 ;
18318 char * kwnames
[] = {
18319 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18324 if (!SWIG_IsOK(res1
)) {
18325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18327 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18329 if (!SWIG_IsOK(ecode2
)) {
18330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18332 arg2
= static_cast< int >(val2
);
18333 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18334 if (!SWIG_IsOK(ecode3
)) {
18335 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18337 arg3
= static_cast< int >(val3
);
18338 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18339 if (!SWIG_IsOK(ecode4
)) {
18340 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18342 arg4
= static_cast< int >(val4
);
18343 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18344 if (!SWIG_IsOK(ecode5
)) {
18345 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18347 arg5
= static_cast< int >(val5
);
18348 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18349 if (!SWIG_IsOK(ecode6
)) {
18350 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18352 arg6
= static_cast< double >(val6
);
18353 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18354 if (!SWIG_IsOK(ecode7
)) {
18355 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18357 arg7
= static_cast< double >(val7
);
18359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18360 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18361 wxPyEndAllowThreads(__tstate
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18364 resultobj
= SWIG_Py_Void();
18371 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18372 PyObject
*resultobj
= 0;
18373 wxDC
*arg1
= (wxDC
*) 0 ;
18374 wxPoint
*arg2
= 0 ;
18386 PyObject
* obj0
= 0 ;
18387 PyObject
* obj1
= 0 ;
18388 PyObject
* obj2
= 0 ;
18389 PyObject
* obj3
= 0 ;
18390 PyObject
* obj4
= 0 ;
18391 char * kwnames
[] = {
18392 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18397 if (!SWIG_IsOK(res1
)) {
18398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18400 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18403 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18407 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18409 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18410 if (!SWIG_IsOK(ecode4
)) {
18411 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18413 arg4
= static_cast< double >(val4
);
18414 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18415 if (!SWIG_IsOK(ecode5
)) {
18416 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18418 arg5
= static_cast< double >(val5
);
18420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18421 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18422 wxPyEndAllowThreads(__tstate
);
18423 if (PyErr_Occurred()) SWIG_fail
;
18425 resultobj
= SWIG_Py_Void();
18432 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18433 PyObject
*resultobj
= 0;
18434 wxDC
*arg1
= (wxDC
*) 0 ;
18443 PyObject
* obj0
= 0 ;
18444 PyObject
* obj1
= 0 ;
18445 PyObject
* obj2
= 0 ;
18446 char * kwnames
[] = {
18447 (char *) "self",(char *) "x",(char *) "y", NULL
18450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18452 if (!SWIG_IsOK(res1
)) {
18453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18455 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18457 if (!SWIG_IsOK(ecode2
)) {
18458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18460 arg2
= static_cast< int >(val2
);
18461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18462 if (!SWIG_IsOK(ecode3
)) {
18463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18465 arg3
= static_cast< int >(val3
);
18467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18468 (arg1
)->DrawPoint(arg2
,arg3
);
18469 wxPyEndAllowThreads(__tstate
);
18470 if (PyErr_Occurred()) SWIG_fail
;
18472 resultobj
= SWIG_Py_Void();
18479 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18480 PyObject
*resultobj
= 0;
18481 wxDC
*arg1
= (wxDC
*) 0 ;
18482 wxPoint
*arg2
= 0 ;
18486 PyObject
* obj0
= 0 ;
18487 PyObject
* obj1
= 0 ;
18488 char * kwnames
[] = {
18489 (char *) "self",(char *) "pt", NULL
18492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18494 if (!SWIG_IsOK(res1
)) {
18495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18497 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18500 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18504 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18505 wxPyEndAllowThreads(__tstate
);
18506 if (PyErr_Occurred()) SWIG_fail
;
18508 resultobj
= SWIG_Py_Void();
18515 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18516 PyObject
*resultobj
= 0;
18517 wxDC
*arg1
= (wxDC
*) 0 ;
18532 PyObject
* obj0
= 0 ;
18533 PyObject
* obj1
= 0 ;
18534 PyObject
* obj2
= 0 ;
18535 PyObject
* obj3
= 0 ;
18536 PyObject
* obj4
= 0 ;
18537 char * kwnames
[] = {
18538 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18543 if (!SWIG_IsOK(res1
)) {
18544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18546 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18548 if (!SWIG_IsOK(ecode2
)) {
18549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18551 arg2
= static_cast< int >(val2
);
18552 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18553 if (!SWIG_IsOK(ecode3
)) {
18554 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18556 arg3
= static_cast< int >(val3
);
18557 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18558 if (!SWIG_IsOK(ecode4
)) {
18559 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18561 arg4
= static_cast< int >(val4
);
18562 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18563 if (!SWIG_IsOK(ecode5
)) {
18564 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18566 arg5
= static_cast< int >(val5
);
18568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18569 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18573 resultobj
= SWIG_Py_Void();
18580 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18581 PyObject
*resultobj
= 0;
18582 wxDC
*arg1
= (wxDC
*) 0 ;
18587 PyObject
* obj0
= 0 ;
18588 PyObject
* obj1
= 0 ;
18589 char * kwnames
[] = {
18590 (char *) "self",(char *) "rect", NULL
18593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18595 if (!SWIG_IsOK(res1
)) {
18596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18598 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18601 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18605 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18606 wxPyEndAllowThreads(__tstate
);
18607 if (PyErr_Occurred()) SWIG_fail
;
18609 resultobj
= SWIG_Py_Void();
18616 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18617 PyObject
*resultobj
= 0;
18618 wxDC
*arg1
= (wxDC
*) 0 ;
18619 wxPoint
*arg2
= 0 ;
18625 PyObject
* obj0
= 0 ;
18626 PyObject
* obj1
= 0 ;
18627 PyObject
* obj2
= 0 ;
18628 char * kwnames
[] = {
18629 (char *) "self",(char *) "pt",(char *) "sz", NULL
18632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18634 if (!SWIG_IsOK(res1
)) {
18635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18637 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18640 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18644 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18648 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18649 wxPyEndAllowThreads(__tstate
);
18650 if (PyErr_Occurred()) SWIG_fail
;
18652 resultobj
= SWIG_Py_Void();
18659 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18660 PyObject
*resultobj
= 0;
18661 wxDC
*arg1
= (wxDC
*) 0 ;
18679 PyObject
* obj0
= 0 ;
18680 PyObject
* obj1
= 0 ;
18681 PyObject
* obj2
= 0 ;
18682 PyObject
* obj3
= 0 ;
18683 PyObject
* obj4
= 0 ;
18684 PyObject
* obj5
= 0 ;
18685 char * kwnames
[] = {
18686 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18691 if (!SWIG_IsOK(res1
)) {
18692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18694 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18696 if (!SWIG_IsOK(ecode2
)) {
18697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18699 arg2
= static_cast< int >(val2
);
18700 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18701 if (!SWIG_IsOK(ecode3
)) {
18702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18704 arg3
= static_cast< int >(val3
);
18705 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18706 if (!SWIG_IsOK(ecode4
)) {
18707 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18709 arg4
= static_cast< int >(val4
);
18710 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18711 if (!SWIG_IsOK(ecode5
)) {
18712 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18714 arg5
= static_cast< int >(val5
);
18715 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18716 if (!SWIG_IsOK(ecode6
)) {
18717 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18719 arg6
= static_cast< double >(val6
);
18721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18722 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 resultobj
= SWIG_Py_Void();
18733 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18734 PyObject
*resultobj
= 0;
18735 wxDC
*arg1
= (wxDC
*) 0 ;
18743 PyObject
* obj0
= 0 ;
18744 PyObject
* obj1
= 0 ;
18745 PyObject
* obj2
= 0 ;
18746 char * kwnames
[] = {
18747 (char *) "self",(char *) "r",(char *) "radius", NULL
18750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18752 if (!SWIG_IsOK(res1
)) {
18753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18755 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18758 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18760 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18761 if (!SWIG_IsOK(ecode3
)) {
18762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18764 arg3
= static_cast< double >(val3
);
18766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18767 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18768 wxPyEndAllowThreads(__tstate
);
18769 if (PyErr_Occurred()) SWIG_fail
;
18771 resultobj
= SWIG_Py_Void();
18778 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18779 PyObject
*resultobj
= 0;
18780 wxDC
*arg1
= (wxDC
*) 0 ;
18781 wxPoint
*arg2
= 0 ;
18790 PyObject
* obj0
= 0 ;
18791 PyObject
* obj1
= 0 ;
18792 PyObject
* obj2
= 0 ;
18793 PyObject
* obj3
= 0 ;
18794 char * kwnames
[] = {
18795 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18800 if (!SWIG_IsOK(res1
)) {
18801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18803 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18806 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18810 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18812 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18813 if (!SWIG_IsOK(ecode4
)) {
18814 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18816 arg4
= static_cast< double >(val4
);
18818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18819 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18820 wxPyEndAllowThreads(__tstate
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18823 resultobj
= SWIG_Py_Void();
18830 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18831 PyObject
*resultobj
= 0;
18832 wxDC
*arg1
= (wxDC
*) 0 ;
18844 PyObject
* obj0
= 0 ;
18845 PyObject
* obj1
= 0 ;
18846 PyObject
* obj2
= 0 ;
18847 PyObject
* obj3
= 0 ;
18848 char * kwnames
[] = {
18849 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18854 if (!SWIG_IsOK(res1
)) {
18855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18857 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18859 if (!SWIG_IsOK(ecode2
)) {
18860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18862 arg2
= static_cast< int >(val2
);
18863 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18864 if (!SWIG_IsOK(ecode3
)) {
18865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18867 arg3
= static_cast< int >(val3
);
18868 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18869 if (!SWIG_IsOK(ecode4
)) {
18870 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18872 arg4
= static_cast< int >(val4
);
18874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18875 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18876 wxPyEndAllowThreads(__tstate
);
18877 if (PyErr_Occurred()) SWIG_fail
;
18879 resultobj
= SWIG_Py_Void();
18886 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18887 PyObject
*resultobj
= 0;
18888 wxDC
*arg1
= (wxDC
*) 0 ;
18889 wxPoint
*arg2
= 0 ;
18896 PyObject
* obj0
= 0 ;
18897 PyObject
* obj1
= 0 ;
18898 PyObject
* obj2
= 0 ;
18899 char * kwnames
[] = {
18900 (char *) "self",(char *) "pt",(char *) "radius", NULL
18903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18905 if (!SWIG_IsOK(res1
)) {
18906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18908 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18911 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18913 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18914 if (!SWIG_IsOK(ecode3
)) {
18915 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18917 arg3
= static_cast< int >(val3
);
18919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18920 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18921 wxPyEndAllowThreads(__tstate
);
18922 if (PyErr_Occurred()) SWIG_fail
;
18924 resultobj
= SWIG_Py_Void();
18931 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18932 PyObject
*resultobj
= 0;
18933 wxDC
*arg1
= (wxDC
*) 0 ;
18948 PyObject
* obj0
= 0 ;
18949 PyObject
* obj1
= 0 ;
18950 PyObject
* obj2
= 0 ;
18951 PyObject
* obj3
= 0 ;
18952 PyObject
* obj4
= 0 ;
18953 char * kwnames
[] = {
18954 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18959 if (!SWIG_IsOK(res1
)) {
18960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18962 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18964 if (!SWIG_IsOK(ecode2
)) {
18965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18967 arg2
= static_cast< int >(val2
);
18968 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18969 if (!SWIG_IsOK(ecode3
)) {
18970 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18972 arg3
= static_cast< int >(val3
);
18973 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18974 if (!SWIG_IsOK(ecode4
)) {
18975 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18977 arg4
= static_cast< int >(val4
);
18978 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18979 if (!SWIG_IsOK(ecode5
)) {
18980 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18982 arg5
= static_cast< int >(val5
);
18984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18985 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18986 wxPyEndAllowThreads(__tstate
);
18987 if (PyErr_Occurred()) SWIG_fail
;
18989 resultobj
= SWIG_Py_Void();
18996 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18997 PyObject
*resultobj
= 0;
18998 wxDC
*arg1
= (wxDC
*) 0 ;
19003 PyObject
* obj0
= 0 ;
19004 PyObject
* obj1
= 0 ;
19005 char * kwnames
[] = {
19006 (char *) "self",(char *) "rect", NULL
19009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19011 if (!SWIG_IsOK(res1
)) {
19012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19014 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19017 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19021 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19022 wxPyEndAllowThreads(__tstate
);
19023 if (PyErr_Occurred()) SWIG_fail
;
19025 resultobj
= SWIG_Py_Void();
19032 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19033 PyObject
*resultobj
= 0;
19034 wxDC
*arg1
= (wxDC
*) 0 ;
19035 wxPoint
*arg2
= 0 ;
19041 PyObject
* obj0
= 0 ;
19042 PyObject
* obj1
= 0 ;
19043 PyObject
* obj2
= 0 ;
19044 char * kwnames
[] = {
19045 (char *) "self",(char *) "pt",(char *) "sz", NULL
19048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19050 if (!SWIG_IsOK(res1
)) {
19051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19053 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19056 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19060 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19064 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19065 wxPyEndAllowThreads(__tstate
);
19066 if (PyErr_Occurred()) SWIG_fail
;
19068 resultobj
= SWIG_Py_Void();
19075 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19076 PyObject
*resultobj
= 0;
19077 wxDC
*arg1
= (wxDC
*) 0 ;
19089 PyObject
* obj0
= 0 ;
19090 PyObject
* obj1
= 0 ;
19091 PyObject
* obj2
= 0 ;
19092 PyObject
* obj3
= 0 ;
19093 char * kwnames
[] = {
19094 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19099 if (!SWIG_IsOK(res1
)) {
19100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19102 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19103 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19104 if (!SWIG_IsOK(res2
)) {
19105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19108 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19110 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19111 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19112 if (!SWIG_IsOK(ecode3
)) {
19113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19115 arg3
= static_cast< int >(val3
);
19116 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19117 if (!SWIG_IsOK(ecode4
)) {
19118 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19120 arg4
= static_cast< int >(val4
);
19122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19123 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19127 resultobj
= SWIG_Py_Void();
19134 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
= 0;
19136 wxDC
*arg1
= (wxDC
*) 0 ;
19138 wxPoint
*arg3
= 0 ;
19144 PyObject
* obj0
= 0 ;
19145 PyObject
* obj1
= 0 ;
19146 PyObject
* obj2
= 0 ;
19147 char * kwnames
[] = {
19148 (char *) "self",(char *) "icon",(char *) "pt", NULL
19151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19153 if (!SWIG_IsOK(res1
)) {
19154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19156 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19157 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19158 if (!SWIG_IsOK(res2
)) {
19159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19164 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19167 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19171 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19172 wxPyEndAllowThreads(__tstate
);
19173 if (PyErr_Occurred()) SWIG_fail
;
19175 resultobj
= SWIG_Py_Void();
19182 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19183 PyObject
*resultobj
= 0;
19184 wxDC
*arg1
= (wxDC
*) 0 ;
19185 wxBitmap
*arg2
= 0 ;
19188 bool arg5
= (bool) false ;
19199 PyObject
* obj0
= 0 ;
19200 PyObject
* obj1
= 0 ;
19201 PyObject
* obj2
= 0 ;
19202 PyObject
* obj3
= 0 ;
19203 PyObject
* obj4
= 0 ;
19204 char * kwnames
[] = {
19205 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19210 if (!SWIG_IsOK(res1
)) {
19211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19213 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19214 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19215 if (!SWIG_IsOK(res2
)) {
19216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19221 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19222 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19223 if (!SWIG_IsOK(ecode3
)) {
19224 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19226 arg3
= static_cast< int >(val3
);
19227 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19228 if (!SWIG_IsOK(ecode4
)) {
19229 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19231 arg4
= static_cast< int >(val4
);
19233 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19234 if (!SWIG_IsOK(ecode5
)) {
19235 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19237 arg5
= static_cast< bool >(val5
);
19240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19241 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19242 wxPyEndAllowThreads(__tstate
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19245 resultobj
= SWIG_Py_Void();
19252 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19253 PyObject
*resultobj
= 0;
19254 wxDC
*arg1
= (wxDC
*) 0 ;
19255 wxBitmap
*arg2
= 0 ;
19256 wxPoint
*arg3
= 0 ;
19257 bool arg4
= (bool) false ;
19265 PyObject
* obj0
= 0 ;
19266 PyObject
* obj1
= 0 ;
19267 PyObject
* obj2
= 0 ;
19268 PyObject
* obj3
= 0 ;
19269 char * kwnames
[] = {
19270 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19275 if (!SWIG_IsOK(res1
)) {
19276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19278 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19279 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19280 if (!SWIG_IsOK(res2
)) {
19281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19286 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19289 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19292 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19293 if (!SWIG_IsOK(ecode4
)) {
19294 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19296 arg4
= static_cast< bool >(val4
);
19299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19300 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19301 wxPyEndAllowThreads(__tstate
);
19302 if (PyErr_Occurred()) SWIG_fail
;
19304 resultobj
= SWIG_Py_Void();
19311 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19312 PyObject
*resultobj
= 0;
19313 wxDC
*arg1
= (wxDC
*) 0 ;
19314 wxString
*arg2
= 0 ;
19319 bool temp2
= false ;
19324 PyObject
* obj0
= 0 ;
19325 PyObject
* obj1
= 0 ;
19326 PyObject
* obj2
= 0 ;
19327 PyObject
* obj3
= 0 ;
19328 char * kwnames
[] = {
19329 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19334 if (!SWIG_IsOK(res1
)) {
19335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19337 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19339 arg2
= wxString_in_helper(obj1
);
19340 if (arg2
== NULL
) SWIG_fail
;
19343 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19344 if (!SWIG_IsOK(ecode3
)) {
19345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19347 arg3
= static_cast< int >(val3
);
19348 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19349 if (!SWIG_IsOK(ecode4
)) {
19350 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19352 arg4
= static_cast< int >(val4
);
19354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19355 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19356 wxPyEndAllowThreads(__tstate
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19359 resultobj
= SWIG_Py_Void();
19374 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19375 PyObject
*resultobj
= 0;
19376 wxDC
*arg1
= (wxDC
*) 0 ;
19377 wxString
*arg2
= 0 ;
19378 wxPoint
*arg3
= 0 ;
19381 bool temp2
= false ;
19383 PyObject
* obj0
= 0 ;
19384 PyObject
* obj1
= 0 ;
19385 PyObject
* obj2
= 0 ;
19386 char * kwnames
[] = {
19387 (char *) "self",(char *) "text",(char *) "pt", NULL
19390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19392 if (!SWIG_IsOK(res1
)) {
19393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19395 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19397 arg2
= wxString_in_helper(obj1
);
19398 if (arg2
== NULL
) SWIG_fail
;
19403 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19407 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19408 wxPyEndAllowThreads(__tstate
);
19409 if (PyErr_Occurred()) SWIG_fail
;
19411 resultobj
= SWIG_Py_Void();
19426 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19427 PyObject
*resultobj
= 0;
19428 wxDC
*arg1
= (wxDC
*) 0 ;
19429 wxString
*arg2
= 0 ;
19435 bool temp2
= false ;
19442 PyObject
* obj0
= 0 ;
19443 PyObject
* obj1
= 0 ;
19444 PyObject
* obj2
= 0 ;
19445 PyObject
* obj3
= 0 ;
19446 PyObject
* obj4
= 0 ;
19447 char * kwnames
[] = {
19448 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19453 if (!SWIG_IsOK(res1
)) {
19454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19458 arg2
= wxString_in_helper(obj1
);
19459 if (arg2
== NULL
) SWIG_fail
;
19462 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19463 if (!SWIG_IsOK(ecode3
)) {
19464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19466 arg3
= static_cast< int >(val3
);
19467 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19468 if (!SWIG_IsOK(ecode4
)) {
19469 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19471 arg4
= static_cast< int >(val4
);
19472 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19473 if (!SWIG_IsOK(ecode5
)) {
19474 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19476 arg5
= static_cast< double >(val5
);
19478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19479 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19480 wxPyEndAllowThreads(__tstate
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19483 resultobj
= SWIG_Py_Void();
19498 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19499 PyObject
*resultobj
= 0;
19500 wxDC
*arg1
= (wxDC
*) 0 ;
19501 wxString
*arg2
= 0 ;
19502 wxPoint
*arg3
= 0 ;
19506 bool temp2
= false ;
19510 PyObject
* obj0
= 0 ;
19511 PyObject
* obj1
= 0 ;
19512 PyObject
* obj2
= 0 ;
19513 PyObject
* obj3
= 0 ;
19514 char * kwnames
[] = {
19515 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19520 if (!SWIG_IsOK(res1
)) {
19521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19523 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19525 arg2
= wxString_in_helper(obj1
);
19526 if (arg2
== NULL
) SWIG_fail
;
19531 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19533 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19534 if (!SWIG_IsOK(ecode4
)) {
19535 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19537 arg4
= static_cast< double >(val4
);
19539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19540 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19541 wxPyEndAllowThreads(__tstate
);
19542 if (PyErr_Occurred()) SWIG_fail
;
19544 resultobj
= SWIG_Py_Void();
19559 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19560 PyObject
*resultobj
= 0;
19561 wxDC
*arg1
= (wxDC
*) 0 ;
19566 wxDC
*arg6
= (wxDC
*) 0 ;
19569 int arg9
= (int) wxCOPY
;
19570 bool arg10
= (bool) false ;
19571 int arg11
= (int) -1 ;
19572 int arg12
= (int) -1 ;
19598 PyObject
* obj0
= 0 ;
19599 PyObject
* obj1
= 0 ;
19600 PyObject
* obj2
= 0 ;
19601 PyObject
* obj3
= 0 ;
19602 PyObject
* obj4
= 0 ;
19603 PyObject
* obj5
= 0 ;
19604 PyObject
* obj6
= 0 ;
19605 PyObject
* obj7
= 0 ;
19606 PyObject
* obj8
= 0 ;
19607 PyObject
* obj9
= 0 ;
19608 PyObject
* obj10
= 0 ;
19609 PyObject
* obj11
= 0 ;
19610 char * kwnames
[] = {
19611 (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
19614 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
;
19615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19616 if (!SWIG_IsOK(res1
)) {
19617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19619 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19620 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19621 if (!SWIG_IsOK(ecode2
)) {
19622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19624 arg2
= static_cast< int >(val2
);
19625 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19626 if (!SWIG_IsOK(ecode3
)) {
19627 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19629 arg3
= static_cast< int >(val3
);
19630 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19631 if (!SWIG_IsOK(ecode4
)) {
19632 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19634 arg4
= static_cast< int >(val4
);
19635 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19636 if (!SWIG_IsOK(ecode5
)) {
19637 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19639 arg5
= static_cast< int >(val5
);
19640 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19641 if (!SWIG_IsOK(res6
)) {
19642 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19644 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19645 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19646 if (!SWIG_IsOK(ecode7
)) {
19647 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19649 arg7
= static_cast< int >(val7
);
19650 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19651 if (!SWIG_IsOK(ecode8
)) {
19652 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19654 arg8
= static_cast< int >(val8
);
19656 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19657 if (!SWIG_IsOK(ecode9
)) {
19658 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19660 arg9
= static_cast< int >(val9
);
19663 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19664 if (!SWIG_IsOK(ecode10
)) {
19665 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19667 arg10
= static_cast< bool >(val10
);
19670 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19671 if (!SWIG_IsOK(ecode11
)) {
19672 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19674 arg11
= static_cast< int >(val11
);
19677 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19678 if (!SWIG_IsOK(ecode12
)) {
19679 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19681 arg12
= static_cast< int >(val12
);
19684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19685 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19686 wxPyEndAllowThreads(__tstate
);
19687 if (PyErr_Occurred()) SWIG_fail
;
19690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19698 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19699 PyObject
*resultobj
= 0;
19700 wxDC
*arg1
= (wxDC
*) 0 ;
19701 wxPoint
*arg2
= 0 ;
19703 wxDC
*arg4
= (wxDC
*) 0 ;
19704 wxPoint
*arg5
= 0 ;
19705 int arg6
= (int) wxCOPY
;
19706 bool arg7
= (bool) false ;
19707 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19708 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19722 PyObject
* obj0
= 0 ;
19723 PyObject
* obj1
= 0 ;
19724 PyObject
* obj2
= 0 ;
19725 PyObject
* obj3
= 0 ;
19726 PyObject
* obj4
= 0 ;
19727 PyObject
* obj5
= 0 ;
19728 PyObject
* obj6
= 0 ;
19729 PyObject
* obj7
= 0 ;
19730 char * kwnames
[] = {
19731 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19736 if (!SWIG_IsOK(res1
)) {
19737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19739 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19742 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19746 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19748 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19749 if (!SWIG_IsOK(res4
)) {
19750 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19752 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19755 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19758 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19759 if (!SWIG_IsOK(ecode6
)) {
19760 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19762 arg6
= static_cast< int >(val6
);
19765 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19766 if (!SWIG_IsOK(ecode7
)) {
19767 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19769 arg7
= static_cast< bool >(val7
);
19774 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19779 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19780 wxPyEndAllowThreads(__tstate
);
19781 if (PyErr_Occurred()) SWIG_fail
;
19784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19792 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19793 PyObject
*resultobj
= 0;
19794 wxDC
*arg1
= (wxDC
*) 0 ;
19795 wxRect
*arg2
= (wxRect
*) NULL
;
19796 SwigValueWrapper
<wxBitmap
> result
;
19801 PyObject
* obj0
= 0 ;
19802 PyObject
* obj1
= 0 ;
19803 char * kwnames
[] = {
19804 (char *) "self",(char *) "subrect", NULL
19807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19809 if (!SWIG_IsOK(res1
)) {
19810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19812 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19814 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
19815 if (!SWIG_IsOK(res2
)) {
19816 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
19818 arg2
= reinterpret_cast< wxRect
* >(argp2
);
19821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19822 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
19823 wxPyEndAllowThreads(__tstate
);
19824 if (PyErr_Occurred()) SWIG_fail
;
19826 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19833 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19834 PyObject
*resultobj
= 0;
19835 wxDC
*arg1
= (wxDC
*) 0 ;
19850 PyObject
* obj0
= 0 ;
19851 PyObject
* obj1
= 0 ;
19852 PyObject
* obj2
= 0 ;
19853 PyObject
* obj3
= 0 ;
19854 PyObject
* obj4
= 0 ;
19855 char * kwnames
[] = {
19856 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19861 if (!SWIG_IsOK(res1
)) {
19862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19864 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19866 if (!SWIG_IsOK(ecode2
)) {
19867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19869 arg2
= static_cast< int >(val2
);
19870 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19871 if (!SWIG_IsOK(ecode3
)) {
19872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19874 arg3
= static_cast< int >(val3
);
19875 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19876 if (!SWIG_IsOK(ecode4
)) {
19877 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19879 arg4
= static_cast< int >(val4
);
19880 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19881 if (!SWIG_IsOK(ecode5
)) {
19882 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19884 arg5
= static_cast< int >(val5
);
19886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19887 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19888 wxPyEndAllowThreads(__tstate
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19891 resultobj
= SWIG_Py_Void();
19898 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19899 PyObject
*resultobj
= 0;
19900 wxDC
*arg1
= (wxDC
*) 0 ;
19901 wxPoint
*arg2
= 0 ;
19907 PyObject
* obj0
= 0 ;
19908 PyObject
* obj1
= 0 ;
19909 PyObject
* obj2
= 0 ;
19910 char * kwnames
[] = {
19911 (char *) "self",(char *) "pt",(char *) "sz", NULL
19914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19916 if (!SWIG_IsOK(res1
)) {
19917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19919 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19922 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19926 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19930 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19931 wxPyEndAllowThreads(__tstate
);
19932 if (PyErr_Occurred()) SWIG_fail
;
19934 resultobj
= SWIG_Py_Void();
19941 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19942 PyObject
*resultobj
= 0;
19943 wxDC
*arg1
= (wxDC
*) 0 ;
19944 wxRegion
*arg2
= 0 ;
19949 PyObject
* obj0
= 0 ;
19950 PyObject
* obj1
= 0 ;
19951 char * kwnames
[] = {
19952 (char *) "self",(char *) "region", NULL
19955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19957 if (!SWIG_IsOK(res1
)) {
19958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19960 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19961 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19962 if (!SWIG_IsOK(res2
)) {
19963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19968 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19972 wxPyEndAllowThreads(__tstate
);
19973 if (PyErr_Occurred()) SWIG_fail
;
19975 resultobj
= SWIG_Py_Void();
19982 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19983 PyObject
*resultobj
= 0;
19984 wxDC
*arg1
= (wxDC
*) 0 ;
19989 PyObject
* obj0
= 0 ;
19990 PyObject
* obj1
= 0 ;
19991 char * kwnames
[] = {
19992 (char *) "self",(char *) "rect", NULL
19995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19997 if (!SWIG_IsOK(res1
)) {
19998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20000 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20003 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20007 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20008 wxPyEndAllowThreads(__tstate
);
20009 if (PyErr_Occurred()) SWIG_fail
;
20011 resultobj
= SWIG_Py_Void();
20018 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20019 PyObject
*resultobj
= 0;
20020 wxDC
*arg1
= (wxDC
*) 0 ;
20022 wxPoint
*arg3
= (wxPoint
*) 0 ;
20023 int arg4
= (int) 0 ;
20024 int arg5
= (int) 0 ;
20031 PyObject
* obj0
= 0 ;
20032 PyObject
* obj1
= 0 ;
20033 PyObject
* obj2
= 0 ;
20034 PyObject
* obj3
= 0 ;
20035 char * kwnames
[] = {
20036 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20041 if (!SWIG_IsOK(res1
)) {
20042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20044 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20046 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20047 if (arg3
== NULL
) SWIG_fail
;
20050 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20051 if (!SWIG_IsOK(ecode4
)) {
20052 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20054 arg4
= static_cast< int >(val4
);
20057 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20058 if (!SWIG_IsOK(ecode5
)) {
20059 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20061 arg5
= static_cast< int >(val5
);
20064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20065 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20066 wxPyEndAllowThreads(__tstate
);
20067 if (PyErr_Occurred()) SWIG_fail
;
20069 resultobj
= SWIG_Py_Void();
20071 if (arg3
) delete [] arg3
;
20076 if (arg3
) delete [] arg3
;
20082 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20083 PyObject
*resultobj
= 0;
20084 wxDC
*arg1
= (wxDC
*) 0 ;
20086 wxPoint
*arg3
= (wxPoint
*) 0 ;
20087 int arg4
= (int) 0 ;
20088 int arg5
= (int) 0 ;
20089 int arg6
= (int) wxODDEVEN_RULE
;
20098 PyObject
* obj0
= 0 ;
20099 PyObject
* obj1
= 0 ;
20100 PyObject
* obj2
= 0 ;
20101 PyObject
* obj3
= 0 ;
20102 PyObject
* obj4
= 0 ;
20103 char * kwnames
[] = {
20104 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20109 if (!SWIG_IsOK(res1
)) {
20110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20112 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20114 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20115 if (arg3
== NULL
) SWIG_fail
;
20118 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20119 if (!SWIG_IsOK(ecode4
)) {
20120 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20122 arg4
= static_cast< int >(val4
);
20125 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20126 if (!SWIG_IsOK(ecode5
)) {
20127 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20129 arg5
= static_cast< int >(val5
);
20132 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20133 if (!SWIG_IsOK(ecode6
)) {
20134 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20136 arg6
= static_cast< int >(val6
);
20139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20140 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20141 wxPyEndAllowThreads(__tstate
);
20142 if (PyErr_Occurred()) SWIG_fail
;
20144 resultobj
= SWIG_Py_Void();
20146 if (arg3
) delete [] arg3
;
20151 if (arg3
) delete [] arg3
;
20157 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20158 PyObject
*resultobj
= 0;
20159 wxDC
*arg1
= (wxDC
*) 0 ;
20160 wxString
*arg2
= 0 ;
20162 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20163 int arg5
= (int) -1 ;
20166 bool temp2
= false ;
20172 PyObject
* obj0
= 0 ;
20173 PyObject
* obj1
= 0 ;
20174 PyObject
* obj2
= 0 ;
20175 PyObject
* obj3
= 0 ;
20176 PyObject
* obj4
= 0 ;
20177 char * kwnames
[] = {
20178 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20183 if (!SWIG_IsOK(res1
)) {
20184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20186 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20188 arg2
= wxString_in_helper(obj1
);
20189 if (arg2
== NULL
) SWIG_fail
;
20194 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20197 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20198 if (!SWIG_IsOK(ecode4
)) {
20199 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20201 arg4
= static_cast< int >(val4
);
20204 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20205 if (!SWIG_IsOK(ecode5
)) {
20206 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20208 arg5
= static_cast< int >(val5
);
20211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20212 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20213 wxPyEndAllowThreads(__tstate
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20216 resultobj
= SWIG_Py_Void();
20231 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20232 PyObject
*resultobj
= 0;
20233 wxDC
*arg1
= (wxDC
*) 0 ;
20234 wxString
*arg2
= 0 ;
20235 wxBitmap
*arg3
= 0 ;
20237 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20238 int arg6
= (int) -1 ;
20242 bool temp2
= false ;
20250 PyObject
* obj0
= 0 ;
20251 PyObject
* obj1
= 0 ;
20252 PyObject
* obj2
= 0 ;
20253 PyObject
* obj3
= 0 ;
20254 PyObject
* obj4
= 0 ;
20255 PyObject
* obj5
= 0 ;
20256 char * kwnames
[] = {
20257 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20262 if (!SWIG_IsOK(res1
)) {
20263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20265 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20267 arg2
= wxString_in_helper(obj1
);
20268 if (arg2
== NULL
) SWIG_fail
;
20271 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20272 if (!SWIG_IsOK(res3
)) {
20273 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20278 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20281 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20284 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20285 if (!SWIG_IsOK(ecode5
)) {
20286 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20288 arg5
= static_cast< int >(val5
);
20291 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20292 if (!SWIG_IsOK(ecode6
)) {
20293 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20295 arg6
= static_cast< int >(val6
);
20298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20299 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20300 wxPyEndAllowThreads(__tstate
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20303 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20318 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20319 PyObject
*resultobj
= 0;
20320 wxDC
*arg1
= (wxDC
*) 0 ;
20322 wxPoint
*arg3
= (wxPoint
*) 0 ;
20325 PyObject
* obj0
= 0 ;
20326 PyObject
* obj1
= 0 ;
20327 char * kwnames
[] = {
20328 (char *) "self",(char *) "points", NULL
20331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20333 if (!SWIG_IsOK(res1
)) {
20334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20336 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20338 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20339 if (arg3
== NULL
) SWIG_fail
;
20342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20343 (arg1
)->DrawSpline(arg2
,arg3
);
20344 wxPyEndAllowThreads(__tstate
);
20345 if (PyErr_Occurred()) SWIG_fail
;
20347 resultobj
= SWIG_Py_Void();
20349 if (arg3
) delete [] arg3
;
20354 if (arg3
) delete [] arg3
;
20360 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20361 PyObject
*resultobj
= 0;
20362 wxDC
*arg1
= (wxDC
*) 0 ;
20365 PyObject
*swig_obj
[1] ;
20367 if (!args
) SWIG_fail
;
20368 swig_obj
[0] = args
;
20369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20370 if (!SWIG_IsOK(res1
)) {
20371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20373 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20377 wxPyEndAllowThreads(__tstate
);
20378 if (PyErr_Occurred()) SWIG_fail
;
20380 resultobj
= SWIG_Py_Void();
20387 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20388 PyObject
*resultobj
= 0;
20389 wxDC
*arg1
= (wxDC
*) 0 ;
20390 wxString
*arg2
= 0 ;
20394 bool temp2
= false ;
20395 PyObject
* obj0
= 0 ;
20396 PyObject
* obj1
= 0 ;
20397 char * kwnames
[] = {
20398 (char *) "self",(char *) "message", NULL
20401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20403 if (!SWIG_IsOK(res1
)) {
20404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20406 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20408 arg2
= wxString_in_helper(obj1
);
20409 if (arg2
== NULL
) SWIG_fail
;
20413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20414 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20415 wxPyEndAllowThreads(__tstate
);
20416 if (PyErr_Occurred()) SWIG_fail
;
20419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20435 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20436 PyObject
*resultobj
= 0;
20437 wxDC
*arg1
= (wxDC
*) 0 ;
20440 PyObject
*swig_obj
[1] ;
20442 if (!args
) SWIG_fail
;
20443 swig_obj
[0] = args
;
20444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20445 if (!SWIG_IsOK(res1
)) {
20446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20448 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20452 wxPyEndAllowThreads(__tstate
);
20453 if (PyErr_Occurred()) SWIG_fail
;
20455 resultobj
= SWIG_Py_Void();
20462 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20463 PyObject
*resultobj
= 0;
20464 wxDC
*arg1
= (wxDC
*) 0 ;
20467 PyObject
*swig_obj
[1] ;
20469 if (!args
) SWIG_fail
;
20470 swig_obj
[0] = args
;
20471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20472 if (!SWIG_IsOK(res1
)) {
20473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20475 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 (arg1
)->StartPage();
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20482 resultobj
= SWIG_Py_Void();
20489 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20490 PyObject
*resultobj
= 0;
20491 wxDC
*arg1
= (wxDC
*) 0 ;
20494 PyObject
*swig_obj
[1] ;
20496 if (!args
) SWIG_fail
;
20497 swig_obj
[0] = args
;
20498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20499 if (!SWIG_IsOK(res1
)) {
20500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20502 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20506 wxPyEndAllowThreads(__tstate
);
20507 if (PyErr_Occurred()) SWIG_fail
;
20509 resultobj
= SWIG_Py_Void();
20516 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20517 PyObject
*resultobj
= 0;
20518 wxDC
*arg1
= (wxDC
*) 0 ;
20524 PyObject
* obj0
= 0 ;
20525 PyObject
* obj1
= 0 ;
20526 char * kwnames
[] = {
20527 (char *) "self",(char *) "font", NULL
20530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20532 if (!SWIG_IsOK(res1
)) {
20533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20535 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20536 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20537 if (!SWIG_IsOK(res2
)) {
20538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20543 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20546 (arg1
)->SetFont((wxFont
const &)*arg2
);
20547 wxPyEndAllowThreads(__tstate
);
20548 if (PyErr_Occurred()) SWIG_fail
;
20550 resultobj
= SWIG_Py_Void();
20557 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20558 PyObject
*resultobj
= 0;
20559 wxDC
*arg1
= (wxDC
*) 0 ;
20565 PyObject
* obj0
= 0 ;
20566 PyObject
* obj1
= 0 ;
20567 char * kwnames
[] = {
20568 (char *) "self",(char *) "pen", NULL
20571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20573 if (!SWIG_IsOK(res1
)) {
20574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20576 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20577 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20578 if (!SWIG_IsOK(res2
)) {
20579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20584 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20587 (arg1
)->SetPen((wxPen
const &)*arg2
);
20588 wxPyEndAllowThreads(__tstate
);
20589 if (PyErr_Occurred()) SWIG_fail
;
20591 resultobj
= SWIG_Py_Void();
20598 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20599 PyObject
*resultobj
= 0;
20600 wxDC
*arg1
= (wxDC
*) 0 ;
20601 wxBrush
*arg2
= 0 ;
20606 PyObject
* obj0
= 0 ;
20607 PyObject
* obj1
= 0 ;
20608 char * kwnames
[] = {
20609 (char *) "self",(char *) "brush", NULL
20612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20614 if (!SWIG_IsOK(res1
)) {
20615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20617 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20618 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20619 if (!SWIG_IsOK(res2
)) {
20620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20625 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20628 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20629 wxPyEndAllowThreads(__tstate
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20632 resultobj
= SWIG_Py_Void();
20639 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20640 PyObject
*resultobj
= 0;
20641 wxDC
*arg1
= (wxDC
*) 0 ;
20642 wxBrush
*arg2
= 0 ;
20647 PyObject
* obj0
= 0 ;
20648 PyObject
* obj1
= 0 ;
20649 char * kwnames
[] = {
20650 (char *) "self",(char *) "brush", NULL
20653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20655 if (!SWIG_IsOK(res1
)) {
20656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20658 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20659 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20660 if (!SWIG_IsOK(res2
)) {
20661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20666 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20669 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20670 wxPyEndAllowThreads(__tstate
);
20671 if (PyErr_Occurred()) SWIG_fail
;
20673 resultobj
= SWIG_Py_Void();
20680 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20681 PyObject
*resultobj
= 0;
20682 wxDC
*arg1
= (wxDC
*) 0 ;
20688 PyObject
* obj0
= 0 ;
20689 PyObject
* obj1
= 0 ;
20690 char * kwnames
[] = {
20691 (char *) "self",(char *) "mode", NULL
20694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20696 if (!SWIG_IsOK(res1
)) {
20697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20699 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20701 if (!SWIG_IsOK(ecode2
)) {
20702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20704 arg2
= static_cast< int >(val2
);
20706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20707 (arg1
)->SetBackgroundMode(arg2
);
20708 wxPyEndAllowThreads(__tstate
);
20709 if (PyErr_Occurred()) SWIG_fail
;
20711 resultobj
= SWIG_Py_Void();
20718 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20719 PyObject
*resultobj
= 0;
20720 wxDC
*arg1
= (wxDC
*) 0 ;
20721 wxPalette
*arg2
= 0 ;
20726 PyObject
* obj0
= 0 ;
20727 PyObject
* obj1
= 0 ;
20728 char * kwnames
[] = {
20729 (char *) "self",(char *) "palette", NULL
20732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20734 if (!SWIG_IsOK(res1
)) {
20735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20737 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20738 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20739 if (!SWIG_IsOK(res2
)) {
20740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20743 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20745 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20748 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20749 wxPyEndAllowThreads(__tstate
);
20750 if (PyErr_Occurred()) SWIG_fail
;
20752 resultobj
= SWIG_Py_Void();
20759 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20760 PyObject
*resultobj
= 0;
20761 wxDC
*arg1
= (wxDC
*) 0 ;
20764 PyObject
*swig_obj
[1] ;
20766 if (!args
) SWIG_fail
;
20767 swig_obj
[0] = args
;
20768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20769 if (!SWIG_IsOK(res1
)) {
20770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20772 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20775 (arg1
)->DestroyClippingRegion();
20776 wxPyEndAllowThreads(__tstate
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20779 resultobj
= SWIG_Py_Void();
20786 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20787 PyObject
*resultobj
= 0;
20788 wxDC
*arg1
= (wxDC
*) 0 ;
20789 int *arg2
= (int *) 0 ;
20790 int *arg3
= (int *) 0 ;
20791 int *arg4
= (int *) 0 ;
20792 int *arg5
= (int *) 0 ;
20796 int res2
= SWIG_TMPOBJ
;
20798 int res3
= SWIG_TMPOBJ
;
20800 int res4
= SWIG_TMPOBJ
;
20802 int res5
= SWIG_TMPOBJ
;
20803 PyObject
*swig_obj
[1] ;
20809 if (!args
) SWIG_fail
;
20810 swig_obj
[0] = args
;
20811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20812 if (!SWIG_IsOK(res1
)) {
20813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20815 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20818 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20819 wxPyEndAllowThreads(__tstate
);
20820 if (PyErr_Occurred()) SWIG_fail
;
20822 resultobj
= SWIG_Py_Void();
20823 if (SWIG_IsTmpObj(res2
)) {
20824 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20826 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20827 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20829 if (SWIG_IsTmpObj(res3
)) {
20830 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20832 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20833 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20835 if (SWIG_IsTmpObj(res4
)) {
20836 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20838 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20839 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20841 if (SWIG_IsTmpObj(res5
)) {
20842 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20844 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20845 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20853 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20854 PyObject
*resultobj
= 0;
20855 wxDC
*arg1
= (wxDC
*) 0 ;
20859 PyObject
*swig_obj
[1] ;
20861 if (!args
) SWIG_fail
;
20862 swig_obj
[0] = args
;
20863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20864 if (!SWIG_IsOK(res1
)) {
20865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20867 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20870 result
= wxDC_GetClippingRect(arg1
);
20871 wxPyEndAllowThreads(__tstate
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20874 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20881 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20882 PyObject
*resultobj
= 0;
20883 wxDC
*arg1
= (wxDC
*) 0 ;
20887 PyObject
*swig_obj
[1] ;
20889 if (!args
) SWIG_fail
;
20890 swig_obj
[0] = args
;
20891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20892 if (!SWIG_IsOK(res1
)) {
20893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20895 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20898 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20899 wxPyEndAllowThreads(__tstate
);
20900 if (PyErr_Occurred()) SWIG_fail
;
20902 resultobj
= SWIG_From_int(static_cast< int >(result
));
20909 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20910 PyObject
*resultobj
= 0;
20911 wxDC
*arg1
= (wxDC
*) 0 ;
20915 PyObject
*swig_obj
[1] ;
20917 if (!args
) SWIG_fail
;
20918 swig_obj
[0] = args
;
20919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20920 if (!SWIG_IsOK(res1
)) {
20921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20923 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20926 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20927 wxPyEndAllowThreads(__tstate
);
20928 if (PyErr_Occurred()) SWIG_fail
;
20930 resultobj
= SWIG_From_int(static_cast< int >(result
));
20937 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20938 PyObject
*resultobj
= 0;
20939 wxDC
*arg1
= (wxDC
*) 0 ;
20940 wxString
*arg2
= 0 ;
20941 int *arg3
= (int *) 0 ;
20942 int *arg4
= (int *) 0 ;
20945 bool temp2
= false ;
20947 int res3
= SWIG_TMPOBJ
;
20949 int res4
= SWIG_TMPOBJ
;
20950 PyObject
* obj0
= 0 ;
20951 PyObject
* obj1
= 0 ;
20952 char * kwnames
[] = {
20953 (char *) "self",(char *) "string", NULL
20958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20960 if (!SWIG_IsOK(res1
)) {
20961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20963 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20965 arg2
= wxString_in_helper(obj1
);
20966 if (arg2
== NULL
) SWIG_fail
;
20970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20971 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20972 wxPyEndAllowThreads(__tstate
);
20973 if (PyErr_Occurred()) SWIG_fail
;
20975 resultobj
= SWIG_Py_Void();
20976 if (SWIG_IsTmpObj(res3
)) {
20977 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20979 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20980 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20982 if (SWIG_IsTmpObj(res4
)) {
20983 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20985 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20986 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21002 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21003 PyObject
*resultobj
= 0;
21004 wxDC
*arg1
= (wxDC
*) 0 ;
21005 wxString
*arg2
= 0 ;
21006 int *arg3
= (int *) 0 ;
21007 int *arg4
= (int *) 0 ;
21008 int *arg5
= (int *) 0 ;
21009 int *arg6
= (int *) 0 ;
21010 wxFont
*arg7
= (wxFont
*) NULL
;
21013 bool temp2
= false ;
21015 int res3
= SWIG_TMPOBJ
;
21017 int res4
= SWIG_TMPOBJ
;
21019 int res5
= SWIG_TMPOBJ
;
21021 int res6
= SWIG_TMPOBJ
;
21024 PyObject
* obj0
= 0 ;
21025 PyObject
* obj1
= 0 ;
21026 PyObject
* obj2
= 0 ;
21027 char * kwnames
[] = {
21028 (char *) "self",(char *) "string",(char *) "font", NULL
21035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21037 if (!SWIG_IsOK(res1
)) {
21038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21040 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21042 arg2
= wxString_in_helper(obj1
);
21043 if (arg2
== NULL
) SWIG_fail
;
21047 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21048 if (!SWIG_IsOK(res7
)) {
21049 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21051 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21055 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21056 wxPyEndAllowThreads(__tstate
);
21057 if (PyErr_Occurred()) SWIG_fail
;
21059 resultobj
= SWIG_Py_Void();
21060 if (SWIG_IsTmpObj(res3
)) {
21061 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21063 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21064 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21066 if (SWIG_IsTmpObj(res4
)) {
21067 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21069 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21070 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21072 if (SWIG_IsTmpObj(res5
)) {
21073 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21075 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21076 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21078 if (SWIG_IsTmpObj(res6
)) {
21079 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21081 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21082 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21098 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21099 PyObject
*resultobj
= 0;
21100 wxDC
*arg1
= (wxDC
*) 0 ;
21101 wxString
*arg2
= 0 ;
21102 int *arg3
= (int *) 0 ;
21103 int *arg4
= (int *) 0 ;
21104 int *arg5
= (int *) 0 ;
21105 wxFont
*arg6
= (wxFont
*) NULL
;
21108 bool temp2
= false ;
21110 int res3
= SWIG_TMPOBJ
;
21112 int res4
= SWIG_TMPOBJ
;
21114 int res5
= SWIG_TMPOBJ
;
21117 PyObject
* obj0
= 0 ;
21118 PyObject
* obj1
= 0 ;
21119 PyObject
* obj2
= 0 ;
21120 char * kwnames
[] = {
21121 (char *) "self",(char *) "text",(char *) "font", NULL
21127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21129 if (!SWIG_IsOK(res1
)) {
21130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21132 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21134 arg2
= wxString_in_helper(obj1
);
21135 if (arg2
== NULL
) SWIG_fail
;
21139 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21140 if (!SWIG_IsOK(res6
)) {
21141 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21143 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21147 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21148 wxPyEndAllowThreads(__tstate
);
21149 if (PyErr_Occurred()) SWIG_fail
;
21151 resultobj
= SWIG_Py_Void();
21152 if (SWIG_IsTmpObj(res3
)) {
21153 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21155 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21156 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21158 if (SWIG_IsTmpObj(res4
)) {
21159 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21161 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21162 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21164 if (SWIG_IsTmpObj(res5
)) {
21165 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21167 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21168 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21184 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21185 PyObject
*resultobj
= 0;
21186 wxDC
*arg1
= (wxDC
*) 0 ;
21187 wxString
*arg2
= 0 ;
21191 bool temp2
= false ;
21192 PyObject
* obj0
= 0 ;
21193 PyObject
* obj1
= 0 ;
21194 char * kwnames
[] = {
21195 (char *) "self",(char *) "text", NULL
21198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21200 if (!SWIG_IsOK(res1
)) {
21201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21203 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21205 arg2
= wxString_in_helper(obj1
);
21206 if (arg2
== NULL
) SWIG_fail
;
21210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21211 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21212 wxPyEndAllowThreads(__tstate
);
21213 if (PyErr_Occurred()) SWIG_fail
;
21216 resultobj
= wxArrayInt2PyList_helper(result
);
21232 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21233 PyObject
*resultobj
= 0;
21234 wxDC
*arg1
= (wxDC
*) 0 ;
21238 PyObject
*swig_obj
[1] ;
21240 if (!args
) SWIG_fail
;
21241 swig_obj
[0] = args
;
21242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21243 if (!SWIG_IsOK(res1
)) {
21244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21246 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21249 result
= (arg1
)->GetSize();
21250 wxPyEndAllowThreads(__tstate
);
21251 if (PyErr_Occurred()) SWIG_fail
;
21253 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21260 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21261 PyObject
*resultobj
= 0;
21262 wxDC
*arg1
= (wxDC
*) 0 ;
21263 int *arg2
= (int *) 0 ;
21264 int *arg3
= (int *) 0 ;
21268 int res2
= SWIG_TMPOBJ
;
21270 int res3
= SWIG_TMPOBJ
;
21271 PyObject
*swig_obj
[1] ;
21275 if (!args
) SWIG_fail
;
21276 swig_obj
[0] = args
;
21277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21278 if (!SWIG_IsOK(res1
)) {
21279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21281 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21284 (arg1
)->GetSize(arg2
,arg3
);
21285 wxPyEndAllowThreads(__tstate
);
21286 if (PyErr_Occurred()) SWIG_fail
;
21288 resultobj
= SWIG_Py_Void();
21289 if (SWIG_IsTmpObj(res2
)) {
21290 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21292 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21293 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21295 if (SWIG_IsTmpObj(res3
)) {
21296 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21298 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21299 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21307 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21308 PyObject
*resultobj
= 0;
21309 wxDC
*arg1
= (wxDC
*) 0 ;
21313 PyObject
*swig_obj
[1] ;
21315 if (!args
) SWIG_fail
;
21316 swig_obj
[0] = args
;
21317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21318 if (!SWIG_IsOK(res1
)) {
21319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21321 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21324 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21325 wxPyEndAllowThreads(__tstate
);
21326 if (PyErr_Occurred()) SWIG_fail
;
21328 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21335 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21336 PyObject
*resultobj
= 0;
21337 wxDC
*arg1
= (wxDC
*) 0 ;
21338 int *arg2
= (int *) 0 ;
21339 int *arg3
= (int *) 0 ;
21343 int res2
= SWIG_TMPOBJ
;
21345 int res3
= SWIG_TMPOBJ
;
21346 PyObject
*swig_obj
[1] ;
21350 if (!args
) SWIG_fail
;
21351 swig_obj
[0] = args
;
21352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21353 if (!SWIG_IsOK(res1
)) {
21354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21356 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21359 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21360 wxPyEndAllowThreads(__tstate
);
21361 if (PyErr_Occurred()) SWIG_fail
;
21363 resultobj
= SWIG_Py_Void();
21364 if (SWIG_IsTmpObj(res2
)) {
21365 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21367 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21368 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21370 if (SWIG_IsTmpObj(res3
)) {
21371 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21373 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21374 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21382 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21383 PyObject
*resultobj
= 0;
21384 wxDC
*arg1
= (wxDC
*) 0 ;
21391 PyObject
* obj0
= 0 ;
21392 PyObject
* obj1
= 0 ;
21393 char * kwnames
[] = {
21394 (char *) "self",(char *) "x", NULL
21397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21399 if (!SWIG_IsOK(res1
)) {
21400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21402 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21404 if (!SWIG_IsOK(ecode2
)) {
21405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21407 arg2
= static_cast< int >(val2
);
21409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21410 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21411 wxPyEndAllowThreads(__tstate
);
21412 if (PyErr_Occurred()) SWIG_fail
;
21414 resultobj
= SWIG_From_int(static_cast< int >(result
));
21421 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21422 PyObject
*resultobj
= 0;
21423 wxDC
*arg1
= (wxDC
*) 0 ;
21430 PyObject
* obj0
= 0 ;
21431 PyObject
* obj1
= 0 ;
21432 char * kwnames
[] = {
21433 (char *) "self",(char *) "y", NULL
21436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21438 if (!SWIG_IsOK(res1
)) {
21439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21441 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21443 if (!SWIG_IsOK(ecode2
)) {
21444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21446 arg2
= static_cast< int >(val2
);
21448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21449 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21450 wxPyEndAllowThreads(__tstate
);
21451 if (PyErr_Occurred()) SWIG_fail
;
21453 resultobj
= SWIG_From_int(static_cast< int >(result
));
21460 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21461 PyObject
*resultobj
= 0;
21462 wxDC
*arg1
= (wxDC
*) 0 ;
21469 PyObject
* obj0
= 0 ;
21470 PyObject
* obj1
= 0 ;
21471 char * kwnames
[] = {
21472 (char *) "self",(char *) "x", NULL
21475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21477 if (!SWIG_IsOK(res1
)) {
21478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21480 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21482 if (!SWIG_IsOK(ecode2
)) {
21483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21485 arg2
= static_cast< int >(val2
);
21487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21488 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21489 wxPyEndAllowThreads(__tstate
);
21490 if (PyErr_Occurred()) SWIG_fail
;
21492 resultobj
= SWIG_From_int(static_cast< int >(result
));
21499 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21500 PyObject
*resultobj
= 0;
21501 wxDC
*arg1
= (wxDC
*) 0 ;
21508 PyObject
* obj0
= 0 ;
21509 PyObject
* obj1
= 0 ;
21510 char * kwnames
[] = {
21511 (char *) "self",(char *) "y", NULL
21514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21516 if (!SWIG_IsOK(res1
)) {
21517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21519 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21521 if (!SWIG_IsOK(ecode2
)) {
21522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21524 arg2
= static_cast< int >(val2
);
21526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21527 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21528 wxPyEndAllowThreads(__tstate
);
21529 if (PyErr_Occurred()) SWIG_fail
;
21531 resultobj
= SWIG_From_int(static_cast< int >(result
));
21538 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21539 PyObject
*resultobj
= 0;
21540 wxDC
*arg1
= (wxDC
*) 0 ;
21547 PyObject
* obj0
= 0 ;
21548 PyObject
* obj1
= 0 ;
21549 char * kwnames
[] = {
21550 (char *) "self",(char *) "x", NULL
21553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21555 if (!SWIG_IsOK(res1
)) {
21556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21558 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21560 if (!SWIG_IsOK(ecode2
)) {
21561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21563 arg2
= static_cast< int >(val2
);
21565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21566 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21567 wxPyEndAllowThreads(__tstate
);
21568 if (PyErr_Occurred()) SWIG_fail
;
21570 resultobj
= SWIG_From_int(static_cast< int >(result
));
21577 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21578 PyObject
*resultobj
= 0;
21579 wxDC
*arg1
= (wxDC
*) 0 ;
21586 PyObject
* obj0
= 0 ;
21587 PyObject
* obj1
= 0 ;
21588 char * kwnames
[] = {
21589 (char *) "self",(char *) "y", NULL
21592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21594 if (!SWIG_IsOK(res1
)) {
21595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21597 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21599 if (!SWIG_IsOK(ecode2
)) {
21600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21602 arg2
= static_cast< int >(val2
);
21604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21605 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21606 wxPyEndAllowThreads(__tstate
);
21607 if (PyErr_Occurred()) SWIG_fail
;
21609 resultobj
= SWIG_From_int(static_cast< int >(result
));
21616 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21617 PyObject
*resultobj
= 0;
21618 wxDC
*arg1
= (wxDC
*) 0 ;
21625 PyObject
* obj0
= 0 ;
21626 PyObject
* obj1
= 0 ;
21627 char * kwnames
[] = {
21628 (char *) "self",(char *) "x", NULL
21631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21633 if (!SWIG_IsOK(res1
)) {
21634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21636 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21638 if (!SWIG_IsOK(ecode2
)) {
21639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21641 arg2
= static_cast< int >(val2
);
21643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21644 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21645 wxPyEndAllowThreads(__tstate
);
21646 if (PyErr_Occurred()) SWIG_fail
;
21648 resultobj
= SWIG_From_int(static_cast< int >(result
));
21655 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21656 PyObject
*resultobj
= 0;
21657 wxDC
*arg1
= (wxDC
*) 0 ;
21664 PyObject
* obj0
= 0 ;
21665 PyObject
* obj1
= 0 ;
21666 char * kwnames
[] = {
21667 (char *) "self",(char *) "y", NULL
21670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21672 if (!SWIG_IsOK(res1
)) {
21673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21675 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21677 if (!SWIG_IsOK(ecode2
)) {
21678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21680 arg2
= static_cast< int >(val2
);
21682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21683 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21684 wxPyEndAllowThreads(__tstate
);
21685 if (PyErr_Occurred()) SWIG_fail
;
21687 resultobj
= SWIG_From_int(static_cast< int >(result
));
21694 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21695 PyObject
*resultobj
= 0;
21696 wxDC
*arg1
= (wxDC
*) 0 ;
21700 PyObject
*swig_obj
[1] ;
21702 if (!args
) SWIG_fail
;
21703 swig_obj
[0] = args
;
21704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21705 if (!SWIG_IsOK(res1
)) {
21706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21708 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21711 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21712 wxPyEndAllowThreads(__tstate
);
21713 if (PyErr_Occurred()) SWIG_fail
;
21716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21724 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21725 PyObject
*resultobj
= 0;
21726 wxDC
*arg1
= (wxDC
*) 0 ;
21730 PyObject
*swig_obj
[1] ;
21732 if (!args
) SWIG_fail
;
21733 swig_obj
[0] = args
;
21734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21735 if (!SWIG_IsOK(res1
)) {
21736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21738 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21741 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21742 wxPyEndAllowThreads(__tstate
);
21743 if (PyErr_Occurred()) SWIG_fail
;
21746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21754 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21755 PyObject
*resultobj
= 0;
21756 wxDC
*arg1
= (wxDC
*) 0 ;
21760 PyObject
*swig_obj
[1] ;
21762 if (!args
) SWIG_fail
;
21763 swig_obj
[0] = args
;
21764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21765 if (!SWIG_IsOK(res1
)) {
21766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21768 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21771 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21772 wxPyEndAllowThreads(__tstate
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21775 resultobj
= SWIG_From_int(static_cast< int >(result
));
21782 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21783 PyObject
*resultobj
= 0;
21784 wxDC
*arg1
= (wxDC
*) 0 ;
21788 PyObject
*swig_obj
[1] ;
21790 if (!args
) SWIG_fail
;
21791 swig_obj
[0] = args
;
21792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21793 if (!SWIG_IsOK(res1
)) {
21794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21796 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21799 result
= ((wxDC
const *)arg1
)->GetPPI();
21800 wxPyEndAllowThreads(__tstate
);
21801 if (PyErr_Occurred()) SWIG_fail
;
21803 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21810 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21811 PyObject
*resultobj
= 0;
21812 wxDC
*arg1
= (wxDC
*) 0 ;
21816 PyObject
*swig_obj
[1] ;
21818 if (!args
) SWIG_fail
;
21819 swig_obj
[0] = args
;
21820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21821 if (!SWIG_IsOK(res1
)) {
21822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21824 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21827 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21828 wxPyEndAllowThreads(__tstate
);
21829 if (PyErr_Occurred()) SWIG_fail
;
21832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21840 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21841 PyObject
*resultobj
= 0;
21842 wxDC
*arg1
= (wxDC
*) 0 ;
21846 PyObject
*swig_obj
[1] ;
21848 if (!args
) SWIG_fail
;
21849 swig_obj
[0] = args
;
21850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21851 if (!SWIG_IsOK(res1
)) {
21852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21854 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21857 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21858 wxPyEndAllowThreads(__tstate
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21861 resultobj
= SWIG_From_int(static_cast< int >(result
));
21868 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21869 PyObject
*resultobj
= 0;
21870 wxDC
*arg1
= (wxDC
*) 0 ;
21871 wxBrush
*result
= 0 ;
21874 PyObject
*swig_obj
[1] ;
21876 if (!args
) SWIG_fail
;
21877 swig_obj
[0] = args
;
21878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21879 if (!SWIG_IsOK(res1
)) {
21880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21882 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21887 result
= (wxBrush
*) &_result_ref
;
21889 wxPyEndAllowThreads(__tstate
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21893 wxBrush
* resultptr
= new wxBrush(*result
);
21894 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21902 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21903 PyObject
*resultobj
= 0;
21904 wxDC
*arg1
= (wxDC
*) 0 ;
21905 wxBrush
*result
= 0 ;
21908 PyObject
*swig_obj
[1] ;
21910 if (!args
) SWIG_fail
;
21911 swig_obj
[0] = args
;
21912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21913 if (!SWIG_IsOK(res1
)) {
21914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21916 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21920 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21921 result
= (wxBrush
*) &_result_ref
;
21923 wxPyEndAllowThreads(__tstate
);
21924 if (PyErr_Occurred()) SWIG_fail
;
21927 wxBrush
* resultptr
= new wxBrush(*result
);
21928 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21936 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21937 PyObject
*resultobj
= 0;
21938 wxDC
*arg1
= (wxDC
*) 0 ;
21939 wxFont
*result
= 0 ;
21942 PyObject
*swig_obj
[1] ;
21944 if (!args
) SWIG_fail
;
21945 swig_obj
[0] = args
;
21946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21947 if (!SWIG_IsOK(res1
)) {
21948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21950 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21954 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21955 result
= (wxFont
*) &_result_ref
;
21957 wxPyEndAllowThreads(__tstate
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21961 wxFont
* resultptr
= new wxFont(*result
);
21962 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21970 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21971 PyObject
*resultobj
= 0;
21972 wxDC
*arg1
= (wxDC
*) 0 ;
21973 wxPen
*result
= 0 ;
21976 PyObject
*swig_obj
[1] ;
21978 if (!args
) SWIG_fail
;
21979 swig_obj
[0] = args
;
21980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21981 if (!SWIG_IsOK(res1
)) {
21982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21984 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21988 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21989 result
= (wxPen
*) &_result_ref
;
21991 wxPyEndAllowThreads(__tstate
);
21992 if (PyErr_Occurred()) SWIG_fail
;
21995 wxPen
* resultptr
= new wxPen(*result
);
21996 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22004 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22005 PyObject
*resultobj
= 0;
22006 wxDC
*arg1
= (wxDC
*) 0 ;
22007 wxColour
*result
= 0 ;
22010 PyObject
*swig_obj
[1] ;
22012 if (!args
) SWIG_fail
;
22013 swig_obj
[0] = args
;
22014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22015 if (!SWIG_IsOK(res1
)) {
22016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22018 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22022 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22023 result
= (wxColour
*) &_result_ref
;
22025 wxPyEndAllowThreads(__tstate
);
22026 if (PyErr_Occurred()) SWIG_fail
;
22028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22035 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22036 PyObject
*resultobj
= 0;
22037 wxDC
*arg1
= (wxDC
*) 0 ;
22038 wxColour
*result
= 0 ;
22041 PyObject
*swig_obj
[1] ;
22043 if (!args
) SWIG_fail
;
22044 swig_obj
[0] = args
;
22045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22046 if (!SWIG_IsOK(res1
)) {
22047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22049 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22053 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22054 result
= (wxColour
*) &_result_ref
;
22056 wxPyEndAllowThreads(__tstate
);
22057 if (PyErr_Occurred()) SWIG_fail
;
22059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22066 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22067 PyObject
*resultobj
= 0;
22068 wxDC
*arg1
= (wxDC
*) 0 ;
22069 wxColour
*arg2
= 0 ;
22073 PyObject
* obj0
= 0 ;
22074 PyObject
* obj1
= 0 ;
22075 char * kwnames
[] = {
22076 (char *) "self",(char *) "colour", NULL
22079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22081 if (!SWIG_IsOK(res1
)) {
22082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22084 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22087 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22091 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22092 wxPyEndAllowThreads(__tstate
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22095 resultobj
= SWIG_Py_Void();
22102 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22103 PyObject
*resultobj
= 0;
22104 wxDC
*arg1
= (wxDC
*) 0 ;
22105 wxColour
*arg2
= 0 ;
22109 PyObject
* obj0
= 0 ;
22110 PyObject
* obj1
= 0 ;
22111 char * kwnames
[] = {
22112 (char *) "self",(char *) "colour", NULL
22115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22117 if (!SWIG_IsOK(res1
)) {
22118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22120 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22123 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22127 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22128 wxPyEndAllowThreads(__tstate
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22131 resultobj
= SWIG_Py_Void();
22138 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22139 PyObject
*resultobj
= 0;
22140 wxDC
*arg1
= (wxDC
*) 0 ;
22144 PyObject
*swig_obj
[1] ;
22146 if (!args
) SWIG_fail
;
22147 swig_obj
[0] = args
;
22148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22149 if (!SWIG_IsOK(res1
)) {
22150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22152 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22155 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22156 wxPyEndAllowThreads(__tstate
);
22157 if (PyErr_Occurred()) SWIG_fail
;
22159 resultobj
= SWIG_From_int(static_cast< int >(result
));
22166 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22167 PyObject
*resultobj
= 0;
22168 wxDC
*arg1
= (wxDC
*) 0 ;
22174 PyObject
* obj0
= 0 ;
22175 PyObject
* obj1
= 0 ;
22176 char * kwnames
[] = {
22177 (char *) "self",(char *) "mode", NULL
22180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22182 if (!SWIG_IsOK(res1
)) {
22183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22185 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22187 if (!SWIG_IsOK(ecode2
)) {
22188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22190 arg2
= static_cast< int >(val2
);
22192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22193 (arg1
)->SetMapMode(arg2
);
22194 wxPyEndAllowThreads(__tstate
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22197 resultobj
= SWIG_Py_Void();
22204 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22205 PyObject
*resultobj
= 0;
22206 wxDC
*arg1
= (wxDC
*) 0 ;
22207 double *arg2
= (double *) 0 ;
22208 double *arg3
= (double *) 0 ;
22212 int res2
= SWIG_TMPOBJ
;
22214 int res3
= SWIG_TMPOBJ
;
22215 PyObject
*swig_obj
[1] ;
22219 if (!args
) SWIG_fail
;
22220 swig_obj
[0] = args
;
22221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22222 if (!SWIG_IsOK(res1
)) {
22223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22225 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22228 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22229 wxPyEndAllowThreads(__tstate
);
22230 if (PyErr_Occurred()) SWIG_fail
;
22232 resultobj
= SWIG_Py_Void();
22233 if (SWIG_IsTmpObj(res2
)) {
22234 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22236 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22237 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22239 if (SWIG_IsTmpObj(res3
)) {
22240 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22242 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22243 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22251 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22252 PyObject
*resultobj
= 0;
22253 wxDC
*arg1
= (wxDC
*) 0 ;
22262 PyObject
* obj0
= 0 ;
22263 PyObject
* obj1
= 0 ;
22264 PyObject
* obj2
= 0 ;
22265 char * kwnames
[] = {
22266 (char *) "self",(char *) "x",(char *) "y", NULL
22269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22271 if (!SWIG_IsOK(res1
)) {
22272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22274 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22275 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22276 if (!SWIG_IsOK(ecode2
)) {
22277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22279 arg2
= static_cast< double >(val2
);
22280 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22281 if (!SWIG_IsOK(ecode3
)) {
22282 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22284 arg3
= static_cast< double >(val3
);
22286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22287 (arg1
)->SetUserScale(arg2
,arg3
);
22288 wxPyEndAllowThreads(__tstate
);
22289 if (PyErr_Occurred()) SWIG_fail
;
22291 resultobj
= SWIG_Py_Void();
22298 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22299 PyObject
*resultobj
= 0;
22300 wxDC
*arg1
= (wxDC
*) 0 ;
22301 double *arg2
= (double *) 0 ;
22302 double *arg3
= (double *) 0 ;
22306 int res2
= SWIG_TMPOBJ
;
22308 int res3
= SWIG_TMPOBJ
;
22309 PyObject
*swig_obj
[1] ;
22313 if (!args
) SWIG_fail
;
22314 swig_obj
[0] = args
;
22315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22316 if (!SWIG_IsOK(res1
)) {
22317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22319 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22322 (arg1
)->GetLogicalScale(arg2
,arg3
);
22323 wxPyEndAllowThreads(__tstate
);
22324 if (PyErr_Occurred()) SWIG_fail
;
22326 resultobj
= SWIG_Py_Void();
22327 if (SWIG_IsTmpObj(res2
)) {
22328 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22330 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22331 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22333 if (SWIG_IsTmpObj(res3
)) {
22334 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22336 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22337 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22345 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22346 PyObject
*resultobj
= 0;
22347 wxDC
*arg1
= (wxDC
*) 0 ;
22356 PyObject
* obj0
= 0 ;
22357 PyObject
* obj1
= 0 ;
22358 PyObject
* obj2
= 0 ;
22359 char * kwnames
[] = {
22360 (char *) "self",(char *) "x",(char *) "y", NULL
22363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22365 if (!SWIG_IsOK(res1
)) {
22366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22368 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22369 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22370 if (!SWIG_IsOK(ecode2
)) {
22371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22373 arg2
= static_cast< double >(val2
);
22374 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22375 if (!SWIG_IsOK(ecode3
)) {
22376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22378 arg3
= static_cast< double >(val3
);
22380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22381 (arg1
)->SetLogicalScale(arg2
,arg3
);
22382 wxPyEndAllowThreads(__tstate
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22385 resultobj
= SWIG_Py_Void();
22392 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22393 PyObject
*resultobj
= 0;
22394 wxDC
*arg1
= (wxDC
*) 0 ;
22398 PyObject
*swig_obj
[1] ;
22400 if (!args
) SWIG_fail
;
22401 swig_obj
[0] = args
;
22402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22403 if (!SWIG_IsOK(res1
)) {
22404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22406 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22409 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22410 wxPyEndAllowThreads(__tstate
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22413 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22420 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22421 PyObject
*resultobj
= 0;
22422 wxDC
*arg1
= (wxDC
*) 0 ;
22423 int *arg2
= (int *) 0 ;
22424 int *arg3
= (int *) 0 ;
22428 int res2
= SWIG_TMPOBJ
;
22430 int res3
= SWIG_TMPOBJ
;
22431 PyObject
*swig_obj
[1] ;
22435 if (!args
) SWIG_fail
;
22436 swig_obj
[0] = args
;
22437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22438 if (!SWIG_IsOK(res1
)) {
22439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22441 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22444 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22445 wxPyEndAllowThreads(__tstate
);
22446 if (PyErr_Occurred()) SWIG_fail
;
22448 resultobj
= SWIG_Py_Void();
22449 if (SWIG_IsTmpObj(res2
)) {
22450 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22452 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22453 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22455 if (SWIG_IsTmpObj(res3
)) {
22456 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22458 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22459 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22467 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22468 PyObject
*resultobj
= 0;
22469 wxDC
*arg1
= (wxDC
*) 0 ;
22478 PyObject
* obj0
= 0 ;
22479 PyObject
* obj1
= 0 ;
22480 PyObject
* obj2
= 0 ;
22481 char * kwnames
[] = {
22482 (char *) "self",(char *) "x",(char *) "y", NULL
22485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22487 if (!SWIG_IsOK(res1
)) {
22488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22490 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22492 if (!SWIG_IsOK(ecode2
)) {
22493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22495 arg2
= static_cast< int >(val2
);
22496 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22497 if (!SWIG_IsOK(ecode3
)) {
22498 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22500 arg3
= static_cast< int >(val3
);
22502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22503 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22504 wxPyEndAllowThreads(__tstate
);
22505 if (PyErr_Occurred()) SWIG_fail
;
22507 resultobj
= SWIG_Py_Void();
22514 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22515 PyObject
*resultobj
= 0;
22516 wxDC
*arg1
= (wxDC
*) 0 ;
22517 wxPoint
*arg2
= 0 ;
22521 PyObject
* obj0
= 0 ;
22522 PyObject
* obj1
= 0 ;
22523 char * kwnames
[] = {
22524 (char *) "self",(char *) "point", NULL
22527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22529 if (!SWIG_IsOK(res1
)) {
22530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22532 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22535 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22539 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22540 wxPyEndAllowThreads(__tstate
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22543 resultobj
= SWIG_Py_Void();
22550 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22551 PyObject
*resultobj
= 0;
22552 wxDC
*arg1
= (wxDC
*) 0 ;
22556 PyObject
*swig_obj
[1] ;
22558 if (!args
) SWIG_fail
;
22559 swig_obj
[0] = args
;
22560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22561 if (!SWIG_IsOK(res1
)) {
22562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22564 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22567 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22568 wxPyEndAllowThreads(__tstate
);
22569 if (PyErr_Occurred()) SWIG_fail
;
22571 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22578 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22579 PyObject
*resultobj
= 0;
22580 wxDC
*arg1
= (wxDC
*) 0 ;
22581 int *arg2
= (int *) 0 ;
22582 int *arg3
= (int *) 0 ;
22586 int res2
= SWIG_TMPOBJ
;
22588 int res3
= SWIG_TMPOBJ
;
22589 PyObject
*swig_obj
[1] ;
22593 if (!args
) SWIG_fail
;
22594 swig_obj
[0] = args
;
22595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22596 if (!SWIG_IsOK(res1
)) {
22597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22599 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22602 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22603 wxPyEndAllowThreads(__tstate
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22606 resultobj
= SWIG_Py_Void();
22607 if (SWIG_IsTmpObj(res2
)) {
22608 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22610 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22611 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22613 if (SWIG_IsTmpObj(res3
)) {
22614 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22616 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22617 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22625 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22626 PyObject
*resultobj
= 0;
22627 wxDC
*arg1
= (wxDC
*) 0 ;
22636 PyObject
* obj0
= 0 ;
22637 PyObject
* obj1
= 0 ;
22638 PyObject
* obj2
= 0 ;
22639 char * kwnames
[] = {
22640 (char *) "self",(char *) "x",(char *) "y", NULL
22643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22645 if (!SWIG_IsOK(res1
)) {
22646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22648 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22650 if (!SWIG_IsOK(ecode2
)) {
22651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22653 arg2
= static_cast< int >(val2
);
22654 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22655 if (!SWIG_IsOK(ecode3
)) {
22656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22658 arg3
= static_cast< int >(val3
);
22660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22661 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22662 wxPyEndAllowThreads(__tstate
);
22663 if (PyErr_Occurred()) SWIG_fail
;
22665 resultobj
= SWIG_Py_Void();
22672 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22673 PyObject
*resultobj
= 0;
22674 wxDC
*arg1
= (wxDC
*) 0 ;
22675 wxPoint
*arg2
= 0 ;
22679 PyObject
* obj0
= 0 ;
22680 PyObject
* obj1
= 0 ;
22681 char * kwnames
[] = {
22682 (char *) "self",(char *) "point", NULL
22685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22687 if (!SWIG_IsOK(res1
)) {
22688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22690 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22693 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22697 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22698 wxPyEndAllowThreads(__tstate
);
22699 if (PyErr_Occurred()) SWIG_fail
;
22701 resultobj
= SWIG_Py_Void();
22708 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22709 PyObject
*resultobj
= 0;
22710 wxDC
*arg1
= (wxDC
*) 0 ;
22719 PyObject
* obj0
= 0 ;
22720 PyObject
* obj1
= 0 ;
22721 PyObject
* obj2
= 0 ;
22722 char * kwnames
[] = {
22723 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22728 if (!SWIG_IsOK(res1
)) {
22729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22731 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22732 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22733 if (!SWIG_IsOK(ecode2
)) {
22734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22736 arg2
= static_cast< bool >(val2
);
22737 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22738 if (!SWIG_IsOK(ecode3
)) {
22739 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22741 arg3
= static_cast< bool >(val3
);
22743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22744 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22745 wxPyEndAllowThreads(__tstate
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22748 resultobj
= SWIG_Py_Void();
22755 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22756 PyObject
*resultobj
= 0;
22757 wxDC
*arg1
= (wxDC
*) 0 ;
22761 PyObject
*swig_obj
[1] ;
22763 if (!args
) SWIG_fail
;
22764 swig_obj
[0] = args
;
22765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22766 if (!SWIG_IsOK(res1
)) {
22767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22769 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22772 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22773 wxPyEndAllowThreads(__tstate
);
22774 if (PyErr_Occurred()) SWIG_fail
;
22776 resultobj
= SWIG_From_int(static_cast< int >(result
));
22783 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22784 PyObject
*resultobj
= 0;
22785 wxDC
*arg1
= (wxDC
*) 0 ;
22791 PyObject
* obj0
= 0 ;
22792 PyObject
* obj1
= 0 ;
22793 char * kwnames
[] = {
22794 (char *) "self",(char *) "function", NULL
22797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22799 if (!SWIG_IsOK(res1
)) {
22800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22802 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22804 if (!SWIG_IsOK(ecode2
)) {
22805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22807 arg2
= static_cast< int >(val2
);
22809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22810 (arg1
)->SetLogicalFunction(arg2
);
22811 wxPyEndAllowThreads(__tstate
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22814 resultobj
= SWIG_Py_Void();
22821 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22822 PyObject
*resultobj
= 0;
22823 wxDC
*arg1
= (wxDC
*) 0 ;
22826 PyObject
*swig_obj
[1] ;
22828 if (!args
) SWIG_fail
;
22829 swig_obj
[0] = args
;
22830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22831 if (!SWIG_IsOK(res1
)) {
22832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22834 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22837 (arg1
)->ComputeScaleAndOrigin();
22838 wxPyEndAllowThreads(__tstate
);
22839 if (PyErr_Occurred()) SWIG_fail
;
22841 resultobj
= SWIG_Py_Void();
22848 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22849 PyObject
*resultobj
= 0;
22850 wxDC
*arg1
= (wxDC
*) 0 ;
22859 PyObject
* obj0
= 0 ;
22860 PyObject
* obj1
= 0 ;
22861 PyObject
* obj2
= 0 ;
22862 char * kwnames
[] = {
22863 (char *) "self",(char *) "x",(char *) "y", NULL
22866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22868 if (!SWIG_IsOK(res1
)) {
22869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22871 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22873 if (!SWIG_IsOK(ecode2
)) {
22874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22876 arg2
= static_cast< int >(val2
);
22877 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22878 if (!SWIG_IsOK(ecode3
)) {
22879 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22881 arg3
= static_cast< int >(val3
);
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22884 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22888 resultobj
= SWIG_Py_Void();
22895 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22896 PyObject
*resultobj
= 0;
22897 wxDC
*arg1
= (wxDC
*) 0 ;
22898 wxPoint
*arg2
= 0 ;
22902 PyObject
* obj0
= 0 ;
22903 PyObject
* obj1
= 0 ;
22904 char * kwnames
[] = {
22905 (char *) "self",(char *) "point", NULL
22908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22910 if (!SWIG_IsOK(res1
)) {
22911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22913 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22916 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22920 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22921 wxPyEndAllowThreads(__tstate
);
22922 if (PyErr_Occurred()) SWIG_fail
;
22924 resultobj
= SWIG_Py_Void();
22931 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22932 PyObject
*resultobj
= 0;
22933 wxDC
*arg1
= (wxDC
*) 0 ;
22936 PyObject
*swig_obj
[1] ;
22938 if (!args
) SWIG_fail
;
22939 swig_obj
[0] = args
;
22940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22941 if (!SWIG_IsOK(res1
)) {
22942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22944 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22947 (arg1
)->ResetBoundingBox();
22948 wxPyEndAllowThreads(__tstate
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22951 resultobj
= SWIG_Py_Void();
22958 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22959 PyObject
*resultobj
= 0;
22960 wxDC
*arg1
= (wxDC
*) 0 ;
22964 PyObject
*swig_obj
[1] ;
22966 if (!args
) SWIG_fail
;
22967 swig_obj
[0] = args
;
22968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22969 if (!SWIG_IsOK(res1
)) {
22970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22972 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22975 result
= (int)((wxDC
const *)arg1
)->MinX();
22976 wxPyEndAllowThreads(__tstate
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22979 resultobj
= SWIG_From_int(static_cast< int >(result
));
22986 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22987 PyObject
*resultobj
= 0;
22988 wxDC
*arg1
= (wxDC
*) 0 ;
22992 PyObject
*swig_obj
[1] ;
22994 if (!args
) SWIG_fail
;
22995 swig_obj
[0] = args
;
22996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22997 if (!SWIG_IsOK(res1
)) {
22998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23000 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23003 result
= (int)((wxDC
const *)arg1
)->MaxX();
23004 wxPyEndAllowThreads(__tstate
);
23005 if (PyErr_Occurred()) SWIG_fail
;
23007 resultobj
= SWIG_From_int(static_cast< int >(result
));
23014 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23015 PyObject
*resultobj
= 0;
23016 wxDC
*arg1
= (wxDC
*) 0 ;
23020 PyObject
*swig_obj
[1] ;
23022 if (!args
) SWIG_fail
;
23023 swig_obj
[0] = args
;
23024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23025 if (!SWIG_IsOK(res1
)) {
23026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23028 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23031 result
= (int)((wxDC
const *)arg1
)->MinY();
23032 wxPyEndAllowThreads(__tstate
);
23033 if (PyErr_Occurred()) SWIG_fail
;
23035 resultobj
= SWIG_From_int(static_cast< int >(result
));
23042 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23043 PyObject
*resultobj
= 0;
23044 wxDC
*arg1
= (wxDC
*) 0 ;
23048 PyObject
*swig_obj
[1] ;
23050 if (!args
) SWIG_fail
;
23051 swig_obj
[0] = args
;
23052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23053 if (!SWIG_IsOK(res1
)) {
23054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23056 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23059 result
= (int)((wxDC
const *)arg1
)->MaxY();
23060 wxPyEndAllowThreads(__tstate
);
23061 if (PyErr_Occurred()) SWIG_fail
;
23063 resultobj
= SWIG_From_int(static_cast< int >(result
));
23070 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23071 PyObject
*resultobj
= 0;
23072 wxDC
*arg1
= (wxDC
*) 0 ;
23073 int *arg2
= (int *) 0 ;
23074 int *arg3
= (int *) 0 ;
23075 int *arg4
= (int *) 0 ;
23076 int *arg5
= (int *) 0 ;
23080 int res2
= SWIG_TMPOBJ
;
23082 int res3
= SWIG_TMPOBJ
;
23084 int res4
= SWIG_TMPOBJ
;
23086 int res5
= SWIG_TMPOBJ
;
23087 PyObject
*swig_obj
[1] ;
23093 if (!args
) SWIG_fail
;
23094 swig_obj
[0] = args
;
23095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23096 if (!SWIG_IsOK(res1
)) {
23097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23099 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23102 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23103 wxPyEndAllowThreads(__tstate
);
23104 if (PyErr_Occurred()) SWIG_fail
;
23106 resultobj
= SWIG_Py_Void();
23107 if (SWIG_IsTmpObj(res2
)) {
23108 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23110 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23111 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23113 if (SWIG_IsTmpObj(res3
)) {
23114 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23116 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23117 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23119 if (SWIG_IsTmpObj(res4
)) {
23120 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23122 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23123 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23125 if (SWIG_IsTmpObj(res5
)) {
23126 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23128 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23129 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23137 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23138 PyObject
*resultobj
= 0;
23139 wxDC
*arg1
= (wxDC
*) 0 ;
23140 wxLayoutDirection result
;
23143 PyObject
*swig_obj
[1] ;
23145 if (!args
) SWIG_fail
;
23146 swig_obj
[0] = args
;
23147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23148 if (!SWIG_IsOK(res1
)) {
23149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23151 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23154 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23155 wxPyEndAllowThreads(__tstate
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23158 resultobj
= SWIG_From_int(static_cast< int >(result
));
23165 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23166 PyObject
*resultobj
= 0;
23167 wxDC
*arg1
= (wxDC
*) 0 ;
23168 wxLayoutDirection arg2
;
23173 PyObject
* obj0
= 0 ;
23174 PyObject
* obj1
= 0 ;
23175 char * kwnames
[] = {
23176 (char *) "self",(char *) "dir", NULL
23179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23181 if (!SWIG_IsOK(res1
)) {
23182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23184 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23185 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23186 if (!SWIG_IsOK(ecode2
)) {
23187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23189 arg2
= static_cast< wxLayoutDirection
>(val2
);
23191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23192 (arg1
)->SetLayoutDirection(arg2
);
23193 wxPyEndAllowThreads(__tstate
);
23194 if (PyErr_Occurred()) SWIG_fail
;
23196 resultobj
= SWIG_Py_Void();
23203 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23204 PyObject
*resultobj
= 0;
23205 wxDC
*arg1
= (wxDC
*) 0 ;
23206 PyObject
*arg2
= (PyObject
*) 0 ;
23207 PyObject
*arg3
= (PyObject
*) 0 ;
23208 PyObject
*arg4
= (PyObject
*) 0 ;
23209 PyObject
*result
= 0 ;
23212 PyObject
* obj0
= 0 ;
23213 PyObject
* obj1
= 0 ;
23214 PyObject
* obj2
= 0 ;
23215 PyObject
* obj3
= 0 ;
23216 char * kwnames
[] = {
23217 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23222 if (!SWIG_IsOK(res1
)) {
23223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23225 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23231 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23232 wxPyEndAllowThreads(__tstate
);
23233 if (PyErr_Occurred()) SWIG_fail
;
23235 resultobj
= result
;
23242 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23243 PyObject
*resultobj
= 0;
23244 wxDC
*arg1
= (wxDC
*) 0 ;
23245 PyObject
*arg2
= (PyObject
*) 0 ;
23246 PyObject
*arg3
= (PyObject
*) 0 ;
23247 PyObject
*arg4
= (PyObject
*) 0 ;
23248 PyObject
*result
= 0 ;
23251 PyObject
* obj0
= 0 ;
23252 PyObject
* obj1
= 0 ;
23253 PyObject
* obj2
= 0 ;
23254 PyObject
* obj3
= 0 ;
23255 char * kwnames
[] = {
23256 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23261 if (!SWIG_IsOK(res1
)) {
23262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23264 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23270 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23271 wxPyEndAllowThreads(__tstate
);
23272 if (PyErr_Occurred()) SWIG_fail
;
23274 resultobj
= result
;
23281 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23282 PyObject
*resultobj
= 0;
23283 wxDC
*arg1
= (wxDC
*) 0 ;
23284 PyObject
*arg2
= (PyObject
*) 0 ;
23285 PyObject
*arg3
= (PyObject
*) 0 ;
23286 PyObject
*arg4
= (PyObject
*) 0 ;
23287 PyObject
*result
= 0 ;
23290 PyObject
* obj0
= 0 ;
23291 PyObject
* obj1
= 0 ;
23292 PyObject
* obj2
= 0 ;
23293 PyObject
* obj3
= 0 ;
23294 char * kwnames
[] = {
23295 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23300 if (!SWIG_IsOK(res1
)) {
23301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23303 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23309 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23310 wxPyEndAllowThreads(__tstate
);
23311 if (PyErr_Occurred()) SWIG_fail
;
23313 resultobj
= result
;
23320 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23321 PyObject
*resultobj
= 0;
23322 wxDC
*arg1
= (wxDC
*) 0 ;
23323 PyObject
*arg2
= (PyObject
*) 0 ;
23324 PyObject
*arg3
= (PyObject
*) 0 ;
23325 PyObject
*arg4
= (PyObject
*) 0 ;
23326 PyObject
*result
= 0 ;
23329 PyObject
* obj0
= 0 ;
23330 PyObject
* obj1
= 0 ;
23331 PyObject
* obj2
= 0 ;
23332 PyObject
* obj3
= 0 ;
23333 char * kwnames
[] = {
23334 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23339 if (!SWIG_IsOK(res1
)) {
23340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23342 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23348 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23349 wxPyEndAllowThreads(__tstate
);
23350 if (PyErr_Occurred()) SWIG_fail
;
23352 resultobj
= result
;
23359 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23360 PyObject
*resultobj
= 0;
23361 wxDC
*arg1
= (wxDC
*) 0 ;
23362 PyObject
*arg2
= (PyObject
*) 0 ;
23363 PyObject
*arg3
= (PyObject
*) 0 ;
23364 PyObject
*arg4
= (PyObject
*) 0 ;
23365 PyObject
*result
= 0 ;
23368 PyObject
* obj0
= 0 ;
23369 PyObject
* obj1
= 0 ;
23370 PyObject
* obj2
= 0 ;
23371 PyObject
* obj3
= 0 ;
23372 char * kwnames
[] = {
23373 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23378 if (!SWIG_IsOK(res1
)) {
23379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23381 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23387 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23388 wxPyEndAllowThreads(__tstate
);
23389 if (PyErr_Occurred()) SWIG_fail
;
23391 resultobj
= result
;
23398 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23399 PyObject
*resultobj
= 0;
23400 wxDC
*arg1
= (wxDC
*) 0 ;
23401 PyObject
*arg2
= (PyObject
*) 0 ;
23402 PyObject
*arg3
= (PyObject
*) 0 ;
23403 PyObject
*arg4
= (PyObject
*) 0 ;
23404 PyObject
*arg5
= (PyObject
*) 0 ;
23405 PyObject
*result
= 0 ;
23408 PyObject
* obj0
= 0 ;
23409 PyObject
* obj1
= 0 ;
23410 PyObject
* obj2
= 0 ;
23411 PyObject
* obj3
= 0 ;
23412 PyObject
* obj4
= 0 ;
23413 char * kwnames
[] = {
23414 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23419 if (!SWIG_IsOK(res1
)) {
23420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23422 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23429 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23430 wxPyEndAllowThreads(__tstate
);
23431 if (PyErr_Occurred()) SWIG_fail
;
23433 resultobj
= result
;
23440 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23442 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23443 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23444 return SWIG_Py_Void();
23447 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23448 PyObject
*resultobj
= 0;
23450 wxColour
*arg2
= 0 ;
23451 wxDCTextColourChanger
*result
= 0 ;
23455 PyObject
* obj0
= 0 ;
23456 PyObject
* obj1
= 0 ;
23457 char * kwnames
[] = {
23458 (char *) "dc",(char *) "col", NULL
23461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23462 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23463 if (!SWIG_IsOK(res1
)) {
23464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23469 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23472 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23476 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23477 wxPyEndAllowThreads(__tstate
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23487 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23488 PyObject
*resultobj
= 0;
23489 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23492 PyObject
*swig_obj
[1] ;
23494 if (!args
) SWIG_fail
;
23495 swig_obj
[0] = args
;
23496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23497 if (!SWIG_IsOK(res1
)) {
23498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23500 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23505 wxPyEndAllowThreads(__tstate
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23508 resultobj
= SWIG_Py_Void();
23515 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23517 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23518 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23519 return SWIG_Py_Void();
23522 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23523 return SWIG_Python_InitShadowInstance(args
);
23526 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23527 PyObject
*resultobj
= 0;
23530 wxDCPenChanger
*result
= 0 ;
23535 PyObject
* obj0
= 0 ;
23536 PyObject
* obj1
= 0 ;
23537 char * kwnames
[] = {
23538 (char *) "dc",(char *) "pen", NULL
23541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23542 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23543 if (!SWIG_IsOK(res1
)) {
23544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23549 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23550 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23551 if (!SWIG_IsOK(res2
)) {
23552 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23555 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23557 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23560 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23561 wxPyEndAllowThreads(__tstate
);
23562 if (PyErr_Occurred()) SWIG_fail
;
23564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23571 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23572 PyObject
*resultobj
= 0;
23573 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23576 PyObject
*swig_obj
[1] ;
23578 if (!args
) SWIG_fail
;
23579 swig_obj
[0] = args
;
23580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23581 if (!SWIG_IsOK(res1
)) {
23582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23584 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23589 wxPyEndAllowThreads(__tstate
);
23590 if (PyErr_Occurred()) SWIG_fail
;
23592 resultobj
= SWIG_Py_Void();
23599 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23601 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23602 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23603 return SWIG_Py_Void();
23606 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23607 return SWIG_Python_InitShadowInstance(args
);
23610 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23611 PyObject
*resultobj
= 0;
23613 wxBrush
*arg2
= 0 ;
23614 wxDCBrushChanger
*result
= 0 ;
23619 PyObject
* obj0
= 0 ;
23620 PyObject
* obj1
= 0 ;
23621 char * kwnames
[] = {
23622 (char *) "dc",(char *) "brush", NULL
23625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23626 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23627 if (!SWIG_IsOK(res1
)) {
23628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23633 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23634 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23635 if (!SWIG_IsOK(res2
)) {
23636 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23639 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23641 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23644 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23645 wxPyEndAllowThreads(__tstate
);
23646 if (PyErr_Occurred()) SWIG_fail
;
23648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23655 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23656 PyObject
*resultobj
= 0;
23657 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23660 PyObject
*swig_obj
[1] ;
23662 if (!args
) SWIG_fail
;
23663 swig_obj
[0] = args
;
23664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23665 if (!SWIG_IsOK(res1
)) {
23666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23668 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23673 wxPyEndAllowThreads(__tstate
);
23674 if (PyErr_Occurred()) SWIG_fail
;
23676 resultobj
= SWIG_Py_Void();
23683 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23685 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23686 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23687 return SWIG_Py_Void();
23690 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23691 return SWIG_Python_InitShadowInstance(args
);
23694 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23695 PyObject
*resultobj
= 0;
23697 wxRegion
*arg2
= 0 ;
23698 wxDCClipper
*result
= 0 ;
23704 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23706 if (!SWIG_IsOK(res1
)) {
23707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23712 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23713 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23714 if (!SWIG_IsOK(res2
)) {
23715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23720 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23723 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23724 wxPyEndAllowThreads(__tstate
);
23725 if (PyErr_Occurred()) SWIG_fail
;
23727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23734 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23735 PyObject
*resultobj
= 0;
23738 wxDCClipper
*result
= 0 ;
23743 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23745 if (!SWIG_IsOK(res1
)) {
23746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23749 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23751 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23754 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23758 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23759 wxPyEndAllowThreads(__tstate
);
23760 if (PyErr_Occurred()) SWIG_fail
;
23762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23769 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23770 PyObject
*resultobj
= 0;
23776 wxDCClipper
*result
= 0 ;
23788 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23790 if (!SWIG_IsOK(res1
)) {
23791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23794 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23796 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23797 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23798 if (!SWIG_IsOK(ecode2
)) {
23799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23801 arg2
= static_cast< int >(val2
);
23802 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23803 if (!SWIG_IsOK(ecode3
)) {
23804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23806 arg3
= static_cast< int >(val3
);
23807 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23808 if (!SWIG_IsOK(ecode4
)) {
23809 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23811 arg4
= static_cast< int >(val4
);
23812 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23813 if (!SWIG_IsOK(ecode5
)) {
23814 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23816 arg5
= static_cast< int >(val5
);
23818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23819 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23820 wxPyEndAllowThreads(__tstate
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23823 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23830 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23834 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23839 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23840 _v
= SWIG_CheckState(res
);
23842 if (!_v
) goto check_1
;
23843 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23848 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23851 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23855 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23860 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23861 PyObject
*resultobj
= 0;
23862 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23865 PyObject
*swig_obj
[1] ;
23867 if (!args
) SWIG_fail
;
23868 swig_obj
[0] = args
;
23869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23870 if (!SWIG_IsOK(res1
)) {
23871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23873 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23881 resultobj
= SWIG_Py_Void();
23888 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23890 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23891 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23892 return SWIG_Py_Void();
23895 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23896 return SWIG_Python_InitShadowInstance(args
);
23899 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23900 PyObject
*resultobj
= 0;
23901 wxScreenDC
*result
= 0 ;
23903 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23905 if (!wxPyCheckForApp()) SWIG_fail
;
23906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23907 result
= (wxScreenDC
*)new wxScreenDC();
23908 wxPyEndAllowThreads(__tstate
);
23909 if (PyErr_Occurred()) SWIG_fail
;
23911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23918 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23919 PyObject
*resultobj
= 0;
23920 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23921 wxWindow
*arg2
= (wxWindow
*) 0 ;
23927 PyObject
* obj0
= 0 ;
23928 PyObject
* obj1
= 0 ;
23929 char * kwnames
[] = {
23930 (char *) "self",(char *) "window", NULL
23933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23935 if (!SWIG_IsOK(res1
)) {
23936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23938 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23939 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23940 if (!SWIG_IsOK(res2
)) {
23941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23943 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23946 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23947 wxPyEndAllowThreads(__tstate
);
23948 if (PyErr_Occurred()) SWIG_fail
;
23951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23959 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23960 PyObject
*resultobj
= 0;
23961 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23962 wxRect
*arg2
= (wxRect
*) NULL
;
23968 PyObject
* obj0
= 0 ;
23969 PyObject
* obj1
= 0 ;
23970 char * kwnames
[] = {
23971 (char *) "self",(char *) "rect", NULL
23974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23976 if (!SWIG_IsOK(res1
)) {
23977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23979 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23981 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23982 if (!SWIG_IsOK(res2
)) {
23983 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23985 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23989 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23990 wxPyEndAllowThreads(__tstate
);
23991 if (PyErr_Occurred()) SWIG_fail
;
23994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24002 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24003 PyObject
*resultobj
= 0;
24004 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24008 PyObject
*swig_obj
[1] ;
24010 if (!args
) SWIG_fail
;
24011 swig_obj
[0] = args
;
24012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24013 if (!SWIG_IsOK(res1
)) {
24014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24016 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24019 result
= (bool)(arg1
)->EndDrawingOnTop();
24020 wxPyEndAllowThreads(__tstate
);
24021 if (PyErr_Occurred()) SWIG_fail
;
24024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24032 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24034 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24035 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24036 return SWIG_Py_Void();
24039 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24040 return SWIG_Python_InitShadowInstance(args
);
24043 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24044 PyObject
*resultobj
= 0;
24045 wxWindow
*arg1
= (wxWindow
*) 0 ;
24046 wxWindowDC
*result
= 0 ;
24049 PyObject
* obj0
= 0 ;
24050 char * kwnames
[] = {
24051 (char *) "win", NULL
24054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24056 if (!SWIG_IsOK(res1
)) {
24057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24059 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24061 if (!wxPyCheckForApp()) SWIG_fail
;
24062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24063 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24064 wxPyEndAllowThreads(__tstate
);
24065 if (PyErr_Occurred()) SWIG_fail
;
24067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24074 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24076 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24077 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24078 return SWIG_Py_Void();
24081 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24082 return SWIG_Python_InitShadowInstance(args
);
24085 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24086 PyObject
*resultobj
= 0;
24087 wxWindow
*arg1
= (wxWindow
*) 0 ;
24088 wxClientDC
*result
= 0 ;
24091 PyObject
* obj0
= 0 ;
24092 char * kwnames
[] = {
24093 (char *) "win", NULL
24096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24098 if (!SWIG_IsOK(res1
)) {
24099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24101 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24103 if (!wxPyCheckForApp()) SWIG_fail
;
24104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24105 result
= (wxClientDC
*)new wxClientDC(arg1
);
24106 wxPyEndAllowThreads(__tstate
);
24107 if (PyErr_Occurred()) SWIG_fail
;
24109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24116 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24118 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24119 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24120 return SWIG_Py_Void();
24123 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24124 return SWIG_Python_InitShadowInstance(args
);
24127 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24128 PyObject
*resultobj
= 0;
24129 wxWindow
*arg1
= (wxWindow
*) 0 ;
24130 wxPaintDC
*result
= 0 ;
24133 PyObject
* obj0
= 0 ;
24134 char * kwnames
[] = {
24135 (char *) "win", NULL
24138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24140 if (!SWIG_IsOK(res1
)) {
24141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24143 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24145 if (!wxPyCheckForApp()) SWIG_fail
;
24146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24147 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24148 wxPyEndAllowThreads(__tstate
);
24149 if (PyErr_Occurred()) SWIG_fail
;
24151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24158 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24160 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24161 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24162 return SWIG_Py_Void();
24165 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24166 return SWIG_Python_InitShadowInstance(args
);
24169 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24170 PyObject
*resultobj
= 0;
24171 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24172 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24173 wxMemoryDC
*result
= 0 ;
24176 PyObject
* obj0
= 0 ;
24177 char * kwnames
[] = {
24178 (char *) "bitmap", NULL
24181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24183 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24184 if (!SWIG_IsOK(res1
)) {
24185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24188 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24190 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24193 if (!wxPyCheckForApp()) SWIG_fail
;
24194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24195 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24206 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24207 PyObject
*resultobj
= 0;
24208 wxDC
*arg1
= (wxDC
*) 0 ;
24209 wxMemoryDC
*result
= 0 ;
24212 PyObject
* obj0
= 0 ;
24213 char * kwnames
[] = {
24214 (char *) "oldDC", NULL
24217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24219 if (!SWIG_IsOK(res1
)) {
24220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24222 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24224 if (!wxPyCheckForApp()) SWIG_fail
;
24225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24226 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24227 wxPyEndAllowThreads(__tstate
);
24228 if (PyErr_Occurred()) SWIG_fail
;
24230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24237 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24238 PyObject
*resultobj
= 0;
24239 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24240 wxBitmap
*arg2
= 0 ;
24245 PyObject
* obj0
= 0 ;
24246 PyObject
* obj1
= 0 ;
24247 char * kwnames
[] = {
24248 (char *) "self",(char *) "bitmap", NULL
24251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24253 if (!SWIG_IsOK(res1
)) {
24254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24256 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24257 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24258 if (!SWIG_IsOK(res2
)) {
24259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24264 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24267 (arg1
)->SelectObject(*arg2
);
24268 wxPyEndAllowThreads(__tstate
);
24269 if (PyErr_Occurred()) SWIG_fail
;
24271 resultobj
= SWIG_Py_Void();
24278 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24279 PyObject
*resultobj
= 0;
24280 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24281 wxBitmap
*arg2
= 0 ;
24286 PyObject
* obj0
= 0 ;
24287 PyObject
* obj1
= 0 ;
24288 char * kwnames
[] = {
24289 (char *) "self",(char *) "bmp", NULL
24292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24294 if (!SWIG_IsOK(res1
)) {
24295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24297 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24298 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24299 if (!SWIG_IsOK(res2
)) {
24300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24305 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24308 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24309 wxPyEndAllowThreads(__tstate
);
24310 if (PyErr_Occurred()) SWIG_fail
;
24312 resultobj
= SWIG_Py_Void();
24319 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24321 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24322 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24323 return SWIG_Py_Void();
24326 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24327 return SWIG_Python_InitShadowInstance(args
);
24330 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24331 PyObject
*resultobj
= 0;
24332 wxDC
*arg1
= (wxDC
*) 0 ;
24333 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24334 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24335 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24336 wxBufferedDC
*result
= 0 ;
24344 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24346 if (!SWIG_IsOK(res1
)) {
24347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24349 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24351 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24352 if (!SWIG_IsOK(res2
)) {
24353 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24356 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24358 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24361 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24362 if (!SWIG_IsOK(ecode3
)) {
24363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24365 arg3
= static_cast< int >(val3
);
24368 if (!wxPyCheckForApp()) SWIG_fail
;
24369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24370 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24371 wxPyEndAllowThreads(__tstate
);
24372 if (PyErr_Occurred()) SWIG_fail
;
24374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24381 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24382 PyObject
*resultobj
= 0;
24383 wxDC
*arg1
= (wxDC
*) 0 ;
24385 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24386 wxBufferedDC
*result
= 0 ;
24393 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24395 if (!SWIG_IsOK(res1
)) {
24396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24398 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24401 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24404 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24405 if (!SWIG_IsOK(ecode3
)) {
24406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24408 arg3
= static_cast< int >(val3
);
24411 if (!wxPyCheckForApp()) SWIG_fail
;
24412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24413 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24414 wxPyEndAllowThreads(__tstate
);
24415 if (PyErr_Occurred()) SWIG_fail
;
24417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24424 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24428 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24430 if ((argc
>= 1) && (argc
<= 3)) {
24435 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24436 _v
= SWIG_CheckState(res
);
24438 if (!_v
) goto check_1
;
24440 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24444 if ((argc
>= 2) && (argc
<= 3)) {
24445 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24449 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24454 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24455 PyObject
*resultobj
= 0;
24456 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24459 PyObject
*swig_obj
[1] ;
24461 if (!args
) SWIG_fail
;
24462 swig_obj
[0] = args
;
24463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24464 if (!SWIG_IsOK(res1
)) {
24465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24467 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24472 wxPyEndAllowThreads(__tstate
);
24473 if (PyErr_Occurred()) SWIG_fail
;
24475 resultobj
= SWIG_Py_Void();
24482 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24483 PyObject
*resultobj
= 0;
24484 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24487 PyObject
*swig_obj
[1] ;
24489 if (!args
) SWIG_fail
;
24490 swig_obj
[0] = args
;
24491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24492 if (!SWIG_IsOK(res1
)) {
24493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24495 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24499 wxPyEndAllowThreads(__tstate
);
24500 if (PyErr_Occurred()) SWIG_fail
;
24502 resultobj
= SWIG_Py_Void();
24509 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24510 PyObject
*resultobj
= 0;
24511 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24517 PyObject
* obj0
= 0 ;
24518 PyObject
* obj1
= 0 ;
24519 char * kwnames
[] = {
24520 (char *) "self",(char *) "style", NULL
24523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24525 if (!SWIG_IsOK(res1
)) {
24526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24528 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24530 if (!SWIG_IsOK(ecode2
)) {
24531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
24533 arg2
= static_cast< int >(val2
);
24535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24536 (arg1
)->SetStyle(arg2
);
24537 wxPyEndAllowThreads(__tstate
);
24538 if (PyErr_Occurred()) SWIG_fail
;
24540 resultobj
= SWIG_Py_Void();
24547 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24548 PyObject
*resultobj
= 0;
24549 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24553 PyObject
*swig_obj
[1] ;
24555 if (!args
) SWIG_fail
;
24556 swig_obj
[0] = args
;
24557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24558 if (!SWIG_IsOK(res1
)) {
24559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
24561 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24564 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
24565 wxPyEndAllowThreads(__tstate
);
24566 if (PyErr_Occurred()) SWIG_fail
;
24568 resultobj
= SWIG_From_int(static_cast< int >(result
));
24575 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24577 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24578 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24579 return SWIG_Py_Void();
24582 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24583 return SWIG_Python_InitShadowInstance(args
);
24586 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24587 PyObject
*resultobj
= 0;
24588 wxWindow
*arg1
= (wxWindow
*) 0 ;
24589 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24590 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24591 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24592 wxBufferedPaintDC
*result
= 0 ;
24599 PyObject
* obj0
= 0 ;
24600 PyObject
* obj1
= 0 ;
24601 PyObject
* obj2
= 0 ;
24602 char * kwnames
[] = {
24603 (char *) "window",(char *) "buffer",(char *) "style", NULL
24606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24608 if (!SWIG_IsOK(res1
)) {
24609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24611 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24613 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24614 if (!SWIG_IsOK(res2
)) {
24615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24620 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24623 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24624 if (!SWIG_IsOK(ecode3
)) {
24625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24627 arg3
= static_cast< int >(val3
);
24630 if (!wxPyCheckForApp()) SWIG_fail
;
24631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24632 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
24633 wxPyEndAllowThreads(__tstate
);
24634 if (PyErr_Occurred()) SWIG_fail
;
24636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24643 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24645 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24646 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24647 return SWIG_Py_Void();
24650 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24651 return SWIG_Python_InitShadowInstance(args
);
24654 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24655 PyObject
*resultobj
= 0;
24656 wxWindow
*arg1
= (wxWindow
*) 0 ;
24657 wxAutoBufferedPaintDC
*result
= 0 ;
24660 PyObject
* obj0
= 0 ;
24661 char * kwnames
[] = {
24662 (char *) "win", NULL
24665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24667 if (!SWIG_IsOK(res1
)) {
24668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24670 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24673 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24684 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24686 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24687 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24688 return SWIG_Py_Void();
24691 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24692 return SWIG_Python_InitShadowInstance(args
);
24695 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24696 PyObject
*resultobj
= 0;
24697 wxWindow
*arg1
= (wxWindow
*) 0 ;
24701 PyObject
* obj0
= 0 ;
24702 char * kwnames
[] = {
24703 (char *) "window", NULL
24706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24708 if (!SWIG_IsOK(res1
)) {
24709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24711 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24714 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24715 wxPyEndAllowThreads(__tstate
);
24716 if (PyErr_Occurred()) SWIG_fail
;
24719 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24727 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24728 PyObject
*resultobj
= 0;
24731 wxMirrorDC
*result
= 0 ;
24736 PyObject
* obj0
= 0 ;
24737 PyObject
* obj1
= 0 ;
24738 char * kwnames
[] = {
24739 (char *) "dc",(char *) "mirror", NULL
24742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24743 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24744 if (!SWIG_IsOK(res1
)) {
24745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24748 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24750 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24751 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24752 if (!SWIG_IsOK(ecode2
)) {
24753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24755 arg2
= static_cast< bool >(val2
);
24757 if (!wxPyCheckForApp()) SWIG_fail
;
24758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24759 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24760 wxPyEndAllowThreads(__tstate
);
24761 if (PyErr_Occurred()) SWIG_fail
;
24763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24770 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24772 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24773 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24774 return SWIG_Py_Void();
24777 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24778 return SWIG_Python_InitShadowInstance(args
);
24781 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24782 PyObject
*resultobj
= 0;
24783 wxPrintData
*arg1
= 0 ;
24784 wxPostScriptDC
*result
= 0 ;
24787 PyObject
* obj0
= 0 ;
24788 char * kwnames
[] = {
24789 (char *) "printData", NULL
24792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24793 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24794 if (!SWIG_IsOK(res1
)) {
24795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24800 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24802 if (!wxPyCheckForApp()) SWIG_fail
;
24803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24804 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24805 wxPyEndAllowThreads(__tstate
);
24806 if (PyErr_Occurred()) SWIG_fail
;
24808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24815 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24816 PyObject
*resultobj
= 0;
24817 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24818 wxPrintData
*result
= 0 ;
24821 PyObject
*swig_obj
[1] ;
24823 if (!args
) SWIG_fail
;
24824 swig_obj
[0] = args
;
24825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24826 if (!SWIG_IsOK(res1
)) {
24827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24829 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24833 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24834 result
= (wxPrintData
*) &_result_ref
;
24836 wxPyEndAllowThreads(__tstate
);
24837 if (PyErr_Occurred()) SWIG_fail
;
24839 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24846 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24847 PyObject
*resultobj
= 0;
24848 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24849 wxPrintData
*arg2
= 0 ;
24854 PyObject
* obj0
= 0 ;
24855 PyObject
* obj1
= 0 ;
24856 char * kwnames
[] = {
24857 (char *) "self",(char *) "data", NULL
24860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24862 if (!SWIG_IsOK(res1
)) {
24863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24865 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24866 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24867 if (!SWIG_IsOK(res2
)) {
24868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24871 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24873 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24876 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24877 wxPyEndAllowThreads(__tstate
);
24878 if (PyErr_Occurred()) SWIG_fail
;
24880 resultobj
= SWIG_Py_Void();
24887 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24888 PyObject
*resultobj
= 0;
24892 PyObject
* obj0
= 0 ;
24893 char * kwnames
[] = {
24894 (char *) "ppi", NULL
24897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24898 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24899 if (!SWIG_IsOK(ecode1
)) {
24900 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24902 arg1
= static_cast< int >(val1
);
24904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24905 wxPostScriptDC::SetResolution(arg1
);
24906 wxPyEndAllowThreads(__tstate
);
24907 if (PyErr_Occurred()) SWIG_fail
;
24909 resultobj
= SWIG_Py_Void();
24916 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24917 PyObject
*resultobj
= 0;
24920 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24923 result
= (int)wxPostScriptDC::GetResolution();
24924 wxPyEndAllowThreads(__tstate
);
24925 if (PyErr_Occurred()) SWIG_fail
;
24927 resultobj
= SWIG_From_int(static_cast< int >(result
));
24934 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24936 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24937 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24938 return SWIG_Py_Void();
24941 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24942 return SWIG_Python_InitShadowInstance(args
);
24945 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24946 PyObject
*resultobj
= 0;
24947 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24948 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24949 wxMetaFile
*result
= 0 ;
24950 bool temp1
= false ;
24951 PyObject
* obj0
= 0 ;
24952 char * kwnames
[] = {
24953 (char *) "filename", NULL
24956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24959 arg1
= wxString_in_helper(obj0
);
24960 if (arg1
== NULL
) SWIG_fail
;
24965 if (!wxPyCheckForApp()) SWIG_fail
;
24966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24967 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24968 wxPyEndAllowThreads(__tstate
);
24969 if (PyErr_Occurred()) SWIG_fail
;
24971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24986 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24987 PyObject
*resultobj
= 0;
24988 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24991 PyObject
*swig_obj
[1] ;
24993 if (!args
) SWIG_fail
;
24994 swig_obj
[0] = args
;
24995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
24996 if (!SWIG_IsOK(res1
)) {
24997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24999 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25004 wxPyEndAllowThreads(__tstate
);
25005 if (PyErr_Occurred()) SWIG_fail
;
25007 resultobj
= SWIG_Py_Void();
25014 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25015 PyObject
*resultobj
= 0;
25016 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25020 PyObject
*swig_obj
[1] ;
25022 if (!args
) SWIG_fail
;
25023 swig_obj
[0] = args
;
25024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25025 if (!SWIG_IsOK(res1
)) {
25026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25028 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25031 result
= (bool)(arg1
)->IsOk();
25032 wxPyEndAllowThreads(__tstate
);
25033 if (PyErr_Occurred()) SWIG_fail
;
25036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25044 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25045 PyObject
*resultobj
= 0;
25046 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25047 int arg2
= (int) 0 ;
25048 int arg3
= (int) 0 ;
25056 PyObject
* obj0
= 0 ;
25057 PyObject
* obj1
= 0 ;
25058 PyObject
* obj2
= 0 ;
25059 char * kwnames
[] = {
25060 (char *) "self",(char *) "width",(char *) "height", NULL
25063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25065 if (!SWIG_IsOK(res1
)) {
25066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25068 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25071 if (!SWIG_IsOK(ecode2
)) {
25072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25074 arg2
= static_cast< int >(val2
);
25077 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25078 if (!SWIG_IsOK(ecode3
)) {
25079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25081 arg3
= static_cast< int >(val3
);
25084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25085 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25086 wxPyEndAllowThreads(__tstate
);
25087 if (PyErr_Occurred()) SWIG_fail
;
25090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25098 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25099 PyObject
*resultobj
= 0;
25100 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25104 PyObject
*swig_obj
[1] ;
25106 if (!args
) SWIG_fail
;
25107 swig_obj
[0] = args
;
25108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25109 if (!SWIG_IsOK(res1
)) {
25110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25112 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25115 result
= (arg1
)->GetSize();
25116 wxPyEndAllowThreads(__tstate
);
25117 if (PyErr_Occurred()) SWIG_fail
;
25119 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25126 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25127 PyObject
*resultobj
= 0;
25128 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25132 PyObject
*swig_obj
[1] ;
25134 if (!args
) SWIG_fail
;
25135 swig_obj
[0] = args
;
25136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25137 if (!SWIG_IsOK(res1
)) {
25138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25140 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25143 result
= (int)(arg1
)->GetWidth();
25144 wxPyEndAllowThreads(__tstate
);
25145 if (PyErr_Occurred()) SWIG_fail
;
25147 resultobj
= SWIG_From_int(static_cast< int >(result
));
25154 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25155 PyObject
*resultobj
= 0;
25156 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25160 PyObject
*swig_obj
[1] ;
25162 if (!args
) SWIG_fail
;
25163 swig_obj
[0] = args
;
25164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25165 if (!SWIG_IsOK(res1
)) {
25166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25168 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25171 result
= (int)(arg1
)->GetHeight();
25172 wxPyEndAllowThreads(__tstate
);
25173 if (PyErr_Occurred()) SWIG_fail
;
25175 resultobj
= SWIG_From_int(static_cast< int >(result
));
25182 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25184 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25185 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25186 return SWIG_Py_Void();
25189 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25190 return SWIG_Python_InitShadowInstance(args
);
25193 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25194 PyObject
*resultobj
= 0;
25195 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25196 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25197 int arg2
= (int) 0 ;
25198 int arg3
= (int) 0 ;
25199 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25200 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25201 wxMetaFileDC
*result
= 0 ;
25202 bool temp1
= false ;
25207 bool temp4
= false ;
25208 PyObject
* obj0
= 0 ;
25209 PyObject
* obj1
= 0 ;
25210 PyObject
* obj2
= 0 ;
25211 PyObject
* obj3
= 0 ;
25212 char * kwnames
[] = {
25213 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25219 arg1
= wxString_in_helper(obj0
);
25220 if (arg1
== NULL
) SWIG_fail
;
25225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25226 if (!SWIG_IsOK(ecode2
)) {
25227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25229 arg2
= static_cast< int >(val2
);
25232 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25233 if (!SWIG_IsOK(ecode3
)) {
25234 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25236 arg3
= static_cast< int >(val3
);
25240 arg4
= wxString_in_helper(obj3
);
25241 if (arg4
== NULL
) SWIG_fail
;
25246 if (!wxPyCheckForApp()) SWIG_fail
;
25247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25248 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25249 wxPyEndAllowThreads(__tstate
);
25250 if (PyErr_Occurred()) SWIG_fail
;
25252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25275 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25276 PyObject
*resultobj
= 0;
25277 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25278 wxMetaFile
*result
= 0 ;
25281 PyObject
*swig_obj
[1] ;
25283 if (!args
) SWIG_fail
;
25284 swig_obj
[0] = args
;
25285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25286 if (!SWIG_IsOK(res1
)) {
25287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25289 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25292 result
= (wxMetaFile
*)(arg1
)->Close();
25293 wxPyEndAllowThreads(__tstate
);
25294 if (PyErr_Occurred()) SWIG_fail
;
25296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25303 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25305 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25306 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25307 return SWIG_Py_Void();
25310 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25311 return SWIG_Python_InitShadowInstance(args
);
25314 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25315 PyObject
*resultobj
= 0;
25316 wxPrintData
*arg1
= 0 ;
25317 wxPrinterDC
*result
= 0 ;
25320 PyObject
* obj0
= 0 ;
25321 char * kwnames
[] = {
25322 (char *) "printData", NULL
25325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25326 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25327 if (!SWIG_IsOK(res1
)) {
25328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25333 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25335 if (!wxPyCheckForApp()) SWIG_fail
;
25336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25337 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25338 wxPyEndAllowThreads(__tstate
);
25339 if (PyErr_Occurred()) SWIG_fail
;
25341 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25348 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25350 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25351 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25352 return SWIG_Py_Void();
25355 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25356 return SWIG_Python_InitShadowInstance(args
);
25359 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25360 PyObject
*resultobj
= 0;
25361 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25362 wxGraphicsObject
*result
= 0 ;
25365 PyObject
* obj0
= 0 ;
25366 char * kwnames
[] = {
25367 (char *) "renderer", NULL
25370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25373 if (!SWIG_IsOK(res1
)) {
25374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25376 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25379 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25380 if (PyErr_Occurred()) SWIG_fail
;
25382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25389 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25390 PyObject
*resultobj
= 0;
25391 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25394 PyObject
*swig_obj
[1] ;
25396 if (!args
) SWIG_fail
;
25397 swig_obj
[0] = args
;
25398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25399 if (!SWIG_IsOK(res1
)) {
25400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25402 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25406 if (PyErr_Occurred()) SWIG_fail
;
25408 resultobj
= SWIG_Py_Void();
25415 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25416 PyObject
*resultobj
= 0;
25417 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25421 PyObject
*swig_obj
[1] ;
25423 if (!args
) SWIG_fail
;
25424 swig_obj
[0] = args
;
25425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25426 if (!SWIG_IsOK(res1
)) {
25427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25429 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25431 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25432 if (PyErr_Occurred()) SWIG_fail
;
25435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25443 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25444 PyObject
*resultobj
= 0;
25445 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25446 wxGraphicsRenderer
*result
= 0 ;
25449 PyObject
*swig_obj
[1] ;
25451 if (!args
) SWIG_fail
;
25452 swig_obj
[0] = args
;
25453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25454 if (!SWIG_IsOK(res1
)) {
25455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25457 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25459 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25460 if (PyErr_Occurred()) SWIG_fail
;
25462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25469 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25471 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25472 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25473 return SWIG_Py_Void();
25476 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25477 return SWIG_Python_InitShadowInstance(args
);
25480 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25481 PyObject
*resultobj
= 0;
25482 wxGraphicsPen
*result
= 0 ;
25484 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25486 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25487 if (PyErr_Occurred()) SWIG_fail
;
25489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25496 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25497 PyObject
*resultobj
= 0;
25498 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25501 PyObject
*swig_obj
[1] ;
25503 if (!args
) SWIG_fail
;
25504 swig_obj
[0] = args
;
25505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25506 if (!SWIG_IsOK(res1
)) {
25507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25509 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25515 resultobj
= SWIG_Py_Void();
25522 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25524 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25525 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25526 return SWIG_Py_Void();
25529 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25530 return SWIG_Python_InitShadowInstance(args
);
25533 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25534 PyObject
*resultobj
= 0;
25535 wxGraphicsBrush
*result
= 0 ;
25537 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25539 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25540 if (PyErr_Occurred()) SWIG_fail
;
25542 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25549 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25550 PyObject
*resultobj
= 0;
25551 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25554 PyObject
*swig_obj
[1] ;
25556 if (!args
) SWIG_fail
;
25557 swig_obj
[0] = args
;
25558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25559 if (!SWIG_IsOK(res1
)) {
25560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25562 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25566 if (PyErr_Occurred()) SWIG_fail
;
25568 resultobj
= SWIG_Py_Void();
25575 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25577 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25578 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25579 return SWIG_Py_Void();
25582 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25583 return SWIG_Python_InitShadowInstance(args
);
25586 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25587 PyObject
*resultobj
= 0;
25588 wxGraphicsFont
*result
= 0 ;
25590 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25592 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25593 if (PyErr_Occurred()) SWIG_fail
;
25595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25602 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25603 PyObject
*resultobj
= 0;
25604 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25607 PyObject
*swig_obj
[1] ;
25609 if (!args
) SWIG_fail
;
25610 swig_obj
[0] = args
;
25611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25612 if (!SWIG_IsOK(res1
)) {
25613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25615 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25619 if (PyErr_Occurred()) SWIG_fail
;
25621 resultobj
= SWIG_Py_Void();
25628 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25630 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25631 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25632 return SWIG_Py_Void();
25635 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25636 return SWIG_Python_InitShadowInstance(args
);
25639 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25640 PyObject
*resultobj
= 0;
25641 wxGraphicsMatrix
*result
= 0 ;
25643 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
25645 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
25646 if (PyErr_Occurred()) SWIG_fail
;
25648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
25655 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25656 PyObject
*resultobj
= 0;
25657 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25660 PyObject
*swig_obj
[1] ;
25662 if (!args
) SWIG_fail
;
25663 swig_obj
[0] = args
;
25664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25665 if (!SWIG_IsOK(res1
)) {
25666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25668 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25672 if (PyErr_Occurred()) SWIG_fail
;
25674 resultobj
= SWIG_Py_Void();
25681 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25682 PyObject
*resultobj
= 0;
25683 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25684 wxGraphicsMatrix
*arg2
= 0 ;
25689 PyObject
* obj0
= 0 ;
25690 PyObject
* obj1
= 0 ;
25691 char * kwnames
[] = {
25692 (char *) "self",(char *) "t", NULL
25695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25697 if (!SWIG_IsOK(res1
)) {
25698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25700 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25701 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25702 if (!SWIG_IsOK(res2
)) {
25703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25706 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25708 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25710 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25711 if (PyErr_Occurred()) SWIG_fail
;
25713 resultobj
= SWIG_Py_Void();
25720 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25721 PyObject
*resultobj
= 0;
25722 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25723 wxDouble arg2
= (wxDouble
) 1.0 ;
25724 wxDouble arg3
= (wxDouble
) 0.0 ;
25725 wxDouble arg4
= (wxDouble
) 0.0 ;
25726 wxDouble arg5
= (wxDouble
) 1.0 ;
25727 wxDouble arg6
= (wxDouble
) 0.0 ;
25728 wxDouble arg7
= (wxDouble
) 0.0 ;
25743 PyObject
* obj0
= 0 ;
25744 PyObject
* obj1
= 0 ;
25745 PyObject
* obj2
= 0 ;
25746 PyObject
* obj3
= 0 ;
25747 PyObject
* obj4
= 0 ;
25748 PyObject
* obj5
= 0 ;
25749 PyObject
* obj6
= 0 ;
25750 char * kwnames
[] = {
25751 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25756 if (!SWIG_IsOK(res1
)) {
25757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25759 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25761 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25762 if (!SWIG_IsOK(ecode2
)) {
25763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25765 arg2
= static_cast< wxDouble
>(val2
);
25768 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25769 if (!SWIG_IsOK(ecode3
)) {
25770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25772 arg3
= static_cast< wxDouble
>(val3
);
25775 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25776 if (!SWIG_IsOK(ecode4
)) {
25777 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25779 arg4
= static_cast< wxDouble
>(val4
);
25782 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25783 if (!SWIG_IsOK(ecode5
)) {
25784 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25786 arg5
= static_cast< wxDouble
>(val5
);
25789 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25790 if (!SWIG_IsOK(ecode6
)) {
25791 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25793 arg6
= static_cast< wxDouble
>(val6
);
25796 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25797 if (!SWIG_IsOK(ecode7
)) {
25798 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25800 arg7
= static_cast< wxDouble
>(val7
);
25803 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25804 if (PyErr_Occurred()) SWIG_fail
;
25806 resultobj
= SWIG_Py_Void();
25813 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25814 PyObject
*resultobj
= 0;
25815 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25818 PyObject
*swig_obj
[1] ;
25820 if (!args
) SWIG_fail
;
25821 swig_obj
[0] = args
;
25822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25823 if (!SWIG_IsOK(res1
)) {
25824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25826 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25829 if (PyErr_Occurred()) SWIG_fail
;
25831 resultobj
= SWIG_Py_Void();
25838 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25839 PyObject
*resultobj
= 0;
25840 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25841 wxGraphicsMatrix
*arg2
= 0 ;
25847 PyObject
* obj0
= 0 ;
25848 PyObject
* obj1
= 0 ;
25849 char * kwnames
[] = {
25850 (char *) "self",(char *) "t", NULL
25853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25855 if (!SWIG_IsOK(res1
)) {
25856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25858 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25859 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25860 if (!SWIG_IsOK(res2
)) {
25861 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25864 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25866 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25868 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
25869 if (PyErr_Occurred()) SWIG_fail
;
25872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25880 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25881 PyObject
*resultobj
= 0;
25882 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25886 PyObject
*swig_obj
[1] ;
25888 if (!args
) SWIG_fail
;
25889 swig_obj
[0] = args
;
25890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25891 if (!SWIG_IsOK(res1
)) {
25892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25894 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25896 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
25897 if (PyErr_Occurred()) SWIG_fail
;
25900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25908 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25909 PyObject
*resultobj
= 0;
25910 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25919 PyObject
* obj0
= 0 ;
25920 PyObject
* obj1
= 0 ;
25921 PyObject
* obj2
= 0 ;
25922 char * kwnames
[] = {
25923 (char *) "self",(char *) "dx",(char *) "dy", NULL
25926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25928 if (!SWIG_IsOK(res1
)) {
25929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25931 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25932 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25933 if (!SWIG_IsOK(ecode2
)) {
25934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25936 arg2
= static_cast< wxDouble
>(val2
);
25937 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25938 if (!SWIG_IsOK(ecode3
)) {
25939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25941 arg3
= static_cast< wxDouble
>(val3
);
25943 (arg1
)->Translate(arg2
,arg3
);
25944 if (PyErr_Occurred()) SWIG_fail
;
25946 resultobj
= SWIG_Py_Void();
25953 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25954 PyObject
*resultobj
= 0;
25955 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25964 PyObject
* obj0
= 0 ;
25965 PyObject
* obj1
= 0 ;
25966 PyObject
* obj2
= 0 ;
25967 char * kwnames
[] = {
25968 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25973 if (!SWIG_IsOK(res1
)) {
25974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25976 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25977 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25978 if (!SWIG_IsOK(ecode2
)) {
25979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25981 arg2
= static_cast< wxDouble
>(val2
);
25982 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25983 if (!SWIG_IsOK(ecode3
)) {
25984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25986 arg3
= static_cast< wxDouble
>(val3
);
25988 (arg1
)->Scale(arg2
,arg3
);
25989 if (PyErr_Occurred()) SWIG_fail
;
25991 resultobj
= SWIG_Py_Void();
25998 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25999 PyObject
*resultobj
= 0;
26000 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26006 PyObject
* obj0
= 0 ;
26007 PyObject
* obj1
= 0 ;
26008 char * kwnames
[] = {
26009 (char *) "self",(char *) "angle", NULL
26012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26014 if (!SWIG_IsOK(res1
)) {
26015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26017 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26018 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26019 if (!SWIG_IsOK(ecode2
)) {
26020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26022 arg2
= static_cast< wxDouble
>(val2
);
26024 (arg1
)->Rotate(arg2
);
26025 if (PyErr_Occurred()) SWIG_fail
;
26027 resultobj
= SWIG_Py_Void();
26034 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26035 PyObject
*resultobj
= 0;
26036 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26037 wxDouble
*arg2
= (wxDouble
*) 0 ;
26038 wxDouble
*arg3
= (wxDouble
*) 0 ;
26045 PyObject
* obj0
= 0 ;
26046 PyObject
* obj1
= 0 ;
26047 PyObject
* obj2
= 0 ;
26048 char * kwnames
[] = {
26049 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26054 if (!SWIG_IsOK(res1
)) {
26055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26057 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26058 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26060 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26061 if (!SWIG_IsOK(ecode
)) {
26062 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26064 temp2
= static_cast< wxDouble
>(val
);
26066 res2
= SWIG_AddTmpMask(ecode
);
26068 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26070 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26071 if (!SWIG_IsOK(ecode
)) {
26072 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26074 temp3
= static_cast< wxDouble
>(val
);
26076 res3
= SWIG_AddTmpMask(ecode
);
26079 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26080 if (PyErr_Occurred()) SWIG_fail
;
26082 resultobj
= SWIG_Py_Void();
26083 if (SWIG_IsTmpObj(res2
)) {
26084 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26086 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26087 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26089 if (SWIG_IsTmpObj(res3
)) {
26090 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26092 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26093 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26101 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26102 PyObject
*resultobj
= 0;
26103 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26104 wxDouble
*arg2
= (wxDouble
*) 0 ;
26105 wxDouble
*arg3
= (wxDouble
*) 0 ;
26112 PyObject
* obj0
= 0 ;
26113 PyObject
* obj1
= 0 ;
26114 PyObject
* obj2
= 0 ;
26115 char * kwnames
[] = {
26116 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26121 if (!SWIG_IsOK(res1
)) {
26122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26124 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26125 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26127 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26128 if (!SWIG_IsOK(ecode
)) {
26129 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26131 temp2
= static_cast< wxDouble
>(val
);
26133 res2
= SWIG_AddTmpMask(ecode
);
26135 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26137 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26138 if (!SWIG_IsOK(ecode
)) {
26139 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26141 temp3
= static_cast< wxDouble
>(val
);
26143 res3
= SWIG_AddTmpMask(ecode
);
26146 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26147 if (PyErr_Occurred()) SWIG_fail
;
26149 resultobj
= SWIG_Py_Void();
26150 if (SWIG_IsTmpObj(res2
)) {
26151 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26153 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26154 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26156 if (SWIG_IsTmpObj(res3
)) {
26157 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26159 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26160 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26168 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26169 PyObject
*resultobj
= 0;
26170 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26174 PyObject
*swig_obj
[1] ;
26176 if (!args
) SWIG_fail
;
26177 swig_obj
[0] = args
;
26178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26179 if (!SWIG_IsOK(res1
)) {
26180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26182 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26184 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26185 if (PyErr_Occurred()) SWIG_fail
;
26187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26194 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26196 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26197 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26198 return SWIG_Py_Void();
26201 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26202 return SWIG_Python_InitShadowInstance(args
);
26205 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26206 PyObject
*resultobj
= 0;
26207 wxGraphicsPath
*result
= 0 ;
26209 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26211 if (!wxPyCheckForApp()) SWIG_fail
;
26212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26213 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26214 wxPyEndAllowThreads(__tstate
);
26215 if (PyErr_Occurred()) SWIG_fail
;
26217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
26224 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26225 PyObject
*resultobj
= 0;
26226 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26229 PyObject
*swig_obj
[1] ;
26231 if (!args
) SWIG_fail
;
26232 swig_obj
[0] = args
;
26233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26234 if (!SWIG_IsOK(res1
)) {
26235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26237 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26241 if (PyErr_Occurred()) SWIG_fail
;
26243 resultobj
= SWIG_Py_Void();
26250 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26251 PyObject
*resultobj
= 0;
26252 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26262 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26264 if (!SWIG_IsOK(res1
)) {
26265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26267 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26268 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26269 if (!SWIG_IsOK(ecode2
)) {
26270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26272 arg2
= static_cast< wxDouble
>(val2
);
26273 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26274 if (!SWIG_IsOK(ecode3
)) {
26275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26277 arg3
= static_cast< wxDouble
>(val3
);
26279 (arg1
)->MoveToPoint(arg2
,arg3
);
26280 if (PyErr_Occurred()) SWIG_fail
;
26282 resultobj
= SWIG_Py_Void();
26289 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26290 PyObject
*resultobj
= 0;
26291 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26292 wxPoint2D
*arg2
= 0 ;
26297 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26299 if (!SWIG_IsOK(res1
)) {
26300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26302 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26305 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26308 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26309 if (PyErr_Occurred()) SWIG_fail
;
26311 resultobj
= SWIG_Py_Void();
26318 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26322 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26325 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26328 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26332 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26337 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26338 PyObject
*resultobj
= 0;
26339 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26349 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26351 if (!SWIG_IsOK(res1
)) {
26352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26354 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26355 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26356 if (!SWIG_IsOK(ecode2
)) {
26357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26359 arg2
= static_cast< wxDouble
>(val2
);
26360 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26361 if (!SWIG_IsOK(ecode3
)) {
26362 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26364 arg3
= static_cast< wxDouble
>(val3
);
26366 (arg1
)->AddLineToPoint(arg2
,arg3
);
26367 if (PyErr_Occurred()) SWIG_fail
;
26369 resultobj
= SWIG_Py_Void();
26376 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26377 PyObject
*resultobj
= 0;
26378 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26379 wxPoint2D
*arg2
= 0 ;
26384 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26386 if (!SWIG_IsOK(res1
)) {
26387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26389 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26392 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26395 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26396 if (PyErr_Occurred()) SWIG_fail
;
26398 resultobj
= SWIG_Py_Void();
26405 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26409 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26412 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26415 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26419 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26424 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26425 PyObject
*resultobj
= 0;
26426 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26448 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26450 if (!SWIG_IsOK(res1
)) {
26451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26453 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26454 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26455 if (!SWIG_IsOK(ecode2
)) {
26456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26458 arg2
= static_cast< wxDouble
>(val2
);
26459 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26460 if (!SWIG_IsOK(ecode3
)) {
26461 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26463 arg3
= static_cast< wxDouble
>(val3
);
26464 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26465 if (!SWIG_IsOK(ecode4
)) {
26466 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26468 arg4
= static_cast< wxDouble
>(val4
);
26469 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26470 if (!SWIG_IsOK(ecode5
)) {
26471 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26473 arg5
= static_cast< wxDouble
>(val5
);
26474 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26475 if (!SWIG_IsOK(ecode6
)) {
26476 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26478 arg6
= static_cast< wxDouble
>(val6
);
26479 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26480 if (!SWIG_IsOK(ecode7
)) {
26481 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26483 arg7
= static_cast< wxDouble
>(val7
);
26485 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26486 if (PyErr_Occurred()) SWIG_fail
;
26488 resultobj
= SWIG_Py_Void();
26495 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26496 PyObject
*resultobj
= 0;
26497 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26498 wxPoint2D
*arg2
= 0 ;
26499 wxPoint2D
*arg3
= 0 ;
26500 wxPoint2D
*arg4
= 0 ;
26507 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26509 if (!SWIG_IsOK(res1
)) {
26510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26512 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26515 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26519 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26523 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26526 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26527 if (PyErr_Occurred()) SWIG_fail
;
26529 resultobj
= SWIG_Py_Void();
26536 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26540 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26543 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26546 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26550 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26555 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26556 PyObject
*resultobj
= 0;
26557 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26558 wxGraphicsPath
*arg2
= 0 ;
26563 PyObject
* obj0
= 0 ;
26564 PyObject
* obj1
= 0 ;
26565 char * kwnames
[] = {
26566 (char *) "self",(char *) "path", NULL
26569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26571 if (!SWIG_IsOK(res1
)) {
26572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26574 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26575 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26576 if (!SWIG_IsOK(res2
)) {
26577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26582 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26584 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26585 if (PyErr_Occurred()) SWIG_fail
;
26587 resultobj
= SWIG_Py_Void();
26594 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26595 PyObject
*resultobj
= 0;
26596 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26599 PyObject
*swig_obj
[1] ;
26601 if (!args
) SWIG_fail
;
26602 swig_obj
[0] = args
;
26603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26604 if (!SWIG_IsOK(res1
)) {
26605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26607 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26609 (arg1
)->CloseSubpath();
26610 if (PyErr_Occurred()) SWIG_fail
;
26612 resultobj
= SWIG_Py_Void();
26619 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26620 PyObject
*resultobj
= 0;
26621 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26625 PyObject
*swig_obj
[1] ;
26627 if (!args
) SWIG_fail
;
26628 swig_obj
[0] = args
;
26629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26630 if (!SWIG_IsOK(res1
)) {
26631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26633 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26635 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26636 if (PyErr_Occurred()) SWIG_fail
;
26638 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26645 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26646 PyObject
*resultobj
= 0;
26647 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26669 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26671 if (!SWIG_IsOK(res1
)) {
26672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26674 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26675 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26676 if (!SWIG_IsOK(ecode2
)) {
26677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26679 arg2
= static_cast< wxDouble
>(val2
);
26680 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26681 if (!SWIG_IsOK(ecode3
)) {
26682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26684 arg3
= static_cast< wxDouble
>(val3
);
26685 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26686 if (!SWIG_IsOK(ecode4
)) {
26687 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26689 arg4
= static_cast< wxDouble
>(val4
);
26690 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26691 if (!SWIG_IsOK(ecode5
)) {
26692 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26694 arg5
= static_cast< wxDouble
>(val5
);
26695 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26696 if (!SWIG_IsOK(ecode6
)) {
26697 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26699 arg6
= static_cast< wxDouble
>(val6
);
26700 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26701 if (!SWIG_IsOK(ecode7
)) {
26702 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26704 arg7
= static_cast< bool >(val7
);
26706 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26707 if (PyErr_Occurred()) SWIG_fail
;
26709 resultobj
= SWIG_Py_Void();
26716 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26717 PyObject
*resultobj
= 0;
26718 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26719 wxPoint2D
*arg2
= 0 ;
26736 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26738 if (!SWIG_IsOK(res1
)) {
26739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26741 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26744 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26746 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26747 if (!SWIG_IsOK(ecode3
)) {
26748 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26750 arg3
= static_cast< wxDouble
>(val3
);
26751 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26752 if (!SWIG_IsOK(ecode4
)) {
26753 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26755 arg4
= static_cast< wxDouble
>(val4
);
26756 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26757 if (!SWIG_IsOK(ecode5
)) {
26758 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26760 arg5
= static_cast< wxDouble
>(val5
);
26761 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26762 if (!SWIG_IsOK(ecode6
)) {
26763 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26765 arg6
= static_cast< bool >(val6
);
26767 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26768 if (PyErr_Occurred()) SWIG_fail
;
26770 resultobj
= SWIG_Py_Void();
26777 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26781 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26784 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26787 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26791 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26796 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26797 PyObject
*resultobj
= 0;
26798 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26813 PyObject
* obj0
= 0 ;
26814 PyObject
* obj1
= 0 ;
26815 PyObject
* obj2
= 0 ;
26816 PyObject
* obj3
= 0 ;
26817 PyObject
* obj4
= 0 ;
26818 char * kwnames
[] = {
26819 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26824 if (!SWIG_IsOK(res1
)) {
26825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26827 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26828 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26829 if (!SWIG_IsOK(ecode2
)) {
26830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26832 arg2
= static_cast< wxDouble
>(val2
);
26833 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26834 if (!SWIG_IsOK(ecode3
)) {
26835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26837 arg3
= static_cast< wxDouble
>(val3
);
26838 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26839 if (!SWIG_IsOK(ecode4
)) {
26840 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26842 arg4
= static_cast< wxDouble
>(val4
);
26843 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26844 if (!SWIG_IsOK(ecode5
)) {
26845 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26847 arg5
= static_cast< wxDouble
>(val5
);
26849 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
26850 if (PyErr_Occurred()) SWIG_fail
;
26852 resultobj
= SWIG_Py_Void();
26859 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26860 PyObject
*resultobj
= 0;
26861 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26876 PyObject
* obj0
= 0 ;
26877 PyObject
* obj1
= 0 ;
26878 PyObject
* obj2
= 0 ;
26879 PyObject
* obj3
= 0 ;
26880 PyObject
* obj4
= 0 ;
26881 char * kwnames
[] = {
26882 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26887 if (!SWIG_IsOK(res1
)) {
26888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26890 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26891 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26892 if (!SWIG_IsOK(ecode2
)) {
26893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26895 arg2
= static_cast< wxDouble
>(val2
);
26896 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26897 if (!SWIG_IsOK(ecode3
)) {
26898 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26900 arg3
= static_cast< wxDouble
>(val3
);
26901 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26902 if (!SWIG_IsOK(ecode4
)) {
26903 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26905 arg4
= static_cast< wxDouble
>(val4
);
26906 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26907 if (!SWIG_IsOK(ecode5
)) {
26908 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26910 arg5
= static_cast< wxDouble
>(val5
);
26912 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
26913 if (PyErr_Occurred()) SWIG_fail
;
26915 resultobj
= SWIG_Py_Void();
26922 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26923 PyObject
*resultobj
= 0;
26924 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26936 PyObject
* obj0
= 0 ;
26937 PyObject
* obj1
= 0 ;
26938 PyObject
* obj2
= 0 ;
26939 PyObject
* obj3
= 0 ;
26940 char * kwnames
[] = {
26941 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
26944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26946 if (!SWIG_IsOK(res1
)) {
26947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26949 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26950 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26951 if (!SWIG_IsOK(ecode2
)) {
26952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
26954 arg2
= static_cast< wxDouble
>(val2
);
26955 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26956 if (!SWIG_IsOK(ecode3
)) {
26957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
26959 arg3
= static_cast< wxDouble
>(val3
);
26960 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26961 if (!SWIG_IsOK(ecode4
)) {
26962 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
26964 arg4
= static_cast< wxDouble
>(val4
);
26966 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
26967 if (PyErr_Occurred()) SWIG_fail
;
26969 resultobj
= SWIG_Py_Void();
26976 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26977 PyObject
*resultobj
= 0;
26978 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26996 PyObject
* obj0
= 0 ;
26997 PyObject
* obj1
= 0 ;
26998 PyObject
* obj2
= 0 ;
26999 PyObject
* obj3
= 0 ;
27000 PyObject
* obj4
= 0 ;
27001 PyObject
* obj5
= 0 ;
27002 char * kwnames
[] = {
27003 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27008 if (!SWIG_IsOK(res1
)) {
27009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27011 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27012 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27013 if (!SWIG_IsOK(ecode2
)) {
27014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27016 arg2
= static_cast< wxDouble
>(val2
);
27017 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27018 if (!SWIG_IsOK(ecode3
)) {
27019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27021 arg3
= static_cast< wxDouble
>(val3
);
27022 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27023 if (!SWIG_IsOK(ecode4
)) {
27024 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27026 arg4
= static_cast< wxDouble
>(val4
);
27027 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27028 if (!SWIG_IsOK(ecode5
)) {
27029 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27031 arg5
= static_cast< wxDouble
>(val5
);
27032 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27033 if (!SWIG_IsOK(ecode6
)) {
27034 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27036 arg6
= static_cast< wxDouble
>(val6
);
27038 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27039 if (PyErr_Occurred()) SWIG_fail
;
27041 resultobj
= SWIG_Py_Void();
27048 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27049 PyObject
*resultobj
= 0;
27050 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27065 PyObject
* obj0
= 0 ;
27066 PyObject
* obj1
= 0 ;
27067 PyObject
* obj2
= 0 ;
27068 PyObject
* obj3
= 0 ;
27069 PyObject
* obj4
= 0 ;
27070 char * kwnames
[] = {
27071 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27076 if (!SWIG_IsOK(res1
)) {
27077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27079 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27080 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27081 if (!SWIG_IsOK(ecode2
)) {
27082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27084 arg2
= static_cast< wxDouble
>(val2
);
27085 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27086 if (!SWIG_IsOK(ecode3
)) {
27087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27089 arg3
= static_cast< wxDouble
>(val3
);
27090 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27091 if (!SWIG_IsOK(ecode4
)) {
27092 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27094 arg4
= static_cast< wxDouble
>(val4
);
27095 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27096 if (!SWIG_IsOK(ecode5
)) {
27097 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27099 arg5
= static_cast< wxDouble
>(val5
);
27101 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27102 if (PyErr_Occurred()) SWIG_fail
;
27104 resultobj
= SWIG_Py_Void();
27111 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27112 PyObject
*resultobj
= 0;
27113 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27131 PyObject
* obj0
= 0 ;
27132 PyObject
* obj1
= 0 ;
27133 PyObject
* obj2
= 0 ;
27134 PyObject
* obj3
= 0 ;
27135 PyObject
* obj4
= 0 ;
27136 PyObject
* obj5
= 0 ;
27137 char * kwnames
[] = {
27138 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27143 if (!SWIG_IsOK(res1
)) {
27144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27146 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27147 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27148 if (!SWIG_IsOK(ecode2
)) {
27149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27151 arg2
= static_cast< wxDouble
>(val2
);
27152 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27153 if (!SWIG_IsOK(ecode3
)) {
27154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27156 arg3
= static_cast< wxDouble
>(val3
);
27157 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27158 if (!SWIG_IsOK(ecode4
)) {
27159 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27161 arg4
= static_cast< wxDouble
>(val4
);
27162 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27163 if (!SWIG_IsOK(ecode5
)) {
27164 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27166 arg5
= static_cast< wxDouble
>(val5
);
27167 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27168 if (!SWIG_IsOK(ecode6
)) {
27169 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27171 arg6
= static_cast< wxDouble
>(val6
);
27173 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27174 if (PyErr_Occurred()) SWIG_fail
;
27176 resultobj
= SWIG_Py_Void();
27183 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27184 PyObject
*resultobj
= 0;
27185 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27189 PyObject
*swig_obj
[1] ;
27191 if (!args
) SWIG_fail
;
27192 swig_obj
[0] = args
;
27193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27194 if (!SWIG_IsOK(res1
)) {
27195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27197 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27199 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27200 if (PyErr_Occurred()) SWIG_fail
;
27202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27209 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27210 PyObject
*resultobj
= 0;
27211 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27212 void *arg2
= (void *) 0 ;
27216 PyObject
* obj0
= 0 ;
27217 PyObject
* obj1
= 0 ;
27218 char * kwnames
[] = {
27219 (char *) "self",(char *) "p", NULL
27222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27224 if (!SWIG_IsOK(res1
)) {
27225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27227 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27228 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27229 if (!SWIG_IsOK(res2
)) {
27230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27233 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27234 if (PyErr_Occurred()) SWIG_fail
;
27236 resultobj
= SWIG_Py_Void();
27243 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27244 PyObject
*resultobj
= 0;
27245 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27246 wxGraphicsMatrix
*arg2
= 0 ;
27251 PyObject
* obj0
= 0 ;
27252 PyObject
* obj1
= 0 ;
27253 char * kwnames
[] = {
27254 (char *) "self",(char *) "matrix", NULL
27257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27259 if (!SWIG_IsOK(res1
)) {
27260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27262 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27263 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27264 if (!SWIG_IsOK(res2
)) {
27265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27270 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27272 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27273 if (PyErr_Occurred()) SWIG_fail
;
27275 resultobj
= SWIG_Py_Void();
27282 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27283 PyObject
*resultobj
= 0;
27284 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27285 wxRect2DDouble result
;
27288 PyObject
*swig_obj
[1] ;
27290 if (!args
) SWIG_fail
;
27291 swig_obj
[0] = args
;
27292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27293 if (!SWIG_IsOK(res1
)) {
27294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27296 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27298 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27299 if (PyErr_Occurred()) SWIG_fail
;
27301 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
27308 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27309 PyObject
*resultobj
= 0;
27310 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27313 int arg4
= (int) wxODDEVEN_RULE
;
27324 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27326 if (!SWIG_IsOK(res1
)) {
27327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27329 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27330 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27331 if (!SWIG_IsOK(ecode2
)) {
27332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27334 arg2
= static_cast< wxDouble
>(val2
);
27335 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27336 if (!SWIG_IsOK(ecode3
)) {
27337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27339 arg3
= static_cast< wxDouble
>(val3
);
27341 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27342 if (!SWIG_IsOK(ecode4
)) {
27343 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27345 arg4
= static_cast< int >(val4
);
27348 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27349 if (PyErr_Occurred()) SWIG_fail
;
27352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27360 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27361 PyObject
*resultobj
= 0;
27362 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27363 wxPoint2DDouble
*arg2
= 0 ;
27364 int arg3
= (int) wxODDEVEN_RULE
;
27373 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27375 if (!SWIG_IsOK(res1
)) {
27376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27378 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27379 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
27380 if (!SWIG_IsOK(res2
)) {
27381 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27384 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27386 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
27388 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27389 if (!SWIG_IsOK(ecode3
)) {
27390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27392 arg3
= static_cast< int >(val3
);
27395 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
27396 if (PyErr_Occurred()) SWIG_fail
;
27399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27407 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27411 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27413 if ((argc
>= 2) && (argc
<= 3)) {
27416 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
27417 _v
= SWIG_CheckState(res
);
27419 if (!_v
) goto check_1
;
27423 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27424 _v
= SWIG_CheckState(res
);
27427 if (!_v
) goto check_1
;
27429 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27433 if ((argc
>= 3) && (argc
<= 4)) {
27434 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27438 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27443 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27445 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27446 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27447 return SWIG_Py_Void();
27450 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27451 return SWIG_Python_InitShadowInstance(args
);
27454 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27455 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27460 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27461 PyObject
*pyobj
= 0;
27463 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27468 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27469 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27474 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27475 PyObject
*pyobj
= 0;
27477 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27482 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27483 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27488 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27489 PyObject
*pyobj
= 0;
27491 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27496 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27497 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27502 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27503 PyObject
*pyobj
= 0;
27505 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27510 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27511 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27516 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27517 PyObject
*pyobj
= 0;
27519 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27524 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27525 PyObject
*resultobj
= 0;
27526 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27529 PyObject
*swig_obj
[1] ;
27531 if (!args
) SWIG_fail
;
27532 swig_obj
[0] = args
;
27533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27534 if (!SWIG_IsOK(res1
)) {
27535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27537 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27541 if (PyErr_Occurred()) SWIG_fail
;
27543 resultobj
= SWIG_Py_Void();
27550 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27551 PyObject
*resultobj
= 0;
27552 wxWindowDC
*arg1
= 0 ;
27553 wxGraphicsContext
*result
= 0 ;
27557 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27559 if (!SWIG_IsOK(res1
)) {
27560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27565 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27567 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27568 if (PyErr_Occurred()) SWIG_fail
;
27570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27577 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27578 PyObject
*resultobj
= 0;
27579 wxWindow
*arg1
= (wxWindow
*) 0 ;
27580 wxGraphicsContext
*result
= 0 ;
27584 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27586 if (!SWIG_IsOK(res1
)) {
27587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27589 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27591 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27592 if (PyErr_Occurred()) SWIG_fail
;
27594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27601 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27605 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27610 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27611 _v
= SWIG_CheckState(res
);
27613 if (!_v
) goto check_1
;
27614 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27619 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27623 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27628 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27629 PyObject
*resultobj
= 0;
27630 void *arg1
= (void *) 0 ;
27631 wxGraphicsContext
*result
= 0 ;
27633 PyObject
* obj0
= 0 ;
27634 char * kwnames
[] = {
27635 (char *) "context", NULL
27638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27639 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27640 if (!SWIG_IsOK(res1
)) {
27641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27644 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27645 if (PyErr_Occurred()) SWIG_fail
;
27647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27654 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27655 PyObject
*resultobj
= 0;
27656 void *arg1
= (void *) 0 ;
27657 wxGraphicsContext
*result
= 0 ;
27659 PyObject
* obj0
= 0 ;
27660 char * kwnames
[] = {
27661 (char *) "window", NULL
27664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27665 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27666 if (!SWIG_IsOK(res1
)) {
27667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27670 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27671 if (PyErr_Occurred()) SWIG_fail
;
27673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27680 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27681 PyObject
*resultobj
= 0;
27682 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27683 wxGraphicsPath result
;
27686 PyObject
*swig_obj
[1] ;
27688 if (!args
) SWIG_fail
;
27689 swig_obj
[0] = args
;
27690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27691 if (!SWIG_IsOK(res1
)) {
27692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27694 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27696 result
= (arg1
)->CreatePath();
27697 if (PyErr_Occurred()) SWIG_fail
;
27699 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27706 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27707 PyObject
*resultobj
= 0;
27708 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27710 wxGraphicsPen result
;
27715 PyObject
* obj0
= 0 ;
27716 PyObject
* obj1
= 0 ;
27717 char * kwnames
[] = {
27718 (char *) "self",(char *) "pen", NULL
27721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27723 if (!SWIG_IsOK(res1
)) {
27724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27726 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27727 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27728 if (!SWIG_IsOK(res2
)) {
27729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27734 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27736 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27737 if (PyErr_Occurred()) SWIG_fail
;
27739 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27746 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27747 PyObject
*resultobj
= 0;
27748 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27749 wxBrush
*arg2
= 0 ;
27750 wxGraphicsBrush result
;
27755 PyObject
* obj0
= 0 ;
27756 PyObject
* obj1
= 0 ;
27757 char * kwnames
[] = {
27758 (char *) "self",(char *) "brush", NULL
27761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27763 if (!SWIG_IsOK(res1
)) {
27764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27766 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27767 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27768 if (!SWIG_IsOK(res2
)) {
27769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27774 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27776 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27777 if (PyErr_Occurred()) SWIG_fail
;
27779 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27786 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27787 PyObject
*resultobj
= 0;
27788 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27793 wxColour
*arg6
= 0 ;
27794 wxColour
*arg7
= 0 ;
27795 wxGraphicsBrush result
;
27808 PyObject
* obj0
= 0 ;
27809 PyObject
* obj1
= 0 ;
27810 PyObject
* obj2
= 0 ;
27811 PyObject
* obj3
= 0 ;
27812 PyObject
* obj4
= 0 ;
27813 PyObject
* obj5
= 0 ;
27814 PyObject
* obj6
= 0 ;
27815 char * kwnames
[] = {
27816 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27821 if (!SWIG_IsOK(res1
)) {
27822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27824 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27825 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27826 if (!SWIG_IsOK(ecode2
)) {
27827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27829 arg2
= static_cast< wxDouble
>(val2
);
27830 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27831 if (!SWIG_IsOK(ecode3
)) {
27832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27834 arg3
= static_cast< wxDouble
>(val3
);
27835 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27836 if (!SWIG_IsOK(ecode4
)) {
27837 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27839 arg4
= static_cast< wxDouble
>(val4
);
27840 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27841 if (!SWIG_IsOK(ecode5
)) {
27842 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27844 arg5
= static_cast< wxDouble
>(val5
);
27847 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27851 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27854 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
27855 if (PyErr_Occurred()) SWIG_fail
;
27857 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27864 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27865 PyObject
*resultobj
= 0;
27866 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27872 wxColour
*arg7
= 0 ;
27873 wxColour
*arg8
= 0 ;
27874 wxGraphicsBrush result
;
27889 PyObject
* obj0
= 0 ;
27890 PyObject
* obj1
= 0 ;
27891 PyObject
* obj2
= 0 ;
27892 PyObject
* obj3
= 0 ;
27893 PyObject
* obj4
= 0 ;
27894 PyObject
* obj5
= 0 ;
27895 PyObject
* obj6
= 0 ;
27896 PyObject
* obj7
= 0 ;
27897 char * kwnames
[] = {
27898 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
27901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
27902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27903 if (!SWIG_IsOK(res1
)) {
27904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27906 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27907 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27908 if (!SWIG_IsOK(ecode2
)) {
27909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27911 arg2
= static_cast< wxDouble
>(val2
);
27912 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27913 if (!SWIG_IsOK(ecode3
)) {
27914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27916 arg3
= static_cast< wxDouble
>(val3
);
27917 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27918 if (!SWIG_IsOK(ecode4
)) {
27919 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27921 arg4
= static_cast< wxDouble
>(val4
);
27922 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27923 if (!SWIG_IsOK(ecode5
)) {
27924 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27926 arg5
= static_cast< wxDouble
>(val5
);
27927 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27928 if (!SWIG_IsOK(ecode6
)) {
27929 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
27931 arg6
= static_cast< wxDouble
>(val6
);
27934 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27938 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
27941 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
27942 if (PyErr_Occurred()) SWIG_fail
;
27944 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27951 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27952 PyObject
*resultobj
= 0;
27953 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27955 wxColour
const &arg3_defvalue
= *wxBLACK
;
27956 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
27957 wxGraphicsFont result
;
27963 PyObject
* obj0
= 0 ;
27964 PyObject
* obj1
= 0 ;
27965 PyObject
* obj2
= 0 ;
27966 char * kwnames
[] = {
27967 (char *) "self",(char *) "font",(char *) "col", NULL
27970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27972 if (!SWIG_IsOK(res1
)) {
27973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27975 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27976 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27977 if (!SWIG_IsOK(res2
)) {
27978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27983 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27987 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27991 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
27992 if (PyErr_Occurred()) SWIG_fail
;
27994 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28001 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28002 PyObject
*resultobj
= 0;
28003 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28004 wxDouble arg2
= (wxDouble
) 1.0 ;
28005 wxDouble arg3
= (wxDouble
) 0.0 ;
28006 wxDouble arg4
= (wxDouble
) 0.0 ;
28007 wxDouble arg5
= (wxDouble
) 1.0 ;
28008 wxDouble arg6
= (wxDouble
) 0.0 ;
28009 wxDouble arg7
= (wxDouble
) 0.0 ;
28010 wxGraphicsMatrix result
;
28025 PyObject
* obj0
= 0 ;
28026 PyObject
* obj1
= 0 ;
28027 PyObject
* obj2
= 0 ;
28028 PyObject
* obj3
= 0 ;
28029 PyObject
* obj4
= 0 ;
28030 PyObject
* obj5
= 0 ;
28031 PyObject
* obj6
= 0 ;
28032 char * kwnames
[] = {
28033 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28038 if (!SWIG_IsOK(res1
)) {
28039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28041 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28043 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28044 if (!SWIG_IsOK(ecode2
)) {
28045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28047 arg2
= static_cast< wxDouble
>(val2
);
28050 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28051 if (!SWIG_IsOK(ecode3
)) {
28052 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28054 arg3
= static_cast< wxDouble
>(val3
);
28057 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28058 if (!SWIG_IsOK(ecode4
)) {
28059 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28061 arg4
= static_cast< wxDouble
>(val4
);
28064 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28065 if (!SWIG_IsOK(ecode5
)) {
28066 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28068 arg5
= static_cast< wxDouble
>(val5
);
28071 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28072 if (!SWIG_IsOK(ecode6
)) {
28073 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28075 arg6
= static_cast< wxDouble
>(val6
);
28078 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28079 if (!SWIG_IsOK(ecode7
)) {
28080 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28082 arg7
= static_cast< wxDouble
>(val7
);
28085 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28086 if (PyErr_Occurred()) SWIG_fail
;
28088 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28095 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(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_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28108 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28110 (arg1
)->PushState();
28111 if (PyErr_Occurred()) SWIG_fail
;
28113 resultobj
= SWIG_Py_Void();
28120 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28121 PyObject
*resultobj
= 0;
28122 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28125 PyObject
*swig_obj
[1] ;
28127 if (!args
) SWIG_fail
;
28128 swig_obj
[0] = args
;
28129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28130 if (!SWIG_IsOK(res1
)) {
28131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28133 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28135 (arg1
)->PopState();
28136 if (PyErr_Occurred()) SWIG_fail
;
28138 resultobj
= SWIG_Py_Void();
28145 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28146 PyObject
*resultobj
= 0;
28147 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28148 wxRegion
*arg2
= 0 ;
28153 PyObject
* obj0
= 0 ;
28154 PyObject
* obj1
= 0 ;
28155 char * kwnames
[] = {
28156 (char *) "self",(char *) "region", NULL
28159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28161 if (!SWIG_IsOK(res1
)) {
28162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28164 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28165 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28166 if (!SWIG_IsOK(res2
)) {
28167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28170 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28172 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28174 (arg1
)->Clip((wxRegion
const &)*arg2
);
28175 if (PyErr_Occurred()) SWIG_fail
;
28177 resultobj
= SWIG_Py_Void();
28184 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28185 PyObject
*resultobj
= 0;
28186 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28201 PyObject
* obj0
= 0 ;
28202 PyObject
* obj1
= 0 ;
28203 PyObject
* obj2
= 0 ;
28204 PyObject
* obj3
= 0 ;
28205 PyObject
* obj4
= 0 ;
28206 char * kwnames
[] = {
28207 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28212 if (!SWIG_IsOK(res1
)) {
28213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28215 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28216 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28217 if (!SWIG_IsOK(ecode2
)) {
28218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28220 arg2
= static_cast< wxDouble
>(val2
);
28221 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28222 if (!SWIG_IsOK(ecode3
)) {
28223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28225 arg3
= static_cast< wxDouble
>(val3
);
28226 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28227 if (!SWIG_IsOK(ecode4
)) {
28228 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28230 arg4
= static_cast< wxDouble
>(val4
);
28231 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28232 if (!SWIG_IsOK(ecode5
)) {
28233 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28235 arg5
= static_cast< wxDouble
>(val5
);
28237 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28238 if (PyErr_Occurred()) SWIG_fail
;
28240 resultobj
= SWIG_Py_Void();
28247 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28248 PyObject
*resultobj
= 0;
28249 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28252 PyObject
*swig_obj
[1] ;
28254 if (!args
) SWIG_fail
;
28255 swig_obj
[0] = args
;
28256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28257 if (!SWIG_IsOK(res1
)) {
28258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28260 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28262 (arg1
)->ResetClip();
28263 if (PyErr_Occurred()) SWIG_fail
;
28265 resultobj
= SWIG_Py_Void();
28272 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28273 PyObject
*resultobj
= 0;
28274 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28278 PyObject
*swig_obj
[1] ;
28280 if (!args
) SWIG_fail
;
28281 swig_obj
[0] = args
;
28282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28283 if (!SWIG_IsOK(res1
)) {
28284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28286 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28288 result
= (void *)(arg1
)->GetNativeContext();
28289 if (PyErr_Occurred()) SWIG_fail
;
28291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28298 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28299 PyObject
*resultobj
= 0;
28300 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28309 PyObject
* obj0
= 0 ;
28310 PyObject
* obj1
= 0 ;
28311 PyObject
* obj2
= 0 ;
28312 char * kwnames
[] = {
28313 (char *) "self",(char *) "dx",(char *) "dy", NULL
28316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28318 if (!SWIG_IsOK(res1
)) {
28319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28321 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28322 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28323 if (!SWIG_IsOK(ecode2
)) {
28324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28326 arg2
= static_cast< wxDouble
>(val2
);
28327 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28328 if (!SWIG_IsOK(ecode3
)) {
28329 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28331 arg3
= static_cast< wxDouble
>(val3
);
28333 (arg1
)->Translate(arg2
,arg3
);
28334 if (PyErr_Occurred()) SWIG_fail
;
28336 resultobj
= SWIG_Py_Void();
28343 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28344 PyObject
*resultobj
= 0;
28345 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28354 PyObject
* obj0
= 0 ;
28355 PyObject
* obj1
= 0 ;
28356 PyObject
* obj2
= 0 ;
28357 char * kwnames
[] = {
28358 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28363 if (!SWIG_IsOK(res1
)) {
28364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28366 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28367 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28368 if (!SWIG_IsOK(ecode2
)) {
28369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28371 arg2
= static_cast< wxDouble
>(val2
);
28372 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28373 if (!SWIG_IsOK(ecode3
)) {
28374 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28376 arg3
= static_cast< wxDouble
>(val3
);
28378 (arg1
)->Scale(arg2
,arg3
);
28379 if (PyErr_Occurred()) SWIG_fail
;
28381 resultobj
= SWIG_Py_Void();
28388 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28389 PyObject
*resultobj
= 0;
28390 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28396 PyObject
* obj0
= 0 ;
28397 PyObject
* obj1
= 0 ;
28398 char * kwnames
[] = {
28399 (char *) "self",(char *) "angle", NULL
28402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28404 if (!SWIG_IsOK(res1
)) {
28405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28407 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28408 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28409 if (!SWIG_IsOK(ecode2
)) {
28410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28412 arg2
= static_cast< wxDouble
>(val2
);
28414 (arg1
)->Rotate(arg2
);
28415 if (PyErr_Occurred()) SWIG_fail
;
28417 resultobj
= SWIG_Py_Void();
28424 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28425 PyObject
*resultobj
= 0;
28426 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28427 wxGraphicsMatrix
*arg2
= 0 ;
28432 PyObject
* obj0
= 0 ;
28433 PyObject
* obj1
= 0 ;
28434 char * kwnames
[] = {
28435 (char *) "self",(char *) "matrix", NULL
28438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28440 if (!SWIG_IsOK(res1
)) {
28441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28443 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28444 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28445 if (!SWIG_IsOK(res2
)) {
28446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28451 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28453 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28454 if (PyErr_Occurred()) SWIG_fail
;
28456 resultobj
= SWIG_Py_Void();
28463 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28464 PyObject
*resultobj
= 0;
28465 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28466 wxGraphicsMatrix
*arg2
= 0 ;
28471 PyObject
* obj0
= 0 ;
28472 PyObject
* obj1
= 0 ;
28473 char * kwnames
[] = {
28474 (char *) "self",(char *) "matrix", NULL
28477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28479 if (!SWIG_IsOK(res1
)) {
28480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28482 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28483 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28484 if (!SWIG_IsOK(res2
)) {
28485 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28488 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28490 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28492 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28493 if (PyErr_Occurred()) SWIG_fail
;
28495 resultobj
= SWIG_Py_Void();
28502 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28503 PyObject
*resultobj
= 0;
28504 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28505 wxGraphicsMatrix result
;
28508 PyObject
*swig_obj
[1] ;
28510 if (!args
) SWIG_fail
;
28511 swig_obj
[0] = args
;
28512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28513 if (!SWIG_IsOK(res1
)) {
28514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28516 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28518 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28519 if (PyErr_Occurred()) SWIG_fail
;
28521 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28528 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28529 PyObject
*resultobj
= 0;
28530 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28531 wxGraphicsPen
*arg2
= 0 ;
28537 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28539 if (!SWIG_IsOK(res1
)) {
28540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28542 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28543 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28544 if (!SWIG_IsOK(res2
)) {
28545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28550 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28552 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28553 if (PyErr_Occurred()) SWIG_fail
;
28555 resultobj
= SWIG_Py_Void();
28562 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28563 PyObject
*resultobj
= 0;
28564 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28571 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28573 if (!SWIG_IsOK(res1
)) {
28574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28576 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28577 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28578 if (!SWIG_IsOK(res2
)) {
28579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28584 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28586 (arg1
)->SetPen((wxPen
const &)*arg2
);
28587 if (PyErr_Occurred()) SWIG_fail
;
28589 resultobj
= SWIG_Py_Void();
28596 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28600 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28605 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28606 _v
= SWIG_CheckState(res
);
28608 if (!_v
) goto check_1
;
28609 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28614 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28618 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28623 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28624 PyObject
*resultobj
= 0;
28625 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28626 wxGraphicsBrush
*arg2
= 0 ;
28632 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28634 if (!SWIG_IsOK(res1
)) {
28635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28637 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28638 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28639 if (!SWIG_IsOK(res2
)) {
28640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28645 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28647 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28648 if (PyErr_Occurred()) SWIG_fail
;
28650 resultobj
= SWIG_Py_Void();
28657 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28658 PyObject
*resultobj
= 0;
28659 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28660 wxBrush
*arg2
= 0 ;
28666 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28668 if (!SWIG_IsOK(res1
)) {
28669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28671 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28672 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28673 if (!SWIG_IsOK(res2
)) {
28674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28677 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28679 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28681 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28682 if (PyErr_Occurred()) SWIG_fail
;
28684 resultobj
= SWIG_Py_Void();
28691 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28695 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28700 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28701 _v
= SWIG_CheckState(res
);
28703 if (!_v
) goto check_1
;
28704 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28709 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28713 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28718 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28719 PyObject
*resultobj
= 0;
28720 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28721 wxGraphicsFont
*arg2
= 0 ;
28727 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28729 if (!SWIG_IsOK(res1
)) {
28730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28732 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28733 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28734 if (!SWIG_IsOK(res2
)) {
28735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28740 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28742 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28743 if (PyErr_Occurred()) SWIG_fail
;
28745 resultobj
= SWIG_Py_Void();
28752 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28753 PyObject
*resultobj
= 0;
28754 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28756 wxColour
const &arg3_defvalue
= *wxBLACK
;
28757 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28764 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28766 if (!SWIG_IsOK(res1
)) {
28767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28769 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28770 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28771 if (!SWIG_IsOK(res2
)) {
28772 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28777 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28781 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
28785 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28786 if (PyErr_Occurred()) SWIG_fail
;
28788 resultobj
= SWIG_Py_Void();
28795 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
28799 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
28804 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
28805 _v
= SWIG_CheckState(res
);
28807 if (!_v
) goto check_1
;
28808 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
28812 if ((argc
>= 2) && (argc
<= 3)) {
28813 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
28817 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
28822 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28823 PyObject
*resultobj
= 0;
28824 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28825 wxGraphicsPath
*arg2
= 0 ;
28830 PyObject
* obj0
= 0 ;
28831 PyObject
* obj1
= 0 ;
28832 char * kwnames
[] = {
28833 (char *) "self",(char *) "path", NULL
28836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28838 if (!SWIG_IsOK(res1
)) {
28839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28841 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28842 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28843 if (!SWIG_IsOK(res2
)) {
28844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28849 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28851 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
28852 if (PyErr_Occurred()) SWIG_fail
;
28854 resultobj
= SWIG_Py_Void();
28861 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28862 PyObject
*resultobj
= 0;
28863 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28864 wxGraphicsPath
*arg2
= 0 ;
28865 int arg3
= (int) wxODDEVEN_RULE
;
28872 PyObject
* obj0
= 0 ;
28873 PyObject
* obj1
= 0 ;
28874 PyObject
* obj2
= 0 ;
28875 char * kwnames
[] = {
28876 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28881 if (!SWIG_IsOK(res1
)) {
28882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28884 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28885 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28886 if (!SWIG_IsOK(res2
)) {
28887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28892 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28894 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28895 if (!SWIG_IsOK(ecode3
)) {
28896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
28898 arg3
= static_cast< int >(val3
);
28901 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
28902 if (PyErr_Occurred()) SWIG_fail
;
28904 resultobj
= SWIG_Py_Void();
28911 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28912 PyObject
*resultobj
= 0;
28913 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28914 wxGraphicsPath
*arg2
= 0 ;
28915 int arg3
= (int) wxODDEVEN_RULE
;
28922 PyObject
* obj0
= 0 ;
28923 PyObject
* obj1
= 0 ;
28924 PyObject
* obj2
= 0 ;
28925 char * kwnames
[] = {
28926 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28931 if (!SWIG_IsOK(res1
)) {
28932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28934 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28935 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28936 if (!SWIG_IsOK(res2
)) {
28937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28942 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28944 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28945 if (!SWIG_IsOK(ecode3
)) {
28946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
28948 arg3
= static_cast< int >(val3
);
28951 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
28952 if (PyErr_Occurred()) SWIG_fail
;
28954 resultobj
= SWIG_Py_Void();
28961 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28962 PyObject
*resultobj
= 0;
28963 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28964 wxString
*arg2
= 0 ;
28969 bool temp2
= false ;
28974 PyObject
* obj0
= 0 ;
28975 PyObject
* obj1
= 0 ;
28976 PyObject
* obj2
= 0 ;
28977 PyObject
* obj3
= 0 ;
28978 char * kwnames
[] = {
28979 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
28982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28984 if (!SWIG_IsOK(res1
)) {
28985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28987 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28989 arg2
= wxString_in_helper(obj1
);
28990 if (arg2
== NULL
) SWIG_fail
;
28993 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28994 if (!SWIG_IsOK(ecode3
)) {
28995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
28997 arg3
= static_cast< wxDouble
>(val3
);
28998 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28999 if (!SWIG_IsOK(ecode4
)) {
29000 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29002 arg4
= static_cast< wxDouble
>(val4
);
29004 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
29005 if (PyErr_Occurred()) SWIG_fail
;
29007 resultobj
= SWIG_Py_Void();
29022 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29023 PyObject
*resultobj
= 0;
29024 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29025 wxString
*arg2
= 0 ;
29031 bool temp2
= false ;
29038 PyObject
* obj0
= 0 ;
29039 PyObject
* obj1
= 0 ;
29040 PyObject
* obj2
= 0 ;
29041 PyObject
* obj3
= 0 ;
29042 PyObject
* obj4
= 0 ;
29043 char * kwnames
[] = {
29044 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
29047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29049 if (!SWIG_IsOK(res1
)) {
29050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29052 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29054 arg2
= wxString_in_helper(obj1
);
29055 if (arg2
== NULL
) SWIG_fail
;
29058 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29059 if (!SWIG_IsOK(ecode3
)) {
29060 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29062 arg3
= static_cast< wxDouble
>(val3
);
29063 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29064 if (!SWIG_IsOK(ecode4
)) {
29065 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29067 arg4
= static_cast< wxDouble
>(val4
);
29068 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29069 if (!SWIG_IsOK(ecode5
)) {
29070 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29072 arg5
= static_cast< wxDouble
>(val5
);
29074 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29075 if (PyErr_Occurred()) SWIG_fail
;
29077 resultobj
= SWIG_Py_Void();
29092 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29093 PyObject
*resultobj
= 0;
29094 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29095 wxString
*arg2
= 0 ;
29096 wxDouble
*arg3
= (wxDouble
*) 0 ;
29097 wxDouble
*arg4
= (wxDouble
*) 0 ;
29098 wxDouble
*arg5
= (wxDouble
*) 0 ;
29099 wxDouble
*arg6
= (wxDouble
*) 0 ;
29102 bool temp2
= false ;
29104 int res3
= SWIG_TMPOBJ
;
29106 int res4
= SWIG_TMPOBJ
;
29108 int res5
= SWIG_TMPOBJ
;
29110 int res6
= SWIG_TMPOBJ
;
29111 PyObject
* obj0
= 0 ;
29112 PyObject
* obj1
= 0 ;
29113 char * kwnames
[] = {
29114 (char *) "self",(char *) "text", NULL
29121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29123 if (!SWIG_IsOK(res1
)) {
29124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29126 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29128 arg2
= wxString_in_helper(obj1
);
29129 if (arg2
== NULL
) SWIG_fail
;
29133 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29134 if (PyErr_Occurred()) SWIG_fail
;
29136 resultobj
= SWIG_Py_Void();
29137 if (SWIG_IsTmpObj(res3
)) {
29138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29140 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29141 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29143 if (SWIG_IsTmpObj(res4
)) {
29144 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29146 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29147 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29149 if (SWIG_IsTmpObj(res5
)) {
29150 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29152 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29153 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29155 if (SWIG_IsTmpObj(res6
)) {
29156 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29158 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29159 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29175 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29176 PyObject
*resultobj
= 0;
29177 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29178 wxString
*arg2
= 0 ;
29179 PyObject
*result
= 0 ;
29182 bool temp2
= false ;
29183 PyObject
* obj0
= 0 ;
29184 PyObject
* obj1
= 0 ;
29185 char * kwnames
[] = {
29186 (char *) "self",(char *) "text", NULL
29189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29191 if (!SWIG_IsOK(res1
)) {
29192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29194 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29196 arg2
= wxString_in_helper(obj1
);
29197 if (arg2
== NULL
) SWIG_fail
;
29201 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29202 if (PyErr_Occurred()) SWIG_fail
;
29204 resultobj
= result
;
29219 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29220 PyObject
*resultobj
= 0;
29221 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29222 wxString
*arg2
= 0 ;
29223 wxArrayDouble result
;
29226 bool temp2
= false ;
29227 PyObject
* obj0
= 0 ;
29228 PyObject
* obj1
= 0 ;
29229 char * kwnames
[] = {
29230 (char *) "self",(char *) "text", NULL
29233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29235 if (!SWIG_IsOK(res1
)) {
29236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29238 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29240 arg2
= wxString_in_helper(obj1
);
29241 if (arg2
== NULL
) SWIG_fail
;
29245 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29246 if (PyErr_Occurred()) SWIG_fail
;
29249 resultobj
= wxArrayDouble2PyList_helper(result
);
29265 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29266 PyObject
*resultobj
= 0;
29267 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29268 wxBitmap
*arg2
= 0 ;
29285 PyObject
* obj0
= 0 ;
29286 PyObject
* obj1
= 0 ;
29287 PyObject
* obj2
= 0 ;
29288 PyObject
* obj3
= 0 ;
29289 PyObject
* obj4
= 0 ;
29290 PyObject
* obj5
= 0 ;
29291 char * kwnames
[] = {
29292 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29297 if (!SWIG_IsOK(res1
)) {
29298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29300 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29301 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29302 if (!SWIG_IsOK(res2
)) {
29303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29306 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29308 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29309 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29310 if (!SWIG_IsOK(ecode3
)) {
29311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29313 arg3
= static_cast< wxDouble
>(val3
);
29314 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29315 if (!SWIG_IsOK(ecode4
)) {
29316 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29318 arg4
= static_cast< wxDouble
>(val4
);
29319 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29320 if (!SWIG_IsOK(ecode5
)) {
29321 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29323 arg5
= static_cast< wxDouble
>(val5
);
29324 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29325 if (!SWIG_IsOK(ecode6
)) {
29326 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29328 arg6
= static_cast< wxDouble
>(val6
);
29330 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29331 if (PyErr_Occurred()) SWIG_fail
;
29333 resultobj
= SWIG_Py_Void();
29340 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29341 PyObject
*resultobj
= 0;
29342 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29360 PyObject
* obj0
= 0 ;
29361 PyObject
* obj1
= 0 ;
29362 PyObject
* obj2
= 0 ;
29363 PyObject
* obj3
= 0 ;
29364 PyObject
* obj4
= 0 ;
29365 PyObject
* obj5
= 0 ;
29366 char * kwnames
[] = {
29367 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29372 if (!SWIG_IsOK(res1
)) {
29373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29375 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29376 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29377 if (!SWIG_IsOK(res2
)) {
29378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29381 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29383 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29384 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29385 if (!SWIG_IsOK(ecode3
)) {
29386 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29388 arg3
= static_cast< wxDouble
>(val3
);
29389 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29390 if (!SWIG_IsOK(ecode4
)) {
29391 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29393 arg4
= static_cast< wxDouble
>(val4
);
29394 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29395 if (!SWIG_IsOK(ecode5
)) {
29396 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29398 arg5
= static_cast< wxDouble
>(val5
);
29399 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29400 if (!SWIG_IsOK(ecode6
)) {
29401 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29403 arg6
= static_cast< wxDouble
>(val6
);
29405 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29406 if (PyErr_Occurred()) SWIG_fail
;
29408 resultobj
= SWIG_Py_Void();
29415 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29416 PyObject
*resultobj
= 0;
29417 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29432 PyObject
* obj0
= 0 ;
29433 PyObject
* obj1
= 0 ;
29434 PyObject
* obj2
= 0 ;
29435 PyObject
* obj3
= 0 ;
29436 PyObject
* obj4
= 0 ;
29437 char * kwnames
[] = {
29438 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29443 if (!SWIG_IsOK(res1
)) {
29444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29446 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29447 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29448 if (!SWIG_IsOK(ecode2
)) {
29449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29451 arg2
= static_cast< wxDouble
>(val2
);
29452 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29453 if (!SWIG_IsOK(ecode3
)) {
29454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29456 arg3
= static_cast< wxDouble
>(val3
);
29457 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29458 if (!SWIG_IsOK(ecode4
)) {
29459 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29461 arg4
= static_cast< wxDouble
>(val4
);
29462 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29463 if (!SWIG_IsOK(ecode5
)) {
29464 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29466 arg5
= static_cast< wxDouble
>(val5
);
29468 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29469 if (PyErr_Occurred()) SWIG_fail
;
29471 resultobj
= SWIG_Py_Void();
29478 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29479 PyObject
*resultobj
= 0;
29480 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29482 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29485 PyObject
* obj0
= 0 ;
29486 PyObject
* obj1
= 0 ;
29487 char * kwnames
[] = {
29488 (char *) "self",(char *) "points", NULL
29491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29493 if (!SWIG_IsOK(res1
)) {
29494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29496 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29498 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29499 if (arg3
== NULL
) SWIG_fail
;
29502 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29503 if (PyErr_Occurred()) SWIG_fail
;
29505 resultobj
= SWIG_Py_Void();
29507 if (arg3
) delete [] arg3
;
29512 if (arg3
) delete [] arg3
;
29518 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29519 PyObject
*resultobj
= 0;
29520 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29521 PyObject
*arg2
= (PyObject
*) 0 ;
29522 PyObject
*arg3
= (PyObject
*) 0 ;
29525 PyObject
* obj0
= 0 ;
29526 PyObject
* obj1
= 0 ;
29527 PyObject
* obj2
= 0 ;
29528 char * kwnames
[] = {
29529 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29534 if (!SWIG_IsOK(res1
)) {
29535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29537 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29541 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29542 if (PyErr_Occurred()) SWIG_fail
;
29544 resultobj
= SWIG_Py_Void();
29551 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29552 PyObject
*resultobj
= 0;
29553 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29555 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29556 int arg4
= (int) wxODDEVEN_RULE
;
29561 PyObject
* obj0
= 0 ;
29562 PyObject
* obj1
= 0 ;
29563 PyObject
* obj2
= 0 ;
29564 char * kwnames
[] = {
29565 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29570 if (!SWIG_IsOK(res1
)) {
29571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29573 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29575 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29576 if (arg3
== NULL
) SWIG_fail
;
29579 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29580 if (!SWIG_IsOK(ecode4
)) {
29581 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29583 arg4
= static_cast< int >(val4
);
29586 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29587 if (PyErr_Occurred()) SWIG_fail
;
29589 resultobj
= SWIG_Py_Void();
29591 if (arg3
) delete [] arg3
;
29596 if (arg3
) delete [] arg3
;
29602 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29603 PyObject
*resultobj
= 0;
29604 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29619 PyObject
* obj0
= 0 ;
29620 PyObject
* obj1
= 0 ;
29621 PyObject
* obj2
= 0 ;
29622 PyObject
* obj3
= 0 ;
29623 PyObject
* obj4
= 0 ;
29624 char * kwnames
[] = {
29625 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29630 if (!SWIG_IsOK(res1
)) {
29631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29633 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29634 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29635 if (!SWIG_IsOK(ecode2
)) {
29636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29638 arg2
= static_cast< wxDouble
>(val2
);
29639 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29640 if (!SWIG_IsOK(ecode3
)) {
29641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29643 arg3
= static_cast< wxDouble
>(val3
);
29644 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29645 if (!SWIG_IsOK(ecode4
)) {
29646 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29648 arg4
= static_cast< wxDouble
>(val4
);
29649 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29650 if (!SWIG_IsOK(ecode5
)) {
29651 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29653 arg5
= static_cast< wxDouble
>(val5
);
29655 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29656 if (PyErr_Occurred()) SWIG_fail
;
29658 resultobj
= SWIG_Py_Void();
29665 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29666 PyObject
*resultobj
= 0;
29667 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29682 PyObject
* obj0
= 0 ;
29683 PyObject
* obj1
= 0 ;
29684 PyObject
* obj2
= 0 ;
29685 PyObject
* obj3
= 0 ;
29686 PyObject
* obj4
= 0 ;
29687 char * kwnames
[] = {
29688 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29693 if (!SWIG_IsOK(res1
)) {
29694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29696 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29697 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29698 if (!SWIG_IsOK(ecode2
)) {
29699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29701 arg2
= static_cast< wxDouble
>(val2
);
29702 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29703 if (!SWIG_IsOK(ecode3
)) {
29704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29706 arg3
= static_cast< wxDouble
>(val3
);
29707 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29708 if (!SWIG_IsOK(ecode4
)) {
29709 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29711 arg4
= static_cast< wxDouble
>(val4
);
29712 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29713 if (!SWIG_IsOK(ecode5
)) {
29714 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29716 arg5
= static_cast< wxDouble
>(val5
);
29718 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29719 if (PyErr_Occurred()) SWIG_fail
;
29721 resultobj
= SWIG_Py_Void();
29728 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29729 PyObject
*resultobj
= 0;
29730 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29748 PyObject
* obj0
= 0 ;
29749 PyObject
* obj1
= 0 ;
29750 PyObject
* obj2
= 0 ;
29751 PyObject
* obj3
= 0 ;
29752 PyObject
* obj4
= 0 ;
29753 PyObject
* obj5
= 0 ;
29754 char * kwnames
[] = {
29755 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
29758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29760 if (!SWIG_IsOK(res1
)) {
29761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29763 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29764 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29765 if (!SWIG_IsOK(ecode2
)) {
29766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29768 arg2
= static_cast< wxDouble
>(val2
);
29769 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29770 if (!SWIG_IsOK(ecode3
)) {
29771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29773 arg3
= static_cast< wxDouble
>(val3
);
29774 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29775 if (!SWIG_IsOK(ecode4
)) {
29776 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29778 arg4
= static_cast< wxDouble
>(val4
);
29779 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29780 if (!SWIG_IsOK(ecode5
)) {
29781 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29783 arg5
= static_cast< wxDouble
>(val5
);
29784 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29785 if (!SWIG_IsOK(ecode6
)) {
29786 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
29788 arg6
= static_cast< wxDouble
>(val6
);
29790 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29791 if (PyErr_Occurred()) SWIG_fail
;
29793 resultobj
= SWIG_Py_Void();
29800 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29801 PyObject
*resultobj
= 0;
29802 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29806 PyObject
*swig_obj
[1] ;
29808 if (!args
) SWIG_fail
;
29809 swig_obj
[0] = args
;
29810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29811 if (!SWIG_IsOK(res1
)) {
29812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29814 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29816 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
29817 if (PyErr_Occurred()) SWIG_fail
;
29820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29828 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29830 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29831 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
29832 return SWIG_Py_Void();
29835 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29836 PyObject
*resultobj
= 0;
29837 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29840 PyObject
*swig_obj
[1] ;
29842 if (!args
) SWIG_fail
;
29843 swig_obj
[0] = args
;
29844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
29845 if (!SWIG_IsOK(res1
)) {
29846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29848 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29852 if (PyErr_Occurred()) SWIG_fail
;
29854 resultobj
= SWIG_Py_Void();
29861 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29862 PyObject
*resultobj
= 0;
29863 wxGraphicsRenderer
*result
= 0 ;
29865 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
29867 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
29868 if (PyErr_Occurred()) SWIG_fail
;
29870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29877 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29878 PyObject
*resultobj
= 0;
29879 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29880 wxWindowDC
*arg2
= 0 ;
29881 wxGraphicsContext
*result
= 0 ;
29887 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29889 if (!SWIG_IsOK(res1
)) {
29890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29892 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29893 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
29894 if (!SWIG_IsOK(res2
)) {
29895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29900 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
29902 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
29903 if (PyErr_Occurred()) SWIG_fail
;
29905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29912 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29913 PyObject
*resultobj
= 0;
29914 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29915 wxWindow
*arg2
= (wxWindow
*) 0 ;
29916 wxGraphicsContext
*result
= 0 ;
29922 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29924 if (!SWIG_IsOK(res1
)) {
29925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29927 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29928 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29929 if (!SWIG_IsOK(res2
)) {
29930 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
29932 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29934 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
29935 if (PyErr_Occurred()) SWIG_fail
;
29937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29944 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
29948 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
29953 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
29954 _v
= SWIG_CheckState(res
);
29956 if (!_v
) goto check_1
;
29957 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
29962 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
29966 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
29971 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29972 PyObject
*resultobj
= 0;
29973 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29974 void *arg2
= (void *) 0 ;
29975 wxGraphicsContext
*result
= 0 ;
29979 PyObject
* obj0
= 0 ;
29980 PyObject
* obj1
= 0 ;
29981 char * kwnames
[] = {
29982 (char *) "self",(char *) "context", NULL
29985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29987 if (!SWIG_IsOK(res1
)) {
29988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29990 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29991 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
29992 if (!SWIG_IsOK(res2
)) {
29993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
29996 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
29997 if (PyErr_Occurred()) SWIG_fail
;
29999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30006 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30007 PyObject
*resultobj
= 0;
30008 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30009 void *arg2
= (void *) 0 ;
30010 wxGraphicsContext
*result
= 0 ;
30014 PyObject
* obj0
= 0 ;
30015 PyObject
* obj1
= 0 ;
30016 char * kwnames
[] = {
30017 (char *) "self",(char *) "window", NULL
30020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30022 if (!SWIG_IsOK(res1
)) {
30023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30025 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30026 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30027 if (!SWIG_IsOK(res2
)) {
30028 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30031 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30032 if (PyErr_Occurred()) SWIG_fail
;
30034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30041 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30042 PyObject
*resultobj
= 0;
30043 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30044 wxGraphicsPath result
;
30047 PyObject
*swig_obj
[1] ;
30049 if (!args
) SWIG_fail
;
30050 swig_obj
[0] = args
;
30051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30052 if (!SWIG_IsOK(res1
)) {
30053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30055 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30057 result
= (arg1
)->CreatePath();
30058 if (PyErr_Occurred()) SWIG_fail
;
30060 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30067 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30068 PyObject
*resultobj
= 0;
30069 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30070 wxDouble arg2
= (wxDouble
) 1.0 ;
30071 wxDouble arg3
= (wxDouble
) 0.0 ;
30072 wxDouble arg4
= (wxDouble
) 0.0 ;
30073 wxDouble arg5
= (wxDouble
) 1.0 ;
30074 wxDouble arg6
= (wxDouble
) 0.0 ;
30075 wxDouble arg7
= (wxDouble
) 0.0 ;
30076 wxGraphicsMatrix result
;
30091 PyObject
* obj0
= 0 ;
30092 PyObject
* obj1
= 0 ;
30093 PyObject
* obj2
= 0 ;
30094 PyObject
* obj3
= 0 ;
30095 PyObject
* obj4
= 0 ;
30096 PyObject
* obj5
= 0 ;
30097 PyObject
* obj6
= 0 ;
30098 char * kwnames
[] = {
30099 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30104 if (!SWIG_IsOK(res1
)) {
30105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30107 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30109 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30110 if (!SWIG_IsOK(ecode2
)) {
30111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30113 arg2
= static_cast< wxDouble
>(val2
);
30116 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30117 if (!SWIG_IsOK(ecode3
)) {
30118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30120 arg3
= static_cast< wxDouble
>(val3
);
30123 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30124 if (!SWIG_IsOK(ecode4
)) {
30125 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30127 arg4
= static_cast< wxDouble
>(val4
);
30130 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30131 if (!SWIG_IsOK(ecode5
)) {
30132 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30134 arg5
= static_cast< wxDouble
>(val5
);
30137 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30138 if (!SWIG_IsOK(ecode6
)) {
30139 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30141 arg6
= static_cast< wxDouble
>(val6
);
30144 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30145 if (!SWIG_IsOK(ecode7
)) {
30146 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30148 arg7
= static_cast< wxDouble
>(val7
);
30151 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30152 if (PyErr_Occurred()) SWIG_fail
;
30154 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30161 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30162 PyObject
*resultobj
= 0;
30163 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30165 wxGraphicsPen result
;
30170 PyObject
* obj0
= 0 ;
30171 PyObject
* obj1
= 0 ;
30172 char * kwnames
[] = {
30173 (char *) "self",(char *) "pen", NULL
30176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30178 if (!SWIG_IsOK(res1
)) {
30179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30181 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30182 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30183 if (!SWIG_IsOK(res2
)) {
30184 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30187 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30189 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30191 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30192 if (PyErr_Occurred()) SWIG_fail
;
30194 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30201 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30202 PyObject
*resultobj
= 0;
30203 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30204 wxBrush
*arg2
= 0 ;
30205 wxGraphicsBrush result
;
30210 PyObject
* obj0
= 0 ;
30211 PyObject
* obj1
= 0 ;
30212 char * kwnames
[] = {
30213 (char *) "self",(char *) "brush", NULL
30216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30218 if (!SWIG_IsOK(res1
)) {
30219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30221 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30222 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30223 if (!SWIG_IsOK(res2
)) {
30224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30229 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30231 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30232 if (PyErr_Occurred()) SWIG_fail
;
30234 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30241 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30242 PyObject
*resultobj
= 0;
30243 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30248 wxColour
*arg6
= 0 ;
30249 wxColour
*arg7
= 0 ;
30250 wxGraphicsBrush result
;
30263 PyObject
* obj0
= 0 ;
30264 PyObject
* obj1
= 0 ;
30265 PyObject
* obj2
= 0 ;
30266 PyObject
* obj3
= 0 ;
30267 PyObject
* obj4
= 0 ;
30268 PyObject
* obj5
= 0 ;
30269 PyObject
* obj6
= 0 ;
30270 char * kwnames
[] = {
30271 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30276 if (!SWIG_IsOK(res1
)) {
30277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30279 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30280 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30281 if (!SWIG_IsOK(ecode2
)) {
30282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30284 arg2
= static_cast< wxDouble
>(val2
);
30285 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30286 if (!SWIG_IsOK(ecode3
)) {
30287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30289 arg3
= static_cast< wxDouble
>(val3
);
30290 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30291 if (!SWIG_IsOK(ecode4
)) {
30292 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30294 arg4
= static_cast< wxDouble
>(val4
);
30295 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30296 if (!SWIG_IsOK(ecode5
)) {
30297 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30299 arg5
= static_cast< wxDouble
>(val5
);
30302 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30306 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30309 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30310 if (PyErr_Occurred()) SWIG_fail
;
30312 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30319 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30320 PyObject
*resultobj
= 0;
30321 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30327 wxColour
*arg7
= 0 ;
30328 wxColour
*arg8
= 0 ;
30329 wxGraphicsBrush result
;
30344 PyObject
* obj0
= 0 ;
30345 PyObject
* obj1
= 0 ;
30346 PyObject
* obj2
= 0 ;
30347 PyObject
* obj3
= 0 ;
30348 PyObject
* obj4
= 0 ;
30349 PyObject
* obj5
= 0 ;
30350 PyObject
* obj6
= 0 ;
30351 PyObject
* obj7
= 0 ;
30352 char * kwnames
[] = {
30353 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30358 if (!SWIG_IsOK(res1
)) {
30359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30361 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30362 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30363 if (!SWIG_IsOK(ecode2
)) {
30364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30366 arg2
= static_cast< wxDouble
>(val2
);
30367 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30368 if (!SWIG_IsOK(ecode3
)) {
30369 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30371 arg3
= static_cast< wxDouble
>(val3
);
30372 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30373 if (!SWIG_IsOK(ecode4
)) {
30374 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30376 arg4
= static_cast< wxDouble
>(val4
);
30377 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30378 if (!SWIG_IsOK(ecode5
)) {
30379 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30381 arg5
= static_cast< wxDouble
>(val5
);
30382 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30383 if (!SWIG_IsOK(ecode6
)) {
30384 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30386 arg6
= static_cast< wxDouble
>(val6
);
30389 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30393 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30396 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30397 if (PyErr_Occurred()) SWIG_fail
;
30399 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30406 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30407 PyObject
*resultobj
= 0;
30408 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30410 wxColour
const &arg3_defvalue
= *wxBLACK
;
30411 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30412 wxGraphicsFont result
;
30418 PyObject
* obj0
= 0 ;
30419 PyObject
* obj1
= 0 ;
30420 PyObject
* obj2
= 0 ;
30421 char * kwnames
[] = {
30422 (char *) "self",(char *) "font",(char *) "col", NULL
30425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30427 if (!SWIG_IsOK(res1
)) {
30428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30430 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30431 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30432 if (!SWIG_IsOK(res2
)) {
30433 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30436 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30438 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30442 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30446 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30447 if (PyErr_Occurred()) SWIG_fail
;
30449 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30456 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30458 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30459 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30460 return SWIG_Py_Void();
30463 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30464 PyObject
*resultobj
= 0;
30465 wxWindowDC
*arg1
= 0 ;
30466 wxGCDC
*result
= 0 ;
30469 PyObject
* obj0
= 0 ;
30470 char * kwnames
[] = {
30471 (char *) "dc", NULL
30474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
30475 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30476 if (!SWIG_IsOK(res1
)) {
30477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30482 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30484 if (!wxPyCheckForApp()) SWIG_fail
;
30485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30486 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30487 wxPyEndAllowThreads(__tstate
);
30488 if (PyErr_Occurred()) SWIG_fail
;
30490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30497 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30498 PyObject
*resultobj
= 0;
30499 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30502 PyObject
*swig_obj
[1] ;
30504 if (!args
) SWIG_fail
;
30505 swig_obj
[0] = args
;
30506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30507 if (!SWIG_IsOK(res1
)) {
30508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30510 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30514 if (PyErr_Occurred()) SWIG_fail
;
30516 resultobj
= SWIG_Py_Void();
30523 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30524 PyObject
*resultobj
= 0;
30525 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30526 wxGraphicsContext
*result
= 0 ;
30529 PyObject
*swig_obj
[1] ;
30531 if (!args
) SWIG_fail
;
30532 swig_obj
[0] = args
;
30533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30534 if (!SWIG_IsOK(res1
)) {
30535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30537 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30539 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30540 if (PyErr_Occurred()) SWIG_fail
;
30542 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30549 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30550 PyObject
*resultobj
= 0;
30551 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30552 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30557 PyObject
* obj0
= 0 ;
30558 PyObject
* obj1
= 0 ;
30559 char * kwnames
[] = {
30560 (char *) "self",(char *) "ctx", NULL
30563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30565 if (!SWIG_IsOK(res1
)) {
30566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30568 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30569 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30570 if (!SWIG_IsOK(res2
)) {
30571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30573 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30575 (arg1
)->SetGraphicsContext(arg2
);
30576 if (PyErr_Occurred()) SWIG_fail
;
30578 resultobj
= SWIG_Py_Void();
30585 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30587 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30588 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30589 return SWIG_Py_Void();
30592 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30593 return SWIG_Python_InitShadowInstance(args
);
30596 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30597 PyObject
*resultobj
= 0;
30598 wxOverlay
*result
= 0 ;
30600 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30603 result
= (wxOverlay
*)new wxOverlay();
30604 wxPyEndAllowThreads(__tstate
);
30605 if (PyErr_Occurred()) SWIG_fail
;
30607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30614 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30615 PyObject
*resultobj
= 0;
30616 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30619 PyObject
*swig_obj
[1] ;
30621 if (!args
) SWIG_fail
;
30622 swig_obj
[0] = args
;
30623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30624 if (!SWIG_IsOK(res1
)) {
30625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30627 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30632 wxPyEndAllowThreads(__tstate
);
30633 if (PyErr_Occurred()) SWIG_fail
;
30635 resultobj
= SWIG_Py_Void();
30642 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30643 PyObject
*resultobj
= 0;
30644 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30647 PyObject
*swig_obj
[1] ;
30649 if (!args
) SWIG_fail
;
30650 swig_obj
[0] = args
;
30651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30652 if (!SWIG_IsOK(res1
)) {
30653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30655 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30659 wxPyEndAllowThreads(__tstate
);
30660 if (PyErr_Occurred()) SWIG_fail
;
30662 resultobj
= SWIG_Py_Void();
30669 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30671 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30672 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
30673 return SWIG_Py_Void();
30676 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30677 return SWIG_Python_InitShadowInstance(args
);
30680 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30681 PyObject
*resultobj
= 0;
30682 wxOverlay
*arg1
= 0 ;
30683 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30688 wxDCOverlay
*result
= 0 ;
30702 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
30703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30704 if (!SWIG_IsOK(res1
)) {
30705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30710 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30711 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30712 if (!SWIG_IsOK(res2
)) {
30713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30715 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30716 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
30717 if (!SWIG_IsOK(ecode3
)) {
30718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
30720 arg3
= static_cast< int >(val3
);
30721 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
30722 if (!SWIG_IsOK(ecode4
)) {
30723 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
30725 arg4
= static_cast< int >(val4
);
30726 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
30727 if (!SWIG_IsOK(ecode5
)) {
30728 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
30730 arg5
= static_cast< int >(val5
);
30731 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
30732 if (!SWIG_IsOK(ecode6
)) {
30733 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
30735 arg6
= static_cast< int >(val6
);
30737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30738 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30739 wxPyEndAllowThreads(__tstate
);
30740 if (PyErr_Occurred()) SWIG_fail
;
30742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30749 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30750 PyObject
*resultobj
= 0;
30751 wxOverlay
*arg1
= 0 ;
30752 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30753 wxDCOverlay
*result
= 0 ;
30759 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30761 if (!SWIG_IsOK(res1
)) {
30762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30767 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30768 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30769 if (!SWIG_IsOK(res2
)) {
30770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30772 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30775 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
30776 wxPyEndAllowThreads(__tstate
);
30777 if (PyErr_Occurred()) SWIG_fail
;
30779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30786 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
30790 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
30793 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
30796 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
30800 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
30805 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30806 PyObject
*resultobj
= 0;
30807 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30810 PyObject
*swig_obj
[1] ;
30812 if (!args
) SWIG_fail
;
30813 swig_obj
[0] = args
;
30814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
30815 if (!SWIG_IsOK(res1
)) {
30816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30818 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30823 wxPyEndAllowThreads(__tstate
);
30824 if (PyErr_Occurred()) SWIG_fail
;
30826 resultobj
= SWIG_Py_Void();
30833 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30834 PyObject
*resultobj
= 0;
30835 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30838 PyObject
*swig_obj
[1] ;
30840 if (!args
) SWIG_fail
;
30841 swig_obj
[0] = args
;
30842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
30843 if (!SWIG_IsOK(res1
)) {
30844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30846 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30850 wxPyEndAllowThreads(__tstate
);
30851 if (PyErr_Occurred()) SWIG_fail
;
30853 resultobj
= SWIG_Py_Void();
30860 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30862 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30863 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
30864 return SWIG_Py_Void();
30867 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30868 return SWIG_Python_InitShadowInstance(args
);
30871 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30872 PyObject
*resultobj
= 0;
30875 int arg3
= (int) true ;
30876 int arg4
= (int) 1 ;
30877 wxImageList
*result
= 0 ;
30886 PyObject
* obj0
= 0 ;
30887 PyObject
* obj1
= 0 ;
30888 PyObject
* obj2
= 0 ;
30889 PyObject
* obj3
= 0 ;
30890 char * kwnames
[] = {
30891 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
30894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30895 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30896 if (!SWIG_IsOK(ecode1
)) {
30897 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
30899 arg1
= static_cast< int >(val1
);
30900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30901 if (!SWIG_IsOK(ecode2
)) {
30902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
30904 arg2
= static_cast< int >(val2
);
30906 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30907 if (!SWIG_IsOK(ecode3
)) {
30908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
30910 arg3
= static_cast< int >(val3
);
30913 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30914 if (!SWIG_IsOK(ecode4
)) {
30915 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
30917 arg4
= static_cast< int >(val4
);
30920 if (!wxPyCheckForApp()) SWIG_fail
;
30921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30922 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
30923 wxPyEndAllowThreads(__tstate
);
30924 if (PyErr_Occurred()) SWIG_fail
;
30926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
30933 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30934 PyObject
*resultobj
= 0;
30935 wxImageList
*arg1
= (wxImageList
*) 0 ;
30938 PyObject
*swig_obj
[1] ;
30940 if (!args
) SWIG_fail
;
30941 swig_obj
[0] = args
;
30942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30943 if (!SWIG_IsOK(res1
)) {
30944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
30946 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30951 wxPyEndAllowThreads(__tstate
);
30952 if (PyErr_Occurred()) SWIG_fail
;
30954 resultobj
= SWIG_Py_Void();
30961 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30962 PyObject
*resultobj
= 0;
30963 wxImageList
*arg1
= (wxImageList
*) 0 ;
30964 wxBitmap
*arg2
= 0 ;
30965 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
30966 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
30974 PyObject
* obj0
= 0 ;
30975 PyObject
* obj1
= 0 ;
30976 PyObject
* obj2
= 0 ;
30977 char * kwnames
[] = {
30978 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
30981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30983 if (!SWIG_IsOK(res1
)) {
30984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
30986 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30987 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30988 if (!SWIG_IsOK(res2
)) {
30989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30992 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30994 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30996 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30997 if (!SWIG_IsOK(res3
)) {
30998 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31001 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31003 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31007 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31008 wxPyEndAllowThreads(__tstate
);
31009 if (PyErr_Occurred()) SWIG_fail
;
31011 resultobj
= SWIG_From_int(static_cast< int >(result
));
31018 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31019 PyObject
*resultobj
= 0;
31020 wxImageList
*arg1
= (wxImageList
*) 0 ;
31021 wxBitmap
*arg2
= 0 ;
31022 wxColour
*arg3
= 0 ;
31029 PyObject
* obj0
= 0 ;
31030 PyObject
* obj1
= 0 ;
31031 PyObject
* obj2
= 0 ;
31032 char * kwnames
[] = {
31033 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31038 if (!SWIG_IsOK(res1
)) {
31039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31041 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31042 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31043 if (!SWIG_IsOK(res2
)) {
31044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31049 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31052 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31056 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31057 wxPyEndAllowThreads(__tstate
);
31058 if (PyErr_Occurred()) SWIG_fail
;
31060 resultobj
= SWIG_From_int(static_cast< int >(result
));
31067 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31068 PyObject
*resultobj
= 0;
31069 wxImageList
*arg1
= (wxImageList
*) 0 ;
31076 PyObject
* obj0
= 0 ;
31077 PyObject
* obj1
= 0 ;
31078 char * kwnames
[] = {
31079 (char *) "self",(char *) "icon", NULL
31082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31084 if (!SWIG_IsOK(res1
)) {
31085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31087 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31088 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31089 if (!SWIG_IsOK(res2
)) {
31090 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31093 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31095 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31098 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31099 wxPyEndAllowThreads(__tstate
);
31100 if (PyErr_Occurred()) SWIG_fail
;
31102 resultobj
= SWIG_From_int(static_cast< int >(result
));
31109 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31110 PyObject
*resultobj
= 0;
31111 wxImageList
*arg1
= (wxImageList
*) 0 ;
31113 SwigValueWrapper
<wxBitmap
> result
;
31118 PyObject
* obj0
= 0 ;
31119 PyObject
* obj1
= 0 ;
31120 char * kwnames
[] = {
31121 (char *) "self",(char *) "index", NULL
31124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31126 if (!SWIG_IsOK(res1
)) {
31127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31129 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31131 if (!SWIG_IsOK(ecode2
)) {
31132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31134 arg2
= static_cast< int >(val2
);
31136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31137 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31138 wxPyEndAllowThreads(__tstate
);
31139 if (PyErr_Occurred()) SWIG_fail
;
31141 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31148 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31149 PyObject
*resultobj
= 0;
31150 wxImageList
*arg1
= (wxImageList
*) 0 ;
31157 PyObject
* obj0
= 0 ;
31158 PyObject
* obj1
= 0 ;
31159 char * kwnames
[] = {
31160 (char *) "self",(char *) "index", NULL
31163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31165 if (!SWIG_IsOK(res1
)) {
31166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31168 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31170 if (!SWIG_IsOK(ecode2
)) {
31171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31173 arg2
= static_cast< int >(val2
);
31175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31176 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31177 wxPyEndAllowThreads(__tstate
);
31178 if (PyErr_Occurred()) SWIG_fail
;
31180 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31187 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31188 PyObject
*resultobj
= 0;
31189 wxImageList
*arg1
= (wxImageList
*) 0 ;
31191 wxBitmap
*arg3
= 0 ;
31192 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31193 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31203 PyObject
* obj0
= 0 ;
31204 PyObject
* obj1
= 0 ;
31205 PyObject
* obj2
= 0 ;
31206 PyObject
* obj3
= 0 ;
31207 char * kwnames
[] = {
31208 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31213 if (!SWIG_IsOK(res1
)) {
31214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31216 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31218 if (!SWIG_IsOK(ecode2
)) {
31219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31221 arg2
= static_cast< int >(val2
);
31222 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31223 if (!SWIG_IsOK(res3
)) {
31224 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31229 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31231 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31232 if (!SWIG_IsOK(res4
)) {
31233 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31238 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31242 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31243 wxPyEndAllowThreads(__tstate
);
31244 if (PyErr_Occurred()) SWIG_fail
;
31247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31255 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31256 PyObject
*resultobj
= 0;
31257 wxImageList
*arg1
= (wxImageList
*) 0 ;
31262 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31263 bool arg7
= (bool) (bool)false ;
31279 PyObject
* obj0
= 0 ;
31280 PyObject
* obj1
= 0 ;
31281 PyObject
* obj2
= 0 ;
31282 PyObject
* obj3
= 0 ;
31283 PyObject
* obj4
= 0 ;
31284 PyObject
* obj5
= 0 ;
31285 PyObject
* obj6
= 0 ;
31286 char * kwnames
[] = {
31287 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31292 if (!SWIG_IsOK(res1
)) {
31293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31295 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31297 if (!SWIG_IsOK(ecode2
)) {
31298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31300 arg2
= static_cast< int >(val2
);
31301 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31302 if (!SWIG_IsOK(res3
)) {
31303 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31306 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31308 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31309 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31310 if (!SWIG_IsOK(ecode4
)) {
31311 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31313 arg4
= static_cast< int >(val4
);
31314 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31315 if (!SWIG_IsOK(ecode5
)) {
31316 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31318 arg5
= static_cast< int >(val5
);
31320 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31321 if (!SWIG_IsOK(ecode6
)) {
31322 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31324 arg6
= static_cast< int >(val6
);
31327 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31328 if (!SWIG_IsOK(ecode7
)) {
31329 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31331 arg7
= static_cast< bool >(val7
);
31334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31335 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31336 wxPyEndAllowThreads(__tstate
);
31337 if (PyErr_Occurred()) SWIG_fail
;
31340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31348 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31349 PyObject
*resultobj
= 0;
31350 wxImageList
*arg1
= (wxImageList
*) 0 ;
31354 PyObject
*swig_obj
[1] ;
31356 if (!args
) SWIG_fail
;
31357 swig_obj
[0] = args
;
31358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31359 if (!SWIG_IsOK(res1
)) {
31360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31362 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31365 result
= (int)(arg1
)->GetImageCount();
31366 wxPyEndAllowThreads(__tstate
);
31367 if (PyErr_Occurred()) SWIG_fail
;
31369 resultobj
= SWIG_From_int(static_cast< int >(result
));
31376 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31377 PyObject
*resultobj
= 0;
31378 wxImageList
*arg1
= (wxImageList
*) 0 ;
31385 PyObject
* obj0
= 0 ;
31386 PyObject
* obj1
= 0 ;
31387 char * kwnames
[] = {
31388 (char *) "self",(char *) "index", NULL
31391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31393 if (!SWIG_IsOK(res1
)) {
31394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31396 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31398 if (!SWIG_IsOK(ecode2
)) {
31399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31401 arg2
= static_cast< int >(val2
);
31403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31404 result
= (bool)(arg1
)->Remove(arg2
);
31405 wxPyEndAllowThreads(__tstate
);
31406 if (PyErr_Occurred()) SWIG_fail
;
31409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31417 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31418 PyObject
*resultobj
= 0;
31419 wxImageList
*arg1
= (wxImageList
*) 0 ;
31423 PyObject
*swig_obj
[1] ;
31425 if (!args
) SWIG_fail
;
31426 swig_obj
[0] = args
;
31427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31428 if (!SWIG_IsOK(res1
)) {
31429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31431 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31434 result
= (bool)(arg1
)->RemoveAll();
31435 wxPyEndAllowThreads(__tstate
);
31436 if (PyErr_Occurred()) SWIG_fail
;
31439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31447 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31448 PyObject
*resultobj
= 0;
31449 wxImageList
*arg1
= (wxImageList
*) 0 ;
31458 int res3
= SWIG_TMPOBJ
;
31460 int res4
= SWIG_TMPOBJ
;
31461 PyObject
* obj0
= 0 ;
31462 PyObject
* obj1
= 0 ;
31463 char * kwnames
[] = {
31464 (char *) "self",(char *) "index", NULL
31469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31471 if (!SWIG_IsOK(res1
)) {
31472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31474 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31476 if (!SWIG_IsOK(ecode2
)) {
31477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31479 arg2
= static_cast< int >(val2
);
31481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31482 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31483 wxPyEndAllowThreads(__tstate
);
31484 if (PyErr_Occurred()) SWIG_fail
;
31486 resultobj
= SWIG_Py_Void();
31487 if (SWIG_IsTmpObj(res3
)) {
31488 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31490 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31491 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31493 if (SWIG_IsTmpObj(res4
)) {
31494 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31496 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31497 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31505 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31507 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31508 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31509 return SWIG_Py_Void();
31512 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31513 return SWIG_Python_InitShadowInstance(args
);
31516 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31517 PyObject
*resultobj
= 0;
31518 wxStockGDI
*result
= 0 ;
31520 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31523 result
= (wxStockGDI
*)new wxStockGDI();
31524 wxPyEndAllowThreads(__tstate
);
31525 if (PyErr_Occurred()) SWIG_fail
;
31527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31534 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31535 PyObject
*resultobj
= 0;
31536 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31539 PyObject
*swig_obj
[1] ;
31541 if (!args
) SWIG_fail
;
31542 swig_obj
[0] = args
;
31543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31544 if (!SWIG_IsOK(res1
)) {
31545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31547 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31552 wxPyEndAllowThreads(__tstate
);
31553 if (PyErr_Occurred()) SWIG_fail
;
31555 resultobj
= SWIG_Py_Void();
31562 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31563 PyObject
*resultobj
= 0;
31565 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31568 wxStockGDI::DeleteAll();
31569 wxPyEndAllowThreads(__tstate
);
31570 if (PyErr_Occurred()) SWIG_fail
;
31572 resultobj
= SWIG_Py_Void();
31579 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31580 PyObject
*resultobj
= 0;
31581 wxStockGDI
*result
= 0 ;
31583 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31587 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31588 result
= (wxStockGDI
*) &_result_ref
;
31590 wxPyEndAllowThreads(__tstate
);
31591 if (PyErr_Occurred()) SWIG_fail
;
31593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31600 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31601 PyObject
*resultobj
= 0;
31602 wxStockGDI::Item arg1
;
31603 wxBrush
*result
= 0 ;
31606 PyObject
* obj0
= 0 ;
31607 char * kwnames
[] = {
31608 (char *) "item", NULL
31611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31612 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31613 if (!SWIG_IsOK(ecode1
)) {
31614 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31616 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31619 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31620 wxPyEndAllowThreads(__tstate
);
31621 if (PyErr_Occurred()) SWIG_fail
;
31623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31630 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31631 PyObject
*resultobj
= 0;
31632 wxStockGDI::Item arg1
;
31633 wxColour
*result
= 0 ;
31636 PyObject
* obj0
= 0 ;
31637 char * kwnames
[] = {
31638 (char *) "item", NULL
31641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31642 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31643 if (!SWIG_IsOK(ecode1
)) {
31644 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31646 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31649 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31650 wxPyEndAllowThreads(__tstate
);
31651 if (PyErr_Occurred()) SWIG_fail
;
31653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31660 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31661 PyObject
*resultobj
= 0;
31662 wxStockGDI::Item arg1
;
31663 wxCursor
*result
= 0 ;
31666 PyObject
* obj0
= 0 ;
31667 char * kwnames
[] = {
31668 (char *) "item", NULL
31671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
31672 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31673 if (!SWIG_IsOK(ecode1
)) {
31674 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31676 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31679 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
31680 wxPyEndAllowThreads(__tstate
);
31681 if (PyErr_Occurred()) SWIG_fail
;
31683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
31690 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31691 PyObject
*resultobj
= 0;
31692 wxStockGDI::Item arg1
;
31693 wxPen
*result
= 0 ;
31696 PyObject
* obj0
= 0 ;
31697 char * kwnames
[] = {
31698 (char *) "item", NULL
31701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
31702 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31703 if (!SWIG_IsOK(ecode1
)) {
31704 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31706 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31709 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
31710 wxPyEndAllowThreads(__tstate
);
31711 if (PyErr_Occurred()) SWIG_fail
;
31713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31720 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31721 PyObject
*resultobj
= 0;
31722 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31723 wxStockGDI::Item arg2
;
31724 wxFont
*result
= 0 ;
31729 PyObject
* obj0
= 0 ;
31730 PyObject
* obj1
= 0 ;
31731 char * kwnames
[] = {
31732 (char *) "self",(char *) "item", NULL
31735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31737 if (!SWIG_IsOK(res1
)) {
31738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31740 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31742 if (!SWIG_IsOK(ecode2
)) {
31743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
31745 arg2
= static_cast< wxStockGDI::Item
>(val2
);
31747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31748 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
31749 wxPyEndAllowThreads(__tstate
);
31750 if (PyErr_Occurred()) SWIG_fail
;
31752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
31759 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31761 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31762 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
31763 return SWIG_Py_Void();
31766 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31767 return SWIG_Python_InitShadowInstance(args
);
31770 SWIGINTERN
int NullBitmap_set(PyObject
*) {
31771 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
31776 SWIGINTERN PyObject
*NullBitmap_get(void) {
31777 PyObject
*pyobj
= 0;
31779 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
31784 SWIGINTERN
int NullIcon_set(PyObject
*) {
31785 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
31790 SWIGINTERN PyObject
*NullIcon_get(void) {
31791 PyObject
*pyobj
= 0;
31793 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
31798 SWIGINTERN
int NullCursor_set(PyObject
*) {
31799 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
31804 SWIGINTERN PyObject
*NullCursor_get(void) {
31805 PyObject
*pyobj
= 0;
31807 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
31812 SWIGINTERN
int NullPen_set(PyObject
*) {
31813 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
31818 SWIGINTERN PyObject
*NullPen_get(void) {
31819 PyObject
*pyobj
= 0;
31821 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
31826 SWIGINTERN
int NullBrush_set(PyObject
*) {
31827 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
31832 SWIGINTERN PyObject
*NullBrush_get(void) {
31833 PyObject
*pyobj
= 0;
31835 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
31840 SWIGINTERN
int NullPalette_set(PyObject
*) {
31841 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
31846 SWIGINTERN PyObject
*NullPalette_get(void) {
31847 PyObject
*pyobj
= 0;
31849 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
31854 SWIGINTERN
int NullFont_set(PyObject
*) {
31855 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
31860 SWIGINTERN PyObject
*NullFont_get(void) {
31861 PyObject
*pyobj
= 0;
31863 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
31868 SWIGINTERN
int NullColour_set(PyObject
*) {
31869 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
31874 SWIGINTERN PyObject
*NullColour_get(void) {
31875 PyObject
*pyobj
= 0;
31877 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
31882 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31883 PyObject
*resultobj
= 0;
31884 wxGDIObjListBase
*result
= 0 ;
31886 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
31888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31889 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
31890 wxPyEndAllowThreads(__tstate
);
31891 if (PyErr_Occurred()) SWIG_fail
;
31893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
31900 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31901 PyObject
*resultobj
= 0;
31902 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
31905 PyObject
*swig_obj
[1] ;
31907 if (!args
) SWIG_fail
;
31908 swig_obj
[0] = args
;
31909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
31910 if (!SWIG_IsOK(res1
)) {
31911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
31913 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
31915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31918 wxPyEndAllowThreads(__tstate
);
31919 if (PyErr_Occurred()) SWIG_fail
;
31921 resultobj
= SWIG_Py_Void();
31928 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31930 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31931 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
31932 return SWIG_Py_Void();
31935 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31936 return SWIG_Python_InitShadowInstance(args
);
31939 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31940 PyObject
*resultobj
= 0;
31941 wxPenList
*arg1
= (wxPenList
*) 0 ;
31942 wxColour
*arg2
= 0 ;
31945 wxPen
*result
= 0 ;
31953 PyObject
* obj0
= 0 ;
31954 PyObject
* obj1
= 0 ;
31955 PyObject
* obj2
= 0 ;
31956 PyObject
* obj3
= 0 ;
31957 char * kwnames
[] = {
31958 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
31961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31963 if (!SWIG_IsOK(res1
)) {
31964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
31966 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31969 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31971 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31972 if (!SWIG_IsOK(ecode3
)) {
31973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
31975 arg3
= static_cast< int >(val3
);
31976 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31977 if (!SWIG_IsOK(ecode4
)) {
31978 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
31980 arg4
= static_cast< int >(val4
);
31982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31983 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
31984 wxPyEndAllowThreads(__tstate
);
31985 if (PyErr_Occurred()) SWIG_fail
;
31987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31994 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31995 PyObject
*resultobj
= 0;
31996 wxPenList
*arg1
= (wxPenList
*) 0 ;
31997 wxPen
*arg2
= (wxPen
*) 0 ;
32002 PyObject
* obj0
= 0 ;
32003 PyObject
* obj1
= 0 ;
32004 char * kwnames
[] = {
32005 (char *) "self",(char *) "pen", NULL
32008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32010 if (!SWIG_IsOK(res1
)) {
32011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
32013 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32014 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32015 if (!SWIG_IsOK(res2
)) {
32016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
32018 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32021 (arg1
)->AddPen(arg2
);
32022 wxPyEndAllowThreads(__tstate
);
32023 if (PyErr_Occurred()) SWIG_fail
;
32025 resultobj
= SWIG_Py_Void();
32032 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32033 PyObject
*resultobj
= 0;
32034 wxPenList
*arg1
= (wxPenList
*) 0 ;
32035 wxPen
*arg2
= (wxPen
*) 0 ;
32040 PyObject
* obj0
= 0 ;
32041 PyObject
* obj1
= 0 ;
32042 char * kwnames
[] = {
32043 (char *) "self",(char *) "pen", NULL
32046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32048 if (!SWIG_IsOK(res1
)) {
32049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32051 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32052 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32053 if (!SWIG_IsOK(res2
)) {
32054 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32056 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32059 (arg1
)->RemovePen(arg2
);
32060 wxPyEndAllowThreads(__tstate
);
32061 if (PyErr_Occurred()) SWIG_fail
;
32063 resultobj
= SWIG_Py_Void();
32070 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32072 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32073 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32074 return SWIG_Py_Void();
32077 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32078 PyObject
*resultobj
= 0;
32079 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32080 wxColour
*arg2
= 0 ;
32081 int arg3
= (int) wxSOLID
;
32082 wxBrush
*result
= 0 ;
32088 PyObject
* obj0
= 0 ;
32089 PyObject
* obj1
= 0 ;
32090 PyObject
* obj2
= 0 ;
32091 char * kwnames
[] = {
32092 (char *) "self",(char *) "colour",(char *) "style", NULL
32095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32097 if (!SWIG_IsOK(res1
)) {
32098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32100 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32103 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32106 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32107 if (!SWIG_IsOK(ecode3
)) {
32108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32110 arg3
= static_cast< int >(val3
);
32113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32114 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32115 wxPyEndAllowThreads(__tstate
);
32116 if (PyErr_Occurred()) SWIG_fail
;
32118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32125 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32126 PyObject
*resultobj
= 0;
32127 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32128 wxBrush
*arg2
= (wxBrush
*) 0 ;
32133 PyObject
* obj0
= 0 ;
32134 PyObject
* obj1
= 0 ;
32135 char * kwnames
[] = {
32136 (char *) "self",(char *) "brush", NULL
32139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32141 if (!SWIG_IsOK(res1
)) {
32142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32144 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32145 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32146 if (!SWIG_IsOK(res2
)) {
32147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32149 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32152 (arg1
)->AddBrush(arg2
);
32153 wxPyEndAllowThreads(__tstate
);
32154 if (PyErr_Occurred()) SWIG_fail
;
32156 resultobj
= SWIG_Py_Void();
32163 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32164 PyObject
*resultobj
= 0;
32165 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32166 wxBrush
*arg2
= (wxBrush
*) 0 ;
32171 PyObject
* obj0
= 0 ;
32172 PyObject
* obj1
= 0 ;
32173 char * kwnames
[] = {
32174 (char *) "self",(char *) "brush", NULL
32177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32179 if (!SWIG_IsOK(res1
)) {
32180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32182 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32183 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32184 if (!SWIG_IsOK(res2
)) {
32185 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32187 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32190 (arg1
)->RemoveBrush(arg2
);
32191 wxPyEndAllowThreads(__tstate
);
32192 if (PyErr_Occurred()) SWIG_fail
;
32194 resultobj
= SWIG_Py_Void();
32201 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32203 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32204 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32205 return SWIG_Py_Void();
32208 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32209 PyObject
*resultobj
= 0;
32210 wxFontList
*arg1
= (wxFontList
*) 0 ;
32215 bool arg6
= (bool) false ;
32216 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32217 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32218 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32219 wxFont
*result
= 0 ;
32232 bool temp7
= false ;
32235 PyObject
* obj0
= 0 ;
32236 PyObject
* obj1
= 0 ;
32237 PyObject
* obj2
= 0 ;
32238 PyObject
* obj3
= 0 ;
32239 PyObject
* obj4
= 0 ;
32240 PyObject
* obj5
= 0 ;
32241 PyObject
* obj6
= 0 ;
32242 PyObject
* obj7
= 0 ;
32243 char * kwnames
[] = {
32244 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32249 if (!SWIG_IsOK(res1
)) {
32250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32252 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32254 if (!SWIG_IsOK(ecode2
)) {
32255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32257 arg2
= static_cast< int >(val2
);
32258 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32259 if (!SWIG_IsOK(ecode3
)) {
32260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32262 arg3
= static_cast< int >(val3
);
32263 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32264 if (!SWIG_IsOK(ecode4
)) {
32265 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32267 arg4
= static_cast< int >(val4
);
32268 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32269 if (!SWIG_IsOK(ecode5
)) {
32270 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32272 arg5
= static_cast< int >(val5
);
32274 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32275 if (!SWIG_IsOK(ecode6
)) {
32276 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32278 arg6
= static_cast< bool >(val6
);
32282 arg7
= wxString_in_helper(obj6
);
32283 if (arg7
== NULL
) SWIG_fail
;
32288 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32289 if (!SWIG_IsOK(ecode8
)) {
32290 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32292 arg8
= static_cast< wxFontEncoding
>(val8
);
32295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32296 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32297 wxPyEndAllowThreads(__tstate
);
32298 if (PyErr_Occurred()) SWIG_fail
;
32300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32315 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32316 PyObject
*resultobj
= 0;
32317 wxFontList
*arg1
= (wxFontList
*) 0 ;
32318 wxFont
*arg2
= (wxFont
*) 0 ;
32323 PyObject
* obj0
= 0 ;
32324 PyObject
* obj1
= 0 ;
32325 char * kwnames
[] = {
32326 (char *) "self",(char *) "font", NULL
32329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32331 if (!SWIG_IsOK(res1
)) {
32332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32334 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32335 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32336 if (!SWIG_IsOK(res2
)) {
32337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32339 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32342 (arg1
)->AddFont(arg2
);
32343 wxPyEndAllowThreads(__tstate
);
32344 if (PyErr_Occurred()) SWIG_fail
;
32346 resultobj
= SWIG_Py_Void();
32353 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32354 PyObject
*resultobj
= 0;
32355 wxFontList
*arg1
= (wxFontList
*) 0 ;
32356 wxFont
*arg2
= (wxFont
*) 0 ;
32361 PyObject
* obj0
= 0 ;
32362 PyObject
* obj1
= 0 ;
32363 char * kwnames
[] = {
32364 (char *) "self",(char *) "font", NULL
32367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32369 if (!SWIG_IsOK(res1
)) {
32370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32372 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32373 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32374 if (!SWIG_IsOK(res2
)) {
32375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32377 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32380 (arg1
)->RemoveFont(arg2
);
32381 wxPyEndAllowThreads(__tstate
);
32382 if (PyErr_Occurred()) SWIG_fail
;
32384 resultobj
= SWIG_Py_Void();
32391 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32394 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32395 return SWIG_Py_Void();
32398 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32399 PyObject
*resultobj
= 0;
32400 wxColourDatabase
*result
= 0 ;
32402 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32404 if (!wxPyCheckForApp()) SWIG_fail
;
32405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32406 result
= (wxColourDatabase
*)new wxColourDatabase();
32407 wxPyEndAllowThreads(__tstate
);
32408 if (PyErr_Occurred()) SWIG_fail
;
32410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32417 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32418 PyObject
*resultobj
= 0;
32419 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32422 PyObject
*swig_obj
[1] ;
32424 if (!args
) SWIG_fail
;
32425 swig_obj
[0] = args
;
32426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32427 if (!SWIG_IsOK(res1
)) {
32428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32430 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32435 wxPyEndAllowThreads(__tstate
);
32436 if (PyErr_Occurred()) SWIG_fail
;
32438 resultobj
= SWIG_Py_Void();
32445 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32446 PyObject
*resultobj
= 0;
32447 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32448 wxString
*arg2
= 0 ;
32452 bool temp2
= false ;
32453 PyObject
* obj0
= 0 ;
32454 PyObject
* obj1
= 0 ;
32455 char * kwnames
[] = {
32456 (char *) "self",(char *) "name", NULL
32459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32461 if (!SWIG_IsOK(res1
)) {
32462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32464 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32466 arg2
= wxString_in_helper(obj1
);
32467 if (arg2
== NULL
) SWIG_fail
;
32471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32472 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32473 wxPyEndAllowThreads(__tstate
);
32474 if (PyErr_Occurred()) SWIG_fail
;
32476 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32491 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32492 PyObject
*resultobj
= 0;
32493 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32494 wxColour
*arg2
= 0 ;
32499 PyObject
* obj0
= 0 ;
32500 PyObject
* obj1
= 0 ;
32501 char * kwnames
[] = {
32502 (char *) "self",(char *) "colour", NULL
32505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32507 if (!SWIG_IsOK(res1
)) {
32508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32510 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32513 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32517 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32518 wxPyEndAllowThreads(__tstate
);
32519 if (PyErr_Occurred()) SWIG_fail
;
32523 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32525 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32534 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32535 PyObject
*resultobj
= 0;
32536 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32537 wxString
*arg2
= 0 ;
32538 wxColour
*arg3
= 0 ;
32541 bool temp2
= false ;
32543 PyObject
* obj0
= 0 ;
32544 PyObject
* obj1
= 0 ;
32545 PyObject
* obj2
= 0 ;
32546 char * kwnames
[] = {
32547 (char *) "self",(char *) "name",(char *) "colour", NULL
32550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32552 if (!SWIG_IsOK(res1
)) {
32553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32555 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32557 arg2
= wxString_in_helper(obj1
);
32558 if (arg2
== NULL
) SWIG_fail
;
32563 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32567 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32568 wxPyEndAllowThreads(__tstate
);
32569 if (PyErr_Occurred()) SWIG_fail
;
32571 resultobj
= SWIG_Py_Void();
32586 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32587 PyObject
*resultobj
= 0;
32588 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32589 wxString
*arg2
= 0 ;
32595 bool temp2
= false ;
32602 PyObject
* obj0
= 0 ;
32603 PyObject
* obj1
= 0 ;
32604 PyObject
* obj2
= 0 ;
32605 PyObject
* obj3
= 0 ;
32606 PyObject
* obj4
= 0 ;
32607 char * kwnames
[] = {
32608 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32613 if (!SWIG_IsOK(res1
)) {
32614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32616 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32618 arg2
= wxString_in_helper(obj1
);
32619 if (arg2
== NULL
) SWIG_fail
;
32622 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32623 if (!SWIG_IsOK(ecode3
)) {
32624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32626 arg3
= static_cast< int >(val3
);
32627 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32628 if (!SWIG_IsOK(ecode4
)) {
32629 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32631 arg4
= static_cast< int >(val4
);
32632 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32633 if (!SWIG_IsOK(ecode5
)) {
32634 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32636 arg5
= static_cast< int >(val5
);
32638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32639 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32640 wxPyEndAllowThreads(__tstate
);
32641 if (PyErr_Occurred()) SWIG_fail
;
32643 resultobj
= SWIG_Py_Void();
32658 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32660 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32661 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32662 return SWIG_Py_Void();
32665 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32666 return SWIG_Python_InitShadowInstance(args
);
32669 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32670 PyObject
*resultobj
= 0;
32671 wxFontList
*result
= 0 ;
32673 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32676 result
= (wxFontList
*)_wxPyInitTheFontList();
32677 wxPyEndAllowThreads(__tstate
);
32678 if (PyErr_Occurred()) SWIG_fail
;
32680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
32687 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32688 PyObject
*resultobj
= 0;
32689 wxPenList
*result
= 0 ;
32691 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
32693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32694 result
= (wxPenList
*)_wxPyInitThePenList();
32695 wxPyEndAllowThreads(__tstate
);
32696 if (PyErr_Occurred()) SWIG_fail
;
32698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
32705 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32706 PyObject
*resultobj
= 0;
32707 wxBrushList
*result
= 0 ;
32709 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
32711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32712 result
= (wxBrushList
*)_wxPyInitTheBrushList();
32713 wxPyEndAllowThreads(__tstate
);
32714 if (PyErr_Occurred()) SWIG_fail
;
32716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
32723 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32724 PyObject
*resultobj
= 0;
32725 wxColourDatabase
*result
= 0 ;
32727 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
32729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32730 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
32731 wxPyEndAllowThreads(__tstate
);
32732 if (PyErr_Occurred()) SWIG_fail
;
32734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32741 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32742 PyObject
*resultobj
= 0;
32743 wxEffects
*result
= 0 ;
32745 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
32747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32748 result
= (wxEffects
*)new wxEffects();
32749 wxPyEndAllowThreads(__tstate
);
32750 if (PyErr_Occurred()) SWIG_fail
;
32752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
32759 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32760 PyObject
*resultobj
= 0;
32761 wxEffects
*arg1
= (wxEffects
*) 0 ;
32765 PyObject
*swig_obj
[1] ;
32767 if (!args
) SWIG_fail
;
32768 swig_obj
[0] = args
;
32769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32770 if (!SWIG_IsOK(res1
)) {
32771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32773 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32776 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
32777 wxPyEndAllowThreads(__tstate
);
32778 if (PyErr_Occurred()) SWIG_fail
;
32780 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32787 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32788 PyObject
*resultobj
= 0;
32789 wxEffects
*arg1
= (wxEffects
*) 0 ;
32793 PyObject
*swig_obj
[1] ;
32795 if (!args
) SWIG_fail
;
32796 swig_obj
[0] = args
;
32797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32798 if (!SWIG_IsOK(res1
)) {
32799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32801 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32804 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
32805 wxPyEndAllowThreads(__tstate
);
32806 if (PyErr_Occurred()) SWIG_fail
;
32808 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32815 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32816 PyObject
*resultobj
= 0;
32817 wxEffects
*arg1
= (wxEffects
*) 0 ;
32821 PyObject
*swig_obj
[1] ;
32823 if (!args
) SWIG_fail
;
32824 swig_obj
[0] = args
;
32825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32826 if (!SWIG_IsOK(res1
)) {
32827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32829 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32832 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
32833 wxPyEndAllowThreads(__tstate
);
32834 if (PyErr_Occurred()) SWIG_fail
;
32836 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32843 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32844 PyObject
*resultobj
= 0;
32845 wxEffects
*arg1
= (wxEffects
*) 0 ;
32849 PyObject
*swig_obj
[1] ;
32851 if (!args
) SWIG_fail
;
32852 swig_obj
[0] = args
;
32853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32854 if (!SWIG_IsOK(res1
)) {
32855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32857 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32860 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
32861 wxPyEndAllowThreads(__tstate
);
32862 if (PyErr_Occurred()) SWIG_fail
;
32864 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32871 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32872 PyObject
*resultobj
= 0;
32873 wxEffects
*arg1
= (wxEffects
*) 0 ;
32877 PyObject
*swig_obj
[1] ;
32879 if (!args
) SWIG_fail
;
32880 swig_obj
[0] = args
;
32881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32882 if (!SWIG_IsOK(res1
)) {
32883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32885 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32888 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
32889 wxPyEndAllowThreads(__tstate
);
32890 if (PyErr_Occurred()) SWIG_fail
;
32892 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32899 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32900 PyObject
*resultobj
= 0;
32901 wxEffects
*arg1
= (wxEffects
*) 0 ;
32902 wxColour
*arg2
= 0 ;
32906 PyObject
* obj0
= 0 ;
32907 PyObject
* obj1
= 0 ;
32908 char * kwnames
[] = {
32909 (char *) "self",(char *) "c", NULL
32912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32914 if (!SWIG_IsOK(res1
)) {
32915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32917 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32920 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32924 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
32925 wxPyEndAllowThreads(__tstate
);
32926 if (PyErr_Occurred()) SWIG_fail
;
32928 resultobj
= SWIG_Py_Void();
32935 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32936 PyObject
*resultobj
= 0;
32937 wxEffects
*arg1
= (wxEffects
*) 0 ;
32938 wxColour
*arg2
= 0 ;
32942 PyObject
* obj0
= 0 ;
32943 PyObject
* obj1
= 0 ;
32944 char * kwnames
[] = {
32945 (char *) "self",(char *) "c", NULL
32948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32950 if (!SWIG_IsOK(res1
)) {
32951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32953 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32956 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32960 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
32961 wxPyEndAllowThreads(__tstate
);
32962 if (PyErr_Occurred()) SWIG_fail
;
32964 resultobj
= SWIG_Py_Void();
32971 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32972 PyObject
*resultobj
= 0;
32973 wxEffects
*arg1
= (wxEffects
*) 0 ;
32974 wxColour
*arg2
= 0 ;
32978 PyObject
* obj0
= 0 ;
32979 PyObject
* obj1
= 0 ;
32980 char * kwnames
[] = {
32981 (char *) "self",(char *) "c", NULL
32984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32986 if (!SWIG_IsOK(res1
)) {
32987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32989 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32992 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32996 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
32997 wxPyEndAllowThreads(__tstate
);
32998 if (PyErr_Occurred()) SWIG_fail
;
33000 resultobj
= SWIG_Py_Void();
33007 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33008 PyObject
*resultobj
= 0;
33009 wxEffects
*arg1
= (wxEffects
*) 0 ;
33010 wxColour
*arg2
= 0 ;
33014 PyObject
* obj0
= 0 ;
33015 PyObject
* obj1
= 0 ;
33016 char * kwnames
[] = {
33017 (char *) "self",(char *) "c", NULL
33020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33022 if (!SWIG_IsOK(res1
)) {
33023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33025 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33028 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33032 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33033 wxPyEndAllowThreads(__tstate
);
33034 if (PyErr_Occurred()) SWIG_fail
;
33036 resultobj
= SWIG_Py_Void();
33043 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33044 PyObject
*resultobj
= 0;
33045 wxEffects
*arg1
= (wxEffects
*) 0 ;
33046 wxColour
*arg2
= 0 ;
33050 PyObject
* obj0
= 0 ;
33051 PyObject
* obj1
= 0 ;
33052 char * kwnames
[] = {
33053 (char *) "self",(char *) "c", NULL
33056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33058 if (!SWIG_IsOK(res1
)) {
33059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33061 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33064 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33068 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33069 wxPyEndAllowThreads(__tstate
);
33070 if (PyErr_Occurred()) SWIG_fail
;
33072 resultobj
= SWIG_Py_Void();
33079 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33080 PyObject
*resultobj
= 0;
33081 wxEffects
*arg1
= (wxEffects
*) 0 ;
33082 wxColour
*arg2
= 0 ;
33083 wxColour
*arg3
= 0 ;
33084 wxColour
*arg4
= 0 ;
33085 wxColour
*arg5
= 0 ;
33086 wxColour
*arg6
= 0 ;
33094 PyObject
* obj0
= 0 ;
33095 PyObject
* obj1
= 0 ;
33096 PyObject
* obj2
= 0 ;
33097 PyObject
* obj3
= 0 ;
33098 PyObject
* obj4
= 0 ;
33099 PyObject
* obj5
= 0 ;
33100 char * kwnames
[] = {
33101 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33106 if (!SWIG_IsOK(res1
)) {
33107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33109 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33112 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33116 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33120 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33124 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33128 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33132 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33133 wxPyEndAllowThreads(__tstate
);
33134 if (PyErr_Occurred()) SWIG_fail
;
33136 resultobj
= SWIG_Py_Void();
33143 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33144 PyObject
*resultobj
= 0;
33145 wxEffects
*arg1
= (wxEffects
*) 0 ;
33148 int arg4
= (int) 1 ;
33156 PyObject
* obj0
= 0 ;
33157 PyObject
* obj1
= 0 ;
33158 PyObject
* obj2
= 0 ;
33159 PyObject
* obj3
= 0 ;
33160 char * kwnames
[] = {
33161 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33166 if (!SWIG_IsOK(res1
)) {
33167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33169 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33170 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33171 if (!SWIG_IsOK(res2
)) {
33172 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33177 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33180 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33183 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33184 if (!SWIG_IsOK(ecode4
)) {
33185 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33187 arg4
= static_cast< int >(val4
);
33190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33191 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33192 wxPyEndAllowThreads(__tstate
);
33193 if (PyErr_Occurred()) SWIG_fail
;
33195 resultobj
= SWIG_Py_Void();
33202 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33203 PyObject
*resultobj
= 0;
33204 wxEffects
*arg1
= (wxEffects
*) 0 ;
33207 wxBitmap
*arg4
= 0 ;
33216 PyObject
* obj0
= 0 ;
33217 PyObject
* obj1
= 0 ;
33218 PyObject
* obj2
= 0 ;
33219 PyObject
* obj3
= 0 ;
33220 char * kwnames
[] = {
33221 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33226 if (!SWIG_IsOK(res1
)) {
33227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33229 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33232 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33234 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33235 if (!SWIG_IsOK(res3
)) {
33236 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33241 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33242 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33243 if (!SWIG_IsOK(res4
)) {
33244 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33249 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33252 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33253 wxPyEndAllowThreads(__tstate
);
33254 if (PyErr_Occurred()) SWIG_fail
;
33257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33265 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33267 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33268 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33269 return SWIG_Py_Void();
33272 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33273 return SWIG_Python_InitShadowInstance(args
);
33276 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33277 PyObject
*resultobj
= 0;
33281 wxSplitterRenderParams
*result
= 0 ;
33288 PyObject
* obj0
= 0 ;
33289 PyObject
* obj1
= 0 ;
33290 PyObject
* obj2
= 0 ;
33291 char * kwnames
[] = {
33292 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33296 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33297 if (!SWIG_IsOK(ecode1
)) {
33298 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33300 arg1
= static_cast< int >(val1
);
33301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33302 if (!SWIG_IsOK(ecode2
)) {
33303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33305 arg2
= static_cast< int >(val2
);
33306 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33307 if (!SWIG_IsOK(ecode3
)) {
33308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33310 arg3
= static_cast< bool >(val3
);
33312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33313 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33314 wxPyEndAllowThreads(__tstate
);
33315 if (PyErr_Occurred()) SWIG_fail
;
33317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33324 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33325 PyObject
*resultobj
= 0;
33326 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33329 PyObject
*swig_obj
[1] ;
33331 if (!args
) SWIG_fail
;
33332 swig_obj
[0] = args
;
33333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33334 if (!SWIG_IsOK(res1
)) {
33335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33337 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33342 wxPyEndAllowThreads(__tstate
);
33343 if (PyErr_Occurred()) SWIG_fail
;
33345 resultobj
= SWIG_Py_Void();
33352 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33353 PyObject
*resultobj
= 0;
33354 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33358 PyObject
*swig_obj
[1] ;
33360 if (!args
) SWIG_fail
;
33361 swig_obj
[0] = args
;
33362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33363 if (!SWIG_IsOK(res1
)) {
33364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33366 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33367 result
= (int)(int) ((arg1
)->widthSash
);
33368 resultobj
= SWIG_From_int(static_cast< int >(result
));
33375 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33376 PyObject
*resultobj
= 0;
33377 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33381 PyObject
*swig_obj
[1] ;
33383 if (!args
) SWIG_fail
;
33384 swig_obj
[0] = args
;
33385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33386 if (!SWIG_IsOK(res1
)) {
33387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33389 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33390 result
= (int)(int) ((arg1
)->border
);
33391 resultobj
= SWIG_From_int(static_cast< int >(result
));
33398 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33399 PyObject
*resultobj
= 0;
33400 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33404 PyObject
*swig_obj
[1] ;
33406 if (!args
) SWIG_fail
;
33407 swig_obj
[0] = args
;
33408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33409 if (!SWIG_IsOK(res1
)) {
33410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33412 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33413 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33414 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33421 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33423 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33424 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33425 return SWIG_Py_Void();
33428 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33429 return SWIG_Python_InitShadowInstance(args
);
33432 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33433 PyObject
*resultobj
= 0;
33434 wxHeaderButtonParams
*result
= 0 ;
33436 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33439 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33440 wxPyEndAllowThreads(__tstate
);
33441 if (PyErr_Occurred()) SWIG_fail
;
33443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33450 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33451 PyObject
*resultobj
= 0;
33452 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33455 PyObject
*swig_obj
[1] ;
33457 if (!args
) SWIG_fail
;
33458 swig_obj
[0] = args
;
33459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33460 if (!SWIG_IsOK(res1
)) {
33461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33463 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33468 wxPyEndAllowThreads(__tstate
);
33469 if (PyErr_Occurred()) SWIG_fail
;
33471 resultobj
= SWIG_Py_Void();
33478 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33479 PyObject
*resultobj
= 0;
33480 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33481 wxColour
*arg2
= (wxColour
*) 0 ;
33485 PyObject
*swig_obj
[2] ;
33487 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33489 if (!SWIG_IsOK(res1
)) {
33490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33492 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33495 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33497 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33499 resultobj
= SWIG_Py_Void();
33506 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33507 PyObject
*resultobj
= 0;
33508 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33509 wxColour
*result
= 0 ;
33512 PyObject
*swig_obj
[1] ;
33514 if (!args
) SWIG_fail
;
33515 swig_obj
[0] = args
;
33516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33517 if (!SWIG_IsOK(res1
)) {
33518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33520 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33521 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33529 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33530 PyObject
*resultobj
= 0;
33531 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33532 wxColour
*arg2
= (wxColour
*) 0 ;
33536 PyObject
*swig_obj
[2] ;
33538 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33540 if (!SWIG_IsOK(res1
)) {
33541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33543 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33546 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33548 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33550 resultobj
= SWIG_Py_Void();
33557 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33558 PyObject
*resultobj
= 0;
33559 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33560 wxColour
*result
= 0 ;
33563 PyObject
*swig_obj
[1] ;
33565 if (!args
) SWIG_fail
;
33566 swig_obj
[0] = args
;
33567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33568 if (!SWIG_IsOK(res1
)) {
33569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33571 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33572 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33580 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33581 PyObject
*resultobj
= 0;
33582 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33583 wxString
*arg2
= (wxString
*) 0 ;
33586 bool temp2
= false ;
33587 PyObject
*swig_obj
[2] ;
33589 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33591 if (!SWIG_IsOK(res1
)) {
33592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33594 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33596 arg2
= wxString_in_helper(swig_obj
[1]);
33597 if (arg2
== NULL
) SWIG_fail
;
33600 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33602 resultobj
= SWIG_Py_Void();
33617 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33618 PyObject
*resultobj
= 0;
33619 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33620 wxString
*result
= 0 ;
33623 PyObject
*swig_obj
[1] ;
33625 if (!args
) SWIG_fail
;
33626 swig_obj
[0] = args
;
33627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33628 if (!SWIG_IsOK(res1
)) {
33629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33631 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33632 result
= (wxString
*)& ((arg1
)->m_labelText
);
33635 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33637 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33646 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33647 PyObject
*resultobj
= 0;
33648 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33649 wxFont
*arg2
= (wxFont
*) 0 ;
33654 PyObject
*swig_obj
[2] ;
33656 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33658 if (!SWIG_IsOK(res1
)) {
33659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33661 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33662 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33663 if (!SWIG_IsOK(res2
)) {
33664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33666 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33667 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33669 resultobj
= SWIG_Py_Void();
33676 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33677 PyObject
*resultobj
= 0;
33678 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33679 wxFont
*result
= 0 ;
33682 PyObject
*swig_obj
[1] ;
33684 if (!args
) SWIG_fail
;
33685 swig_obj
[0] = args
;
33686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33687 if (!SWIG_IsOK(res1
)) {
33688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33690 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33691 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
33692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33699 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33700 PyObject
*resultobj
= 0;
33701 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33702 wxColour
*arg2
= (wxColour
*) 0 ;
33706 PyObject
*swig_obj
[2] ;
33708 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
33709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33710 if (!SWIG_IsOK(res1
)) {
33711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33713 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33716 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33718 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
33720 resultobj
= SWIG_Py_Void();
33727 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33728 PyObject
*resultobj
= 0;
33729 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33730 wxColour
*result
= 0 ;
33733 PyObject
*swig_obj
[1] ;
33735 if (!args
) SWIG_fail
;
33736 swig_obj
[0] = args
;
33737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33738 if (!SWIG_IsOK(res1
)) {
33739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33741 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33742 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
33743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33750 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33751 PyObject
*resultobj
= 0;
33752 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33753 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33758 PyObject
*swig_obj
[2] ;
33760 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
33761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33762 if (!SWIG_IsOK(res1
)) {
33763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33765 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33766 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
33767 if (!SWIG_IsOK(res2
)) {
33768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
33770 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33771 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
33773 resultobj
= SWIG_Py_Void();
33780 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33781 PyObject
*resultobj
= 0;
33782 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33783 wxBitmap
*result
= 0 ;
33786 PyObject
*swig_obj
[1] ;
33788 if (!args
) SWIG_fail
;
33789 swig_obj
[0] = args
;
33790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33791 if (!SWIG_IsOK(res1
)) {
33792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33794 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33795 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
33796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
33803 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33804 PyObject
*resultobj
= 0;
33805 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33811 PyObject
*swig_obj
[2] ;
33813 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
33814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33815 if (!SWIG_IsOK(res1
)) {
33816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33818 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33819 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33820 if (!SWIG_IsOK(ecode2
)) {
33821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
33823 arg2
= static_cast< int >(val2
);
33824 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
33826 resultobj
= SWIG_Py_Void();
33833 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33834 PyObject
*resultobj
= 0;
33835 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33839 PyObject
*swig_obj
[1] ;
33841 if (!args
) SWIG_fail
;
33842 swig_obj
[0] = args
;
33843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33844 if (!SWIG_IsOK(res1
)) {
33845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33847 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33848 result
= (int) ((arg1
)->m_labelAlignment
);
33849 resultobj
= SWIG_From_int(static_cast< int >(result
));
33856 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33858 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33859 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
33860 return SWIG_Py_Void();
33863 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33864 return SWIG_Python_InitShadowInstance(args
);
33867 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33868 PyObject
*resultobj
= 0;
33871 wxRendererVersion
*result
= 0 ;
33876 PyObject
* obj0
= 0 ;
33877 PyObject
* obj1
= 0 ;
33878 char * kwnames
[] = {
33879 (char *) "version_",(char *) "age_", NULL
33882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33883 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33884 if (!SWIG_IsOK(ecode1
)) {
33885 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
33887 arg1
= static_cast< int >(val1
);
33888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33889 if (!SWIG_IsOK(ecode2
)) {
33890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
33892 arg2
= static_cast< int >(val2
);
33894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33895 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
33896 wxPyEndAllowThreads(__tstate
);
33897 if (PyErr_Occurred()) SWIG_fail
;
33899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
33906 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33907 PyObject
*resultobj
= 0;
33908 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33911 PyObject
*swig_obj
[1] ;
33913 if (!args
) SWIG_fail
;
33914 swig_obj
[0] = args
;
33915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
33916 if (!SWIG_IsOK(res1
)) {
33917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33919 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33924 wxPyEndAllowThreads(__tstate
);
33925 if (PyErr_Occurred()) SWIG_fail
;
33927 resultobj
= SWIG_Py_Void();
33934 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33935 PyObject
*resultobj
= 0;
33936 wxRendererVersion
*arg1
= 0 ;
33940 PyObject
* obj0
= 0 ;
33941 char * kwnames
[] = {
33942 (char *) "ver", NULL
33945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
33946 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
33947 if (!SWIG_IsOK(res1
)) {
33948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33951 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33953 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33956 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
33957 wxPyEndAllowThreads(__tstate
);
33958 if (PyErr_Occurred()) SWIG_fail
;
33961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33969 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33970 PyObject
*resultobj
= 0;
33971 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33975 PyObject
*swig_obj
[1] ;
33977 if (!args
) SWIG_fail
;
33978 swig_obj
[0] = args
;
33979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
33980 if (!SWIG_IsOK(res1
)) {
33981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33983 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33984 result
= (int)(int) ((arg1
)->version
);
33985 resultobj
= SWIG_From_int(static_cast< int >(result
));
33992 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33993 PyObject
*resultobj
= 0;
33994 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33998 PyObject
*swig_obj
[1] ;
34000 if (!args
) SWIG_fail
;
34001 swig_obj
[0] = args
;
34002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34003 if (!SWIG_IsOK(res1
)) {
34004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34006 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34007 result
= (int)(int) ((arg1
)->age
);
34008 resultobj
= SWIG_From_int(static_cast< int >(result
));
34015 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34017 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34018 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34019 return SWIG_Py_Void();
34022 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34023 return SWIG_Python_InitShadowInstance(args
);
34026 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34027 PyObject
*resultobj
= 0;
34028 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34029 wxWindow
*arg2
= (wxWindow
*) 0 ;
34032 int arg5
= (int) 0 ;
34033 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34034 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34048 PyObject
* obj0
= 0 ;
34049 PyObject
* obj1
= 0 ;
34050 PyObject
* obj2
= 0 ;
34051 PyObject
* obj3
= 0 ;
34052 PyObject
* obj4
= 0 ;
34053 PyObject
* obj5
= 0 ;
34054 PyObject
* obj6
= 0 ;
34055 char * kwnames
[] = {
34056 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34061 if (!SWIG_IsOK(res1
)) {
34062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34064 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34065 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34066 if (!SWIG_IsOK(res2
)) {
34067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34069 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34070 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34071 if (!SWIG_IsOK(res3
)) {
34072 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34075 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34077 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34080 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34083 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34084 if (!SWIG_IsOK(ecode5
)) {
34085 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34087 arg5
= static_cast< int >(val5
);
34090 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34091 if (!SWIG_IsOK(ecode6
)) {
34092 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34094 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34097 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34098 if (!SWIG_IsOK(res7
)) {
34099 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34101 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34105 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34106 wxPyEndAllowThreads(__tstate
);
34107 if (PyErr_Occurred()) SWIG_fail
;
34109 resultobj
= SWIG_Py_Void();
34116 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34117 PyObject
*resultobj
= 0;
34118 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34119 wxWindow
*arg2
= (wxWindow
*) 0 ;
34122 int arg5
= (int) 0 ;
34123 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34124 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34138 PyObject
* obj0
= 0 ;
34139 PyObject
* obj1
= 0 ;
34140 PyObject
* obj2
= 0 ;
34141 PyObject
* obj3
= 0 ;
34142 PyObject
* obj4
= 0 ;
34143 PyObject
* obj5
= 0 ;
34144 PyObject
* obj6
= 0 ;
34145 char * kwnames
[] = {
34146 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34151 if (!SWIG_IsOK(res1
)) {
34152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34154 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34155 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34156 if (!SWIG_IsOK(res2
)) {
34157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34159 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34160 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34161 if (!SWIG_IsOK(res3
)) {
34162 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34167 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34170 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34173 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34174 if (!SWIG_IsOK(ecode5
)) {
34175 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34177 arg5
= static_cast< int >(val5
);
34180 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34181 if (!SWIG_IsOK(ecode6
)) {
34182 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34184 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34187 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34188 if (!SWIG_IsOK(res7
)) {
34189 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34191 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34195 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34196 wxPyEndAllowThreads(__tstate
);
34197 if (PyErr_Occurred()) SWIG_fail
;
34199 resultobj
= SWIG_Py_Void();
34206 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34207 PyObject
*resultobj
= 0;
34208 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34209 wxWindow
*arg2
= (wxWindow
*) 0 ;
34215 PyObject
* obj0
= 0 ;
34216 PyObject
* obj1
= 0 ;
34217 char * kwnames
[] = {
34218 (char *) "self",(char *) "win", NULL
34221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34223 if (!SWIG_IsOK(res1
)) {
34224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34226 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34227 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34228 if (!SWIG_IsOK(res2
)) {
34229 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34231 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34234 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34235 wxPyEndAllowThreads(__tstate
);
34236 if (PyErr_Occurred()) SWIG_fail
;
34238 resultobj
= SWIG_From_int(static_cast< int >(result
));
34245 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34246 PyObject
*resultobj
= 0;
34247 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34248 wxWindow
*arg2
= (wxWindow
*) 0 ;
34251 int arg5
= (int) 0 ;
34261 PyObject
* obj0
= 0 ;
34262 PyObject
* obj1
= 0 ;
34263 PyObject
* obj2
= 0 ;
34264 PyObject
* obj3
= 0 ;
34265 PyObject
* obj4
= 0 ;
34266 char * kwnames
[] = {
34267 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34272 if (!SWIG_IsOK(res1
)) {
34273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34275 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34276 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34277 if (!SWIG_IsOK(res2
)) {
34278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34280 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34281 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34282 if (!SWIG_IsOK(res3
)) {
34283 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34288 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34291 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34294 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34295 if (!SWIG_IsOK(ecode5
)) {
34296 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34298 arg5
= static_cast< int >(val5
);
34301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34302 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34303 wxPyEndAllowThreads(__tstate
);
34304 if (PyErr_Occurred()) SWIG_fail
;
34306 resultobj
= SWIG_Py_Void();
34313 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34314 PyObject
*resultobj
= 0;
34315 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34316 wxWindow
*arg2
= (wxWindow
*) 0 ;
34319 int arg5
= (int) 0 ;
34329 PyObject
* obj0
= 0 ;
34330 PyObject
* obj1
= 0 ;
34331 PyObject
* obj2
= 0 ;
34332 PyObject
* obj3
= 0 ;
34333 PyObject
* obj4
= 0 ;
34334 char * kwnames
[] = {
34335 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34340 if (!SWIG_IsOK(res1
)) {
34341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34343 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34344 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34345 if (!SWIG_IsOK(res2
)) {
34346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34348 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34349 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34350 if (!SWIG_IsOK(res3
)) {
34351 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34356 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34359 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34362 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34363 if (!SWIG_IsOK(ecode5
)) {
34364 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34366 arg5
= static_cast< int >(val5
);
34369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34370 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34371 wxPyEndAllowThreads(__tstate
);
34372 if (PyErr_Occurred()) SWIG_fail
;
34374 resultobj
= SWIG_Py_Void();
34381 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34382 PyObject
*resultobj
= 0;
34383 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34384 wxWindow
*arg2
= (wxWindow
*) 0 ;
34388 wxOrientation arg6
;
34389 int arg7
= (int) 0 ;
34403 PyObject
* obj0
= 0 ;
34404 PyObject
* obj1
= 0 ;
34405 PyObject
* obj2
= 0 ;
34406 PyObject
* obj3
= 0 ;
34407 PyObject
* obj4
= 0 ;
34408 PyObject
* obj5
= 0 ;
34409 PyObject
* obj6
= 0 ;
34410 char * kwnames
[] = {
34411 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34416 if (!SWIG_IsOK(res1
)) {
34417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34419 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34420 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34421 if (!SWIG_IsOK(res2
)) {
34422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34424 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34425 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34426 if (!SWIG_IsOK(res3
)) {
34427 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34432 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34435 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34437 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34438 if (!SWIG_IsOK(ecode5
)) {
34439 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34441 arg5
= static_cast< int >(val5
);
34442 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34443 if (!SWIG_IsOK(ecode6
)) {
34444 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34446 arg6
= static_cast< wxOrientation
>(val6
);
34448 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34449 if (!SWIG_IsOK(ecode7
)) {
34450 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34452 arg7
= static_cast< int >(val7
);
34455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34456 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34457 wxPyEndAllowThreads(__tstate
);
34458 if (PyErr_Occurred()) SWIG_fail
;
34460 resultobj
= SWIG_Py_Void();
34467 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34468 PyObject
*resultobj
= 0;
34469 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34470 wxWindow
*arg2
= (wxWindow
*) 0 ;
34473 int arg5
= (int) 0 ;
34483 PyObject
* obj0
= 0 ;
34484 PyObject
* obj1
= 0 ;
34485 PyObject
* obj2
= 0 ;
34486 PyObject
* obj3
= 0 ;
34487 PyObject
* obj4
= 0 ;
34488 char * kwnames
[] = {
34489 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34494 if (!SWIG_IsOK(res1
)) {
34495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34497 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34498 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34499 if (!SWIG_IsOK(res2
)) {
34500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34502 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34503 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34504 if (!SWIG_IsOK(res3
)) {
34505 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34510 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34513 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34516 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34517 if (!SWIG_IsOK(ecode5
)) {
34518 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34520 arg5
= static_cast< int >(val5
);
34523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34524 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34525 wxPyEndAllowThreads(__tstate
);
34526 if (PyErr_Occurred()) SWIG_fail
;
34528 resultobj
= SWIG_Py_Void();
34535 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34536 PyObject
*resultobj
= 0;
34537 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34538 wxWindow
*arg2
= (wxWindow
*) 0 ;
34541 int arg5
= (int) 0 ;
34551 PyObject
* obj0
= 0 ;
34552 PyObject
* obj1
= 0 ;
34553 PyObject
* obj2
= 0 ;
34554 PyObject
* obj3
= 0 ;
34555 PyObject
* obj4
= 0 ;
34556 char * kwnames
[] = {
34557 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34562 if (!SWIG_IsOK(res1
)) {
34563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34565 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34566 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34567 if (!SWIG_IsOK(res2
)) {
34568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34570 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34571 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34572 if (!SWIG_IsOK(res3
)) {
34573 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34578 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34581 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34584 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34585 if (!SWIG_IsOK(ecode5
)) {
34586 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34588 arg5
= static_cast< int >(val5
);
34591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34592 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34593 wxPyEndAllowThreads(__tstate
);
34594 if (PyErr_Occurred()) SWIG_fail
;
34596 resultobj
= SWIG_Py_Void();
34603 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34604 PyObject
*resultobj
= 0;
34605 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34606 wxWindow
*arg2
= (wxWindow
*) 0 ;
34609 int arg5
= (int) 0 ;
34619 PyObject
* obj0
= 0 ;
34620 PyObject
* obj1
= 0 ;
34621 PyObject
* obj2
= 0 ;
34622 PyObject
* obj3
= 0 ;
34623 PyObject
* obj4
= 0 ;
34624 char * kwnames
[] = {
34625 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34630 if (!SWIG_IsOK(res1
)) {
34631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34633 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34634 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34635 if (!SWIG_IsOK(res2
)) {
34636 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34638 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34639 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34640 if (!SWIG_IsOK(res3
)) {
34641 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34646 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34649 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34652 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34653 if (!SWIG_IsOK(ecode5
)) {
34654 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34656 arg5
= static_cast< int >(val5
);
34659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34660 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34661 wxPyEndAllowThreads(__tstate
);
34662 if (PyErr_Occurred()) SWIG_fail
;
34664 resultobj
= SWIG_Py_Void();
34671 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34672 PyObject
*resultobj
= 0;
34673 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34674 wxWindow
*arg2
= (wxWindow
*) 0 ;
34677 int arg5
= (int) 0 ;
34687 PyObject
* obj0
= 0 ;
34688 PyObject
* obj1
= 0 ;
34689 PyObject
* obj2
= 0 ;
34690 PyObject
* obj3
= 0 ;
34691 PyObject
* obj4
= 0 ;
34692 char * kwnames
[] = {
34693 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34698 if (!SWIG_IsOK(res1
)) {
34699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34701 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34702 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34703 if (!SWIG_IsOK(res2
)) {
34704 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34706 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34707 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34708 if (!SWIG_IsOK(res3
)) {
34709 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34714 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34717 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34720 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34721 if (!SWIG_IsOK(ecode5
)) {
34722 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
34724 arg5
= static_cast< int >(val5
);
34727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34728 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34729 wxPyEndAllowThreads(__tstate
);
34730 if (PyErr_Occurred()) SWIG_fail
;
34732 resultobj
= SWIG_Py_Void();
34739 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34740 PyObject
*resultobj
= 0;
34741 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34742 wxWindow
*arg2
= (wxWindow
*) 0 ;
34745 int arg5
= (int) 0 ;
34755 PyObject
* obj0
= 0 ;
34756 PyObject
* obj1
= 0 ;
34757 PyObject
* obj2
= 0 ;
34758 PyObject
* obj3
= 0 ;
34759 PyObject
* obj4
= 0 ;
34760 char * kwnames
[] = {
34761 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34766 if (!SWIG_IsOK(res1
)) {
34767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34769 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34770 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34771 if (!SWIG_IsOK(res2
)) {
34772 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
34774 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34775 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34776 if (!SWIG_IsOK(res3
)) {
34777 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34782 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34785 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34788 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34789 if (!SWIG_IsOK(ecode5
)) {
34790 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
34792 arg5
= static_cast< int >(val5
);
34795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34796 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34797 wxPyEndAllowThreads(__tstate
);
34798 if (PyErr_Occurred()) SWIG_fail
;
34800 resultobj
= SWIG_Py_Void();
34807 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34808 PyObject
*resultobj
= 0;
34809 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34810 wxWindow
*arg2
= (wxWindow
*) 0 ;
34811 SwigValueWrapper
<wxSplitterRenderParams
> result
;
34816 PyObject
* obj0
= 0 ;
34817 PyObject
* obj1
= 0 ;
34818 char * kwnames
[] = {
34819 (char *) "self",(char *) "win", NULL
34822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34824 if (!SWIG_IsOK(res1
)) {
34825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34827 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34828 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34829 if (!SWIG_IsOK(res2
)) {
34830 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
34832 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34835 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
34836 wxPyEndAllowThreads(__tstate
);
34837 if (PyErr_Occurred()) SWIG_fail
;
34839 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
34846 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34847 PyObject
*resultobj
= 0;
34848 wxRendererNative
*result
= 0 ;
34850 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
34852 if (!wxPyCheckForApp()) SWIG_fail
;
34853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34855 wxRendererNative
&_result_ref
= wxRendererNative::Get();
34856 result
= (wxRendererNative
*) &_result_ref
;
34858 wxPyEndAllowThreads(__tstate
);
34859 if (PyErr_Occurred()) SWIG_fail
;
34861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34868 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34869 PyObject
*resultobj
= 0;
34870 wxRendererNative
*result
= 0 ;
34872 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
34874 if (!wxPyCheckForApp()) SWIG_fail
;
34875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34877 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
34878 result
= (wxRendererNative
*) &_result_ref
;
34880 wxPyEndAllowThreads(__tstate
);
34881 if (PyErr_Occurred()) SWIG_fail
;
34883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34890 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34891 PyObject
*resultobj
= 0;
34892 wxRendererNative
*result
= 0 ;
34894 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
34896 if (!wxPyCheckForApp()) SWIG_fail
;
34897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34899 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
34900 result
= (wxRendererNative
*) &_result_ref
;
34902 wxPyEndAllowThreads(__tstate
);
34903 if (PyErr_Occurred()) SWIG_fail
;
34905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34912 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34913 PyObject
*resultobj
= 0;
34914 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34915 wxRendererNative
*result
= 0 ;
34918 PyObject
* obj0
= 0 ;
34919 char * kwnames
[] = {
34920 (char *) "renderer", NULL
34923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
34924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34925 if (!SWIG_IsOK(res1
)) {
34926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34928 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34930 if (!wxPyCheckForApp()) SWIG_fail
;
34931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34932 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
34933 wxPyEndAllowThreads(__tstate
);
34934 if (PyErr_Occurred()) SWIG_fail
;
34936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34943 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34944 PyObject
*resultobj
= 0;
34945 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34946 SwigValueWrapper
<wxRendererVersion
> result
;
34949 PyObject
*swig_obj
[1] ;
34951 if (!args
) SWIG_fail
;
34952 swig_obj
[0] = args
;
34953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34954 if (!SWIG_IsOK(res1
)) {
34955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
34957 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34960 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
34961 wxPyEndAllowThreads(__tstate
);
34962 if (PyErr_Occurred()) SWIG_fail
;
34964 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
34971 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34973 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34974 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
34975 return SWIG_Py_Void();
34978 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34979 PyObject
*resultobj
= 0;
34980 wxPseudoDC
*result
= 0 ;
34982 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
34984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34985 result
= (wxPseudoDC
*)new wxPseudoDC();
34986 wxPyEndAllowThreads(__tstate
);
34987 if (PyErr_Occurred()) SWIG_fail
;
34989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
34996 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34997 PyObject
*resultobj
= 0;
34998 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35001 PyObject
*swig_obj
[1] ;
35003 if (!args
) SWIG_fail
;
35004 swig_obj
[0] = args
;
35005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35006 if (!SWIG_IsOK(res1
)) {
35007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35009 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35012 (arg1
)->BeginDrawing();
35013 wxPyEndAllowThreads(__tstate
);
35014 if (PyErr_Occurred()) SWIG_fail
;
35016 resultobj
= SWIG_Py_Void();
35023 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35024 PyObject
*resultobj
= 0;
35025 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35028 PyObject
*swig_obj
[1] ;
35030 if (!args
) SWIG_fail
;
35031 swig_obj
[0] = args
;
35032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35033 if (!SWIG_IsOK(res1
)) {
35034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35036 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35039 (arg1
)->EndDrawing();
35040 wxPyEndAllowThreads(__tstate
);
35041 if (PyErr_Occurred()) SWIG_fail
;
35043 resultobj
= SWIG_Py_Void();
35050 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35051 PyObject
*resultobj
= 0;
35052 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35055 PyObject
*swig_obj
[1] ;
35057 if (!args
) SWIG_fail
;
35058 swig_obj
[0] = args
;
35059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35060 if (!SWIG_IsOK(res1
)) {
35061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35063 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35068 wxPyEndAllowThreads(__tstate
);
35069 if (PyErr_Occurred()) SWIG_fail
;
35071 resultobj
= SWIG_Py_Void();
35078 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35079 PyObject
*resultobj
= 0;
35080 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35083 PyObject
*swig_obj
[1] ;
35085 if (!args
) SWIG_fail
;
35086 swig_obj
[0] = args
;
35087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35088 if (!SWIG_IsOK(res1
)) {
35089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35091 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35094 (arg1
)->RemoveAll();
35095 wxPyEndAllowThreads(__tstate
);
35096 if (PyErr_Occurred()) SWIG_fail
;
35098 resultobj
= SWIG_Py_Void();
35105 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35106 PyObject
*resultobj
= 0;
35107 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35111 PyObject
*swig_obj
[1] ;
35113 if (!args
) SWIG_fail
;
35114 swig_obj
[0] = args
;
35115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35116 if (!SWIG_IsOK(res1
)) {
35117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35119 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35122 result
= (int)(arg1
)->GetLen();
35123 wxPyEndAllowThreads(__tstate
);
35124 if (PyErr_Occurred()) SWIG_fail
;
35126 resultobj
= SWIG_From_int(static_cast< int >(result
));
35133 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35134 PyObject
*resultobj
= 0;
35135 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35141 PyObject
* obj0
= 0 ;
35142 PyObject
* obj1
= 0 ;
35143 char * kwnames
[] = {
35144 (char *) "self",(char *) "id", NULL
35147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35149 if (!SWIG_IsOK(res1
)) {
35150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35152 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35154 if (!SWIG_IsOK(ecode2
)) {
35155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35157 arg2
= static_cast< int >(val2
);
35159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35160 (arg1
)->SetId(arg2
);
35161 wxPyEndAllowThreads(__tstate
);
35162 if (PyErr_Occurred()) SWIG_fail
;
35164 resultobj
= SWIG_Py_Void();
35171 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35172 PyObject
*resultobj
= 0;
35173 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35179 PyObject
* obj0
= 0 ;
35180 PyObject
* obj1
= 0 ;
35181 char * kwnames
[] = {
35182 (char *) "self",(char *) "id", NULL
35185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35187 if (!SWIG_IsOK(res1
)) {
35188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35190 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35192 if (!SWIG_IsOK(ecode2
)) {
35193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35195 arg2
= static_cast< int >(val2
);
35197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35198 (arg1
)->ClearId(arg2
);
35199 wxPyEndAllowThreads(__tstate
);
35200 if (PyErr_Occurred()) SWIG_fail
;
35202 resultobj
= SWIG_Py_Void();
35209 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35210 PyObject
*resultobj
= 0;
35211 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35217 PyObject
* obj0
= 0 ;
35218 PyObject
* obj1
= 0 ;
35219 char * kwnames
[] = {
35220 (char *) "self",(char *) "id", NULL
35223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35225 if (!SWIG_IsOK(res1
)) {
35226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35228 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35230 if (!SWIG_IsOK(ecode2
)) {
35231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35233 arg2
= static_cast< int >(val2
);
35235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35236 (arg1
)->RemoveId(arg2
);
35237 wxPyEndAllowThreads(__tstate
);
35238 if (PyErr_Occurred()) SWIG_fail
;
35240 resultobj
= SWIG_Py_Void();
35247 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35248 PyObject
*resultobj
= 0;
35249 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35261 PyObject
* obj0
= 0 ;
35262 PyObject
* obj1
= 0 ;
35263 PyObject
* obj2
= 0 ;
35264 PyObject
* obj3
= 0 ;
35265 char * kwnames
[] = {
35266 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35271 if (!SWIG_IsOK(res1
)) {
35272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35274 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35276 if (!SWIG_IsOK(ecode2
)) {
35277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35279 arg2
= static_cast< int >(val2
);
35280 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35281 if (!SWIG_IsOK(ecode3
)) {
35282 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35284 arg3
= static_cast< int >(val3
);
35285 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35286 if (!SWIG_IsOK(ecode4
)) {
35287 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35289 arg4
= static_cast< int >(val4
);
35291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35292 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35293 wxPyEndAllowThreads(__tstate
);
35294 if (PyErr_Occurred()) SWIG_fail
;
35296 resultobj
= SWIG_Py_Void();
35303 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35304 PyObject
*resultobj
= 0;
35305 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35307 bool arg3
= (bool) true ;
35314 PyObject
* obj0
= 0 ;
35315 PyObject
* obj1
= 0 ;
35316 PyObject
* obj2
= 0 ;
35317 char * kwnames
[] = {
35318 (char *) "self",(char *) "id",(char *) "greyout", NULL
35321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35323 if (!SWIG_IsOK(res1
)) {
35324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35326 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35328 if (!SWIG_IsOK(ecode2
)) {
35329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35331 arg2
= static_cast< int >(val2
);
35333 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35334 if (!SWIG_IsOK(ecode3
)) {
35335 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35337 arg3
= static_cast< bool >(val3
);
35340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35341 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35342 wxPyEndAllowThreads(__tstate
);
35343 if (PyErr_Occurred()) SWIG_fail
;
35345 resultobj
= SWIG_Py_Void();
35352 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35353 PyObject
*resultobj
= 0;
35354 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35361 PyObject
* obj0
= 0 ;
35362 PyObject
* obj1
= 0 ;
35363 char * kwnames
[] = {
35364 (char *) "self",(char *) "id", NULL
35367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35369 if (!SWIG_IsOK(res1
)) {
35370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35372 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35374 if (!SWIG_IsOK(ecode2
)) {
35375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35377 arg2
= static_cast< int >(val2
);
35379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35380 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35381 wxPyEndAllowThreads(__tstate
);
35382 if (PyErr_Occurred()) SWIG_fail
;
35385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35393 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35394 PyObject
*resultobj
= 0;
35395 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35398 int arg4
= (int) 1 ;
35399 wxColor
const &arg5_defvalue
= *wxWHITE
;
35400 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
35401 PyObject
*result
= 0 ;
35412 PyObject
* obj0
= 0 ;
35413 PyObject
* obj1
= 0 ;
35414 PyObject
* obj2
= 0 ;
35415 PyObject
* obj3
= 0 ;
35416 PyObject
* obj4
= 0 ;
35417 char * kwnames
[] = {
35418 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35423 if (!SWIG_IsOK(res1
)) {
35424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35426 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35428 if (!SWIG_IsOK(ecode2
)) {
35429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35431 arg2
= static_cast< int >(val2
);
35432 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35433 if (!SWIG_IsOK(ecode3
)) {
35434 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35436 arg3
= static_cast< int >(val3
);
35438 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35439 if (!SWIG_IsOK(ecode4
)) {
35440 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35442 arg4
= static_cast< int >(val4
);
35445 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
35446 if (!SWIG_IsOK(res5
)) {
35447 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35452 arg5
= reinterpret_cast< wxColor
* >(argp5
);
35455 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
35456 if (PyErr_Occurred()) SWIG_fail
;
35458 resultobj
= result
;
35465 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35466 PyObject
*resultobj
= 0;
35467 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35470 PyObject
*result
= 0 ;
35477 PyObject
* obj0
= 0 ;
35478 PyObject
* obj1
= 0 ;
35479 PyObject
* obj2
= 0 ;
35480 char * kwnames
[] = {
35481 (char *) "self",(char *) "x",(char *) "y", NULL
35484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35486 if (!SWIG_IsOK(res1
)) {
35487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35489 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35491 if (!SWIG_IsOK(ecode2
)) {
35492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35494 arg2
= static_cast< int >(val2
);
35495 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35496 if (!SWIG_IsOK(ecode3
)) {
35497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35499 arg3
= static_cast< int >(val3
);
35501 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35502 if (PyErr_Occurred()) SWIG_fail
;
35504 resultobj
= result
;
35511 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35512 PyObject
*resultobj
= 0;
35513 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35515 wxDC
*arg3
= (wxDC
*) 0 ;
35522 PyObject
* obj0
= 0 ;
35523 PyObject
* obj1
= 0 ;
35524 PyObject
* obj2
= 0 ;
35525 char * kwnames
[] = {
35526 (char *) "self",(char *) "id",(char *) "dc", NULL
35529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35531 if (!SWIG_IsOK(res1
)) {
35532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35534 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35536 if (!SWIG_IsOK(ecode2
)) {
35537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35539 arg2
= static_cast< int >(val2
);
35540 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35541 if (!SWIG_IsOK(res3
)) {
35542 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35544 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35547 (arg1
)->DrawIdToDC(arg2
,arg3
);
35548 wxPyEndAllowThreads(__tstate
);
35549 if (PyErr_Occurred()) SWIG_fail
;
35551 resultobj
= SWIG_Py_Void();
35558 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35559 PyObject
*resultobj
= 0;
35560 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35568 PyObject
* obj0
= 0 ;
35569 PyObject
* obj1
= 0 ;
35570 PyObject
* obj2
= 0 ;
35571 char * kwnames
[] = {
35572 (char *) "self",(char *) "id",(char *) "rect", NULL
35575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35577 if (!SWIG_IsOK(res1
)) {
35578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35580 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35582 if (!SWIG_IsOK(ecode2
)) {
35583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35585 arg2
= static_cast< int >(val2
);
35588 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35592 (arg1
)->SetIdBounds(arg2
,*arg3
);
35593 wxPyEndAllowThreads(__tstate
);
35594 if (PyErr_Occurred()) SWIG_fail
;
35596 resultobj
= SWIG_Py_Void();
35603 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35604 PyObject
*resultobj
= 0;
35605 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35612 PyObject
* obj0
= 0 ;
35613 PyObject
* obj1
= 0 ;
35614 char * kwnames
[] = {
35615 (char *) "self",(char *) "id", NULL
35618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35620 if (!SWIG_IsOK(res1
)) {
35621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35623 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35625 if (!SWIG_IsOK(ecode2
)) {
35626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35628 arg2
= static_cast< int >(val2
);
35630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35631 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35632 wxPyEndAllowThreads(__tstate
);
35633 if (PyErr_Occurred()) SWIG_fail
;
35635 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35642 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35643 PyObject
*resultobj
= 0;
35644 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35645 wxDC
*arg2
= (wxDC
*) 0 ;
35652 PyObject
* obj0
= 0 ;
35653 PyObject
* obj1
= 0 ;
35654 PyObject
* obj2
= 0 ;
35655 char * kwnames
[] = {
35656 (char *) "self",(char *) "dc",(char *) "rect", NULL
35659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35661 if (!SWIG_IsOK(res1
)) {
35662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35664 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35665 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35666 if (!SWIG_IsOK(res2
)) {
35667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35669 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35672 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35676 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35677 wxPyEndAllowThreads(__tstate
);
35678 if (PyErr_Occurred()) SWIG_fail
;
35680 resultobj
= SWIG_Py_Void();
35687 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35688 PyObject
*resultobj
= 0;
35689 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35690 wxDC
*arg2
= (wxDC
*) 0 ;
35691 wxRegion
*arg3
= 0 ;
35698 PyObject
* obj0
= 0 ;
35699 PyObject
* obj1
= 0 ;
35700 PyObject
* obj2
= 0 ;
35701 char * kwnames
[] = {
35702 (char *) "self",(char *) "dc",(char *) "region", NULL
35705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35707 if (!SWIG_IsOK(res1
)) {
35708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35710 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35711 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35712 if (!SWIG_IsOK(res2
)) {
35713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
35715 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35716 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
35717 if (!SWIG_IsOK(res3
)) {
35718 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35721 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35723 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
35725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35726 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
35727 wxPyEndAllowThreads(__tstate
);
35728 if (PyErr_Occurred()) SWIG_fail
;
35730 resultobj
= SWIG_Py_Void();
35737 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35738 PyObject
*resultobj
= 0;
35739 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35740 wxDC
*arg2
= (wxDC
*) 0 ;
35745 PyObject
* obj0
= 0 ;
35746 PyObject
* obj1
= 0 ;
35747 char * kwnames
[] = {
35748 (char *) "self",(char *) "dc", NULL
35751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35753 if (!SWIG_IsOK(res1
)) {
35754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35756 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35757 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35758 if (!SWIG_IsOK(res2
)) {
35759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
35761 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35764 (arg1
)->DrawToDC(arg2
);
35765 wxPyEndAllowThreads(__tstate
);
35766 if (PyErr_Occurred()) SWIG_fail
;
35768 resultobj
= SWIG_Py_Void();
35775 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35776 PyObject
*resultobj
= 0;
35777 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35780 wxColour
*arg4
= 0 ;
35781 int arg5
= (int) wxFLOOD_SURFACE
;
35791 PyObject
* obj0
= 0 ;
35792 PyObject
* obj1
= 0 ;
35793 PyObject
* obj2
= 0 ;
35794 PyObject
* obj3
= 0 ;
35795 PyObject
* obj4
= 0 ;
35796 char * kwnames
[] = {
35797 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
35800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35802 if (!SWIG_IsOK(res1
)) {
35803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35805 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35807 if (!SWIG_IsOK(ecode2
)) {
35808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
35810 arg2
= static_cast< int >(val2
);
35811 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35812 if (!SWIG_IsOK(ecode3
)) {
35813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
35815 arg3
= static_cast< int >(val3
);
35818 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
35821 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35822 if (!SWIG_IsOK(ecode5
)) {
35823 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
35825 arg5
= static_cast< int >(val5
);
35828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35829 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
35830 wxPyEndAllowThreads(__tstate
);
35831 if (PyErr_Occurred()) SWIG_fail
;
35833 resultobj
= SWIG_Py_Void();
35840 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35841 PyObject
*resultobj
= 0;
35842 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35843 wxPoint
*arg2
= 0 ;
35844 wxColour
*arg3
= 0 ;
35845 int arg4
= (int) wxFLOOD_SURFACE
;
35852 PyObject
* obj0
= 0 ;
35853 PyObject
* obj1
= 0 ;
35854 PyObject
* obj2
= 0 ;
35855 PyObject
* obj3
= 0 ;
35856 char * kwnames
[] = {
35857 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
35860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35862 if (!SWIG_IsOK(res1
)) {
35863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35865 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35868 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35872 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35875 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35876 if (!SWIG_IsOK(ecode4
)) {
35877 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
35879 arg4
= static_cast< int >(val4
);
35882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35883 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
35884 wxPyEndAllowThreads(__tstate
);
35885 if (PyErr_Occurred()) SWIG_fail
;
35887 resultobj
= SWIG_Py_Void();
35894 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35895 PyObject
*resultobj
= 0;
35896 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35911 PyObject
* obj0
= 0 ;
35912 PyObject
* obj1
= 0 ;
35913 PyObject
* obj2
= 0 ;
35914 PyObject
* obj3
= 0 ;
35915 PyObject
* obj4
= 0 ;
35916 char * kwnames
[] = {
35917 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
35920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35922 if (!SWIG_IsOK(res1
)) {
35923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35925 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35927 if (!SWIG_IsOK(ecode2
)) {
35928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
35930 arg2
= static_cast< int >(val2
);
35931 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35932 if (!SWIG_IsOK(ecode3
)) {
35933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
35935 arg3
= static_cast< int >(val3
);
35936 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35937 if (!SWIG_IsOK(ecode4
)) {
35938 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
35940 arg4
= static_cast< int >(val4
);
35941 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35942 if (!SWIG_IsOK(ecode5
)) {
35943 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
35945 arg5
= static_cast< int >(val5
);
35947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35948 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
35949 wxPyEndAllowThreads(__tstate
);
35950 if (PyErr_Occurred()) SWIG_fail
;
35952 resultobj
= SWIG_Py_Void();
35959 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35960 PyObject
*resultobj
= 0;
35961 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35962 wxPoint
*arg2
= 0 ;
35963 wxPoint
*arg3
= 0 ;
35968 PyObject
* obj0
= 0 ;
35969 PyObject
* obj1
= 0 ;
35970 PyObject
* obj2
= 0 ;
35971 char * kwnames
[] = {
35972 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
35975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35977 if (!SWIG_IsOK(res1
)) {
35978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35980 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35983 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35987 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35991 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
35992 wxPyEndAllowThreads(__tstate
);
35993 if (PyErr_Occurred()) SWIG_fail
;
35995 resultobj
= SWIG_Py_Void();
36002 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36003 PyObject
*resultobj
= 0;
36004 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36013 PyObject
* obj0
= 0 ;
36014 PyObject
* obj1
= 0 ;
36015 PyObject
* obj2
= 0 ;
36016 char * kwnames
[] = {
36017 (char *) "self",(char *) "x",(char *) "y", NULL
36020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36022 if (!SWIG_IsOK(res1
)) {
36023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36025 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36027 if (!SWIG_IsOK(ecode2
)) {
36028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36030 arg2
= static_cast< int >(val2
);
36031 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36032 if (!SWIG_IsOK(ecode3
)) {
36033 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36035 arg3
= static_cast< int >(val3
);
36037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36038 (arg1
)->CrossHair(arg2
,arg3
);
36039 wxPyEndAllowThreads(__tstate
);
36040 if (PyErr_Occurred()) SWIG_fail
;
36042 resultobj
= SWIG_Py_Void();
36049 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36050 PyObject
*resultobj
= 0;
36051 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36052 wxPoint
*arg2
= 0 ;
36056 PyObject
* obj0
= 0 ;
36057 PyObject
* obj1
= 0 ;
36058 char * kwnames
[] = {
36059 (char *) "self",(char *) "pt", NULL
36062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36064 if (!SWIG_IsOK(res1
)) {
36065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36067 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36070 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36074 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36075 wxPyEndAllowThreads(__tstate
);
36076 if (PyErr_Occurred()) SWIG_fail
;
36078 resultobj
= SWIG_Py_Void();
36085 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36086 PyObject
*resultobj
= 0;
36087 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36108 PyObject
* obj0
= 0 ;
36109 PyObject
* obj1
= 0 ;
36110 PyObject
* obj2
= 0 ;
36111 PyObject
* obj3
= 0 ;
36112 PyObject
* obj4
= 0 ;
36113 PyObject
* obj5
= 0 ;
36114 PyObject
* obj6
= 0 ;
36115 char * kwnames
[] = {
36116 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36121 if (!SWIG_IsOK(res1
)) {
36122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36124 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36126 if (!SWIG_IsOK(ecode2
)) {
36127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36129 arg2
= static_cast< int >(val2
);
36130 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36131 if (!SWIG_IsOK(ecode3
)) {
36132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36134 arg3
= static_cast< int >(val3
);
36135 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36136 if (!SWIG_IsOK(ecode4
)) {
36137 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36139 arg4
= static_cast< int >(val4
);
36140 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36141 if (!SWIG_IsOK(ecode5
)) {
36142 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36144 arg5
= static_cast< int >(val5
);
36145 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36146 if (!SWIG_IsOK(ecode6
)) {
36147 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36149 arg6
= static_cast< int >(val6
);
36150 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36151 if (!SWIG_IsOK(ecode7
)) {
36152 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36154 arg7
= static_cast< int >(val7
);
36156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36157 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36158 wxPyEndAllowThreads(__tstate
);
36159 if (PyErr_Occurred()) SWIG_fail
;
36161 resultobj
= SWIG_Py_Void();
36168 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36169 PyObject
*resultobj
= 0;
36170 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36171 wxPoint
*arg2
= 0 ;
36172 wxPoint
*arg3
= 0 ;
36173 wxPoint
*arg4
= 0 ;
36179 PyObject
* obj0
= 0 ;
36180 PyObject
* obj1
= 0 ;
36181 PyObject
* obj2
= 0 ;
36182 PyObject
* obj3
= 0 ;
36183 char * kwnames
[] = {
36184 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36189 if (!SWIG_IsOK(res1
)) {
36190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36192 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36195 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36199 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36203 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36207 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36208 wxPyEndAllowThreads(__tstate
);
36209 if (PyErr_Occurred()) SWIG_fail
;
36211 resultobj
= SWIG_Py_Void();
36218 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36219 PyObject
*resultobj
= 0;
36220 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36235 PyObject
* obj0
= 0 ;
36236 PyObject
* obj1
= 0 ;
36237 PyObject
* obj2
= 0 ;
36238 PyObject
* obj3
= 0 ;
36239 PyObject
* obj4
= 0 ;
36240 char * kwnames
[] = {
36241 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36246 if (!SWIG_IsOK(res1
)) {
36247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36249 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36251 if (!SWIG_IsOK(ecode2
)) {
36252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36254 arg2
= static_cast< int >(val2
);
36255 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36256 if (!SWIG_IsOK(ecode3
)) {
36257 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36259 arg3
= static_cast< int >(val3
);
36260 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36261 if (!SWIG_IsOK(ecode4
)) {
36262 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36264 arg4
= static_cast< int >(val4
);
36265 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36266 if (!SWIG_IsOK(ecode5
)) {
36267 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36269 arg5
= static_cast< int >(val5
);
36271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36272 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36273 wxPyEndAllowThreads(__tstate
);
36274 if (PyErr_Occurred()) SWIG_fail
;
36276 resultobj
= SWIG_Py_Void();
36283 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36284 PyObject
*resultobj
= 0;
36285 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36290 PyObject
* obj0
= 0 ;
36291 PyObject
* obj1
= 0 ;
36292 char * kwnames
[] = {
36293 (char *) "self",(char *) "rect", NULL
36296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36298 if (!SWIG_IsOK(res1
)) {
36299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36301 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36304 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36308 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36309 wxPyEndAllowThreads(__tstate
);
36310 if (PyErr_Occurred()) SWIG_fail
;
36312 resultobj
= SWIG_Py_Void();
36319 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36320 PyObject
*resultobj
= 0;
36321 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36342 PyObject
* obj0
= 0 ;
36343 PyObject
* obj1
= 0 ;
36344 PyObject
* obj2
= 0 ;
36345 PyObject
* obj3
= 0 ;
36346 PyObject
* obj4
= 0 ;
36347 PyObject
* obj5
= 0 ;
36348 PyObject
* obj6
= 0 ;
36349 char * kwnames
[] = {
36350 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36355 if (!SWIG_IsOK(res1
)) {
36356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36358 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36360 if (!SWIG_IsOK(ecode2
)) {
36361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36363 arg2
= static_cast< int >(val2
);
36364 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36365 if (!SWIG_IsOK(ecode3
)) {
36366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36368 arg3
= static_cast< int >(val3
);
36369 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36370 if (!SWIG_IsOK(ecode4
)) {
36371 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36373 arg4
= static_cast< int >(val4
);
36374 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36375 if (!SWIG_IsOK(ecode5
)) {
36376 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36378 arg5
= static_cast< int >(val5
);
36379 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36380 if (!SWIG_IsOK(ecode6
)) {
36381 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36383 arg6
= static_cast< double >(val6
);
36384 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36385 if (!SWIG_IsOK(ecode7
)) {
36386 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36388 arg7
= static_cast< double >(val7
);
36390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36391 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36392 wxPyEndAllowThreads(__tstate
);
36393 if (PyErr_Occurred()) SWIG_fail
;
36395 resultobj
= SWIG_Py_Void();
36402 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36403 PyObject
*resultobj
= 0;
36404 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36405 wxPoint
*arg2
= 0 ;
36417 PyObject
* obj0
= 0 ;
36418 PyObject
* obj1
= 0 ;
36419 PyObject
* obj2
= 0 ;
36420 PyObject
* obj3
= 0 ;
36421 PyObject
* obj4
= 0 ;
36422 char * kwnames
[] = {
36423 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36428 if (!SWIG_IsOK(res1
)) {
36429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36431 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36434 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36438 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36440 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36441 if (!SWIG_IsOK(ecode4
)) {
36442 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36444 arg4
= static_cast< double >(val4
);
36445 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36446 if (!SWIG_IsOK(ecode5
)) {
36447 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36449 arg5
= static_cast< double >(val5
);
36451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36452 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36453 wxPyEndAllowThreads(__tstate
);
36454 if (PyErr_Occurred()) SWIG_fail
;
36456 resultobj
= SWIG_Py_Void();
36463 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36464 PyObject
*resultobj
= 0;
36465 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36474 PyObject
* obj0
= 0 ;
36475 PyObject
* obj1
= 0 ;
36476 PyObject
* obj2
= 0 ;
36477 char * kwnames
[] = {
36478 (char *) "self",(char *) "x",(char *) "y", NULL
36481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36483 if (!SWIG_IsOK(res1
)) {
36484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36486 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36488 if (!SWIG_IsOK(ecode2
)) {
36489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36491 arg2
= static_cast< int >(val2
);
36492 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36493 if (!SWIG_IsOK(ecode3
)) {
36494 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36496 arg3
= static_cast< int >(val3
);
36498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36499 (arg1
)->DrawPoint(arg2
,arg3
);
36500 wxPyEndAllowThreads(__tstate
);
36501 if (PyErr_Occurred()) SWIG_fail
;
36503 resultobj
= SWIG_Py_Void();
36510 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36511 PyObject
*resultobj
= 0;
36512 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36513 wxPoint
*arg2
= 0 ;
36517 PyObject
* obj0
= 0 ;
36518 PyObject
* obj1
= 0 ;
36519 char * kwnames
[] = {
36520 (char *) "self",(char *) "pt", NULL
36523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36525 if (!SWIG_IsOK(res1
)) {
36526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36528 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36531 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36535 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36536 wxPyEndAllowThreads(__tstate
);
36537 if (PyErr_Occurred()) SWIG_fail
;
36539 resultobj
= SWIG_Py_Void();
36546 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36547 PyObject
*resultobj
= 0;
36548 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36563 PyObject
* obj0
= 0 ;
36564 PyObject
* obj1
= 0 ;
36565 PyObject
* obj2
= 0 ;
36566 PyObject
* obj3
= 0 ;
36567 PyObject
* obj4
= 0 ;
36568 char * kwnames
[] = {
36569 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36574 if (!SWIG_IsOK(res1
)) {
36575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36577 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36579 if (!SWIG_IsOK(ecode2
)) {
36580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36582 arg2
= static_cast< int >(val2
);
36583 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36584 if (!SWIG_IsOK(ecode3
)) {
36585 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36587 arg3
= static_cast< int >(val3
);
36588 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36589 if (!SWIG_IsOK(ecode4
)) {
36590 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36592 arg4
= static_cast< int >(val4
);
36593 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36594 if (!SWIG_IsOK(ecode5
)) {
36595 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36597 arg5
= static_cast< int >(val5
);
36599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36600 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36601 wxPyEndAllowThreads(__tstate
);
36602 if (PyErr_Occurred()) SWIG_fail
;
36604 resultobj
= SWIG_Py_Void();
36611 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36612 PyObject
*resultobj
= 0;
36613 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36618 PyObject
* obj0
= 0 ;
36619 PyObject
* obj1
= 0 ;
36620 char * kwnames
[] = {
36621 (char *) "self",(char *) "rect", NULL
36624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36626 if (!SWIG_IsOK(res1
)) {
36627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36629 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36632 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36636 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36637 wxPyEndAllowThreads(__tstate
);
36638 if (PyErr_Occurred()) SWIG_fail
;
36640 resultobj
= SWIG_Py_Void();
36647 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36648 PyObject
*resultobj
= 0;
36649 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36650 wxPoint
*arg2
= 0 ;
36656 PyObject
* obj0
= 0 ;
36657 PyObject
* obj1
= 0 ;
36658 PyObject
* obj2
= 0 ;
36659 char * kwnames
[] = {
36660 (char *) "self",(char *) "pt",(char *) "sz", NULL
36663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36665 if (!SWIG_IsOK(res1
)) {
36666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36668 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36671 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36675 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36679 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36680 wxPyEndAllowThreads(__tstate
);
36681 if (PyErr_Occurred()) SWIG_fail
;
36683 resultobj
= SWIG_Py_Void();
36690 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36691 PyObject
*resultobj
= 0;
36692 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36710 PyObject
* obj0
= 0 ;
36711 PyObject
* obj1
= 0 ;
36712 PyObject
* obj2
= 0 ;
36713 PyObject
* obj3
= 0 ;
36714 PyObject
* obj4
= 0 ;
36715 PyObject
* obj5
= 0 ;
36716 char * kwnames
[] = {
36717 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
36720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36722 if (!SWIG_IsOK(res1
)) {
36723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36725 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36726 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36727 if (!SWIG_IsOK(ecode2
)) {
36728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
36730 arg2
= static_cast< int >(val2
);
36731 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36732 if (!SWIG_IsOK(ecode3
)) {
36733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
36735 arg3
= static_cast< int >(val3
);
36736 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36737 if (!SWIG_IsOK(ecode4
)) {
36738 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
36740 arg4
= static_cast< int >(val4
);
36741 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36742 if (!SWIG_IsOK(ecode5
)) {
36743 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
36745 arg5
= static_cast< int >(val5
);
36746 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36747 if (!SWIG_IsOK(ecode6
)) {
36748 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
36750 arg6
= static_cast< double >(val6
);
36752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36753 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
36754 wxPyEndAllowThreads(__tstate
);
36755 if (PyErr_Occurred()) SWIG_fail
;
36757 resultobj
= SWIG_Py_Void();
36764 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36765 PyObject
*resultobj
= 0;
36766 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36774 PyObject
* obj0
= 0 ;
36775 PyObject
* obj1
= 0 ;
36776 PyObject
* obj2
= 0 ;
36777 char * kwnames
[] = {
36778 (char *) "self",(char *) "r",(char *) "radius", NULL
36781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36783 if (!SWIG_IsOK(res1
)) {
36784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36786 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36789 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36791 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
36792 if (!SWIG_IsOK(ecode3
)) {
36793 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
36795 arg3
= static_cast< double >(val3
);
36797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36798 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
36799 wxPyEndAllowThreads(__tstate
);
36800 if (PyErr_Occurred()) SWIG_fail
;
36802 resultobj
= SWIG_Py_Void();
36809 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36810 PyObject
*resultobj
= 0;
36811 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36812 wxPoint
*arg2
= 0 ;
36821 PyObject
* obj0
= 0 ;
36822 PyObject
* obj1
= 0 ;
36823 PyObject
* obj2
= 0 ;
36824 PyObject
* obj3
= 0 ;
36825 char * kwnames
[] = {
36826 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
36829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36831 if (!SWIG_IsOK(res1
)) {
36832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36834 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36837 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36841 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36843 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36844 if (!SWIG_IsOK(ecode4
)) {
36845 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
36847 arg4
= static_cast< double >(val4
);
36849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36850 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
36851 wxPyEndAllowThreads(__tstate
);
36852 if (PyErr_Occurred()) SWIG_fail
;
36854 resultobj
= SWIG_Py_Void();
36861 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36862 PyObject
*resultobj
= 0;
36863 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36875 PyObject
* obj0
= 0 ;
36876 PyObject
* obj1
= 0 ;
36877 PyObject
* obj2
= 0 ;
36878 PyObject
* obj3
= 0 ;
36879 char * kwnames
[] = {
36880 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
36883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36885 if (!SWIG_IsOK(res1
)) {
36886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36888 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36890 if (!SWIG_IsOK(ecode2
)) {
36891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
36893 arg2
= static_cast< int >(val2
);
36894 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36895 if (!SWIG_IsOK(ecode3
)) {
36896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
36898 arg3
= static_cast< int >(val3
);
36899 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36900 if (!SWIG_IsOK(ecode4
)) {
36901 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
36903 arg4
= static_cast< int >(val4
);
36905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36906 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
36907 wxPyEndAllowThreads(__tstate
);
36908 if (PyErr_Occurred()) SWIG_fail
;
36910 resultobj
= SWIG_Py_Void();
36917 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36918 PyObject
*resultobj
= 0;
36919 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36920 wxPoint
*arg2
= 0 ;
36927 PyObject
* obj0
= 0 ;
36928 PyObject
* obj1
= 0 ;
36929 PyObject
* obj2
= 0 ;
36930 char * kwnames
[] = {
36931 (char *) "self",(char *) "pt",(char *) "radius", NULL
36934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36936 if (!SWIG_IsOK(res1
)) {
36937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36939 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36942 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36944 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36945 if (!SWIG_IsOK(ecode3
)) {
36946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
36948 arg3
= static_cast< int >(val3
);
36950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36951 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
36952 wxPyEndAllowThreads(__tstate
);
36953 if (PyErr_Occurred()) SWIG_fail
;
36955 resultobj
= SWIG_Py_Void();
36962 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36963 PyObject
*resultobj
= 0;
36964 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36979 PyObject
* obj0
= 0 ;
36980 PyObject
* obj1
= 0 ;
36981 PyObject
* obj2
= 0 ;
36982 PyObject
* obj3
= 0 ;
36983 PyObject
* obj4
= 0 ;
36984 char * kwnames
[] = {
36985 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36990 if (!SWIG_IsOK(res1
)) {
36991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36993 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36995 if (!SWIG_IsOK(ecode2
)) {
36996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
36998 arg2
= static_cast< int >(val2
);
36999 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37000 if (!SWIG_IsOK(ecode3
)) {
37001 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37003 arg3
= static_cast< int >(val3
);
37004 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37005 if (!SWIG_IsOK(ecode4
)) {
37006 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37008 arg4
= static_cast< int >(val4
);
37009 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37010 if (!SWIG_IsOK(ecode5
)) {
37011 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37013 arg5
= static_cast< int >(val5
);
37015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37016 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37017 wxPyEndAllowThreads(__tstate
);
37018 if (PyErr_Occurred()) SWIG_fail
;
37020 resultobj
= SWIG_Py_Void();
37027 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37028 PyObject
*resultobj
= 0;
37029 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37034 PyObject
* obj0
= 0 ;
37035 PyObject
* obj1
= 0 ;
37036 char * kwnames
[] = {
37037 (char *) "self",(char *) "rect", NULL
37040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37042 if (!SWIG_IsOK(res1
)) {
37043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37045 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37048 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37052 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37053 wxPyEndAllowThreads(__tstate
);
37054 if (PyErr_Occurred()) SWIG_fail
;
37056 resultobj
= SWIG_Py_Void();
37063 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37064 PyObject
*resultobj
= 0;
37065 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37066 wxPoint
*arg2
= 0 ;
37072 PyObject
* obj0
= 0 ;
37073 PyObject
* obj1
= 0 ;
37074 PyObject
* obj2
= 0 ;
37075 char * kwnames
[] = {
37076 (char *) "self",(char *) "pt",(char *) "sz", NULL
37079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37081 if (!SWIG_IsOK(res1
)) {
37082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37084 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37087 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37091 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37095 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37096 wxPyEndAllowThreads(__tstate
);
37097 if (PyErr_Occurred()) SWIG_fail
;
37099 resultobj
= SWIG_Py_Void();
37106 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37107 PyObject
*resultobj
= 0;
37108 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37120 PyObject
* obj0
= 0 ;
37121 PyObject
* obj1
= 0 ;
37122 PyObject
* obj2
= 0 ;
37123 PyObject
* obj3
= 0 ;
37124 char * kwnames
[] = {
37125 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37130 if (!SWIG_IsOK(res1
)) {
37131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37133 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37134 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37135 if (!SWIG_IsOK(res2
)) {
37136 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37139 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37141 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37142 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37143 if (!SWIG_IsOK(ecode3
)) {
37144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37146 arg3
= static_cast< int >(val3
);
37147 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37148 if (!SWIG_IsOK(ecode4
)) {
37149 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37151 arg4
= static_cast< int >(val4
);
37153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37154 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37155 wxPyEndAllowThreads(__tstate
);
37156 if (PyErr_Occurred()) SWIG_fail
;
37158 resultobj
= SWIG_Py_Void();
37165 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37166 PyObject
*resultobj
= 0;
37167 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37169 wxPoint
*arg3
= 0 ;
37175 PyObject
* obj0
= 0 ;
37176 PyObject
* obj1
= 0 ;
37177 PyObject
* obj2
= 0 ;
37178 char * kwnames
[] = {
37179 (char *) "self",(char *) "icon",(char *) "pt", NULL
37182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37184 if (!SWIG_IsOK(res1
)) {
37185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37187 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37188 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37189 if (!SWIG_IsOK(res2
)) {
37190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37193 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37195 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37198 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37202 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37203 wxPyEndAllowThreads(__tstate
);
37204 if (PyErr_Occurred()) SWIG_fail
;
37206 resultobj
= SWIG_Py_Void();
37213 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37214 PyObject
*resultobj
= 0;
37215 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37216 wxBitmap
*arg2
= 0 ;
37219 bool arg5
= (bool) false ;
37230 PyObject
* obj0
= 0 ;
37231 PyObject
* obj1
= 0 ;
37232 PyObject
* obj2
= 0 ;
37233 PyObject
* obj3
= 0 ;
37234 PyObject
* obj4
= 0 ;
37235 char * kwnames
[] = {
37236 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37241 if (!SWIG_IsOK(res1
)) {
37242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37244 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37245 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37246 if (!SWIG_IsOK(res2
)) {
37247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37252 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37253 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37254 if (!SWIG_IsOK(ecode3
)) {
37255 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37257 arg3
= static_cast< int >(val3
);
37258 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37259 if (!SWIG_IsOK(ecode4
)) {
37260 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37262 arg4
= static_cast< int >(val4
);
37264 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37265 if (!SWIG_IsOK(ecode5
)) {
37266 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37268 arg5
= static_cast< bool >(val5
);
37271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37272 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37273 wxPyEndAllowThreads(__tstate
);
37274 if (PyErr_Occurred()) SWIG_fail
;
37276 resultobj
= SWIG_Py_Void();
37283 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37284 PyObject
*resultobj
= 0;
37285 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37286 wxBitmap
*arg2
= 0 ;
37287 wxPoint
*arg3
= 0 ;
37288 bool arg4
= (bool) false ;
37296 PyObject
* obj0
= 0 ;
37297 PyObject
* obj1
= 0 ;
37298 PyObject
* obj2
= 0 ;
37299 PyObject
* obj3
= 0 ;
37300 char * kwnames
[] = {
37301 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37306 if (!SWIG_IsOK(res1
)) {
37307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37309 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37310 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37311 if (!SWIG_IsOK(res2
)) {
37312 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37315 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37317 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37320 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37323 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37324 if (!SWIG_IsOK(ecode4
)) {
37325 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37327 arg4
= static_cast< bool >(val4
);
37330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37331 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37332 wxPyEndAllowThreads(__tstate
);
37333 if (PyErr_Occurred()) SWIG_fail
;
37335 resultobj
= SWIG_Py_Void();
37342 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37343 PyObject
*resultobj
= 0;
37344 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37345 wxString
*arg2
= 0 ;
37350 bool temp2
= false ;
37355 PyObject
* obj0
= 0 ;
37356 PyObject
* obj1
= 0 ;
37357 PyObject
* obj2
= 0 ;
37358 PyObject
* obj3
= 0 ;
37359 char * kwnames
[] = {
37360 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37365 if (!SWIG_IsOK(res1
)) {
37366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37368 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37370 arg2
= wxString_in_helper(obj1
);
37371 if (arg2
== NULL
) SWIG_fail
;
37374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37375 if (!SWIG_IsOK(ecode3
)) {
37376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37378 arg3
= static_cast< int >(val3
);
37379 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37380 if (!SWIG_IsOK(ecode4
)) {
37381 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37383 arg4
= static_cast< int >(val4
);
37385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37386 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37387 wxPyEndAllowThreads(__tstate
);
37388 if (PyErr_Occurred()) SWIG_fail
;
37390 resultobj
= SWIG_Py_Void();
37405 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37406 PyObject
*resultobj
= 0;
37407 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37408 wxString
*arg2
= 0 ;
37409 wxPoint
*arg3
= 0 ;
37412 bool temp2
= false ;
37414 PyObject
* obj0
= 0 ;
37415 PyObject
* obj1
= 0 ;
37416 PyObject
* obj2
= 0 ;
37417 char * kwnames
[] = {
37418 (char *) "self",(char *) "text",(char *) "pt", NULL
37421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37423 if (!SWIG_IsOK(res1
)) {
37424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37426 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37428 arg2
= wxString_in_helper(obj1
);
37429 if (arg2
== NULL
) SWIG_fail
;
37434 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37438 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37439 wxPyEndAllowThreads(__tstate
);
37440 if (PyErr_Occurred()) SWIG_fail
;
37442 resultobj
= SWIG_Py_Void();
37457 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37458 PyObject
*resultobj
= 0;
37459 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37460 wxString
*arg2
= 0 ;
37466 bool temp2
= false ;
37473 PyObject
* obj0
= 0 ;
37474 PyObject
* obj1
= 0 ;
37475 PyObject
* obj2
= 0 ;
37476 PyObject
* obj3
= 0 ;
37477 PyObject
* obj4
= 0 ;
37478 char * kwnames
[] = {
37479 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37484 if (!SWIG_IsOK(res1
)) {
37485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37487 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37489 arg2
= wxString_in_helper(obj1
);
37490 if (arg2
== NULL
) SWIG_fail
;
37493 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37494 if (!SWIG_IsOK(ecode3
)) {
37495 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37497 arg3
= static_cast< int >(val3
);
37498 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37499 if (!SWIG_IsOK(ecode4
)) {
37500 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37502 arg4
= static_cast< int >(val4
);
37503 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37504 if (!SWIG_IsOK(ecode5
)) {
37505 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37507 arg5
= static_cast< double >(val5
);
37509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37510 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37511 wxPyEndAllowThreads(__tstate
);
37512 if (PyErr_Occurred()) SWIG_fail
;
37514 resultobj
= SWIG_Py_Void();
37529 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37530 PyObject
*resultobj
= 0;
37531 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37532 wxString
*arg2
= 0 ;
37533 wxPoint
*arg3
= 0 ;
37537 bool temp2
= false ;
37541 PyObject
* obj0
= 0 ;
37542 PyObject
* obj1
= 0 ;
37543 PyObject
* obj2
= 0 ;
37544 PyObject
* obj3
= 0 ;
37545 char * kwnames
[] = {
37546 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37551 if (!SWIG_IsOK(res1
)) {
37552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37554 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37556 arg2
= wxString_in_helper(obj1
);
37557 if (arg2
== NULL
) SWIG_fail
;
37562 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37564 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37565 if (!SWIG_IsOK(ecode4
)) {
37566 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37568 arg4
= static_cast< double >(val4
);
37570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37571 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37572 wxPyEndAllowThreads(__tstate
);
37573 if (PyErr_Occurred()) SWIG_fail
;
37575 resultobj
= SWIG_Py_Void();
37590 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37591 PyObject
*resultobj
= 0;
37592 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37594 wxPoint
*arg3
= (wxPoint
*) 0 ;
37595 int arg4
= (int) 0 ;
37596 int arg5
= (int) 0 ;
37603 PyObject
* obj0
= 0 ;
37604 PyObject
* obj1
= 0 ;
37605 PyObject
* obj2
= 0 ;
37606 PyObject
* obj3
= 0 ;
37607 char * kwnames
[] = {
37608 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37613 if (!SWIG_IsOK(res1
)) {
37614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37616 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37618 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37619 if (arg3
== NULL
) SWIG_fail
;
37622 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37623 if (!SWIG_IsOK(ecode4
)) {
37624 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37626 arg4
= static_cast< int >(val4
);
37629 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37630 if (!SWIG_IsOK(ecode5
)) {
37631 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37633 arg5
= static_cast< int >(val5
);
37636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37637 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37638 wxPyEndAllowThreads(__tstate
);
37639 if (PyErr_Occurred()) SWIG_fail
;
37641 resultobj
= SWIG_Py_Void();
37643 if (arg3
) delete [] arg3
;
37648 if (arg3
) delete [] arg3
;
37654 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37655 PyObject
*resultobj
= 0;
37656 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37658 wxPoint
*arg3
= (wxPoint
*) 0 ;
37659 int arg4
= (int) 0 ;
37660 int arg5
= (int) 0 ;
37661 int arg6
= (int) wxODDEVEN_RULE
;
37670 PyObject
* obj0
= 0 ;
37671 PyObject
* obj1
= 0 ;
37672 PyObject
* obj2
= 0 ;
37673 PyObject
* obj3
= 0 ;
37674 PyObject
* obj4
= 0 ;
37675 char * kwnames
[] = {
37676 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37681 if (!SWIG_IsOK(res1
)) {
37682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37684 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37686 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37687 if (arg3
== NULL
) SWIG_fail
;
37690 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37691 if (!SWIG_IsOK(ecode4
)) {
37692 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
37694 arg4
= static_cast< int >(val4
);
37697 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37698 if (!SWIG_IsOK(ecode5
)) {
37699 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
37701 arg5
= static_cast< int >(val5
);
37704 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
37705 if (!SWIG_IsOK(ecode6
)) {
37706 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
37708 arg6
= static_cast< int >(val6
);
37711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37712 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
37713 wxPyEndAllowThreads(__tstate
);
37714 if (PyErr_Occurred()) SWIG_fail
;
37716 resultobj
= SWIG_Py_Void();
37718 if (arg3
) delete [] arg3
;
37723 if (arg3
) delete [] arg3
;
37729 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37730 PyObject
*resultobj
= 0;
37731 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37732 wxString
*arg2
= 0 ;
37734 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37735 int arg5
= (int) -1 ;
37738 bool temp2
= false ;
37744 PyObject
* obj0
= 0 ;
37745 PyObject
* obj1
= 0 ;
37746 PyObject
* obj2
= 0 ;
37747 PyObject
* obj3
= 0 ;
37748 PyObject
* obj4
= 0 ;
37749 char * kwnames
[] = {
37750 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37755 if (!SWIG_IsOK(res1
)) {
37756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37758 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37760 arg2
= wxString_in_helper(obj1
);
37761 if (arg2
== NULL
) SWIG_fail
;
37766 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
37769 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37770 if (!SWIG_IsOK(ecode4
)) {
37771 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
37773 arg4
= static_cast< int >(val4
);
37776 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37777 if (!SWIG_IsOK(ecode5
)) {
37778 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
37780 arg5
= static_cast< int >(val5
);
37783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37784 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
37785 wxPyEndAllowThreads(__tstate
);
37786 if (PyErr_Occurred()) SWIG_fail
;
37788 resultobj
= SWIG_Py_Void();
37803 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37804 PyObject
*resultobj
= 0;
37805 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37806 wxString
*arg2
= 0 ;
37807 wxBitmap
*arg3
= 0 ;
37809 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37810 int arg6
= (int) -1 ;
37813 bool temp2
= false ;
37821 PyObject
* obj0
= 0 ;
37822 PyObject
* obj1
= 0 ;
37823 PyObject
* obj2
= 0 ;
37824 PyObject
* obj3
= 0 ;
37825 PyObject
* obj4
= 0 ;
37826 PyObject
* obj5
= 0 ;
37827 char * kwnames
[] = {
37828 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37833 if (!SWIG_IsOK(res1
)) {
37834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37836 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37838 arg2
= wxString_in_helper(obj1
);
37839 if (arg2
== NULL
) SWIG_fail
;
37842 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37843 if (!SWIG_IsOK(res3
)) {
37844 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37849 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
37852 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
37855 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37856 if (!SWIG_IsOK(ecode5
)) {
37857 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
37859 arg5
= static_cast< int >(val5
);
37862 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37863 if (!SWIG_IsOK(ecode6
)) {
37864 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
37866 arg6
= static_cast< int >(val6
);
37869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37870 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
37871 wxPyEndAllowThreads(__tstate
);
37872 if (PyErr_Occurred()) SWIG_fail
;
37874 resultobj
= SWIG_Py_Void();
37889 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37890 PyObject
*resultobj
= 0;
37891 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37893 wxPoint
*arg3
= (wxPoint
*) 0 ;
37896 PyObject
* obj0
= 0 ;
37897 PyObject
* obj1
= 0 ;
37898 char * kwnames
[] = {
37899 (char *) "self",(char *) "points", NULL
37902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37904 if (!SWIG_IsOK(res1
)) {
37905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37907 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37909 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37910 if (arg3
== NULL
) SWIG_fail
;
37913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37914 (arg1
)->DrawSpline(arg2
,arg3
);
37915 wxPyEndAllowThreads(__tstate
);
37916 if (PyErr_Occurred()) SWIG_fail
;
37918 resultobj
= SWIG_Py_Void();
37920 if (arg3
) delete [] arg3
;
37925 if (arg3
) delete [] arg3
;
37931 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37932 PyObject
*resultobj
= 0;
37933 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37936 PyObject
*swig_obj
[1] ;
37938 if (!args
) SWIG_fail
;
37939 swig_obj
[0] = args
;
37940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37941 if (!SWIG_IsOK(res1
)) {
37942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37944 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37948 wxPyEndAllowThreads(__tstate
);
37949 if (PyErr_Occurred()) SWIG_fail
;
37951 resultobj
= SWIG_Py_Void();
37958 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37959 PyObject
*resultobj
= 0;
37960 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37966 PyObject
* obj0
= 0 ;
37967 PyObject
* obj1
= 0 ;
37968 char * kwnames
[] = {
37969 (char *) "self",(char *) "font", NULL
37972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37974 if (!SWIG_IsOK(res1
)) {
37975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37977 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37978 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
37979 if (!SWIG_IsOK(res2
)) {
37980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37985 arg2
= reinterpret_cast< wxFont
* >(argp2
);
37987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37988 (arg1
)->SetFont((wxFont
const &)*arg2
);
37989 wxPyEndAllowThreads(__tstate
);
37990 if (PyErr_Occurred()) SWIG_fail
;
37992 resultobj
= SWIG_Py_Void();
37999 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38000 PyObject
*resultobj
= 0;
38001 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38007 PyObject
* obj0
= 0 ;
38008 PyObject
* obj1
= 0 ;
38009 char * kwnames
[] = {
38010 (char *) "self",(char *) "pen", NULL
38013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38015 if (!SWIG_IsOK(res1
)) {
38016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38018 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38019 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38020 if (!SWIG_IsOK(res2
)) {
38021 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38026 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38029 (arg1
)->SetPen((wxPen
const &)*arg2
);
38030 wxPyEndAllowThreads(__tstate
);
38031 if (PyErr_Occurred()) SWIG_fail
;
38033 resultobj
= SWIG_Py_Void();
38040 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38041 PyObject
*resultobj
= 0;
38042 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38043 wxBrush
*arg2
= 0 ;
38048 PyObject
* obj0
= 0 ;
38049 PyObject
* obj1
= 0 ;
38050 char * kwnames
[] = {
38051 (char *) "self",(char *) "brush", NULL
38054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38056 if (!SWIG_IsOK(res1
)) {
38057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38059 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38060 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38061 if (!SWIG_IsOK(res2
)) {
38062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38067 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38070 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38071 wxPyEndAllowThreads(__tstate
);
38072 if (PyErr_Occurred()) SWIG_fail
;
38074 resultobj
= SWIG_Py_Void();
38081 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38082 PyObject
*resultobj
= 0;
38083 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38084 wxBrush
*arg2
= 0 ;
38089 PyObject
* obj0
= 0 ;
38090 PyObject
* obj1
= 0 ;
38091 char * kwnames
[] = {
38092 (char *) "self",(char *) "brush", NULL
38095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38097 if (!SWIG_IsOK(res1
)) {
38098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38100 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38101 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38102 if (!SWIG_IsOK(res2
)) {
38103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38106 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38108 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38111 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38112 wxPyEndAllowThreads(__tstate
);
38113 if (PyErr_Occurred()) SWIG_fail
;
38115 resultobj
= SWIG_Py_Void();
38122 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38123 PyObject
*resultobj
= 0;
38124 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38130 PyObject
* obj0
= 0 ;
38131 PyObject
* obj1
= 0 ;
38132 char * kwnames
[] = {
38133 (char *) "self",(char *) "mode", NULL
38136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38138 if (!SWIG_IsOK(res1
)) {
38139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38141 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38143 if (!SWIG_IsOK(ecode2
)) {
38144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38146 arg2
= static_cast< int >(val2
);
38148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38149 (arg1
)->SetBackgroundMode(arg2
);
38150 wxPyEndAllowThreads(__tstate
);
38151 if (PyErr_Occurred()) SWIG_fail
;
38153 resultobj
= SWIG_Py_Void();
38160 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38161 PyObject
*resultobj
= 0;
38162 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38163 wxPalette
*arg2
= 0 ;
38168 PyObject
* obj0
= 0 ;
38169 PyObject
* obj1
= 0 ;
38170 char * kwnames
[] = {
38171 (char *) "self",(char *) "palette", NULL
38174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38176 if (!SWIG_IsOK(res1
)) {
38177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38179 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38180 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38181 if (!SWIG_IsOK(res2
)) {
38182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38185 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38187 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38190 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38191 wxPyEndAllowThreads(__tstate
);
38192 if (PyErr_Occurred()) SWIG_fail
;
38194 resultobj
= SWIG_Py_Void();
38201 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38202 PyObject
*resultobj
= 0;
38203 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38204 wxColour
*arg2
= 0 ;
38208 PyObject
* obj0
= 0 ;
38209 PyObject
* obj1
= 0 ;
38210 char * kwnames
[] = {
38211 (char *) "self",(char *) "colour", NULL
38214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38216 if (!SWIG_IsOK(res1
)) {
38217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38219 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38222 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38226 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38227 wxPyEndAllowThreads(__tstate
);
38228 if (PyErr_Occurred()) SWIG_fail
;
38230 resultobj
= SWIG_Py_Void();
38237 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38238 PyObject
*resultobj
= 0;
38239 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38240 wxColour
*arg2
= 0 ;
38244 PyObject
* obj0
= 0 ;
38245 PyObject
* obj1
= 0 ;
38246 char * kwnames
[] = {
38247 (char *) "self",(char *) "colour", NULL
38250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38252 if (!SWIG_IsOK(res1
)) {
38253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38255 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38258 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38262 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38263 wxPyEndAllowThreads(__tstate
);
38264 if (PyErr_Occurred()) SWIG_fail
;
38266 resultobj
= SWIG_Py_Void();
38273 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38274 PyObject
*resultobj
= 0;
38275 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38281 PyObject
* obj0
= 0 ;
38282 PyObject
* obj1
= 0 ;
38283 char * kwnames
[] = {
38284 (char *) "self",(char *) "function", NULL
38287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38289 if (!SWIG_IsOK(res1
)) {
38290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38292 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38294 if (!SWIG_IsOK(ecode2
)) {
38295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38297 arg2
= static_cast< int >(val2
);
38299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38300 (arg1
)->SetLogicalFunction(arg2
);
38301 wxPyEndAllowThreads(__tstate
);
38302 if (PyErr_Occurred()) SWIG_fail
;
38304 resultobj
= SWIG_Py_Void();
38311 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38313 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38314 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38315 return SWIG_Py_Void();
38318 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38319 return SWIG_Python_InitShadowInstance(args
);
38322 static PyMethodDef SwigMethods
[] = {
38323 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38324 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38325 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38326 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38327 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38328 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38329 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38330 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38331 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38332 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38333 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38334 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38335 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38336 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38337 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38338 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38339 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38340 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38341 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38342 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38343 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38344 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38345 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38346 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38347 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38348 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38349 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38350 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38351 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38352 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38353 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38354 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38355 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38356 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38357 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38358 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38359 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38360 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38361 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38362 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38363 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38364 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38365 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38366 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38367 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38368 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38369 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38370 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38371 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38372 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38373 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38374 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38375 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38376 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38377 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38378 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38379 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38380 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38381 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38382 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38383 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38384 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38385 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38386 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38387 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
38388 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38389 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38390 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38391 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38392 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38393 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38394 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38395 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38396 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38397 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38398 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38399 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38400 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38401 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38402 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38403 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38404 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38405 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38406 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38407 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38408 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38409 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38410 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38411 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38412 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38413 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38414 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38415 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38416 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38417 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38418 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38419 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38420 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38421 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38422 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38423 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38424 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38425 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38426 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38427 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38428 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38429 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38430 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38431 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38432 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38433 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38434 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38435 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38436 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38437 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38438 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38439 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38440 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38441 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38442 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38443 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38444 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38445 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38446 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38447 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38448 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38449 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38450 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38451 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38452 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38453 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38454 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38455 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38456 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38457 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38458 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38459 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38460 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38461 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38462 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38463 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38464 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38465 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38466 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38467 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38468 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38469 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38470 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38471 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38472 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38473 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38474 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38475 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38476 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38477 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38478 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38479 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38480 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38481 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38482 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38483 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38484 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38485 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38486 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38487 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38488 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38489 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38490 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38491 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38492 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38493 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38494 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38495 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38496 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38497 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38498 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38499 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38500 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38501 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38502 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38503 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38504 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38505 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38506 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38507 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38508 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38509 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38510 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38511 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38512 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38513 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38514 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38515 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38516 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38517 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38518 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38519 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38520 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38521 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38522 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38523 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38524 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38525 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38526 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38527 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38528 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38529 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38530 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38531 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38532 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38533 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38534 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38535 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38536 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38537 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38538 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38539 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38540 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38541 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38542 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38543 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38544 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38545 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38546 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38547 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38548 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38549 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38550 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38551 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38552 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38553 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38554 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38555 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38556 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38557 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38558 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38559 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38560 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38561 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38562 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38563 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38564 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38565 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38566 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38567 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38568 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38569 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38570 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38571 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38572 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38573 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38574 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38575 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38576 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38577 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38578 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38579 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38580 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38581 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38582 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38583 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38584 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38585 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38586 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38587 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38588 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38589 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38590 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38591 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38592 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38593 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38594 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38595 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38596 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38597 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38598 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38599 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38600 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38601 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38602 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38603 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38604 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38605 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38606 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38607 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38608 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38609 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38610 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38611 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38612 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38613 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38614 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38615 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38616 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38617 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38618 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38619 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38620 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38621 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38622 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38623 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38624 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38625 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38626 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38627 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38628 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38629 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38630 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38631 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38632 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38633 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38634 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38635 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38636 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38637 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38638 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38639 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38640 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38641 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38642 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38643 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38644 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38645 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38646 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38647 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38648 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38649 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38650 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38651 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38652 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38653 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38654 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38655 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38656 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38657 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38658 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38659 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38660 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38661 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38662 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38663 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38664 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38665 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38666 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38667 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38668 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38669 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38670 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38671 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38672 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38673 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38674 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38675 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38676 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38677 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38678 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38679 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38680 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38681 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
38682 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
38683 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
38684 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
38685 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
38686 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
38687 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
38688 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
38689 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38690 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38691 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38692 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38693 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38694 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38695 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38696 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38697 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38698 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
38699 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
38700 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
38701 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38702 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
38703 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38704 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38705 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38706 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
38707 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
38708 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
38709 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
38710 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
38711 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
38712 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38713 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38714 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38715 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38716 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38717 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
38718 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
38719 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
38720 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38721 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38722 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38723 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38724 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38725 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38726 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38727 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38728 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38729 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38730 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38731 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38732 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38733 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38734 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38735 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38736 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38737 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38738 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38739 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38740 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38741 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38742 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38743 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38744 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38745 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38746 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38747 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38748 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38749 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38750 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38751 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38752 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38753 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38754 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38755 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38756 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38757 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38758 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38759 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38760 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38761 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38762 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38763 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38764 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38765 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38766 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38767 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38768 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38769 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
38770 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38771 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
38772 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
38773 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
38774 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38775 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38776 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38777 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38778 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38779 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38780 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
38781 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
38782 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
38783 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
38784 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
38785 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38786 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38787 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38788 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38789 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
38790 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
38791 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
38792 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
38793 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38794 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38795 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38796 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38797 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38798 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38799 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38800 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38801 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
38802 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
38803 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
38804 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
38805 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
38806 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
38807 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
38808 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
38809 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
38810 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
38811 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
38812 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
38813 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38814 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38815 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
38816 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38817 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
38818 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38819 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
38820 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38821 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
38822 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
38823 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38824 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38825 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
38826 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
38827 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38828 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38829 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38830 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
38831 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38832 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
38833 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38834 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38835 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
38836 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
38837 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
38838 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
38839 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
38840 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
38841 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
38842 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38843 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38844 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38845 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38846 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38847 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38848 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38849 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
38850 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38851 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
38852 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
38853 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
38854 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38855 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
38856 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
38857 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
38858 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38859 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
38860 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
38861 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
38862 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
38863 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
38864 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
38865 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
38866 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
38867 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38868 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38869 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
38870 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
38871 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
38872 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38873 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
38874 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
38875 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38876 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
38877 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
38878 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38879 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
38880 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
38881 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38882 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38883 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38884 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38885 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
38886 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
38887 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
38888 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
38889 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
38890 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38891 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
38892 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
38893 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
38894 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38895 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38896 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38897 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38898 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38899 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38900 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38901 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38902 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
38903 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
38904 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38905 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
38906 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38907 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38908 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
38909 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
38910 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
38911 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38912 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
38913 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
38914 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38915 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
38916 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
38917 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
38918 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
38919 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
38920 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38921 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
38922 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
38923 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
38924 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38925 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
38926 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
38927 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38928 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
38929 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
38930 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
38931 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
38932 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
38933 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
38934 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
38935 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
38936 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
38937 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
38938 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
38939 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
38940 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
38941 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
38942 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
38943 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
38944 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
38945 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
38946 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
38947 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38948 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38949 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
38950 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38951 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
38952 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38953 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38954 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38955 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38956 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38957 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
38958 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
38959 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
38960 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
38961 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
38962 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
38963 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
38964 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
38965 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38966 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
38967 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
38968 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
38969 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38970 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38971 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38972 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38973 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38974 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38975 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
38976 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38977 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38978 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
38979 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
38980 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
38981 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
38982 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
38983 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
38984 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38985 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38986 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
38987 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38988 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38989 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38990 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38991 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38992 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38993 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
38994 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
38995 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38996 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38997 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
38998 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
38999 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39000 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39001 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39002 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39003 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39004 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39005 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39006 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39007 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39008 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39009 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39010 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39011 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39012 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39013 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39014 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39015 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39016 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39017 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39018 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39019 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39020 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39021 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39022 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39023 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39024 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39025 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39026 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39027 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39028 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39029 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39030 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39031 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39032 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39033 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39034 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39035 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39036 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39037 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39038 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39039 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39040 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39041 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39042 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39043 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39044 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39045 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39046 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39047 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39048 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39049 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39050 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39051 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39052 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39053 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39054 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39055 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39056 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39057 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39058 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39059 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39060 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39061 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39062 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39063 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39064 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39065 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39066 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39067 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39068 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39069 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39070 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39071 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39072 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39073 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39074 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39075 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39076 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39077 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39078 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39079 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39080 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39081 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39082 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39083 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39084 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39085 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39086 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39087 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39088 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39089 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39090 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39091 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39092 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39093 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39094 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39095 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39096 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39097 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39098 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39099 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39100 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39101 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39102 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39103 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39104 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39105 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39106 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39107 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39108 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39109 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39110 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39111 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39112 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39113 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39114 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39115 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39116 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39117 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39118 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39119 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39120 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39121 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39122 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39123 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39124 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39125 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39126 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39127 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39128 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39129 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39130 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39131 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39132 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39133 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39134 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39135 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39136 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39137 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39138 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39139 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39140 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39141 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39142 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39143 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39144 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39145 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39146 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39147 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39148 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39149 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39150 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39151 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39152 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39153 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39154 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39155 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39156 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39157 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39158 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39159 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39160 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39161 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39162 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39163 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39164 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39167 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39168 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39169 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39170 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39171 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39172 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39173 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39174 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39175 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39176 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39177 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39178 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39179 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39180 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39181 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39182 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39183 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39184 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39185 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39186 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39187 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39188 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39189 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39190 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39191 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39192 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39193 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39194 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39195 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39196 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39197 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39198 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39199 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39200 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39201 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39202 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39203 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39204 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39205 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39206 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39207 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39208 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39209 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39210 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39211 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39212 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39213 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39214 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39215 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39216 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39217 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39218 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39219 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39220 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39221 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39222 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39223 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39224 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39225 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39226 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39227 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39228 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39229 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39230 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39231 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39232 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39233 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39234 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39235 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39236 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39237 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39238 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39239 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39240 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39241 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39242 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39243 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39244 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39245 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39246 { NULL
, NULL
, 0, NULL
}
39250 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39252 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39253 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39255 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39256 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39258 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39259 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39261 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
39262 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39264 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
39265 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
39267 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39268 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39270 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39271 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39273 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
39274 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39276 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39277 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39279 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39280 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39282 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39283 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39285 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39286 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39288 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39289 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39291 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39292 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39294 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39295 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39297 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39298 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39300 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39301 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39303 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39304 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39306 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39307 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39309 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39310 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39312 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39313 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39315 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39316 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39318 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39319 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39321 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39322 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39324 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39325 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39327 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39328 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39330 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39331 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39333 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39334 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39336 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39337 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
39339 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39340 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39342 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39343 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39345 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39346 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39348 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39349 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39351 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39352 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39354 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39355 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39357 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39358 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39360 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39361 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39363 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39364 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39366 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39367 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39369 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39370 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39372 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39373 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39375 static void *_p_wxPenTo_p_wxObject(void *x
) {
39376 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39378 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39379 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39381 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39382 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39384 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39385 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39387 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39388 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39390 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39391 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39393 static void *_p_wxIconTo_p_wxObject(void *x
) {
39394 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39396 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39397 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39399 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39400 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39402 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39403 return (void *)((wxObject
*) ((wxSizer
*) x
));
39405 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39406 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39408 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39409 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39411 static void *_p_wxEventTo_p_wxObject(void *x
) {
39412 return (void *)((wxObject
*) ((wxEvent
*) x
));
39414 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39415 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39417 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39418 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39420 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39421 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39423 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39424 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39426 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39427 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39429 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39430 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39432 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39433 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39435 static void *_p_wxDCTo_p_wxObject(void *x
) {
39436 return (void *)((wxObject
*) ((wxDC
*) x
));
39438 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39439 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39441 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39442 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39444 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39445 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39447 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39448 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39450 static void *_p_wxControlTo_p_wxObject(void *x
) {
39451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39453 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39454 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39456 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39457 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39459 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39460 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39462 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39463 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39465 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39466 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
39468 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39469 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39471 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39472 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39474 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39475 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39477 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39478 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39480 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39481 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39483 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39484 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39486 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39487 return (void *)((wxObject
*) ((wxEffects
*) x
));
39489 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39490 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39492 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39493 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39495 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39496 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39498 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39499 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39501 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39502 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39504 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39505 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39507 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39508 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39510 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39511 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39513 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39514 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39516 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39517 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39519 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39520 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39522 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39523 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39525 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39526 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39528 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39529 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39531 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39532 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39534 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39535 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39537 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39538 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39540 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39541 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39543 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39544 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39546 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39547 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39549 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39550 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39552 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39553 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39555 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39556 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39558 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39559 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39561 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39562 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39564 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39565 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39567 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39568 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39570 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39571 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39573 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
39574 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
39576 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39577 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39579 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39580 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39582 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39583 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39585 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39586 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39588 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39589 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39591 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39592 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39594 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39595 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39597 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39598 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39600 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39601 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39603 static void *_p_wxImageTo_p_wxObject(void *x
) {
39604 return (void *)((wxObject
*) ((wxImage
*) x
));
39606 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39607 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39609 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39610 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39612 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39613 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39615 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39616 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39618 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39619 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39621 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39622 return (void *)((wxObject
*) ((wxImageList
*) x
));
39624 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39625 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39627 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39628 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39630 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39631 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39633 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39634 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39636 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39637 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39639 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39640 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39642 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39643 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39645 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39646 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39648 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39649 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39651 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39652 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39654 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39655 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39657 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39658 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39660 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39661 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39663 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39664 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39666 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39667 return (void *)((wxObject
*) ((wxMask
*) x
));
39669 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39670 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39672 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39673 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39675 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39676 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39678 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39679 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39681 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39682 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39684 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39685 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39687 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39688 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39690 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
39691 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39693 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
39694 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
39696 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
39697 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
39699 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
39700 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
39702 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
39703 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39705 static void *_p_wxFontTo_p_wxObject(void *x
) {
39706 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
39708 static void *_p_wxBrushTo_p_wxObject(void *x
) {
39709 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
39711 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
39712 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
39714 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39715 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39717 static void *_p_wxColourTo_p_wxObject(void *x
) {
39718 return (void *)((wxObject
*) ((wxColour
*) x
));
39720 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39721 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39723 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39724 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39726 static void *_p_wxControlTo_p_wxWindow(void *x
) {
39727 return (void *)((wxWindow
*) ((wxControl
*) x
));
39729 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
39730 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
39732 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
39733 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
39735 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
39736 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
39738 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
39739 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
39741 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
39742 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
39743 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
39744 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};
39745 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
39746 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
39747 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
39748 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
39749 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
39750 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
39751 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
39752 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
39753 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
39754 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
39755 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
39756 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
39757 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
39758 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
39759 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
39760 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
39761 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
39762 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
39763 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
39764 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
39765 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
39766 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
39767 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
39768 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
39769 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
39770 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
39771 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
39772 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
39773 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
39774 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
39775 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
39776 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
39777 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
39778 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
39779 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
39780 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
39781 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
39782 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
39783 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
39784 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
39785 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
39786 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
39787 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
39788 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
39789 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
39790 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
39791 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
39792 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
39793 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
39794 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
39795 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
39796 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
39797 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
39798 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
39799 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
39800 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
39801 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
39802 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
39803 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
39804 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
39805 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
39806 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
39807 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
39808 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
39809 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
39810 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
39811 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
39812 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
39813 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
39814 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
39815 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
39816 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
39817 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
39818 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
39819 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
39820 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
39821 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
39822 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
39823 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
39824 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
39825 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
39826 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
39827 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
39828 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
39829 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
39830 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
39831 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
39832 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
39833 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
39834 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
39835 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
39836 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
39837 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
39838 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
39839 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
39840 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
39841 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
39842 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
39843 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
39844 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
39845 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
39846 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
39847 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
39848 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
39849 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
39850 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
39851 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
39852 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
39853 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
39854 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
39855 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
39856 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
39857 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
39858 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
39859 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
39860 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
39861 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
39862 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
39863 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
39864 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
39865 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
39866 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
39867 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
39868 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
39869 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
39870 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
39871 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
39872 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
39873 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
39874 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
39875 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
39876 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
39877 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
39878 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
39879 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
39880 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
39881 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
39882 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
39883 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
39884 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
39885 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
39886 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
39887 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
39888 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
39889 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
39890 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
39891 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
39892 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
39893 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
39894 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
39895 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
39896 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
39897 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
39898 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
39899 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
39900 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
39901 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
39902 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
39903 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
39904 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
39905 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
39906 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
39907 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
39908 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
39909 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
39910 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
39911 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
39913 static swig_type_info
*swig_type_initial
[] = {
39917 &_swigt__p_form_ops_t
,
39919 &_swigt__p_unsigned_char
,
39920 &_swigt__p_unsigned_int
,
39921 &_swigt__p_unsigned_long
,
39923 &_swigt__p_wxANIHandler
,
39924 &_swigt__p_wxAcceleratorTable
,
39925 &_swigt__p_wxActivateEvent
,
39926 &_swigt__p_wxAlphaPixelData
,
39927 &_swigt__p_wxAlphaPixelData_Accessor
,
39928 &_swigt__p_wxAutoBufferedPaintDC
,
39929 &_swigt__p_wxBMPHandler
,
39930 &_swigt__p_wxBitmap
,
39931 &_swigt__p_wxBoxSizer
,
39932 &_swigt__p_wxBrush
,
39933 &_swigt__p_wxBrushList
,
39934 &_swigt__p_wxBufferedDC
,
39935 &_swigt__p_wxBufferedPaintDC
,
39936 &_swigt__p_wxCURHandler
,
39938 &_swigt__p_wxChildFocusEvent
,
39939 &_swigt__p_wxClientDC
,
39940 &_swigt__p_wxClipboardTextEvent
,
39941 &_swigt__p_wxCloseEvent
,
39942 &_swigt__p_wxColor
,
39943 &_swigt__p_wxColour
,
39944 &_swigt__p_wxColourDatabase
,
39945 &_swigt__p_wxCommandEvent
,
39946 &_swigt__p_wxContextMenuEvent
,
39947 &_swigt__p_wxControl
,
39948 &_swigt__p_wxControlWithItems
,
39949 &_swigt__p_wxCursor
,
39951 &_swigt__p_wxDCBrushChanger
,
39952 &_swigt__p_wxDCClipper
,
39953 &_swigt__p_wxDCOverlay
,
39954 &_swigt__p_wxDCPenChanger
,
39955 &_swigt__p_wxDCTextColourChanger
,
39957 &_swigt__p_wxDateEvent
,
39958 &_swigt__p_wxDisplayChangedEvent
,
39959 &_swigt__p_wxDropFilesEvent
,
39960 &_swigt__p_wxDuplexMode
,
39961 &_swigt__p_wxEffects
,
39962 &_swigt__p_wxEncodingConverter
,
39963 &_swigt__p_wxEraseEvent
,
39964 &_swigt__p_wxEvent
,
39965 &_swigt__p_wxEvtHandler
,
39966 &_swigt__p_wxFSFile
,
39967 &_swigt__p_wxFileSystem
,
39968 &_swigt__p_wxFlexGridSizer
,
39969 &_swigt__p_wxFocusEvent
,
39971 &_swigt__p_wxFontList
,
39972 &_swigt__p_wxFontMapper
,
39973 &_swigt__p_wxGBSizerItem
,
39975 &_swigt__p_wxGDIObjListBase
,
39976 &_swigt__p_wxGDIObject
,
39977 &_swigt__p_wxGIFHandler
,
39978 &_swigt__p_wxGraphicsBrush
,
39979 &_swigt__p_wxGraphicsContext
,
39980 &_swigt__p_wxGraphicsFont
,
39981 &_swigt__p_wxGraphicsMatrix
,
39982 &_swigt__p_wxGraphicsObject
,
39983 &_swigt__p_wxGraphicsPath
,
39984 &_swigt__p_wxGraphicsPen
,
39985 &_swigt__p_wxGraphicsRenderer
,
39986 &_swigt__p_wxGridBagSizer
,
39987 &_swigt__p_wxGridSizer
,
39988 &_swigt__p_wxHeaderButtonParams
,
39989 &_swigt__p_wxICOHandler
,
39991 &_swigt__p_wxIconBundle
,
39992 &_swigt__p_wxIconLocation
,
39993 &_swigt__p_wxIconizeEvent
,
39994 &_swigt__p_wxIdleEvent
,
39995 &_swigt__p_wxImage
,
39996 &_swigt__p_wxImageHandler
,
39997 &_swigt__p_wxImageList
,
39998 &_swigt__p_wxIndividualLayoutConstraint
,
39999 &_swigt__p_wxInitDialogEvent
,
40000 &_swigt__p_wxJPEGHandler
,
40001 &_swigt__p_wxKeyEvent
,
40002 &_swigt__p_wxLanguageInfo
,
40003 &_swigt__p_wxLayoutConstraints
,
40004 &_swigt__p_wxLocale
,
40006 &_swigt__p_wxMaximizeEvent
,
40007 &_swigt__p_wxMemoryDC
,
40009 &_swigt__p_wxMenuBar
,
40010 &_swigt__p_wxMenuEvent
,
40011 &_swigt__p_wxMenuItem
,
40012 &_swigt__p_wxMetaFile
,
40013 &_swigt__p_wxMetaFileDC
,
40014 &_swigt__p_wxMirrorDC
,
40015 &_swigt__p_wxMouseCaptureChangedEvent
,
40016 &_swigt__p_wxMouseCaptureLostEvent
,
40017 &_swigt__p_wxMouseEvent
,
40018 &_swigt__p_wxMoveEvent
,
40019 &_swigt__p_wxNativeEncodingInfo
,
40020 &_swigt__p_wxNativeFontInfo
,
40021 &_swigt__p_wxNativePixelData
,
40022 &_swigt__p_wxNativePixelData_Accessor
,
40023 &_swigt__p_wxNavigationKeyEvent
,
40024 &_swigt__p_wxNcPaintEvent
,
40025 &_swigt__p_wxNotifyEvent
,
40026 &_swigt__p_wxObject
,
40027 &_swigt__p_wxOverlay
,
40028 &_swigt__p_wxPCXHandler
,
40029 &_swigt__p_wxPNGHandler
,
40030 &_swigt__p_wxPNMHandler
,
40031 &_swigt__p_wxPaintDC
,
40032 &_swigt__p_wxPaintEvent
,
40033 &_swigt__p_wxPalette
,
40034 &_swigt__p_wxPaletteChangedEvent
,
40035 &_swigt__p_wxPaperSize
,
40037 &_swigt__p_wxPenList
,
40038 &_swigt__p_wxPixelDataBase
,
40039 &_swigt__p_wxPoint
,
40040 &_swigt__p_wxPoint2D
,
40041 &_swigt__p_wxPoint2DDouble
,
40042 &_swigt__p_wxPostScriptDC
,
40043 &_swigt__p_wxPrintData
,
40044 &_swigt__p_wxPrinterDC
,
40045 &_swigt__p_wxPseudoDC
,
40046 &_swigt__p_wxPyApp
,
40047 &_swigt__p_wxPyCommandEvent
,
40048 &_swigt__p_wxPyEvent
,
40049 &_swigt__p_wxPyFontEnumerator
,
40050 &_swigt__p_wxPyImageHandler
,
40051 &_swigt__p_wxPyLocale
,
40052 &_swigt__p_wxPySizer
,
40053 &_swigt__p_wxPyValidator
,
40054 &_swigt__p_wxQueryNewPaletteEvent
,
40056 &_swigt__p_wxRect2DDouble
,
40057 &_swigt__p_wxRegion
,
40058 &_swigt__p_wxRegionIterator
,
40059 &_swigt__p_wxRendererNative
,
40060 &_swigt__p_wxRendererVersion
,
40061 &_swigt__p_wxScreenDC
,
40062 &_swigt__p_wxScrollEvent
,
40063 &_swigt__p_wxScrollWinEvent
,
40064 &_swigt__p_wxSetCursorEvent
,
40065 &_swigt__p_wxShowEvent
,
40067 &_swigt__p_wxSizeEvent
,
40068 &_swigt__p_wxSizer
,
40069 &_swigt__p_wxSizerItem
,
40070 &_swigt__p_wxSplitterRenderParams
,
40071 &_swigt__p_wxStaticBoxSizer
,
40072 &_swigt__p_wxStdDialogButtonSizer
,
40073 &_swigt__p_wxStockGDI
,
40074 &_swigt__p_wxString
,
40075 &_swigt__p_wxSysColourChangedEvent
,
40076 &_swigt__p_wxTGAHandler
,
40077 &_swigt__p_wxTIFFHandler
,
40078 &_swigt__p_wxUpdateUIEvent
,
40079 &_swigt__p_wxValidator
,
40080 &_swigt__p_wxWindow
,
40081 &_swigt__p_wxWindowCreateEvent
,
40082 &_swigt__p_wxWindowDC
,
40083 &_swigt__p_wxWindowDestroyEvent
,
40084 &_swigt__p_wxXPMHandler
,
40087 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40088 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40089 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40090 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40091 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40092 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40093 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40094 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40095 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40096 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40097 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40098 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40099 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40100 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40101 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40102 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}};
40103 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40104 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40105 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}};
40106 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
40107 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40108 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40109 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40110 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}};
40111 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40112 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40113 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40114 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40115 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40116 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40117 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40118 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40119 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40120 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40121 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40122 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40123 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40124 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}};
40125 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}};
40126 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40127 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40128 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40129 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40130 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}};
40131 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40132 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40133 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40134 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40135 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40136 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40137 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40138 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40139 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40140 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40141 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}};
40142 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40143 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}};
40144 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40145 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40146 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40147 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40148 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40149 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40150 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40151 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40152 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40153 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40154 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40155 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40156 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40157 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40158 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40159 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40160 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40161 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40162 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40163 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40164 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40165 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40166 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40167 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40168 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40169 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40170 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40171 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40172 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40173 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40174 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40175 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40176 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40177 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40178 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40179 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40180 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40181 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40182 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40183 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40184 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40185 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40186 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40187 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40188 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40189 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40190 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40191 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40192 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40193 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40194 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40195 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40196 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40197 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40198 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40199 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40200 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40201 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40202 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40203 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40204 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40205 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40206 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40207 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40208 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40209 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40210 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40211 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40212 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40213 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40214 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40215 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40216 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40217 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40218 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40219 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40220 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40221 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40222 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40223 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40224 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40225 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40226 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40227 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40228 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}};
40229 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40230 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40231 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40232 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40233 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40234 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40235 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}};
40236 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40237 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40238 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40239 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40240 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40241 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40242 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40243 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40244 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40245 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40246 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40247 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40248 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40249 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40250 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40251 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40252 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40253 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40254 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40255 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40256 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}};
40257 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxWindowDC
, 0, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxWindowDC
, 0, 0},{0, 0, 0, 0}};
40259 static swig_cast_info
*swig_cast_initial
[] = {
40263 _swigc__p_form_ops_t
,
40265 _swigc__p_unsigned_char
,
40266 _swigc__p_unsigned_int
,
40267 _swigc__p_unsigned_long
,
40269 _swigc__p_wxANIHandler
,
40270 _swigc__p_wxAcceleratorTable
,
40271 _swigc__p_wxActivateEvent
,
40272 _swigc__p_wxAlphaPixelData
,
40273 _swigc__p_wxAlphaPixelData_Accessor
,
40274 _swigc__p_wxAutoBufferedPaintDC
,
40275 _swigc__p_wxBMPHandler
,
40276 _swigc__p_wxBitmap
,
40277 _swigc__p_wxBoxSizer
,
40279 _swigc__p_wxBrushList
,
40280 _swigc__p_wxBufferedDC
,
40281 _swigc__p_wxBufferedPaintDC
,
40282 _swigc__p_wxCURHandler
,
40284 _swigc__p_wxChildFocusEvent
,
40285 _swigc__p_wxClientDC
,
40286 _swigc__p_wxClipboardTextEvent
,
40287 _swigc__p_wxCloseEvent
,
40289 _swigc__p_wxColour
,
40290 _swigc__p_wxColourDatabase
,
40291 _swigc__p_wxCommandEvent
,
40292 _swigc__p_wxContextMenuEvent
,
40293 _swigc__p_wxControl
,
40294 _swigc__p_wxControlWithItems
,
40295 _swigc__p_wxCursor
,
40297 _swigc__p_wxDCBrushChanger
,
40298 _swigc__p_wxDCClipper
,
40299 _swigc__p_wxDCOverlay
,
40300 _swigc__p_wxDCPenChanger
,
40301 _swigc__p_wxDCTextColourChanger
,
40303 _swigc__p_wxDateEvent
,
40304 _swigc__p_wxDisplayChangedEvent
,
40305 _swigc__p_wxDropFilesEvent
,
40306 _swigc__p_wxDuplexMode
,
40307 _swigc__p_wxEffects
,
40308 _swigc__p_wxEncodingConverter
,
40309 _swigc__p_wxEraseEvent
,
40311 _swigc__p_wxEvtHandler
,
40312 _swigc__p_wxFSFile
,
40313 _swigc__p_wxFileSystem
,
40314 _swigc__p_wxFlexGridSizer
,
40315 _swigc__p_wxFocusEvent
,
40317 _swigc__p_wxFontList
,
40318 _swigc__p_wxFontMapper
,
40319 _swigc__p_wxGBSizerItem
,
40321 _swigc__p_wxGDIObjListBase
,
40322 _swigc__p_wxGDIObject
,
40323 _swigc__p_wxGIFHandler
,
40324 _swigc__p_wxGraphicsBrush
,
40325 _swigc__p_wxGraphicsContext
,
40326 _swigc__p_wxGraphicsFont
,
40327 _swigc__p_wxGraphicsMatrix
,
40328 _swigc__p_wxGraphicsObject
,
40329 _swigc__p_wxGraphicsPath
,
40330 _swigc__p_wxGraphicsPen
,
40331 _swigc__p_wxGraphicsRenderer
,
40332 _swigc__p_wxGridBagSizer
,
40333 _swigc__p_wxGridSizer
,
40334 _swigc__p_wxHeaderButtonParams
,
40335 _swigc__p_wxICOHandler
,
40337 _swigc__p_wxIconBundle
,
40338 _swigc__p_wxIconLocation
,
40339 _swigc__p_wxIconizeEvent
,
40340 _swigc__p_wxIdleEvent
,
40342 _swigc__p_wxImageHandler
,
40343 _swigc__p_wxImageList
,
40344 _swigc__p_wxIndividualLayoutConstraint
,
40345 _swigc__p_wxInitDialogEvent
,
40346 _swigc__p_wxJPEGHandler
,
40347 _swigc__p_wxKeyEvent
,
40348 _swigc__p_wxLanguageInfo
,
40349 _swigc__p_wxLayoutConstraints
,
40350 _swigc__p_wxLocale
,
40352 _swigc__p_wxMaximizeEvent
,
40353 _swigc__p_wxMemoryDC
,
40355 _swigc__p_wxMenuBar
,
40356 _swigc__p_wxMenuEvent
,
40357 _swigc__p_wxMenuItem
,
40358 _swigc__p_wxMetaFile
,
40359 _swigc__p_wxMetaFileDC
,
40360 _swigc__p_wxMirrorDC
,
40361 _swigc__p_wxMouseCaptureChangedEvent
,
40362 _swigc__p_wxMouseCaptureLostEvent
,
40363 _swigc__p_wxMouseEvent
,
40364 _swigc__p_wxMoveEvent
,
40365 _swigc__p_wxNativeEncodingInfo
,
40366 _swigc__p_wxNativeFontInfo
,
40367 _swigc__p_wxNativePixelData
,
40368 _swigc__p_wxNativePixelData_Accessor
,
40369 _swigc__p_wxNavigationKeyEvent
,
40370 _swigc__p_wxNcPaintEvent
,
40371 _swigc__p_wxNotifyEvent
,
40372 _swigc__p_wxObject
,
40373 _swigc__p_wxOverlay
,
40374 _swigc__p_wxPCXHandler
,
40375 _swigc__p_wxPNGHandler
,
40376 _swigc__p_wxPNMHandler
,
40377 _swigc__p_wxPaintDC
,
40378 _swigc__p_wxPaintEvent
,
40379 _swigc__p_wxPalette
,
40380 _swigc__p_wxPaletteChangedEvent
,
40381 _swigc__p_wxPaperSize
,
40383 _swigc__p_wxPenList
,
40384 _swigc__p_wxPixelDataBase
,
40386 _swigc__p_wxPoint2D
,
40387 _swigc__p_wxPoint2DDouble
,
40388 _swigc__p_wxPostScriptDC
,
40389 _swigc__p_wxPrintData
,
40390 _swigc__p_wxPrinterDC
,
40391 _swigc__p_wxPseudoDC
,
40393 _swigc__p_wxPyCommandEvent
,
40394 _swigc__p_wxPyEvent
,
40395 _swigc__p_wxPyFontEnumerator
,
40396 _swigc__p_wxPyImageHandler
,
40397 _swigc__p_wxPyLocale
,
40398 _swigc__p_wxPySizer
,
40399 _swigc__p_wxPyValidator
,
40400 _swigc__p_wxQueryNewPaletteEvent
,
40402 _swigc__p_wxRect2DDouble
,
40403 _swigc__p_wxRegion
,
40404 _swigc__p_wxRegionIterator
,
40405 _swigc__p_wxRendererNative
,
40406 _swigc__p_wxRendererVersion
,
40407 _swigc__p_wxScreenDC
,
40408 _swigc__p_wxScrollEvent
,
40409 _swigc__p_wxScrollWinEvent
,
40410 _swigc__p_wxSetCursorEvent
,
40411 _swigc__p_wxShowEvent
,
40413 _swigc__p_wxSizeEvent
,
40415 _swigc__p_wxSizerItem
,
40416 _swigc__p_wxSplitterRenderParams
,
40417 _swigc__p_wxStaticBoxSizer
,
40418 _swigc__p_wxStdDialogButtonSizer
,
40419 _swigc__p_wxStockGDI
,
40420 _swigc__p_wxString
,
40421 _swigc__p_wxSysColourChangedEvent
,
40422 _swigc__p_wxTGAHandler
,
40423 _swigc__p_wxTIFFHandler
,
40424 _swigc__p_wxUpdateUIEvent
,
40425 _swigc__p_wxValidator
,
40426 _swigc__p_wxWindow
,
40427 _swigc__p_wxWindowCreateEvent
,
40428 _swigc__p_wxWindowDC
,
40429 _swigc__p_wxWindowDestroyEvent
,
40430 _swigc__p_wxXPMHandler
,
40434 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40436 static swig_const_info swig_const_table
[] = {
40437 {0, 0, 0, 0.0, 0, 0}};
40442 /* -----------------------------------------------------------------------------
40443 * Type initialization:
40444 * This problem is tough by the requirement that no dynamic
40445 * memory is used. Also, since swig_type_info structures store pointers to
40446 * swig_cast_info structures and swig_cast_info structures store pointers back
40447 * to swig_type_info structures, we need some lookup code at initialization.
40448 * The idea is that swig generates all the structures that are needed.
40449 * The runtime then collects these partially filled structures.
40450 * The SWIG_InitializeModule function takes these initial arrays out of
40451 * swig_module, and does all the lookup, filling in the swig_module.types
40452 * array with the correct data and linking the correct swig_cast_info
40453 * structures together.
40455 * The generated swig_type_info structures are assigned staticly to an initial
40456 * array. We just loop though that array, and handle each type individually.
40457 * First we lookup if this type has been already loaded, and if so, use the
40458 * loaded structure instead of the generated one. Then we have to fill in the
40459 * cast linked list. The cast data is initially stored in something like a
40460 * two-dimensional array. Each row corresponds to a type (there are the same
40461 * number of rows as there are in the swig_type_initial array). Each entry in
40462 * a column is one of the swig_cast_info structures for that type.
40463 * The cast_initial array is actually an array of arrays, because each row has
40464 * a variable number of columns. So to actually build the cast linked list,
40465 * we find the array of casts associated with the type, and loop through it
40466 * adding the casts to the list. The one last trick we need to do is making
40467 * sure the type pointer in the swig_cast_info struct is correct.
40469 * First off, we lookup the cast->type name to see if it is already loaded.
40470 * There are three cases to handle:
40471 * 1) If the cast->type has already been loaded AND the type we are adding
40472 * casting info to has not been loaded (it is in this module), THEN we
40473 * replace the cast->type pointer with the type pointer that has already
40475 * 2) If BOTH types (the one we are adding casting info to, and the
40476 * cast->type) are loaded, THEN the cast info has already been loaded by
40477 * the previous module so we just ignore it.
40478 * 3) Finally, if cast->type has not already been loaded, then we add that
40479 * swig_cast_info to the linked list (because the cast->type) pointer will
40481 * ----------------------------------------------------------------------------- */
40491 #define SWIGRUNTIME_DEBUG
40495 SWIG_InitializeModule(void *clientdata
) {
40497 swig_module_info
*module_head
;
40498 static int init_run
= 0;
40500 clientdata
= clientdata
;
40502 if (init_run
) return;
40505 /* Initialize the swig_module */
40506 swig_module
.type_initial
= swig_type_initial
;
40507 swig_module
.cast_initial
= swig_cast_initial
;
40509 /* Try and load any already created modules */
40510 module_head
= SWIG_GetModule(clientdata
);
40512 swig_module
.next
= module_head
->next
;
40513 module_head
->next
= &swig_module
;
40515 /* This is the first module loaded */
40516 swig_module
.next
= &swig_module
;
40517 SWIG_SetModule(clientdata
, &swig_module
);
40520 /* Now work on filling in swig_module.types */
40521 #ifdef SWIGRUNTIME_DEBUG
40522 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40524 for (i
= 0; i
< swig_module
.size
; ++i
) {
40525 swig_type_info
*type
= 0;
40526 swig_type_info
*ret
;
40527 swig_cast_info
*cast
;
40529 #ifdef SWIGRUNTIME_DEBUG
40530 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40533 /* if there is another module already loaded */
40534 if (swig_module
.next
!= &swig_module
) {
40535 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40538 /* Overwrite clientdata field */
40539 #ifdef SWIGRUNTIME_DEBUG
40540 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40542 if (swig_module
.type_initial
[i
]->clientdata
) {
40543 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40544 #ifdef SWIGRUNTIME_DEBUG
40545 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40549 type
= swig_module
.type_initial
[i
];
40552 /* Insert casting types */
40553 cast
= swig_module
.cast_initial
[i
];
40554 while (cast
->type
) {
40555 /* Don't need to add information already in the list */
40557 #ifdef SWIGRUNTIME_DEBUG
40558 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40560 if (swig_module
.next
!= &swig_module
) {
40561 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40562 #ifdef SWIGRUNTIME_DEBUG
40563 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40567 if (type
== swig_module
.type_initial
[i
]) {
40568 #ifdef SWIGRUNTIME_DEBUG
40569 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40574 /* Check for casting already in the list */
40575 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40576 #ifdef SWIGRUNTIME_DEBUG
40577 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40579 if (!ocast
) ret
= 0;
40584 #ifdef SWIGRUNTIME_DEBUG
40585 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40588 type
->cast
->prev
= cast
;
40589 cast
->next
= type
->cast
;
40595 /* Set entry in modules->types array equal to the type */
40596 swig_module
.types
[i
] = type
;
40598 swig_module
.types
[i
] = 0;
40600 #ifdef SWIGRUNTIME_DEBUG
40601 printf("**** SWIG_InitializeModule: Cast List ******\n");
40602 for (i
= 0; i
< swig_module
.size
; ++i
) {
40604 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40605 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40606 while (cast
->type
) {
40607 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40611 printf("---- Total casts: %d\n",j
);
40613 printf("**** SWIG_InitializeModule: Cast List ******\n");
40617 /* This function will propagate the clientdata field of type to
40618 * any new swig_type_info structures that have been added into the list
40619 * of equivalent types. It is like calling
40620 * SWIG_TypeClientData(type, clientdata) a second time.
40623 SWIG_PropagateClientData(void) {
40625 swig_cast_info
*equiv
;
40626 static int init_run
= 0;
40628 if (init_run
) return;
40631 for (i
= 0; i
< swig_module
.size
; i
++) {
40632 if (swig_module
.types
[i
]->clientdata
) {
40633 equiv
= swig_module
.types
[i
]->cast
;
40635 if (!equiv
->converter
) {
40636 if (equiv
->type
&& !equiv
->type
->clientdata
)
40637 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40639 equiv
= equiv
->next
;
40659 /* Python-specific SWIG API */
40660 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40661 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40662 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40664 /* -----------------------------------------------------------------------------
40665 * global variable support code.
40666 * ----------------------------------------------------------------------------- */
40668 typedef struct swig_globalvar
{
40669 char *name
; /* Name of global variable */
40670 PyObject
*(*get_attr
)(void); /* Return the current value */
40671 int (*set_attr
)(PyObject
*); /* Set the value */
40672 struct swig_globalvar
*next
;
40675 typedef struct swig_varlinkobject
{
40677 swig_globalvar
*vars
;
40678 } swig_varlinkobject
;
40680 SWIGINTERN PyObject
*
40681 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
40682 return PyString_FromString("<Swig global variables>");
40685 SWIGINTERN PyObject
*
40686 swig_varlink_str(swig_varlinkobject
*v
) {
40687 PyObject
*str
= PyString_FromString("(");
40688 swig_globalvar
*var
;
40689 for (var
= v
->vars
; var
; var
=var
->next
) {
40690 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
40691 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
40693 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
40698 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
40699 PyObject
*str
= swig_varlink_str(v
);
40700 fprintf(fp
,"Swig global variables ");
40701 fprintf(fp
,"%s\n", PyString_AsString(str
));
40707 swig_varlink_dealloc(swig_varlinkobject
*v
) {
40708 swig_globalvar
*var
= v
->vars
;
40710 swig_globalvar
*n
= var
->next
;
40717 SWIGINTERN PyObject
*
40718 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
40719 PyObject
*res
= NULL
;
40720 swig_globalvar
*var
= v
->vars
;
40722 if (strcmp(var
->name
,n
) == 0) {
40723 res
= (*var
->get_attr
)();
40728 if (res
== NULL
&& !PyErr_Occurred()) {
40729 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40735 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
40737 swig_globalvar
*var
= v
->vars
;
40739 if (strcmp(var
->name
,n
) == 0) {
40740 res
= (*var
->set_attr
)(p
);
40745 if (res
== 1 && !PyErr_Occurred()) {
40746 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40751 SWIGINTERN PyTypeObject
*
40752 swig_varlink_type(void) {
40753 static char varlink__doc__
[] = "Swig var link object";
40754 static PyTypeObject varlink_type
;
40755 static int type_init
= 0;
40757 const PyTypeObject tmp
40759 PyObject_HEAD_INIT(NULL
)
40760 0, /* Number of items in variable part (ob_size) */
40761 (char *)"swigvarlink", /* Type name (tp_name) */
40762 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
40763 0, /* Itemsize (tp_itemsize) */
40764 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
40765 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
40766 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
40767 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
40768 0, /* tp_compare */
40769 (reprfunc
) swig_varlink_repr
, /* tp_repr */
40770 0, /* tp_as_number */
40771 0, /* tp_as_sequence */
40772 0, /* tp_as_mapping */
40775 (reprfunc
)swig_varlink_str
, /* tp_str */
40776 0, /* tp_getattro */
40777 0, /* tp_setattro */
40778 0, /* tp_as_buffer */
40780 varlink__doc__
, /* tp_doc */
40781 0, /* tp_traverse */
40783 0, /* tp_richcompare */
40784 0, /* tp_weaklistoffset */
40785 #if PY_VERSION_HEX >= 0x02020000
40786 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
40788 #if PY_VERSION_HEX >= 0x02030000
40791 #ifdef COUNT_ALLOCS
40792 0,0,0,0 /* tp_alloc -> tp_next */
40795 varlink_type
= tmp
;
40796 varlink_type
.ob_type
= &PyType_Type
;
40799 return &varlink_type
;
40802 /* Create a variable linking object for use later */
40803 SWIGINTERN PyObject
*
40804 SWIG_Python_newvarlink(void) {
40805 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
40809 return ((PyObject
*) result
);
40813 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
40814 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
40815 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
40817 size_t size
= strlen(name
)+1;
40818 gv
->name
= (char *)malloc(size
);
40820 strncpy(gv
->name
,name
,size
);
40821 gv
->get_attr
= get_attr
;
40822 gv
->set_attr
= set_attr
;
40823 gv
->next
= v
->vars
;
40829 SWIGINTERN PyObject
*
40831 static PyObject
*_SWIG_globals
= 0;
40832 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
40833 return _SWIG_globals
;
40836 /* -----------------------------------------------------------------------------
40837 * constants/methods manipulation
40838 * ----------------------------------------------------------------------------- */
40840 /* Install Constants */
40842 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
40845 for (i
= 0; constants
[i
].type
; ++i
) {
40846 switch(constants
[i
].type
) {
40847 case SWIG_PY_POINTER
:
40848 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
40850 case SWIG_PY_BINARY
:
40851 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
40858 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
40864 /* -----------------------------------------------------------------------------*/
40865 /* Fix SwigMethods to carry the callback ptrs when needed */
40866 /* -----------------------------------------------------------------------------*/
40869 SWIG_Python_FixMethods(PyMethodDef
*methods
,
40870 swig_const_info
*const_table
,
40871 swig_type_info
**types
,
40872 swig_type_info
**types_initial
) {
40874 for (i
= 0; methods
[i
].ml_name
; ++i
) {
40875 const char *c
= methods
[i
].ml_doc
;
40876 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
40878 swig_const_info
*ci
= 0;
40879 const char *name
= c
+ 10;
40880 for (j
= 0; const_table
[j
].type
; ++j
) {
40881 if (strncmp(const_table
[j
].name
, name
,
40882 strlen(const_table
[j
].name
)) == 0) {
40883 ci
= &(const_table
[j
]);
40888 size_t shift
= (ci
->ptype
) - types
;
40889 swig_type_info
*ty
= types_initial
[shift
];
40890 size_t ldoc
= (c
- methods
[i
].ml_doc
);
40891 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
40892 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
40895 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
40897 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
40899 strncpy(buff
, "swig_ptr: ", 10);
40901 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
40902 methods
[i
].ml_doc
= ndoc
;
40914 /* -----------------------------------------------------------------------------*
40915 * Partial Init method
40916 * -----------------------------------------------------------------------------*/
40921 SWIGEXPORT
void SWIG_init(void) {
40924 /* Fix SwigMethods to carry the callback ptrs when needed */
40925 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
40927 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
40928 d
= PyModule_GetDict(m
);
40930 SWIG_InitializeModule(0);
40931 SWIG_InstallConstants(d
,swig_const_table
);
40934 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
40935 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
40936 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
40937 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
40938 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
40939 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
40940 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
40941 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
40942 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
40943 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
40944 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
40945 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
40946 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
40947 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
40948 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
40949 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
40950 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
40951 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
40952 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
40953 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
40954 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
40955 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
40956 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
40957 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
40958 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
40959 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
40960 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
40961 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
40962 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
40963 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
40964 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
40965 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
40966 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
40967 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
40968 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
40969 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
40970 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
40971 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
40972 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
40973 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
40974 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
40975 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
40976 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
40977 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
40978 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
40979 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
40980 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
40981 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
40982 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
40983 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
40984 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
40985 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
40986 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
40987 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
40988 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
40989 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
40990 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
40991 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
40992 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
40993 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
40994 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
40995 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
40996 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
40997 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
40998 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
40999 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41000 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41001 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41002 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41003 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41004 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41005 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41006 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41007 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41008 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41009 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41010 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41011 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41012 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41013 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41014 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41015 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41016 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41017 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41018 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41019 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41020 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41021 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41022 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41023 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41024 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41025 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41026 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41027 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41028 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41029 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41030 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41031 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41032 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41033 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41034 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41035 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41036 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41037 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41038 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41039 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41040 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41041 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41042 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41043 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41044 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41045 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41046 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41047 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41048 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41049 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41050 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41051 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41052 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41053 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41054 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41055 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41056 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41057 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41058 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41059 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41060 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41061 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41062 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41063 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41064 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41065 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41067 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41069 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41070 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41071 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41072 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41073 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41074 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41075 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41076 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41077 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41078 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41079 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41080 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41081 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41082 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41083 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41084 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41085 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41086 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41087 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41088 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41089 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41090 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41091 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41092 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41093 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41094 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41095 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41096 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41097 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41098 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41099 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41100 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41101 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41102 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41103 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41104 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41105 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41106 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41107 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41108 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41109 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41110 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41111 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41112 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41113 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41114 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41115 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41116 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41117 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41118 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41119 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41120 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41121 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41122 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41123 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41124 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41125 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41126 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41127 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41128 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41129 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41130 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41131 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41132 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41133 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41134 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41135 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41136 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41137 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41138 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41139 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41140 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41141 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41142 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41143 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41144 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41145 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41146 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41147 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41148 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41149 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41150 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41151 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41152 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41153 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41154 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41155 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41156 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41157 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41158 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41159 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41160 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41161 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41162 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41163 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41164 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41165 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41166 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41167 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41168 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41169 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41170 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41171 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41172 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41173 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41174 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41175 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41176 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41177 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41178 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41179 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41180 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41181 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41182 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41183 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41184 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41185 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41186 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41187 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41188 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41189 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41190 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41191 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41192 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41193 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41194 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41195 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41196 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41197 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41198 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41199 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41200 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41201 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41202 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41203 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41204 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41205 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41206 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41207 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41208 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41209 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41210 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41211 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41212 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41213 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41214 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41215 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41216 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41217 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41218 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41219 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41220 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41221 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41222 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41223 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41224 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41225 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41226 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41227 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41228 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41229 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41230 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41231 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41232 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41233 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41234 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41235 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41236 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41237 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41238 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41239 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41240 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41241 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41242 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41243 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41244 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41245 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41246 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41247 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41248 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41249 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41250 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41251 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41252 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41253 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41254 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41255 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41256 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41257 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41258 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41259 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41260 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41261 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41262 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41263 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41264 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41265 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41266 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41267 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41268 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41269 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41270 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41271 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41272 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41273 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41274 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41275 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41276 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41277 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41278 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41279 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41280 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41281 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41282 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41283 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41284 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41285 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41286 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41287 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41288 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41289 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41290 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41291 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41292 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41293 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41294 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41295 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41296 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41297 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41298 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41299 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41300 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41301 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41302 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41303 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41304 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41305 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41306 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41307 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41308 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41309 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41310 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41311 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41312 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41313 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41314 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41315 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41316 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41317 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41318 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41319 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41320 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41321 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41322 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41323 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41324 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41325 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41326 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41327 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41328 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41329 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41330 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41331 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41332 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41333 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41334 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41335 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41336 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41337 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41338 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41339 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41340 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41341 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41342 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41343 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41344 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41345 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41346 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41347 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41348 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41349 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41350 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41351 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41352 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41353 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41354 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41355 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41356 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41357 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41358 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41359 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41360 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41361 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41362 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41363 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41364 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41365 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41366 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41367 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41368 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41369 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41370 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41371 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41372 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41373 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41374 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41375 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41376 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41377 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41378 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41379 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41380 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41381 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41382 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41383 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41384 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41385 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41386 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41387 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41388 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41389 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41390 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41391 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41392 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41394 // Work around a chicken/egg problem in drawlist.cpp
41395 wxPyDrawList_SetAPIPtr();