1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColor swig_types[28]
2495 #define SWIGTYPE_p_wxColour swig_types[29]
2496 #define SWIGTYPE_p_wxColourDatabase swig_types[30]
2497 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2498 #define SWIGTYPE_p_wxContextMenuEvent swig_types[32]
2499 #define SWIGTYPE_p_wxControl swig_types[33]
2500 #define SWIGTYPE_p_wxControlWithItems swig_types[34]
2501 #define SWIGTYPE_p_wxCursor swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDCBrushChanger swig_types[37]
2504 #define SWIGTYPE_p_wxDCClipper swig_types[38]
2505 #define SWIGTYPE_p_wxDCOverlay swig_types[39]
2506 #define SWIGTYPE_p_wxDCPenChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[41]
2508 #define SWIGTYPE_p_wxDash swig_types[42]
2509 #define SWIGTYPE_p_wxDateEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2513 #define SWIGTYPE_p_wxEffects swig_types[47]
2514 #define SWIGTYPE_p_wxEncodingConverter swig_types[48]
2515 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
2518 #define SWIGTYPE_p_wxFSFile swig_types[52]
2519 #define SWIGTYPE_p_wxFileSystem swig_types[53]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[55]
2522 #define SWIGTYPE_p_wxFont swig_types[56]
2523 #define SWIGTYPE_p_wxFontList swig_types[57]
2524 #define SWIGTYPE_p_wxFontMapper swig_types[58]
2525 #define SWIGTYPE_p_wxGBSizerItem swig_types[59]
2526 #define SWIGTYPE_p_wxGCDC swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObjListBase swig_types[61]
2528 #define SWIGTYPE_p_wxGDIObject swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsBrush swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsContext swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsFont swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsObject swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPath swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsPen swig_types[70]
2537 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[71]
2538 #define SWIGTYPE_p_wxGridBagSizer swig_types[72]
2539 #define SWIGTYPE_p_wxGridSizer swig_types[73]
2540 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconBundle swig_types[77]
2544 #define SWIGTYPE_p_wxIconLocation swig_types[78]
2545 #define SWIGTYPE_p_wxIconizeEvent swig_types[79]
2546 #define SWIGTYPE_p_wxIdleEvent swig_types[80]
2547 #define SWIGTYPE_p_wxImage swig_types[81]
2548 #define SWIGTYPE_p_wxImageHandler swig_types[82]
2549 #define SWIGTYPE_p_wxImageList swig_types[83]
2550 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[84]
2551 #define SWIGTYPE_p_wxInitDialogEvent swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLanguageInfo swig_types[88]
2555 #define SWIGTYPE_p_wxLayoutConstraints swig_types[89]
2556 #define SWIGTYPE_p_wxLocale swig_types[90]
2557 #define SWIGTYPE_p_wxMask swig_types[91]
2558 #define SWIGTYPE_p_wxMaximizeEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMemoryDC swig_types[93]
2560 #define SWIGTYPE_p_wxMenu swig_types[94]
2561 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2562 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFile swig_types[98]
2565 #define SWIGTYPE_p_wxMetaFileDC swig_types[99]
2566 #define SWIGTYPE_p_wxMirrorDC swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativeFontInfo swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData swig_types[107]
2574 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[108]
2575 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNcPaintEvent swig_types[110]
2577 #define SWIGTYPE_p_wxNotifyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxObject swig_types[112]
2579 #define SWIGTYPE_p_wxOverlay swig_types[113]
2580 #define SWIGTYPE_p_wxPCXHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNGHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPNMHandler swig_types[116]
2583 #define SWIGTYPE_p_wxPaintDC swig_types[117]
2584 #define SWIGTYPE_p_wxPaintEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPalette swig_types[119]
2586 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPaperSize swig_types[121]
2588 #define SWIGTYPE_p_wxPen swig_types[122]
2589 #define SWIGTYPE_p_wxPenList swig_types[123]
2590 #define SWIGTYPE_p_wxPixelDataBase swig_types[124]
2591 #define SWIGTYPE_p_wxPoint swig_types[125]
2592 #define SWIGTYPE_p_wxPoint2D swig_types[126]
2593 #define SWIGTYPE_p_wxPoint2DDouble swig_types[127]
2594 #define SWIGTYPE_p_wxPostScriptDC swig_types[128]
2595 #define SWIGTYPE_p_wxPrintData swig_types[129]
2596 #define SWIGTYPE_p_wxPrinterDC swig_types[130]
2597 #define SWIGTYPE_p_wxPseudoDC swig_types[131]
2598 #define SWIGTYPE_p_wxPyApp swig_types[132]
2599 #define SWIGTYPE_p_wxPyCommandEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyEvent swig_types[134]
2601 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[135]
2602 #define SWIGTYPE_p_wxPyImageHandler swig_types[136]
2603 #define SWIGTYPE_p_wxPyLocale swig_types[137]
2604 #define SWIGTYPE_p_wxPySizer swig_types[138]
2605 #define SWIGTYPE_p_wxPyValidator swig_types[139]
2606 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[140]
2607 #define SWIGTYPE_p_wxRect swig_types[141]
2608 #define SWIGTYPE_p_wxRect2DDouble swig_types[142]
2609 #define SWIGTYPE_p_wxRegion swig_types[143]
2610 #define SWIGTYPE_p_wxRegionIterator swig_types[144]
2611 #define SWIGTYPE_p_wxRendererNative swig_types[145]
2612 #define SWIGTYPE_p_wxRendererVersion swig_types[146]
2613 #define SWIGTYPE_p_wxScreenDC swig_types[147]
2614 #define SWIGTYPE_p_wxScrollEvent swig_types[148]
2615 #define SWIGTYPE_p_wxScrollWinEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSetCursorEvent swig_types[150]
2617 #define SWIGTYPE_p_wxShowEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSize swig_types[152]
2619 #define SWIGTYPE_p_wxSizeEvent swig_types[153]
2620 #define SWIGTYPE_p_wxSizer swig_types[154]
2621 #define SWIGTYPE_p_wxSizerItem swig_types[155]
2622 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[156]
2623 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[158]
2625 #define SWIGTYPE_p_wxStockGDI swig_types[159]
2626 #define SWIGTYPE_p_wxString swig_types[160]
2627 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTGAHandler swig_types[162]
2629 #define SWIGTYPE_p_wxTIFFHandler swig_types[163]
2630 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[164]
2631 #define SWIGTYPE_p_wxValidator swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDC swig_types[168]
2635 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[169]
2636 #define SWIGTYPE_p_wxXPMHandler swig_types[170]
2637 static swig_type_info
*swig_types
[172];
2638 static swig_module_info swig_module
= {swig_types
, 171, 0, 0, 0, 0};
2639 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2642 /* -------- TYPES TABLE (END) -------- */
2644 #if (PY_VERSION_HEX <= 0x02000000)
2645 # if !defined(SWIG_PYTHON_CLASSIC)
2646 # error "This python version requires to use swig with the '-classic' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodern' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodernargs' option"
2656 # error "This python version requires to use swig with the '-nofastunpack' option"
2659 /*-----------------------------------------------
2660 @(target):= _gdi_.so
2661 ------------------------------------------------*/
2662 #define SWIG_init init_gdi_
2664 #define SWIG_name "_gdi_"
2666 #define SWIGVERSION 0x010329
2669 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2673 #include <stdexcept>
2677 class PyObject_ptr
{
2682 PyObject_ptr() :_obj(0)
2686 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2691 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2693 if (initial_ref
) Py_XINCREF(_obj
);
2696 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2698 Py_XINCREF(item
._obj
);
2709 operator PyObject
*() const
2714 PyObject
*operator->() const
2723 struct PyObject_var
: PyObject_ptr
{
2724 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2726 PyObject_var
& operator = (PyObject
* obj
)
2736 #include "wx/wxPython/wxPython.h"
2737 #include "wx/wxPython/pyclasses.h"
2740 static const wxString
wxPyEmptyString(wxEmptyString
);
2742 #define SWIG_From_long PyInt_FromLong
2745 SWIGINTERNINLINE PyObject
*
2746 SWIG_From_int (int value
)
2748 return SWIG_From_long (value
);
2754 # define LLONG_MIN LONG_LONG_MIN
2757 # define LLONG_MAX LONG_LONG_MAX
2760 # define ULLONG_MAX ULONG_LONG_MAX
2765 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2767 if (PyNumber_Check(obj
)) {
2768 if (val
) *val
= PyInt_AsLong(obj
);
2771 return SWIG_TypeError
;
2776 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2779 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2780 return SWIG_TypeError
;
2783 *val
= (unsigned long)v
;
2789 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2792 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2793 if (SWIG_IsOK(res
)) {
2794 if ((v
> UCHAR_MAX
)) {
2795 return SWIG_OverflowError
;
2797 if (val
) *val
= static_cast< unsigned char >(v
);
2804 SWIGINTERNINLINE PyObject
*
2805 SWIG_From_unsigned_SS_long (unsigned long value
)
2807 return (value
> LONG_MAX
) ?
2808 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2812 SWIGINTERNINLINE PyObject
*
2813 SWIG_From_unsigned_SS_char (unsigned char value
)
2815 return SWIG_From_unsigned_SS_long (value
);
2818 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2819 wxColour temp
, *obj
= &temp
;
2820 if ( other
== Py_None
) return false;
2821 if ( ! wxColour_helper(other
, &obj
) ) {
2825 return self
->operator==(*obj
);
2827 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2828 wxColour temp
, *obj
= &temp
;
2829 if ( other
== Py_None
) return true;
2830 if ( ! wxColour_helper(other
, &obj
)) {
2834 return self
->operator!=(*obj
);
2838 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2840 if (obj
== Py_True
) {
2841 if (val
) *val
= true;
2843 } else if (obj
== Py_False
) {
2844 if (val
) *val
= false;
2848 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2849 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2854 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2855 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2859 int alpha
= wxALPHA_OPAQUE
;
2862 green
= self
->Green();
2863 blue
= self
->Blue();
2864 alpha
= self
->Alpha();
2866 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2867 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2868 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2870 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2873 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2874 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2878 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2881 int res
= SWIG_AsVal_long (obj
, &v
);
2882 if (SWIG_IsOK(res
)) {
2883 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2884 return SWIG_OverflowError
;
2886 if (val
) *val
= static_cast< int >(v
);
2892 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2894 int count
= self
->GetDashes(&dashes
);
2895 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2896 PyObject
* retval
= PyList_New(0);
2897 for (int x
=0; x
<count
; x
++) {
2898 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2899 PyList_Append(retval
, pyint
);
2902 wxPyEndBlockThreads(blocked
);
2905 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2906 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2907 int size
= PyList_Size(pyDashes
);
2908 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2910 // black magic warning! The array of wxDashes needs to exist as
2911 // long as the pen does because wxPen does not copy the array. So
2912 // stick a copy in a Python string object and attach it to _self,
2913 // and then call SetDashes with a pointer to that array. Then
2914 // when the Python pen object is destroyed the array will be
2916 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2917 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2919 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2921 Py_DECREF(strDashes
);
2922 wxPyEndBlockThreads(blocked
);
2924 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2925 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2927 SWIGINTERNINLINE PyObject
*
2928 SWIG_From_short (short value
)
2930 return SWIG_From_long (value
);
2935 SWIG_AsVal_short (PyObject
* obj
, short *val
)
2938 int res
= SWIG_AsVal_long (obj
, &v
);
2939 if (SWIG_IsOK(res
)) {
2940 if ((v
< SHRT_MIN
|| v
> SHRT_MAX
)) {
2941 return SWIG_OverflowError
;
2943 if (val
) *val
= static_cast< short >(v
);
2950 #include <wx/rawbmp.h>
2953 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2954 // appears to me that the other platforms are already doing it, so I'll just
2955 // automatically do it for wxMSW here.
2957 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2958 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2960 #define wxPy_premultiply(p, a) (p)
2961 #define wxPy_unpremultiply(p, a) (p)
2965 #include <wx/image.h>
2967 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2968 char** cArray
= NULL
;
2971 if (!PyList_Check(listOfStrings
)) {
2972 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2975 count
= PyList_Size(listOfStrings
);
2976 cArray
= new char*[count
];
2978 for(int x
=0; x
<count
; x
++) {
2979 // TODO: Need some validation and error checking here
2980 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2986 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2987 char** cArray
= NULL
;
2990 cArray
= ConvertListOfStrings(listOfStrings
);
2993 bmp
= new wxBitmap(cArray
);
2997 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
3000 PyString_AsStringAndSize(bits
, &buf
, &length
);
3001 return new wxBitmap(buf
, width
, height
, depth
);
3003 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
3004 wxSize
size(self
->GetWidth(), self
->GetHeight());
3007 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
3008 wxMask
*mask
= new wxMask(*self
, colour
);
3009 self
->SetMask(mask
);
3011 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
3012 self
->SetWidth(size
.x
);
3013 self
->SetHeight(size
.y
);
3015 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
3016 int height
=self
->GetHeight();
3017 int width
=self
->GetWidth();
3019 if (DATASIZE
!= width
* height
* 3) {
3020 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3022 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3024 // raise an exception...
3025 wxPyErr_SetString(PyExc_RuntimeError
,
3026 "Failed to gain raw access to bitmap data.");
3030 wxNativePixelData::Iterator
p(pixData
);
3031 for (int y
=0; y
<height
; y
++) {
3032 wxNativePixelData::Iterator rowStart
= p
;
3033 for (int x
=0; x
<width
; x
++) {
3034 p
.Red() = *(data
++);
3035 p
.Green() = *(data
++);
3036 p
.Blue() = *(data
++);
3040 p
.OffsetY(pixData
, 1);
3043 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3044 int height
=self
->GetHeight();
3045 int width
=self
->GetWidth();
3047 if (DATASIZE
!= width
* height
* 4) {
3048 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3050 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3052 // raise an exception...
3053 wxPyErr_SetString(PyExc_RuntimeError
,
3054 "Failed to gain raw access to bitmap data.");
3059 wxAlphaPixelData::Iterator
p(pixData
);
3060 for (int y
=0; y
<height
; y
++) {
3061 wxAlphaPixelData::Iterator rowStart
= p
;
3062 for (int x
=0; x
<width
; x
++) {
3064 p
.Red() = wxPy_premultiply(*(data
++), a
);
3065 p
.Green() = wxPy_premultiply(*(data
++), a
);
3066 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3067 p
.Alpha() = a
; data
++;
3071 p
.OffsetY(pixData
, 1);
3074 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3075 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3077 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3078 buffer data
, int DATASIZE
,
3079 buffer alpha
, int ALPHASIZE
)
3081 if (DATASIZE
!= width
*height
*3) {
3082 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3086 if (ALPHASIZE
!= width
*height
) {
3087 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3091 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3092 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3094 // raise an exception...
3095 wxPyErr_SetString(PyExc_RuntimeError
,
3096 "Failed to gain raw access to bitmap data.");
3101 wxAlphaPixelData::Iterator
p(pixData
);
3102 for (int y
=0; y
<height
; y
++) {
3103 wxAlphaPixelData::Iterator rowStart
= p
;
3104 for (int x
=0; x
<width
; x
++) {
3105 byte a
= *(alpha
++);
3106 p
.Red() = wxPy_premultiply(*(data
++), a
);
3107 p
.Green() = wxPy_premultiply(*(data
++), a
);
3108 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3113 p
.OffsetY(pixData
, 1);
3118 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3120 if (DATASIZE
!= width
*height
*3) {
3121 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3125 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3126 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3128 // raise an exception...
3129 wxPyErr_SetString(PyExc_RuntimeError
,
3130 "Failed to gain raw access to bitmap data.");
3134 wxNativePixelData::Iterator
p(pixData
);
3135 for (int y
=0; y
<height
; y
++) {
3136 wxNativePixelData::Iterator rowStart
= p
;
3137 for (int x
=0; x
<width
; x
++) {
3138 p
.Red() = *(data
++);
3139 p
.Green() = *(data
++);
3140 p
.Blue() = *(data
++);
3144 p
.OffsetY(pixData
, 1);
3150 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3152 if (DATASIZE
!= width
*height
*4) {
3153 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3157 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3158 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3160 // raise an exception...
3161 wxPyErr_SetString(PyExc_RuntimeError
,
3162 "Failed to gain raw access to bitmap data.");
3167 wxAlphaPixelData::Iterator
p(pixData
);
3168 for (int y
=0; y
<height
; y
++) {
3169 wxAlphaPixelData::Iterator rowStart
= p
;
3170 for (int x
=0; x
<width
; x
++) {
3172 p
.Red() = wxPy_premultiply(*(data
++), a
);
3173 p
.Green() = wxPy_premultiply(*(data
++), a
);
3174 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3175 p
.Alpha() = a
; data
++;
3179 p
.OffsetY(pixData
, 1);
3185 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3187 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3188 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3189 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3191 self
->Green() = green
;
3192 self
->Blue() = blue
;
3194 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3195 PyObject
* rv
= PyTuple_New(3);
3196 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3197 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3198 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3202 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3204 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3205 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3206 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3207 self
->Red() = wxPy_premultiply(red
, alpha
);
3208 self
->Green() = wxPy_premultiply(green
, alpha
);
3209 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3210 self
->Alpha() = alpha
;
3212 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3213 PyObject
* rv
= PyTuple_New(4);
3214 int red
= self
->Red();
3215 int green
= self
->Green();
3216 int blue
= self
->Blue();
3217 int alpha
= self
->Alpha();
3219 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3220 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3221 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3222 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3225 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3226 if ( !colour
.IsOk() )
3227 return new wxMask(bitmap
, *wxBLACK
);
3229 return new wxMask(bitmap
, colour
);
3232 #include <wx/iconbndl.h>
3234 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3235 wxIcon
* icon
= new wxIcon();
3236 icon
->CopyFromBitmap(bmp
);
3239 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3240 char** cArray
= NULL
;
3243 cArray
= ConvertListOfStrings(listOfStrings
);
3246 icon
= new wxIcon(cArray
);
3250 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3254 return new wxIconLocation(*filename
);
3257 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3264 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3271 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3273 wxImage
img(cursorName
, type
);
3274 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3275 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3276 return new wxCursor(img
);
3278 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3283 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3286 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3287 return self
->operator bool();
3290 #include <wx/fontutil.h>
3291 #include <wx/fontmap.h>
3292 #include <wx/fontenum.h>
3294 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3295 return self
->ToString();
3298 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3299 static wxNativeEncodingInfo info
;
3300 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3307 SWIGINTERNINLINE PyObject
*
3308 SWIG_From_size_t (size_t value
)
3310 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3314 SWIGINTERNINLINE
int
3315 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3318 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3319 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3323 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3324 wxFontEncoding alt_enc
;
3325 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3326 return PyInt_FromLong(alt_enc
);
3332 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3333 wxNativeFontInfo nfi
;
3334 nfi
.FromString(info
);
3335 return new wxFont(nfi
);
3337 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3338 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3340 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3341 return wxFontBase::New(pixelSize
, family
,
3342 style
, weight
, underlined
,
3345 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3346 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3348 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3349 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3351 class wxPyFontEnumerator
: public wxFontEnumerator
{
3353 wxPyFontEnumerator() {}
3354 ~wxPyFontEnumerator() {}
3356 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3357 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3362 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3363 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3366 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3368 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3369 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3370 ret
= wxArrayString2PyList_helper(arr
);
3371 wxPyEndBlockThreads(blocked
);
3374 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3376 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3377 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3378 ret
= wxArrayString2PyList_helper(arr
);
3379 wxPyEndBlockThreads(blocked
);
3385 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3388 loc
= new wxLocale();
3390 loc
= new wxLocale(language
, flags
);
3391 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3392 // for the floating point conversions and such to work right.
3393 #if PY_VERSION_HEX < 0x02040000
3394 setlocale(LC_NUMERIC
, "C");
3398 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3399 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3400 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3401 // for the floating point conversions and such to work right.
3402 #if PY_VERSION_HEX < 0x02040000
3403 setlocale(LC_NUMERIC
, "C");
3407 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3408 bool rc
= self
->Init(language
, flags
);
3409 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3410 // for the floating point conversions and such to work right.
3411 #if PY_VERSION_HEX < 0x02040000
3412 setlocale(LC_NUMERIC
, "C");
3417 class wxPyLocale
: public wxLocale
3422 wxPyLocale(const wxChar
*szName
, // name (for messages)
3423 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3424 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3425 bool bLoadDefault
= true, // preload wxstd.mo?
3426 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3428 wxPyLocale(int language
, // wxLanguage id or custom language
3429 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3433 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3434 const wxChar
*szDomain
= NULL
) const;
3435 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3436 const wxChar
*szOrigString2
, size_t n
,
3437 const wxChar
*szDomain
= NULL
) const;
3439 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3440 const wxChar
*szDomain
= NULL
) const;
3441 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3442 const wxChar
*szOrigString2
, size_t n
,
3443 const wxChar
*szDomain
= NULL
) const;
3447 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3450 wxPyLocale::wxPyLocale() : wxLocale()
3454 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3455 const wxChar
*szShort
, // dir prefix (for msg files)
3456 const wxChar
*szLocale
, // locale (for setlocale)
3457 bool bLoadDefault
, // preload wxstd.mo?
3458 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3459 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3463 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3464 int flags
) : wxLocale(language
, flags
)
3468 wxPyLocale::~wxPyLocale()
3472 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3473 const wxChar
*szDomain
) const
3475 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3476 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3479 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3480 const wxChar
*szOrigString2
, size_t n
,
3481 const wxChar
*szDomain
) const
3483 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3484 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3487 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3488 const wxChar
*szDomain
) const
3491 static wxString str
;
3492 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3493 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3494 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3495 PyObject
* param1
= wx2PyString(szOrigString
);
3496 PyObject
* param2
= wx2PyString(szDomain
);
3497 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3501 str
= Py2wxString(ret
);
3505 wxPyEndBlockThreads(blocked
);
3506 return (found
? (wxChar
*)str
.c_str() : NULL
);
3509 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3510 const wxChar
*szOrigString2
, size_t n
,
3511 const wxChar
*szDomain
) const
3514 static wxString str
;
3515 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3516 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3517 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3518 PyObject
* param1
= wx2PyString(szOrigString
);
3519 PyObject
* param2
= wx2PyString(szOrigString2
);
3520 PyObject
* param4
= wx2PyString(szDomain
);
3521 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3526 str
= Py2wxString(ret
);
3530 wxPyEndBlockThreads(blocked
);
3531 return (found
? (wxChar
*)str
.c_str() : NULL
);
3534 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3537 loc
= new wxPyLocale();
3539 loc
= new wxPyLocale(language
, flags
);
3540 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3541 // for the floating point conversions and such to work right.
3542 #if PY_VERSION_HEX < 0x02040000
3543 setlocale(LC_NUMERIC
, "C");
3548 #include "wx/wxPython/pydrawxxx.h"
3550 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3552 self
->GetPixel(x
, y
, &col
);
3555 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3557 self
->GetPixel(pt
, &col
);
3562 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3564 if (PyNumber_Check(obj
)) {
3565 if (val
) *val
= PyFloat_AsDouble(obj
);
3568 return SWIG_TypeError
;
3571 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3573 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3576 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3578 self
->GetClippingBox(rect
);
3581 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3583 self
->GetPartialTextExtents(text
, widths
);
3587 #define SWIG_From_double PyFloat_FromDouble
3589 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3590 self
->SetLogicalOrigin(point
.x
, point
.y
);
3592 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3593 self
->SetDeviceOrigin(point
.x
, point
.y
);
3595 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3596 self
->CalcBoundingBox(point
.x
, point
.y
);
3598 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3599 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3601 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3602 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3604 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3605 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3607 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3608 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3610 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3611 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3613 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3614 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3617 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3625 #include <wx/dcbuffer.h>
3628 #include <wx/dcps.h>
3631 #include <wx/metafile.h>
3634 #include <wx/graphics.h>
3637 #if !wxUSE_GRAPHICS_CONTEXT
3638 // C++ stub classes for platforms or build configurations that don't have
3639 // wxGraphicsContext yet.
3642 class wxGraphicsObject
: public wxObject
3645 wxGraphicsObject( wxGraphicsRenderer
* ) {
3646 PyErr_SetString(PyExc_NotImplementedError
,
3647 "wx.GraphicsObject is not available on this platform.");
3649 wxGraphicsObject( const wxGraphicsObject
& ) {}
3650 virtual ~wxGraphicsObject() {}
3651 bool IsNull() const { return false; }
3652 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3657 class wxGraphicsPen
: public wxGraphicsObject
3660 virtual ~wxGraphicsPen() {}
3662 wxGraphicsPen wxNullGraphicsPen
;
3666 class wxGraphicsBrush
: public wxGraphicsObject
3669 wxGraphicsBrush() {}
3670 virtual ~wxGraphicsBrush() {}
3672 wxGraphicsBrush wxNullGraphicsBrush
;
3676 class wxGraphicsFont
: public wxGraphicsObject
3680 virtual ~wxGraphicsFont() {}
3682 wxGraphicsFont wxNullGraphicsFont
;
3686 class wxGraphicsPath
: public wxGraphicsObject
3689 wxGraphicsPath(wxGraphicsRenderer
* ) {
3690 PyErr_SetString(PyExc_NotImplementedError
,
3691 "wx.GraphicsPath is not available on this platform.");
3693 virtual ~wxGraphicsPath() {}
3695 void MoveToPoint( wxDouble
, wxDouble
) {}
3696 void MoveToPoint( const wxPoint2DDouble
& ) {}
3697 void AddLineToPoint( wxDouble
, wxDouble
) {}
3698 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3699 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3700 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3701 void AddPath( const wxGraphicsPath
* ) {}
3702 void CloseSubpath() {}
3703 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3704 wxPoint2DDouble
GetCurrentPoint() { reutrn
wxPoint2D(0,0); }
3705 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3706 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3708 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3709 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3710 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3711 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3713 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3714 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3715 void * GetNativePath() const { return NULL
; }
3716 void UnGetNativePath(void *) {}
3717 void Transform( wxGraphicsMatrix
* ) {}
3718 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) {}
3719 wxRect2D
GetBox() { return wxRect2D(0,0,0,0); }
3721 bool Contains( wxDouble
, wxDouble
, int ) { return false; }
3722 bool Contains( const wxPoint2DDouble
& , int ) { return false; }
3724 wxGraphicsPath wxNullGraphicsPath
;
3727 class wxGraphicsMatrix
: public wxGraphicsObject
3730 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3731 PyErr_SetString(PyExc_NotImplementedError
,
3732 "wx.GraphicsMatrix is not available on this platform.");
3734 virtual ~wxGraphicsMatrix() {}
3735 virtual void Concat( const wxGraphicsMatrix
* ) {}
3736 virtual void Copy( const wxGraphicsMatrix
* ) {}
3737 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3738 wxDouble
, wxDouble
) {}
3739 virtual void Invert() {}
3740 virtual bool IsEqual( const wxGraphicsMatrix
* t
) const {}
3741 virtual bool IsIdentity() { return false; }
3742 virtual void Translate( wxDouble
, wxDouble
) {}
3743 virtual void Scale( wxDouble
, wxDouble
) {}
3744 virtual void Rotate( wxDouble
) {}
3745 virtual void TransformPoint( wxDouble
*, wxDouble
* ) {}
3746 virtual void TransformDistance( wxDouble
*, wxDouble
* ) {}
3747 virtual void * GetNativeMatrix() const { return NULL
; }
3749 wxGraphicsMatrix wxNullGraphicsMatrix
;
3752 class wxGraphicsContext
: public wxGraphicsObject
3756 wxGraphicsContext(wxGraphicsRenderer
* ) {
3757 PyErr_SetString(PyExc_NotImplementedError
,
3758 "wx.GraphicsContext is not available on this platform.");
3761 virtual ~wxGraphicsContext() {}
3763 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3764 PyErr_SetString(PyExc_NotImplementedError
,
3765 "wx.GraphicsContext is not available on this platform.");
3768 static wxGraphicsContext
* CreateFromNative( void * ) {
3769 PyErr_SetString(PyExc_NotImplementedError
,
3770 "wx.GraphicsContext is not available on this platform.");
3773 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3774 PyErr_SetString(PyExc_NotImplementedError
,
3775 "wx.GraphicsContext is not available on this platform.");
3778 static wxGraphicsContext
* Create( wxWindow
* ) {
3779 PyErr_SetString(PyExc_NotImplementedError
,
3780 "wx.GraphicsContext is not available on this platform.");
3783 wxGraphicsPath
* CreatePath() { return NULL
; }
3785 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return NULL
; }
3787 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return NULL
; }
3789 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3790 const wxColour
&, const wxColour
&) { return NULL
; }
3792 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3793 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3794 const wxColour
&oColor
, const wxColour
&cColor
) { return NULL
; }
3796 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return NULL
; }
3798 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3799 wxDouble
, wxDouble
) { return NULL
; }
3801 virtual void PushState() {}
3802 virtual void PopState() {}
3803 virtual void Clip( const wxRegion
& ) {}
3804 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3805 virtual void ResetClip() {}
3806 virtual void * GetNativeContext() { return NULL
; }
3807 virtual void Translate( wxDouble
, wxDouble
) {}
3808 virtual void Scale( wxDouble
, wxDouble
) {}
3809 virtual void Rotate( wxDouble
) {}
3810 virtual void ConcatTransform( const wxGraphicsMatrix
* ) {}
3811 virtual void SetTransform( const wxGraphicsMatrix
* ) {}
3812 virtual void GetTransform( wxGraphicsMatrix
* ) {}
3814 virtual void SetPen( const wxGraphicsPen
& ) {}
3815 void SetPen( const wxPen
& ) {}
3817 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3818 void SetBrush( const wxBrush
& ) {}
3820 virtual void SetFont( const wxGraphicsFont
& ) {}
3821 void SetFont( const wxFont
&, const wxColour
& ) {}
3823 virtual void StrokePath( const wxGraphicsPath
* ) {}
3824 virtual void FillPath( const wxGraphicsPath
*, int ) {}
3825 virtual void DrawPath( const wxGraphicsPath
*, int ) {}
3827 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3828 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3829 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3830 wxDouble
*, wxDouble
* ) const {}
3831 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3833 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3834 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3836 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3837 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3838 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3839 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3840 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3841 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3842 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3843 virtual bool ShouldOffset() const { return false; }
3847 class wxGraphicsRenderer
: public wxObject
3850 wxGraphicsRenderer() {
3851 PyErr_SetString(PyExc_NotImplementedError
,
3852 "wx.GraphicsRenderer is not available on this platform.");
3855 virtual ~wxGraphicsRenderer() {}
3857 static wxGraphicsRenderer
* GetDefaultRenderer(
3858 PyErr_SetString(PyExc_NotImplementedError
,
3859 "wx.GraphicsRenderer is not available on this platform.");
3862 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3863 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3864 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3865 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3867 virtual wxGraphicsPath
* CreatePath() { return NULL
; }
3869 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3870 wxDouble
, wxDouble
) { return NULL
; }
3872 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGaphicsPen
; }
3873 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGaphicsBrush
; }
3874 virtual wxGraphicsBrush
CreateLinearGradientBrush(xDouble
, wxDouble
, wxDouble
, wxDouble
,
3875 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3876 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3877 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3878 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGaphicsFont
; }
3883 class wxGCDC
: public wxWindowDC
3886 wxGCDC(const wxWindowDC
&) {
3887 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3888 PyErr_SetString(PyExc_NotImplementedError
,
3889 "wxGCDC is not available on this platform.");
3890 wxPyEndBlockThreads(blocked
);
3894 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3895 PyErr_SetString(PyExc_NotImplementedError
,
3896 "wxGCDC is not available on this platform.");
3897 wxPyEndBlockThreads(blocked
);
3900 virtual ~wxGCDC() {}
3902 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3903 void SetGraphicsContext( wxGraphicsContext
* ) {}
3908 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3909 if ( !backgroundBrush
.IsNull() )
3910 self
->DrawText(str
, x
, y
, backgroundBrush
);
3912 self
->DrawText(str
, x
, y
);
3914 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3915 if ( !backgroundBrush
.IsNull() )
3916 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3918 self
->DrawText(str
, x
, y
, angle
);
3920 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3921 wxDouble width
= 0.0,
3923 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3924 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3925 PyObject
* rv
= PyTuple_New(2);
3926 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3927 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3930 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3931 wxArrayDouble widths
;
3932 self
->GetPartialTextExtents(text
, widths
);
3935 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3936 size_t c1
, c2
, count
;
3937 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3938 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3940 if ( beginP
!= NULL
&& endP
!= NULL
)
3942 count
= wxMin(c1
, c2
);
3943 self
->StrokeLines(count
, beginP
, endP
);
3949 #include "wx/dcgraph.h"
3952 #include <wx/overlay.h>
3956 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3957 self
->AddColour(name
, wxColour(red
, green
, blue
));
3960 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3961 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3962 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3963 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3966 #include <wx/effects.h>
3969 #include "wx/renderer.h"
3972 SWIGINTERNINLINE PyObject
*
3973 SWIG_From_bool (bool value
)
3975 return PyBool_FromLong(value
? 1 : 0);
3979 #include "wx/wxPython/pseudodc.h"
3981 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3983 self
->GetIdBounds(id
, rect
);
3989 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3990 PyObject
*resultobj
= 0;
3991 wxGDIObject
*result
= 0 ;
3993 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3995 if (!wxPyCheckForApp()) SWIG_fail
;
3996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3997 result
= (wxGDIObject
*)new wxGDIObject();
3998 wxPyEndAllowThreads(__tstate
);
3999 if (PyErr_Occurred()) SWIG_fail
;
4001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4008 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4009 PyObject
*resultobj
= 0;
4010 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4013 PyObject
*swig_obj
[1] ;
4015 if (!args
) SWIG_fail
;
4017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4018 if (!SWIG_IsOK(res1
)) {
4019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4021 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4026 wxPyEndAllowThreads(__tstate
);
4027 if (PyErr_Occurred()) SWIG_fail
;
4029 resultobj
= SWIG_Py_Void();
4036 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4037 PyObject
*resultobj
= 0;
4038 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4042 PyObject
*swig_obj
[1] ;
4044 if (!args
) SWIG_fail
;
4046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4047 if (!SWIG_IsOK(res1
)) {
4048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4050 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4053 result
= (bool)(arg1
)->IsNull();
4054 wxPyEndAllowThreads(__tstate
);
4055 if (PyErr_Occurred()) SWIG_fail
;
4058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4066 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4068 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4069 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4070 return SWIG_Py_Void();
4073 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4074 return SWIG_Python_InitShadowInstance(args
);
4077 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
*resultobj
= 0;
4079 byte arg1
= (byte
) 0 ;
4080 byte arg2
= (byte
) 0 ;
4081 byte arg3
= (byte
) 0 ;
4082 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4083 wxColour
*result
= 0 ;
4084 unsigned char val1
;
4086 unsigned char val2
;
4088 unsigned char val3
;
4090 unsigned char val4
;
4092 PyObject
* obj0
= 0 ;
4093 PyObject
* obj1
= 0 ;
4094 PyObject
* obj2
= 0 ;
4095 PyObject
* obj3
= 0 ;
4096 char * kwnames
[] = {
4097 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4102 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4103 if (!SWIG_IsOK(ecode1
)) {
4104 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4106 arg1
= static_cast< byte
>(val1
);
4109 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4110 if (!SWIG_IsOK(ecode2
)) {
4111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4113 arg2
= static_cast< byte
>(val2
);
4116 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4117 if (!SWIG_IsOK(ecode3
)) {
4118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4120 arg3
= static_cast< byte
>(val3
);
4123 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4124 if (!SWIG_IsOK(ecode4
)) {
4125 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4127 arg4
= static_cast< byte
>(val4
);
4130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4131 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4132 wxPyEndAllowThreads(__tstate
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4142 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4143 PyObject
*resultobj
= 0;
4144 wxString
*arg1
= 0 ;
4145 wxColour
*result
= 0 ;
4146 bool temp1
= false ;
4147 PyObject
* obj0
= 0 ;
4148 char * kwnames
[] = {
4149 (char *) "colorName", NULL
4152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4154 arg1
= wxString_in_helper(obj0
);
4155 if (arg1
== NULL
) SWIG_fail
;
4159 if (!wxPyCheckForApp()) SWIG_fail
;
4160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4161 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4162 wxPyEndAllowThreads(__tstate
);
4163 if (PyErr_Occurred()) SWIG_fail
;
4165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4180 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
*resultobj
= 0;
4182 unsigned long arg1
;
4183 wxColour
*result
= 0 ;
4184 unsigned long val1
;
4186 PyObject
* obj0
= 0 ;
4187 char * kwnames
[] = {
4188 (char *) "colRGB", NULL
4191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4192 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4193 if (!SWIG_IsOK(ecode1
)) {
4194 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4196 arg1
= static_cast< unsigned long >(val1
);
4198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4199 result
= (wxColour
*)new wxColour(arg1
);
4200 wxPyEndAllowThreads(__tstate
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4210 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4211 PyObject
*resultobj
= 0;
4212 wxColour
*arg1
= (wxColour
*) 0 ;
4215 PyObject
*swig_obj
[1] ;
4217 if (!args
) SWIG_fail
;
4219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4220 if (!SWIG_IsOK(res1
)) {
4221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4223 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= SWIG_Py_Void();
4238 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4239 PyObject
*resultobj
= 0;
4240 wxColour
*arg1
= (wxColour
*) 0 ;
4244 PyObject
*swig_obj
[1] ;
4246 if (!args
) SWIG_fail
;
4248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4249 if (!SWIG_IsOK(res1
)) {
4250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4252 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4255 result
= (byte
)(arg1
)->Red();
4256 wxPyEndAllowThreads(__tstate
);
4257 if (PyErr_Occurred()) SWIG_fail
;
4259 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4266 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4267 PyObject
*resultobj
= 0;
4268 wxColour
*arg1
= (wxColour
*) 0 ;
4272 PyObject
*swig_obj
[1] ;
4274 if (!args
) SWIG_fail
;
4276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4277 if (!SWIG_IsOK(res1
)) {
4278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4280 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 result
= (byte
)(arg1
)->Green();
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4294 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4295 PyObject
*resultobj
= 0;
4296 wxColour
*arg1
= (wxColour
*) 0 ;
4300 PyObject
*swig_obj
[1] ;
4302 if (!args
) SWIG_fail
;
4304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4305 if (!SWIG_IsOK(res1
)) {
4306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4308 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 result
= (byte
)(arg1
)->Blue();
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) SWIG_fail
;
4315 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4322 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4323 PyObject
*resultobj
= 0;
4324 wxColour
*arg1
= (wxColour
*) 0 ;
4328 PyObject
*swig_obj
[1] ;
4330 if (!args
) SWIG_fail
;
4332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4333 if (!SWIG_IsOK(res1
)) {
4334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4336 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 result
= (byte
)(arg1
)->Alpha();
4340 wxPyEndAllowThreads(__tstate
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4343 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4350 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4351 PyObject
*resultobj
= 0;
4352 wxColour
*arg1
= (wxColour
*) 0 ;
4356 PyObject
*swig_obj
[1] ;
4358 if (!args
) SWIG_fail
;
4360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4361 if (!SWIG_IsOK(res1
)) {
4362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4364 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 result
= (bool)(arg1
)->IsOk();
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) SWIG_fail
;
4372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4380 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4381 PyObject
*resultobj
= 0;
4382 wxColour
*arg1
= (wxColour
*) 0 ;
4386 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4389 unsigned char val2
;
4391 unsigned char val3
;
4393 unsigned char val4
;
4395 unsigned char val5
;
4397 PyObject
* obj0
= 0 ;
4398 PyObject
* obj1
= 0 ;
4399 PyObject
* obj2
= 0 ;
4400 PyObject
* obj3
= 0 ;
4401 PyObject
* obj4
= 0 ;
4402 char * kwnames
[] = {
4403 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4408 if (!SWIG_IsOK(res1
)) {
4409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4411 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4412 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4413 if (!SWIG_IsOK(ecode2
)) {
4414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4416 arg2
= static_cast< byte
>(val2
);
4417 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4418 if (!SWIG_IsOK(ecode3
)) {
4419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4421 arg3
= static_cast< byte
>(val3
);
4422 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4423 if (!SWIG_IsOK(ecode4
)) {
4424 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4426 arg4
= static_cast< byte
>(val4
);
4428 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4429 if (!SWIG_IsOK(ecode5
)) {
4430 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4432 arg5
= static_cast< byte
>(val5
);
4435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4436 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4437 wxPyEndAllowThreads(__tstate
);
4438 if (PyErr_Occurred()) SWIG_fail
;
4440 resultobj
= SWIG_Py_Void();
4447 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4448 PyObject
*resultobj
= 0;
4449 wxColour
*arg1
= (wxColour
*) 0 ;
4450 unsigned long arg2
;
4453 unsigned long val2
;
4455 PyObject
* obj0
= 0 ;
4456 PyObject
* obj1
= 0 ;
4457 char * kwnames
[] = {
4458 (char *) "self",(char *) "colRGB", NULL
4461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4463 if (!SWIG_IsOK(res1
)) {
4464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4466 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4467 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4468 if (!SWIG_IsOK(ecode2
)) {
4469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4471 arg2
= static_cast< unsigned long >(val2
);
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4478 resultobj
= SWIG_Py_Void();
4485 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4486 PyObject
*resultobj
= 0;
4487 wxColour
*arg1
= (wxColour
*) 0 ;
4488 wxString
*arg2
= 0 ;
4491 bool temp2
= false ;
4492 PyObject
* obj0
= 0 ;
4493 PyObject
* obj1
= 0 ;
4494 char * kwnames
[] = {
4495 (char *) "self",(char *) "colourName", NULL
4498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4500 if (!SWIG_IsOK(res1
)) {
4501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4503 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4505 arg2
= wxString_in_helper(obj1
);
4506 if (arg2
== NULL
) SWIG_fail
;
4510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4511 (arg1
)->Set((wxString
const &)*arg2
);
4512 wxPyEndAllowThreads(__tstate
);
4513 if (PyErr_Occurred()) SWIG_fail
;
4515 resultobj
= SWIG_Py_Void();
4530 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
*resultobj
= 0;
4532 wxColour
*arg1
= (wxColour
*) 0 ;
4533 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4539 PyObject
* obj0
= 0 ;
4540 PyObject
* obj1
= 0 ;
4541 char * kwnames
[] = {
4542 (char *) "self",(char *) "flags", NULL
4545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4547 if (!SWIG_IsOK(res1
)) {
4548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4550 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4552 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4553 if (!SWIG_IsOK(ecode2
)) {
4554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4556 arg2
= static_cast< long >(val2
);
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4560 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4561 wxPyEndAllowThreads(__tstate
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4577 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4578 PyObject
*resultobj
= 0;
4579 wxColour
*arg1
= (wxColour
*) 0 ;
4583 PyObject
*swig_obj
[1] ;
4585 if (!args
) SWIG_fail
;
4587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4588 if (!SWIG_IsOK(res1
)) {
4589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4591 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4594 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4595 wxPyEndAllowThreads(__tstate
);
4596 if (PyErr_Occurred()) SWIG_fail
;
4598 resultobj
= SWIG_From_long(static_cast< long >(result
));
4605 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4606 PyObject
*resultobj
= 0;
4607 wxColour
*arg1
= (wxColour
*) 0 ;
4608 PyObject
*arg2
= (PyObject
*) 0 ;
4612 PyObject
* obj0
= 0 ;
4613 PyObject
* obj1
= 0 ;
4614 char * kwnames
[] = {
4615 (char *) "self",(char *) "other", NULL
4618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4620 if (!SWIG_IsOK(res1
)) {
4621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4623 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4626 result
= (bool)wxColour___eq__(arg1
,arg2
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4638 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
= 0;
4640 wxColour
*arg1
= (wxColour
*) 0 ;
4641 PyObject
*arg2
= (PyObject
*) 0 ;
4645 PyObject
* obj0
= 0 ;
4646 PyObject
* obj1
= 0 ;
4647 char * kwnames
[] = {
4648 (char *) "self",(char *) "other", NULL
4651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4653 if (!SWIG_IsOK(res1
)) {
4654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4656 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4659 result
= (bool)wxColour___ne__(arg1
,arg2
);
4660 if (PyErr_Occurred()) SWIG_fail
;
4663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4671 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
*resultobj
= 0;
4673 wxColour
*arg1
= (wxColour
*) 0 ;
4674 bool arg2
= (bool) false ;
4675 PyObject
*result
= 0 ;
4680 PyObject
* obj0
= 0 ;
4681 PyObject
* obj1
= 0 ;
4682 char * kwnames
[] = {
4683 (char *) "self",(char *) "includeAlpha", NULL
4686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4688 if (!SWIG_IsOK(res1
)) {
4689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4691 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4693 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4694 if (!SWIG_IsOK(ecode2
)) {
4695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4697 arg2
= static_cast< bool >(val2
);
4700 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4710 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4711 PyObject
*resultobj
= 0;
4712 wxColour
*arg1
= (wxColour
*) 0 ;
4713 unsigned long result
;
4716 PyObject
*swig_obj
[1] ;
4718 if (!args
) SWIG_fail
;
4720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4721 if (!SWIG_IsOK(res1
)) {
4722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4724 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4726 result
= (unsigned long)wxColour_GetRGB(arg1
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4729 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4736 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4738 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4739 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4740 return SWIG_Py_Void();
4743 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4744 return SWIG_Python_InitShadowInstance(args
);
4747 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
*resultobj
= 0;
4750 unsigned char *arg2
= (unsigned char *) 0 ;
4751 unsigned char *arg3
= (unsigned char *) 0 ;
4752 unsigned char *arg4
= (unsigned char *) 0 ;
4753 wxPalette
*result
= 0 ;
4762 PyObject
* obj0
= 0 ;
4763 PyObject
* obj1
= 0 ;
4764 PyObject
* obj2
= 0 ;
4765 PyObject
* obj3
= 0 ;
4766 char * kwnames
[] = {
4767 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4771 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4772 if (!SWIG_IsOK(ecode1
)) {
4773 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4775 arg1
= static_cast< int >(val1
);
4776 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4777 if (!SWIG_IsOK(res2
)) {
4778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4780 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4781 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4782 if (!SWIG_IsOK(res3
)) {
4783 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4785 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4786 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4787 if (!SWIG_IsOK(res4
)) {
4788 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4790 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4792 if (!wxPyCheckForApp()) SWIG_fail
;
4793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4794 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4795 wxPyEndAllowThreads(__tstate
);
4796 if (PyErr_Occurred()) SWIG_fail
;
4798 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4805 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4806 PyObject
*resultobj
= 0;
4807 wxPalette
*arg1
= (wxPalette
*) 0 ;
4810 PyObject
*swig_obj
[1] ;
4812 if (!args
) SWIG_fail
;
4814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4815 if (!SWIG_IsOK(res1
)) {
4816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4818 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4826 resultobj
= SWIG_Py_Void();
4833 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
*resultobj
= 0;
4835 wxPalette
*arg1
= (wxPalette
*) 0 ;
4842 unsigned char val2
;
4844 unsigned char val3
;
4846 unsigned char val4
;
4848 PyObject
* obj0
= 0 ;
4849 PyObject
* obj1
= 0 ;
4850 PyObject
* obj2
= 0 ;
4851 PyObject
* obj3
= 0 ;
4852 char * kwnames
[] = {
4853 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4858 if (!SWIG_IsOK(res1
)) {
4859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4861 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4862 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4863 if (!SWIG_IsOK(ecode2
)) {
4864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4866 arg2
= static_cast< byte
>(val2
);
4867 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4868 if (!SWIG_IsOK(ecode3
)) {
4869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4871 arg3
= static_cast< byte
>(val3
);
4872 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4873 if (!SWIG_IsOK(ecode4
)) {
4874 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4876 arg4
= static_cast< byte
>(val4
);
4878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4879 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4880 wxPyEndAllowThreads(__tstate
);
4881 if (PyErr_Occurred()) SWIG_fail
;
4883 resultobj
= SWIG_From_int(static_cast< int >(result
));
4890 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4891 PyObject
*resultobj
= 0;
4892 wxPalette
*arg1
= (wxPalette
*) 0 ;
4894 byte
*arg3
= (byte
*) 0 ;
4895 byte
*arg4
= (byte
*) 0 ;
4896 byte
*arg5
= (byte
*) 0 ;
4903 int res3
= SWIG_TMPOBJ
;
4905 int res4
= SWIG_TMPOBJ
;
4907 int res5
= SWIG_TMPOBJ
;
4908 PyObject
* obj0
= 0 ;
4909 PyObject
* obj1
= 0 ;
4910 char * kwnames
[] = {
4911 (char *) "self",(char *) "pixel", NULL
4917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4919 if (!SWIG_IsOK(res1
)) {
4920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4922 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4924 if (!SWIG_IsOK(ecode2
)) {
4925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4927 arg2
= static_cast< int >(val2
);
4929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4930 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4931 wxPyEndAllowThreads(__tstate
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4937 if (SWIG_IsTmpObj(res3
)) {
4938 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4940 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4941 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4943 if (SWIG_IsTmpObj(res4
)) {
4944 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4946 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4949 if (SWIG_IsTmpObj(res5
)) {
4950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4952 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4961 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4962 PyObject
*resultobj
= 0;
4963 wxPalette
*arg1
= (wxPalette
*) 0 ;
4967 PyObject
*swig_obj
[1] ;
4969 if (!args
) SWIG_fail
;
4971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4972 if (!SWIG_IsOK(res1
)) {
4973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4975 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 resultobj
= SWIG_From_int(static_cast< int >(result
));
4989 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4990 PyObject
*resultobj
= 0;
4991 wxPalette
*arg1
= (wxPalette
*) 0 ;
4995 PyObject
*swig_obj
[1] ;
4997 if (!args
) SWIG_fail
;
4999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5000 if (!SWIG_IsOK(res1
)) {
5001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5003 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 result
= (bool)(arg1
)->IsOk();
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5019 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5021 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5022 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5023 return SWIG_Py_Void();
5026 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5027 return SWIG_Python_InitShadowInstance(args
);
5030 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5031 PyObject
*resultobj
= 0;
5032 wxColour
*arg1
= 0 ;
5033 int arg2
= (int) 1 ;
5034 int arg3
= (int) wxSOLID
;
5041 PyObject
* obj0
= 0 ;
5042 PyObject
* obj1
= 0 ;
5043 PyObject
* obj2
= 0 ;
5044 char * kwnames
[] = {
5045 (char *) "colour",(char *) "width",(char *) "style", NULL
5048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5051 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5055 if (!SWIG_IsOK(ecode2
)) {
5056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5058 arg2
= static_cast< int >(val2
);
5061 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5062 if (!SWIG_IsOK(ecode3
)) {
5063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5065 arg3
= static_cast< int >(val3
);
5068 if (!wxPyCheckForApp()) SWIG_fail
;
5069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5070 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5071 wxPyEndAllowThreads(__tstate
);
5072 if (PyErr_Occurred()) SWIG_fail
;
5074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5081 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5082 PyObject
*resultobj
= 0;
5083 wxPen
*arg1
= (wxPen
*) 0 ;
5086 PyObject
*swig_obj
[1] ;
5088 if (!args
) SWIG_fail
;
5090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5091 if (!SWIG_IsOK(res1
)) {
5092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5094 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5102 resultobj
= SWIG_Py_Void();
5109 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5110 PyObject
*resultobj
= 0;
5111 wxPen
*arg1
= (wxPen
*) 0 ;
5115 PyObject
*swig_obj
[1] ;
5117 if (!args
) SWIG_fail
;
5119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5120 if (!SWIG_IsOK(res1
)) {
5121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5123 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 result
= (int)(arg1
)->GetCap();
5127 wxPyEndAllowThreads(__tstate
);
5128 if (PyErr_Occurred()) SWIG_fail
;
5130 resultobj
= SWIG_From_int(static_cast< int >(result
));
5137 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5138 PyObject
*resultobj
= 0;
5139 wxPen
*arg1
= (wxPen
*) 0 ;
5143 PyObject
*swig_obj
[1] ;
5145 if (!args
) SWIG_fail
;
5147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5148 if (!SWIG_IsOK(res1
)) {
5149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5151 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 result
= (arg1
)->GetColour();
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5158 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5165 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5166 PyObject
*resultobj
= 0;
5167 wxPen
*arg1
= (wxPen
*) 0 ;
5171 PyObject
*swig_obj
[1] ;
5173 if (!args
) SWIG_fail
;
5175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5176 if (!SWIG_IsOK(res1
)) {
5177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5179 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5182 result
= (int)(arg1
)->GetJoin();
5183 wxPyEndAllowThreads(__tstate
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5186 resultobj
= SWIG_From_int(static_cast< int >(result
));
5193 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5194 PyObject
*resultobj
= 0;
5195 wxPen
*arg1
= (wxPen
*) 0 ;
5199 PyObject
*swig_obj
[1] ;
5201 if (!args
) SWIG_fail
;
5203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5204 if (!SWIG_IsOK(res1
)) {
5205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5207 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 result
= (int)(arg1
)->GetStyle();
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 resultobj
= SWIG_From_int(static_cast< int >(result
));
5221 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5222 PyObject
*resultobj
= 0;
5223 wxPen
*arg1
= (wxPen
*) 0 ;
5227 PyObject
*swig_obj
[1] ;
5229 if (!args
) SWIG_fail
;
5231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5232 if (!SWIG_IsOK(res1
)) {
5233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5235 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 result
= (int)(arg1
)->GetWidth();
5239 wxPyEndAllowThreads(__tstate
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5242 resultobj
= SWIG_From_int(static_cast< int >(result
));
5249 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5250 PyObject
*resultobj
= 0;
5251 wxPen
*arg1
= (wxPen
*) 0 ;
5255 PyObject
*swig_obj
[1] ;
5257 if (!args
) SWIG_fail
;
5259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5260 if (!SWIG_IsOK(res1
)) {
5261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5263 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5266 result
= (bool)(arg1
)->IsOk();
5267 wxPyEndAllowThreads(__tstate
);
5268 if (PyErr_Occurred()) SWIG_fail
;
5271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5279 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5280 PyObject
*resultobj
= 0;
5281 wxPen
*arg1
= (wxPen
*) 0 ;
5287 PyObject
* obj0
= 0 ;
5288 PyObject
* obj1
= 0 ;
5289 char * kwnames
[] = {
5290 (char *) "self",(char *) "cap_style", NULL
5293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5295 if (!SWIG_IsOK(res1
)) {
5296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5298 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5300 if (!SWIG_IsOK(ecode2
)) {
5301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5303 arg2
= static_cast< int >(val2
);
5305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5306 (arg1
)->SetCap(arg2
);
5307 wxPyEndAllowThreads(__tstate
);
5308 if (PyErr_Occurred()) SWIG_fail
;
5310 resultobj
= SWIG_Py_Void();
5317 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5318 PyObject
*resultobj
= 0;
5319 wxPen
*arg1
= (wxPen
*) 0 ;
5320 wxColour
*arg2
= 0 ;
5324 PyObject
* obj0
= 0 ;
5325 PyObject
* obj1
= 0 ;
5326 char * kwnames
[] = {
5327 (char *) "self",(char *) "colour", NULL
5330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5332 if (!SWIG_IsOK(res1
)) {
5333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5335 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5338 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5342 (arg1
)->SetColour(*arg2
);
5343 wxPyEndAllowThreads(__tstate
);
5344 if (PyErr_Occurred()) SWIG_fail
;
5346 resultobj
= SWIG_Py_Void();
5353 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5354 PyObject
*resultobj
= 0;
5355 wxPen
*arg1
= (wxPen
*) 0 ;
5361 PyObject
* obj0
= 0 ;
5362 PyObject
* obj1
= 0 ;
5363 char * kwnames
[] = {
5364 (char *) "self",(char *) "join_style", NULL
5367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5369 if (!SWIG_IsOK(res1
)) {
5370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5372 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5374 if (!SWIG_IsOK(ecode2
)) {
5375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5377 arg2
= static_cast< int >(val2
);
5379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5380 (arg1
)->SetJoin(arg2
);
5381 wxPyEndAllowThreads(__tstate
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5384 resultobj
= SWIG_Py_Void();
5391 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5392 PyObject
*resultobj
= 0;
5393 wxPen
*arg1
= (wxPen
*) 0 ;
5399 PyObject
* obj0
= 0 ;
5400 PyObject
* obj1
= 0 ;
5401 char * kwnames
[] = {
5402 (char *) "self",(char *) "style", NULL
5405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5407 if (!SWIG_IsOK(res1
)) {
5408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5410 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5412 if (!SWIG_IsOK(ecode2
)) {
5413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5415 arg2
= static_cast< int >(val2
);
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 (arg1
)->SetStyle(arg2
);
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) SWIG_fail
;
5422 resultobj
= SWIG_Py_Void();
5429 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5430 PyObject
*resultobj
= 0;
5431 wxPen
*arg1
= (wxPen
*) 0 ;
5437 PyObject
* obj0
= 0 ;
5438 PyObject
* obj1
= 0 ;
5439 char * kwnames
[] = {
5440 (char *) "self",(char *) "width", NULL
5443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5445 if (!SWIG_IsOK(res1
)) {
5446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5448 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5450 if (!SWIG_IsOK(ecode2
)) {
5451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5453 arg2
= static_cast< int >(val2
);
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 (arg1
)->SetWidth(arg2
);
5457 wxPyEndAllowThreads(__tstate
);
5458 if (PyErr_Occurred()) SWIG_fail
;
5460 resultobj
= SWIG_Py_Void();
5467 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5468 PyObject
*resultobj
= 0;
5469 wxPen
*arg1
= (wxPen
*) 0 ;
5471 wxDash
*arg3
= (wxDash
*) 0 ;
5474 PyObject
* obj0
= 0 ;
5475 PyObject
* obj1
= 0 ;
5476 char * kwnames
[] = {
5477 (char *) "self",(char *) "dashes", NULL
5480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5482 if (!SWIG_IsOK(res1
)) {
5483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5485 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5487 arg2
= PyList_Size(obj1
);
5488 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5489 if (arg3
== NULL
) SWIG_fail
;
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5493 (arg1
)->SetDashes(arg2
,arg3
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5497 resultobj
= SWIG_Py_Void();
5499 if (arg3
) delete [] arg3
;
5504 if (arg3
) delete [] arg3
;
5510 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5511 PyObject
*resultobj
= 0;
5512 wxPen
*arg1
= (wxPen
*) 0 ;
5513 PyObject
*result
= 0 ;
5516 PyObject
*swig_obj
[1] ;
5518 if (!args
) SWIG_fail
;
5520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5521 if (!SWIG_IsOK(res1
)) {
5522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5524 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5527 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5528 wxPyEndAllowThreads(__tstate
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5538 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
*resultobj
= 0;
5540 wxPen
*arg1
= (wxPen
*) 0 ;
5541 PyObject
*arg2
= (PyObject
*) 0 ;
5542 PyObject
*arg3
= (PyObject
*) 0 ;
5545 PyObject
* obj0
= 0 ;
5546 PyObject
* obj1
= 0 ;
5547 PyObject
* obj2
= 0 ;
5548 char * kwnames
[] = {
5549 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5554 if (!SWIG_IsOK(res1
)) {
5555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5557 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5562 wxPen__SetDashes(arg1
,arg2
,arg3
);
5563 wxPyEndAllowThreads(__tstate
);
5564 if (PyErr_Occurred()) SWIG_fail
;
5566 resultobj
= SWIG_Py_Void();
5573 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
*resultobj
= 0;
5575 wxPen
*arg1
= (wxPen
*) 0 ;
5576 wxPen
*arg2
= (wxPen
*) 0 ;
5582 PyObject
* obj0
= 0 ;
5583 PyObject
* obj1
= 0 ;
5584 char * kwnames
[] = {
5585 (char *) "self",(char *) "other", NULL
5588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5590 if (!SWIG_IsOK(res1
)) {
5591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5593 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5594 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5595 if (!SWIG_IsOK(res2
)) {
5596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5598 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5601 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5602 wxPyEndAllowThreads(__tstate
);
5603 if (PyErr_Occurred()) SWIG_fail
;
5606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5614 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5615 PyObject
*resultobj
= 0;
5616 wxPen
*arg1
= (wxPen
*) 0 ;
5617 wxPen
*arg2
= (wxPen
*) 0 ;
5623 PyObject
* obj0
= 0 ;
5624 PyObject
* obj1
= 0 ;
5625 char * kwnames
[] = {
5626 (char *) "self",(char *) "other", NULL
5629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5631 if (!SWIG_IsOK(res1
)) {
5632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5634 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5635 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5636 if (!SWIG_IsOK(res2
)) {
5637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5639 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5655 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5657 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5658 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5659 return SWIG_Py_Void();
5662 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5663 return SWIG_Python_InitShadowInstance(args
);
5666 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
*resultobj
= 0;
5668 wxColour
*arg1
= 0 ;
5669 int arg2
= (int) wxSOLID
;
5670 wxBrush
*result
= 0 ;
5674 PyObject
* obj0
= 0 ;
5675 PyObject
* obj1
= 0 ;
5676 char * kwnames
[] = {
5677 (char *) "colour",(char *) "style", NULL
5680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5683 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5687 if (!SWIG_IsOK(ecode2
)) {
5688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5690 arg2
= static_cast< int >(val2
);
5693 if (!wxPyCheckForApp()) SWIG_fail
;
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5706 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5707 PyObject
*resultobj
= 0;
5708 wxBitmap
*arg1
= 0 ;
5709 wxBrush
*result
= 0 ;
5712 PyObject
* obj0
= 0 ;
5713 char * kwnames
[] = {
5714 (char *) "stippleBitmap", NULL
5717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5718 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5719 if (!SWIG_IsOK(res1
)) {
5720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5723 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5725 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5727 if (!wxPyCheckForApp()) SWIG_fail
;
5728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5740 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5741 PyObject
*resultobj
= 0;
5742 wxBrush
*arg1
= (wxBrush
*) 0 ;
5745 PyObject
*swig_obj
[1] ;
5747 if (!args
) SWIG_fail
;
5749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5750 if (!SWIG_IsOK(res1
)) {
5751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5753 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5761 resultobj
= SWIG_Py_Void();
5768 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5769 PyObject
*resultobj
= 0;
5770 wxBrush
*arg1
= (wxBrush
*) 0 ;
5771 wxColour
*arg2
= 0 ;
5775 PyObject
* obj0
= 0 ;
5776 PyObject
* obj1
= 0 ;
5777 char * kwnames
[] = {
5778 (char *) "self",(char *) "col", NULL
5781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5783 if (!SWIG_IsOK(res1
)) {
5784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5786 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5789 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 (arg1
)->SetColour((wxColour
const &)*arg2
);
5794 wxPyEndAllowThreads(__tstate
);
5795 if (PyErr_Occurred()) SWIG_fail
;
5797 resultobj
= SWIG_Py_Void();
5804 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
*resultobj
= 0;
5806 wxBrush
*arg1
= (wxBrush
*) 0 ;
5812 PyObject
* obj0
= 0 ;
5813 PyObject
* obj1
= 0 ;
5814 char * kwnames
[] = {
5815 (char *) "self",(char *) "style", NULL
5818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5820 if (!SWIG_IsOK(res1
)) {
5821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5823 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5825 if (!SWIG_IsOK(ecode2
)) {
5826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5828 arg2
= static_cast< int >(val2
);
5830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5831 (arg1
)->SetStyle(arg2
);
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5835 resultobj
= SWIG_Py_Void();
5842 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
*resultobj
= 0;
5844 wxBrush
*arg1
= (wxBrush
*) 0 ;
5845 wxBitmap
*arg2
= 0 ;
5850 PyObject
* obj0
= 0 ;
5851 PyObject
* obj1
= 0 ;
5852 char * kwnames
[] = {
5853 (char *) "self",(char *) "stipple", NULL
5856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5858 if (!SWIG_IsOK(res1
)) {
5859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5861 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5862 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5863 if (!SWIG_IsOK(res2
)) {
5864 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5869 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5872 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5873 wxPyEndAllowThreads(__tstate
);
5874 if (PyErr_Occurred()) SWIG_fail
;
5876 resultobj
= SWIG_Py_Void();
5883 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5884 PyObject
*resultobj
= 0;
5885 wxBrush
*arg1
= (wxBrush
*) 0 ;
5889 PyObject
*swig_obj
[1] ;
5891 if (!args
) SWIG_fail
;
5893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5894 if (!SWIG_IsOK(res1
)) {
5895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5897 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 result
= ((wxBrush
const *)arg1
)->GetColour();
5901 wxPyEndAllowThreads(__tstate
);
5902 if (PyErr_Occurred()) SWIG_fail
;
5904 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5911 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5912 PyObject
*resultobj
= 0;
5913 wxBrush
*arg1
= (wxBrush
*) 0 ;
5917 PyObject
*swig_obj
[1] ;
5919 if (!args
) SWIG_fail
;
5921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5922 if (!SWIG_IsOK(res1
)) {
5923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5925 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5932 resultobj
= SWIG_From_int(static_cast< int >(result
));
5939 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5940 PyObject
*resultobj
= 0;
5941 wxBrush
*arg1
= (wxBrush
*) 0 ;
5942 wxBitmap
*result
= 0 ;
5945 PyObject
*swig_obj
[1] ;
5947 if (!args
) SWIG_fail
;
5949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5950 if (!SWIG_IsOK(res1
)) {
5951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5953 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5957 wxPyEndAllowThreads(__tstate
);
5958 if (PyErr_Occurred()) SWIG_fail
;
5960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5967 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5968 PyObject
*resultobj
= 0;
5969 wxBrush
*arg1
= (wxBrush
*) 0 ;
5973 PyObject
*swig_obj
[1] ;
5975 if (!args
) SWIG_fail
;
5977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5978 if (!SWIG_IsOK(res1
)) {
5979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5981 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5984 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5997 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5998 PyObject
*resultobj
= 0;
5999 wxBrush
*arg1
= (wxBrush
*) 0 ;
6003 PyObject
*swig_obj
[1] ;
6005 if (!args
) SWIG_fail
;
6007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6008 if (!SWIG_IsOK(res1
)) {
6009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6011 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6014 result
= (bool)(arg1
)->IsOk();
6015 wxPyEndAllowThreads(__tstate
);
6016 if (PyErr_Occurred()) SWIG_fail
;
6019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6027 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6028 PyObject
*resultobj
= 0;
6029 wxBrush
*arg1
= (wxBrush
*) 0 ;
6033 PyObject
*swig_obj
[1] ;
6035 if (!args
) SWIG_fail
;
6037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6038 if (!SWIG_IsOK(res1
)) {
6039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6041 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6044 result
= (short)(arg1
)->MacGetTheme();
6045 wxPyEndAllowThreads(__tstate
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6048 resultobj
= SWIG_From_short(static_cast< short >(result
));
6055 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6056 PyObject
*resultobj
= 0;
6057 wxBrush
*arg1
= (wxBrush
*) 0 ;
6063 PyObject
* obj0
= 0 ;
6064 PyObject
* obj1
= 0 ;
6065 char * kwnames
[] = {
6066 (char *) "self",(char *) "macThemeBrush", NULL
6069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6071 if (!SWIG_IsOK(res1
)) {
6072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6074 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6075 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
6076 if (!SWIG_IsOK(ecode2
)) {
6077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
6079 arg2
= static_cast< short >(val2
);
6081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6082 (arg1
)->MacSetTheme(arg2
);
6083 wxPyEndAllowThreads(__tstate
);
6084 if (PyErr_Occurred()) SWIG_fail
;
6086 resultobj
= SWIG_Py_Void();
6093 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6095 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6096 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6097 return SWIG_Py_Void();
6100 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6101 return SWIG_Python_InitShadowInstance(args
);
6104 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6105 PyObject
*resultobj
= 0;
6106 wxString
*arg1
= 0 ;
6107 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6108 wxBitmap
*result
= 0 ;
6109 bool temp1
= false ;
6112 PyObject
* obj0
= 0 ;
6113 PyObject
* obj1
= 0 ;
6114 char * kwnames
[] = {
6115 (char *) "name",(char *) "type", NULL
6118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6120 arg1
= wxString_in_helper(obj0
);
6121 if (arg1
== NULL
) SWIG_fail
;
6125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6126 if (!SWIG_IsOK(ecode2
)) {
6127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6129 arg2
= static_cast< wxBitmapType
>(val2
);
6132 if (!wxPyCheckForApp()) SWIG_fail
;
6133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6134 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6135 wxPyEndAllowThreads(__tstate
);
6136 if (PyErr_Occurred()) SWIG_fail
;
6138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6153 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6154 PyObject
*resultobj
= 0;
6155 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6158 PyObject
*swig_obj
[1] ;
6160 if (!args
) SWIG_fail
;
6162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6163 if (!SWIG_IsOK(res1
)) {
6164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6166 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6170 if (PyErr_Occurred()) SWIG_fail
;
6172 resultobj
= SWIG_Py_Void();
6179 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
*resultobj
= 0;
6183 int arg3
= (int) -1 ;
6184 wxBitmap
*result
= 0 ;
6191 PyObject
* obj0
= 0 ;
6192 PyObject
* obj1
= 0 ;
6193 PyObject
* obj2
= 0 ;
6194 char * kwnames
[] = {
6195 (char *) "width",(char *) "height",(char *) "depth", NULL
6198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6199 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6200 if (!SWIG_IsOK(ecode1
)) {
6201 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6203 arg1
= static_cast< int >(val1
);
6204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6205 if (!SWIG_IsOK(ecode2
)) {
6206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6208 arg2
= static_cast< int >(val2
);
6210 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6211 if (!SWIG_IsOK(ecode3
)) {
6212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6214 arg3
= static_cast< int >(val3
);
6217 if (!wxPyCheckForApp()) SWIG_fail
;
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6219 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6230 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
*resultobj
= 0;
6233 wxBitmap
*result
= 0 ;
6236 PyObject
* obj0
= 0 ;
6237 char * kwnames
[] = {
6238 (char *) "icon", NULL
6241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6242 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6243 if (!SWIG_IsOK(res1
)) {
6244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6249 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6251 if (!wxPyCheckForApp()) SWIG_fail
;
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6264 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
*resultobj
= 0;
6267 int arg2
= (int) -1 ;
6268 wxBitmap
*result
= 0 ;
6273 PyObject
* obj0
= 0 ;
6274 PyObject
* obj1
= 0 ;
6275 char * kwnames
[] = {
6276 (char *) "image",(char *) "depth", NULL
6279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6280 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6281 if (!SWIG_IsOK(res1
)) {
6282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6285 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6287 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6290 if (!SWIG_IsOK(ecode2
)) {
6291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6293 arg2
= static_cast< int >(val2
);
6296 if (!wxPyCheckForApp()) SWIG_fail
;
6297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6298 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) SWIG_fail
;
6302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6309 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
*resultobj
= 0;
6311 PyObject
*arg1
= (PyObject
*) 0 ;
6312 wxBitmap
*result
= 0 ;
6313 PyObject
* obj0
= 0 ;
6314 char * kwnames
[] = {
6315 (char *) "listOfStrings", NULL
6318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6321 if (!wxPyCheckForApp()) SWIG_fail
;
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6324 wxPyEndAllowThreads(__tstate
);
6325 if (PyErr_Occurred()) SWIG_fail
;
6327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6334 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6335 PyObject
*resultobj
= 0;
6336 PyObject
*arg1
= (PyObject
*) 0 ;
6339 int arg4
= (int) 1 ;
6340 wxBitmap
*result
= 0 ;
6347 PyObject
* obj0
= 0 ;
6348 PyObject
* obj1
= 0 ;
6349 PyObject
* obj2
= 0 ;
6350 PyObject
* obj3
= 0 ;
6351 char * kwnames
[] = {
6352 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6358 if (!SWIG_IsOK(ecode2
)) {
6359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6361 arg2
= static_cast< int >(val2
);
6362 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6363 if (!SWIG_IsOK(ecode3
)) {
6364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6366 arg3
= static_cast< int >(val3
);
6368 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6369 if (!SWIG_IsOK(ecode4
)) {
6370 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6372 arg4
= static_cast< int >(val4
);
6375 if (!wxPyCheckForApp()) SWIG_fail
;
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6388 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6389 PyObject
*resultobj
= 0;
6390 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6394 PyObject
*swig_obj
[1] ;
6396 if (!args
) SWIG_fail
;
6398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6399 if (!SWIG_IsOK(res1
)) {
6400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6402 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6404 result
= (bool)(arg1
)->IsOk();
6405 if (PyErr_Occurred()) SWIG_fail
;
6408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6416 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6417 PyObject
*resultobj
= 0;
6418 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6422 PyObject
*swig_obj
[1] ;
6424 if (!args
) SWIG_fail
;
6426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6427 if (!SWIG_IsOK(res1
)) {
6428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6430 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6432 result
= (int)(arg1
)->GetWidth();
6433 if (PyErr_Occurred()) SWIG_fail
;
6435 resultobj
= SWIG_From_int(static_cast< int >(result
));
6442 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6443 PyObject
*resultobj
= 0;
6444 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6448 PyObject
*swig_obj
[1] ;
6450 if (!args
) SWIG_fail
;
6452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6453 if (!SWIG_IsOK(res1
)) {
6454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6456 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6458 result
= (int)(arg1
)->GetHeight();
6459 if (PyErr_Occurred()) SWIG_fail
;
6461 resultobj
= SWIG_From_int(static_cast< int >(result
));
6468 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6469 PyObject
*resultobj
= 0;
6470 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6474 PyObject
*swig_obj
[1] ;
6476 if (!args
) SWIG_fail
;
6478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6479 if (!SWIG_IsOK(res1
)) {
6480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6482 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6484 result
= (int)(arg1
)->GetDepth();
6485 if (PyErr_Occurred()) SWIG_fail
;
6487 resultobj
= SWIG_From_int(static_cast< int >(result
));
6494 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6495 PyObject
*resultobj
= 0;
6496 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6500 PyObject
*swig_obj
[1] ;
6502 if (!args
) SWIG_fail
;
6504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6505 if (!SWIG_IsOK(res1
)) {
6506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6508 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6510 result
= wxBitmap_GetSize(arg1
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6513 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6520 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6521 PyObject
*resultobj
= 0;
6522 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6523 SwigValueWrapper
<wxImage
> result
;
6526 PyObject
*swig_obj
[1] ;
6528 if (!args
) SWIG_fail
;
6530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6531 if (!SWIG_IsOK(res1
)) {
6532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6534 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6536 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6537 if (PyErr_Occurred()) SWIG_fail
;
6539 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6546 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6547 PyObject
*resultobj
= 0;
6548 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6549 wxMask
*result
= 0 ;
6552 PyObject
*swig_obj
[1] ;
6554 if (!args
) SWIG_fail
;
6556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6557 if (!SWIG_IsOK(res1
)) {
6558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6560 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6562 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6563 if (PyErr_Occurred()) SWIG_fail
;
6565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6572 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6573 PyObject
*resultobj
= 0;
6574 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6575 wxMask
*arg2
= (wxMask
*) 0 ;
6579 PyObject
* obj0
= 0 ;
6580 PyObject
* obj1
= 0 ;
6581 char * kwnames
[] = {
6582 (char *) "self",(char *) "mask", NULL
6585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6587 if (!SWIG_IsOK(res1
)) {
6588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6590 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6591 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6592 if (!SWIG_IsOK(res2
)) {
6593 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6596 (arg1
)->SetMask(arg2
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6599 resultobj
= SWIG_Py_Void();
6606 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
*resultobj
= 0;
6608 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6609 wxColour
*arg2
= 0 ;
6613 PyObject
* obj0
= 0 ;
6614 PyObject
* obj1
= 0 ;
6615 char * kwnames
[] = {
6616 (char *) "self",(char *) "colour", NULL
6619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6621 if (!SWIG_IsOK(res1
)) {
6622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6624 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6627 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6630 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6633 resultobj
= SWIG_Py_Void();
6640 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
= 0;
6642 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6644 SwigValueWrapper
<wxBitmap
> result
;
6648 PyObject
* obj0
= 0 ;
6649 PyObject
* obj1
= 0 ;
6650 char * kwnames
[] = {
6651 (char *) "self",(char *) "rect", NULL
6654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6656 if (!SWIG_IsOK(res1
)) {
6657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6659 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6662 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6665 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6666 if (PyErr_Occurred()) SWIG_fail
;
6668 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6675 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
*resultobj
= 0;
6677 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6678 wxString
*arg2
= 0 ;
6680 wxPalette
*arg4
= (wxPalette
*) NULL
;
6684 bool temp2
= false ;
6689 PyObject
* obj0
= 0 ;
6690 PyObject
* obj1
= 0 ;
6691 PyObject
* obj2
= 0 ;
6692 PyObject
* obj3
= 0 ;
6693 char * kwnames
[] = {
6694 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6699 if (!SWIG_IsOK(res1
)) {
6700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6702 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6704 arg2
= wxString_in_helper(obj1
);
6705 if (arg2
== NULL
) SWIG_fail
;
6708 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6709 if (!SWIG_IsOK(ecode3
)) {
6710 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6712 arg3
= static_cast< wxBitmapType
>(val3
);
6714 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6715 if (!SWIG_IsOK(res4
)) {
6716 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6718 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6721 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6722 if (PyErr_Occurred()) SWIG_fail
;
6725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6741 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
*resultobj
= 0;
6743 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6744 wxString
*arg2
= 0 ;
6749 bool temp2
= false ;
6752 PyObject
* obj0
= 0 ;
6753 PyObject
* obj1
= 0 ;
6754 PyObject
* obj2
= 0 ;
6755 char * kwnames
[] = {
6756 (char *) "self",(char *) "name",(char *) "type", NULL
6759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6761 if (!SWIG_IsOK(res1
)) {
6762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6764 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6766 arg2
= wxString_in_helper(obj1
);
6767 if (arg2
== NULL
) SWIG_fail
;
6770 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6771 if (!SWIG_IsOK(ecode3
)) {
6772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6774 arg3
= static_cast< wxBitmapType
>(val3
);
6776 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6796 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6797 PyObject
*resultobj
= 0;
6798 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6799 wxPalette
*result
= 0 ;
6802 PyObject
*swig_obj
[1] ;
6804 if (!args
) SWIG_fail
;
6806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6807 if (!SWIG_IsOK(res1
)) {
6808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6810 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6812 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6813 if (PyErr_Occurred()) SWIG_fail
;
6815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6822 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
*resultobj
= 0;
6824 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6831 PyObject
* obj0
= 0 ;
6832 PyObject
* obj1
= 0 ;
6833 char * kwnames
[] = {
6834 (char *) "self",(char *) "icon", NULL
6837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6839 if (!SWIG_IsOK(res1
)) {
6840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6842 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6843 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6844 if (!SWIG_IsOK(res2
)) {
6845 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6848 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6850 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6852 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6864 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6865 PyObject
*resultobj
= 0;
6866 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6872 PyObject
* obj0
= 0 ;
6873 PyObject
* obj1
= 0 ;
6874 char * kwnames
[] = {
6875 (char *) "self",(char *) "height", NULL
6878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6880 if (!SWIG_IsOK(res1
)) {
6881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6883 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6885 if (!SWIG_IsOK(ecode2
)) {
6886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6888 arg2
= static_cast< int >(val2
);
6890 (arg1
)->SetHeight(arg2
);
6891 if (PyErr_Occurred()) SWIG_fail
;
6893 resultobj
= SWIG_Py_Void();
6900 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
*resultobj
= 0;
6902 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6908 PyObject
* obj0
= 0 ;
6909 PyObject
* obj1
= 0 ;
6910 char * kwnames
[] = {
6911 (char *) "self",(char *) "width", NULL
6914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6916 if (!SWIG_IsOK(res1
)) {
6917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6919 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6921 if (!SWIG_IsOK(ecode2
)) {
6922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6924 arg2
= static_cast< int >(val2
);
6926 (arg1
)->SetWidth(arg2
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= SWIG_Py_Void();
6936 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
*resultobj
= 0;
6938 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6944 PyObject
* obj0
= 0 ;
6945 PyObject
* obj1
= 0 ;
6946 char * kwnames
[] = {
6947 (char *) "self",(char *) "depth", NULL
6950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6952 if (!SWIG_IsOK(res1
)) {
6953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6955 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6956 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6957 if (!SWIG_IsOK(ecode2
)) {
6958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6960 arg2
= static_cast< int >(val2
);
6962 (arg1
)->SetDepth(arg2
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6965 resultobj
= SWIG_Py_Void();
6972 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
*resultobj
= 0;
6974 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6979 PyObject
* obj0
= 0 ;
6980 PyObject
* obj1
= 0 ;
6981 char * kwnames
[] = {
6982 (char *) "self",(char *) "size", NULL
6985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6987 if (!SWIG_IsOK(res1
)) {
6988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6990 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6993 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6996 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6997 if (PyErr_Occurred()) SWIG_fail
;
6999 resultobj
= SWIG_Py_Void();
7006 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7007 PyObject
*resultobj
= 0;
7008 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7014 PyObject
* obj0
= 0 ;
7015 PyObject
* obj1
= 0 ;
7016 char * kwnames
[] = {
7017 (char *) "self",(char *) "data", NULL
7020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7022 if (!SWIG_IsOK(res1
)) {
7023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7025 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7027 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7031 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= SWIG_Py_Void();
7041 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
= 0;
7043 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7049 PyObject
* obj0
= 0 ;
7050 PyObject
* obj1
= 0 ;
7051 char * kwnames
[] = {
7052 (char *) "self",(char *) "data", NULL
7055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7057 if (!SWIG_IsOK(res1
)) {
7058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7060 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7062 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7066 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7069 resultobj
= SWIG_Py_Void();
7076 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
*resultobj
= 0;
7078 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7079 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7085 PyObject
* obj0
= 0 ;
7086 PyObject
* obj1
= 0 ;
7087 char * kwnames
[] = {
7088 (char *) "self",(char *) "other", NULL
7091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7093 if (!SWIG_IsOK(res1
)) {
7094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7096 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7097 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7098 if (!SWIG_IsOK(res2
)) {
7099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7101 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7103 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7104 if (PyErr_Occurred()) SWIG_fail
;
7107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7115 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7116 PyObject
*resultobj
= 0;
7117 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7118 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7124 PyObject
* obj0
= 0 ;
7125 PyObject
* obj1
= 0 ;
7126 char * kwnames
[] = {
7127 (char *) "self",(char *) "other", NULL
7130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7132 if (!SWIG_IsOK(res1
)) {
7133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7135 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7136 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7137 if (!SWIG_IsOK(res2
)) {
7138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7140 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7142 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7143 if (PyErr_Occurred()) SWIG_fail
;
7146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7154 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7156 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7157 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7158 return SWIG_Py_Void();
7161 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7162 return SWIG_Python_InitShadowInstance(args
);
7165 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7166 PyObject
*resultobj
= 0;
7173 wxBitmap
*result
= 0 ;
7180 PyObject
* obj0
= 0 ;
7181 PyObject
* obj1
= 0 ;
7182 PyObject
* obj2
= 0 ;
7183 PyObject
* obj3
= 0 ;
7184 char * kwnames
[] = {
7185 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7189 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7190 if (!SWIG_IsOK(ecode1
)) {
7191 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7193 arg1
= static_cast< int >(val1
);
7194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7195 if (!SWIG_IsOK(ecode2
)) {
7196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7198 arg2
= static_cast< int >(val2
);
7200 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7204 if (obj3
!= Py_None
) {
7205 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7210 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7220 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
*resultobj
= 0;
7226 wxBitmap
*result
= 0 ;
7232 PyObject
* obj0
= 0 ;
7233 PyObject
* obj1
= 0 ;
7234 PyObject
* obj2
= 0 ;
7235 char * kwnames
[] = {
7236 (char *) "width",(char *) "height",(char *) "data", NULL
7239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7240 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7241 if (!SWIG_IsOK(ecode1
)) {
7242 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7244 arg1
= static_cast< int >(val1
);
7245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7246 if (!SWIG_IsOK(ecode2
)) {
7247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7249 arg2
= static_cast< int >(val2
);
7251 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7255 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7256 if (PyErr_Occurred()) SWIG_fail
;
7258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7265 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
*resultobj
= 0;
7271 wxBitmap
*result
= 0 ;
7277 PyObject
* obj0
= 0 ;
7278 PyObject
* obj1
= 0 ;
7279 PyObject
* obj2
= 0 ;
7280 char * kwnames
[] = {
7281 (char *) "width",(char *) "height",(char *) "data", NULL
7284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7285 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7286 if (!SWIG_IsOK(ecode1
)) {
7287 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7289 arg1
= static_cast< int >(val1
);
7290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7291 if (!SWIG_IsOK(ecode2
)) {
7292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7294 arg2
= static_cast< int >(val2
);
7296 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7300 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7310 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7311 PyObject
*resultobj
= 0;
7312 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7316 PyObject
*swig_obj
[1] ;
7318 if (!args
) SWIG_fail
;
7320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7321 if (!SWIG_IsOK(res1
)) {
7322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7324 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7326 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7327 if (PyErr_Occurred()) SWIG_fail
;
7329 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7336 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7337 PyObject
*resultobj
= 0;
7338 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7342 PyObject
*swig_obj
[1] ;
7344 if (!args
) SWIG_fail
;
7346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7347 if (!SWIG_IsOK(res1
)) {
7348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7350 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7352 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7353 if (PyErr_Occurred()) SWIG_fail
;
7355 resultobj
= SWIG_From_int(static_cast< int >(result
));
7362 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7363 PyObject
*resultobj
= 0;
7364 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7368 PyObject
*swig_obj
[1] ;
7370 if (!args
) SWIG_fail
;
7372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7373 if (!SWIG_IsOK(res1
)) {
7374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7376 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7378 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7379 if (PyErr_Occurred()) SWIG_fail
;
7381 resultobj
= SWIG_From_int(static_cast< int >(result
));
7388 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7389 PyObject
*resultobj
= 0;
7390 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7394 PyObject
*swig_obj
[1] ;
7396 if (!args
) SWIG_fail
;
7398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7399 if (!SWIG_IsOK(res1
)) {
7400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7402 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7404 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7405 if (PyErr_Occurred()) SWIG_fail
;
7407 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7414 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7415 PyObject
*resultobj
= 0;
7416 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7420 PyObject
*swig_obj
[1] ;
7422 if (!args
) SWIG_fail
;
7424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7425 if (!SWIG_IsOK(res1
)) {
7426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7428 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7430 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7431 if (PyErr_Occurred()) SWIG_fail
;
7433 resultobj
= SWIG_From_int(static_cast< int >(result
));
7440 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7442 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7443 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7444 return SWIG_Py_Void();
7447 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7448 PyObject
*resultobj
= 0;
7449 wxBitmap
*arg1
= 0 ;
7450 wxNativePixelData
*result
= 0 ;
7454 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7456 if (!SWIG_IsOK(res1
)) {
7457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7460 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7462 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7464 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7474 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7475 PyObject
*resultobj
= 0;
7476 wxBitmap
*arg1
= 0 ;
7478 wxNativePixelData
*result
= 0 ;
7483 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7485 if (!SWIG_IsOK(res1
)) {
7486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7489 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7491 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7494 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7497 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7498 if (PyErr_Occurred()) SWIG_fail
;
7500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7507 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7508 PyObject
*resultobj
= 0;
7509 wxBitmap
*arg1
= 0 ;
7512 wxNativePixelData
*result
= 0 ;
7518 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7520 if (!SWIG_IsOK(res1
)) {
7521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7524 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7526 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7529 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7533 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7536 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7546 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7550 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7553 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7556 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7559 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7563 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7568 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7569 PyObject
*resultobj
= 0;
7570 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7573 PyObject
*swig_obj
[1] ;
7575 if (!args
) SWIG_fail
;
7577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7578 if (!SWIG_IsOK(res1
)) {
7579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7581 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 resultobj
= SWIG_Py_Void();
7594 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7595 PyObject
*resultobj
= 0;
7596 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7597 wxNativePixelData_Accessor result
;
7600 PyObject
*swig_obj
[1] ;
7602 if (!args
) SWIG_fail
;
7604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7605 if (!SWIG_IsOK(res1
)) {
7606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7608 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7610 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7611 if (PyErr_Occurred()) SWIG_fail
;
7613 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7620 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7621 PyObject
*resultobj
= 0;
7622 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7625 PyObject
*swig_obj
[1] ;
7627 if (!args
) SWIG_fail
;
7629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7630 if (!SWIG_IsOK(res1
)) {
7631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7633 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7636 if (PyErr_Occurred()) SWIG_fail
;
7638 resultobj
= SWIG_Py_Void();
7645 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7646 PyObject
*resultobj
= 0;
7647 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7651 PyObject
*swig_obj
[1] ;
7653 if (!args
) SWIG_fail
;
7655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7656 if (!SWIG_IsOK(res1
)) {
7657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7659 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7661 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7662 if (PyErr_Occurred()) SWIG_fail
;
7665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7673 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7675 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7676 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7677 return SWIG_Py_Void();
7680 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7681 return SWIG_Python_InitShadowInstance(args
);
7684 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7685 PyObject
*resultobj
= 0;
7686 wxNativePixelData
*arg1
= 0 ;
7687 wxNativePixelData_Accessor
*result
= 0 ;
7691 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7693 if (!SWIG_IsOK(res1
)) {
7694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7699 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7701 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7702 if (PyErr_Occurred()) SWIG_fail
;
7704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7711 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7712 PyObject
*resultobj
= 0;
7713 wxBitmap
*arg1
= 0 ;
7714 wxNativePixelData
*arg2
= 0 ;
7715 wxNativePixelData_Accessor
*result
= 0 ;
7721 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7723 if (!SWIG_IsOK(res1
)) {
7724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7727 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7729 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7730 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7731 if (!SWIG_IsOK(res2
)) {
7732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7735 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7737 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7739 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7740 if (PyErr_Occurred()) SWIG_fail
;
7742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7749 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7750 PyObject
*resultobj
= 0;
7751 wxNativePixelData_Accessor
*result
= 0 ;
7753 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7755 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7756 if (PyErr_Occurred()) SWIG_fail
;
7758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7765 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7769 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7772 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7775 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7778 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7782 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7787 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7788 PyObject
*resultobj
= 0;
7789 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7792 PyObject
*swig_obj
[1] ;
7794 if (!args
) SWIG_fail
;
7796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7797 if (!SWIG_IsOK(res1
)) {
7798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7800 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7804 if (PyErr_Occurred()) SWIG_fail
;
7806 resultobj
= SWIG_Py_Void();
7813 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
*resultobj
= 0;
7815 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7816 wxNativePixelData
*arg2
= 0 ;
7821 PyObject
* obj0
= 0 ;
7822 PyObject
* obj1
= 0 ;
7823 char * kwnames
[] = {
7824 (char *) "self",(char *) "data", NULL
7827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7829 if (!SWIG_IsOK(res1
)) {
7830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7832 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7833 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7834 if (!SWIG_IsOK(res2
)) {
7835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7840 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7842 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7845 resultobj
= SWIG_Py_Void();
7852 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7853 PyObject
*resultobj
= 0;
7854 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7858 PyObject
*swig_obj
[1] ;
7860 if (!args
) SWIG_fail
;
7862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7863 if (!SWIG_IsOK(res1
)) {
7864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7866 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7868 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7869 if (PyErr_Occurred()) SWIG_fail
;
7872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7880 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7881 PyObject
*resultobj
= 0;
7882 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7885 PyObject
*swig_obj
[1] ;
7887 if (!args
) SWIG_fail
;
7889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7890 if (!SWIG_IsOK(res1
)) {
7891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7893 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7895 wxNativePixelData_Accessor_nextPixel(arg1
);
7896 if (PyErr_Occurred()) SWIG_fail
;
7898 resultobj
= SWIG_Py_Void();
7905 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7906 PyObject
*resultobj
= 0;
7907 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7908 wxNativePixelData
*arg2
= 0 ;
7919 PyObject
* obj0
= 0 ;
7920 PyObject
* obj1
= 0 ;
7921 PyObject
* obj2
= 0 ;
7922 PyObject
* obj3
= 0 ;
7923 char * kwnames
[] = {
7924 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7929 if (!SWIG_IsOK(res1
)) {
7930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7932 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7933 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7934 if (!SWIG_IsOK(res2
)) {
7935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7940 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7941 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7942 if (!SWIG_IsOK(ecode3
)) {
7943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7945 arg3
= static_cast< int >(val3
);
7946 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7947 if (!SWIG_IsOK(ecode4
)) {
7948 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7950 arg4
= static_cast< int >(val4
);
7952 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7955 resultobj
= SWIG_Py_Void();
7962 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7963 PyObject
*resultobj
= 0;
7964 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7965 wxNativePixelData
*arg2
= 0 ;
7973 PyObject
* obj0
= 0 ;
7974 PyObject
* obj1
= 0 ;
7975 PyObject
* obj2
= 0 ;
7976 char * kwnames
[] = {
7977 (char *) "self",(char *) "data",(char *) "x", NULL
7980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7982 if (!SWIG_IsOK(res1
)) {
7983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7985 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7986 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7987 if (!SWIG_IsOK(res2
)) {
7988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7993 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7994 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7995 if (!SWIG_IsOK(ecode3
)) {
7996 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7998 arg3
= static_cast< int >(val3
);
8000 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8003 resultobj
= SWIG_Py_Void();
8010 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
= 0;
8012 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8013 wxNativePixelData
*arg2
= 0 ;
8021 PyObject
* obj0
= 0 ;
8022 PyObject
* obj1
= 0 ;
8023 PyObject
* obj2
= 0 ;
8024 char * kwnames
[] = {
8025 (char *) "self",(char *) "data",(char *) "y", NULL
8028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8030 if (!SWIG_IsOK(res1
)) {
8031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8033 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8034 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8035 if (!SWIG_IsOK(res2
)) {
8036 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8041 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8042 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8043 if (!SWIG_IsOK(ecode3
)) {
8044 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8046 arg3
= static_cast< int >(val3
);
8048 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8049 if (PyErr_Occurred()) SWIG_fail
;
8051 resultobj
= SWIG_Py_Void();
8058 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8059 PyObject
*resultobj
= 0;
8060 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8061 wxNativePixelData
*arg2
= 0 ;
8072 PyObject
* obj0
= 0 ;
8073 PyObject
* obj1
= 0 ;
8074 PyObject
* obj2
= 0 ;
8075 PyObject
* obj3
= 0 ;
8076 char * kwnames
[] = {
8077 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8082 if (!SWIG_IsOK(res1
)) {
8083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8085 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8086 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8087 if (!SWIG_IsOK(res2
)) {
8088 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8091 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8093 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8094 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8095 if (!SWIG_IsOK(ecode3
)) {
8096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8098 arg3
= static_cast< int >(val3
);
8099 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8100 if (!SWIG_IsOK(ecode4
)) {
8101 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8103 arg4
= static_cast< int >(val4
);
8105 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8106 if (PyErr_Occurred()) SWIG_fail
;
8108 resultobj
= SWIG_Py_Void();
8115 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8116 PyObject
*resultobj
= 0;
8117 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8123 unsigned char val2
;
8125 unsigned char val3
;
8127 unsigned char val4
;
8129 PyObject
* obj0
= 0 ;
8130 PyObject
* obj1
= 0 ;
8131 PyObject
* obj2
= 0 ;
8132 PyObject
* obj3
= 0 ;
8133 char * kwnames
[] = {
8134 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8139 if (!SWIG_IsOK(res1
)) {
8140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8142 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8143 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8144 if (!SWIG_IsOK(ecode2
)) {
8145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8147 arg2
= static_cast< byte
>(val2
);
8148 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8149 if (!SWIG_IsOK(ecode3
)) {
8150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8152 arg3
= static_cast< byte
>(val3
);
8153 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8154 if (!SWIG_IsOK(ecode4
)) {
8155 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8157 arg4
= static_cast< byte
>(val4
);
8159 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8160 if (PyErr_Occurred()) SWIG_fail
;
8162 resultobj
= SWIG_Py_Void();
8169 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8170 PyObject
*resultobj
= 0;
8171 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8172 PyObject
*result
= 0 ;
8175 PyObject
*swig_obj
[1] ;
8177 if (!args
) SWIG_fail
;
8179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8180 if (!SWIG_IsOK(res1
)) {
8181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8183 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8185 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8186 if (PyErr_Occurred()) SWIG_fail
;
8195 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8197 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8198 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8199 return SWIG_Py_Void();
8202 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8203 return SWIG_Python_InitShadowInstance(args
);
8206 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8207 PyObject
*resultobj
= 0;
8208 wxBitmap
*arg1
= 0 ;
8209 wxAlphaPixelData
*result
= 0 ;
8213 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8215 if (!SWIG_IsOK(res1
)) {
8216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8221 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8223 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8224 if (PyErr_Occurred()) SWIG_fail
;
8226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8233 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8234 PyObject
*resultobj
= 0;
8235 wxBitmap
*arg1
= 0 ;
8237 wxAlphaPixelData
*result
= 0 ;
8242 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8244 if (!SWIG_IsOK(res1
)) {
8245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8250 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8253 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8256 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8266 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8267 PyObject
*resultobj
= 0;
8268 wxBitmap
*arg1
= 0 ;
8271 wxAlphaPixelData
*result
= 0 ;
8277 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8279 if (!SWIG_IsOK(res1
)) {
8280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8285 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8288 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8292 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8295 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8296 if (PyErr_Occurred()) SWIG_fail
;
8298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8305 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8309 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8312 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8315 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8318 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8322 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8327 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8328 PyObject
*resultobj
= 0;
8329 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8332 PyObject
*swig_obj
[1] ;
8334 if (!args
) SWIG_fail
;
8336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8337 if (!SWIG_IsOK(res1
)) {
8338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8340 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8344 if (PyErr_Occurred()) SWIG_fail
;
8346 resultobj
= SWIG_Py_Void();
8353 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8354 PyObject
*resultobj
= 0;
8355 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8356 wxAlphaPixelData_Accessor result
;
8359 PyObject
*swig_obj
[1] ;
8361 if (!args
) SWIG_fail
;
8363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8364 if (!SWIG_IsOK(res1
)) {
8365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8367 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8369 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8370 if (PyErr_Occurred()) SWIG_fail
;
8372 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8379 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8380 PyObject
*resultobj
= 0;
8381 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8384 PyObject
*swig_obj
[1] ;
8386 if (!args
) SWIG_fail
;
8388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8389 if (!SWIG_IsOK(res1
)) {
8390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8392 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8397 resultobj
= SWIG_Py_Void();
8404 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8405 PyObject
*resultobj
= 0;
8406 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8410 PyObject
*swig_obj
[1] ;
8412 if (!args
) SWIG_fail
;
8414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8415 if (!SWIG_IsOK(res1
)) {
8416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8418 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8420 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8432 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8434 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8435 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8436 return SWIG_Py_Void();
8439 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8440 return SWIG_Python_InitShadowInstance(args
);
8443 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8444 PyObject
*resultobj
= 0;
8445 wxAlphaPixelData
*arg1
= 0 ;
8446 wxAlphaPixelData_Accessor
*result
= 0 ;
8450 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8452 if (!SWIG_IsOK(res1
)) {
8453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8456 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8458 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8460 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8461 if (PyErr_Occurred()) SWIG_fail
;
8463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8470 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8471 PyObject
*resultobj
= 0;
8472 wxBitmap
*arg1
= 0 ;
8473 wxAlphaPixelData
*arg2
= 0 ;
8474 wxAlphaPixelData_Accessor
*result
= 0 ;
8480 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8482 if (!SWIG_IsOK(res1
)) {
8483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8488 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8489 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8490 if (!SWIG_IsOK(res2
)) {
8491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8496 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8498 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8508 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8509 PyObject
*resultobj
= 0;
8510 wxAlphaPixelData_Accessor
*result
= 0 ;
8512 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8514 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8515 if (PyErr_Occurred()) SWIG_fail
;
8517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8524 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8528 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8531 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8534 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8537 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8541 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8546 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8547 PyObject
*resultobj
= 0;
8548 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8551 PyObject
*swig_obj
[1] ;
8553 if (!args
) SWIG_fail
;
8555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8556 if (!SWIG_IsOK(res1
)) {
8557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8559 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8565 resultobj
= SWIG_Py_Void();
8572 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8573 PyObject
*resultobj
= 0;
8574 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8575 wxAlphaPixelData
*arg2
= 0 ;
8580 PyObject
* obj0
= 0 ;
8581 PyObject
* obj1
= 0 ;
8582 char * kwnames
[] = {
8583 (char *) "self",(char *) "data", NULL
8586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8588 if (!SWIG_IsOK(res1
)) {
8589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8591 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8592 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8593 if (!SWIG_IsOK(res2
)) {
8594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8599 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8601 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8604 resultobj
= SWIG_Py_Void();
8611 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8612 PyObject
*resultobj
= 0;
8613 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8617 PyObject
*swig_obj
[1] ;
8619 if (!args
) SWIG_fail
;
8621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8622 if (!SWIG_IsOK(res1
)) {
8623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8625 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8627 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8628 if (PyErr_Occurred()) SWIG_fail
;
8631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8639 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8640 PyObject
*resultobj
= 0;
8641 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8644 PyObject
*swig_obj
[1] ;
8646 if (!args
) SWIG_fail
;
8648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8649 if (!SWIG_IsOK(res1
)) {
8650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8652 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8654 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8657 resultobj
= SWIG_Py_Void();
8664 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8665 PyObject
*resultobj
= 0;
8666 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8667 wxAlphaPixelData
*arg2
= 0 ;
8678 PyObject
* obj0
= 0 ;
8679 PyObject
* obj1
= 0 ;
8680 PyObject
* obj2
= 0 ;
8681 PyObject
* obj3
= 0 ;
8682 char * kwnames
[] = {
8683 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8688 if (!SWIG_IsOK(res1
)) {
8689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8691 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8692 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8693 if (!SWIG_IsOK(res2
)) {
8694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8699 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8700 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8701 if (!SWIG_IsOK(ecode3
)) {
8702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8704 arg3
= static_cast< int >(val3
);
8705 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8706 if (!SWIG_IsOK(ecode4
)) {
8707 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8709 arg4
= static_cast< int >(val4
);
8711 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8712 if (PyErr_Occurred()) SWIG_fail
;
8714 resultobj
= SWIG_Py_Void();
8721 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8722 PyObject
*resultobj
= 0;
8723 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8724 wxAlphaPixelData
*arg2
= 0 ;
8732 PyObject
* obj0
= 0 ;
8733 PyObject
* obj1
= 0 ;
8734 PyObject
* obj2
= 0 ;
8735 char * kwnames
[] = {
8736 (char *) "self",(char *) "data",(char *) "x", NULL
8739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8741 if (!SWIG_IsOK(res1
)) {
8742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8744 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8745 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8746 if (!SWIG_IsOK(res2
)) {
8747 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8752 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8753 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8754 if (!SWIG_IsOK(ecode3
)) {
8755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8757 arg3
= static_cast< int >(val3
);
8759 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8760 if (PyErr_Occurred()) SWIG_fail
;
8762 resultobj
= SWIG_Py_Void();
8769 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8770 PyObject
*resultobj
= 0;
8771 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8772 wxAlphaPixelData
*arg2
= 0 ;
8780 PyObject
* obj0
= 0 ;
8781 PyObject
* obj1
= 0 ;
8782 PyObject
* obj2
= 0 ;
8783 char * kwnames
[] = {
8784 (char *) "self",(char *) "data",(char *) "y", NULL
8787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8789 if (!SWIG_IsOK(res1
)) {
8790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8792 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8793 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8794 if (!SWIG_IsOK(res2
)) {
8795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8800 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8801 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8802 if (!SWIG_IsOK(ecode3
)) {
8803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8805 arg3
= static_cast< int >(val3
);
8807 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8810 resultobj
= SWIG_Py_Void();
8817 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8818 PyObject
*resultobj
= 0;
8819 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8820 wxAlphaPixelData
*arg2
= 0 ;
8831 PyObject
* obj0
= 0 ;
8832 PyObject
* obj1
= 0 ;
8833 PyObject
* obj2
= 0 ;
8834 PyObject
* obj3
= 0 ;
8835 char * kwnames
[] = {
8836 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8841 if (!SWIG_IsOK(res1
)) {
8842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8844 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8845 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8846 if (!SWIG_IsOK(res2
)) {
8847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8850 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8852 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8853 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8854 if (!SWIG_IsOK(ecode3
)) {
8855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8857 arg3
= static_cast< int >(val3
);
8858 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8859 if (!SWIG_IsOK(ecode4
)) {
8860 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8862 arg4
= static_cast< int >(val4
);
8864 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8867 resultobj
= SWIG_Py_Void();
8874 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8875 PyObject
*resultobj
= 0;
8876 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8883 unsigned char val2
;
8885 unsigned char val3
;
8887 unsigned char val4
;
8889 unsigned char val5
;
8891 PyObject
* obj0
= 0 ;
8892 PyObject
* obj1
= 0 ;
8893 PyObject
* obj2
= 0 ;
8894 PyObject
* obj3
= 0 ;
8895 PyObject
* obj4
= 0 ;
8896 char * kwnames
[] = {
8897 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8902 if (!SWIG_IsOK(res1
)) {
8903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8905 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8906 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8907 if (!SWIG_IsOK(ecode2
)) {
8908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8910 arg2
= static_cast< byte
>(val2
);
8911 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8912 if (!SWIG_IsOK(ecode3
)) {
8913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8915 arg3
= static_cast< byte
>(val3
);
8916 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8917 if (!SWIG_IsOK(ecode4
)) {
8918 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8920 arg4
= static_cast< byte
>(val4
);
8921 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8922 if (!SWIG_IsOK(ecode5
)) {
8923 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8925 arg5
= static_cast< byte
>(val5
);
8927 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8930 resultobj
= SWIG_Py_Void();
8937 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8938 PyObject
*resultobj
= 0;
8939 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8940 PyObject
*result
= 0 ;
8943 PyObject
*swig_obj
[1] ;
8945 if (!args
) SWIG_fail
;
8947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8948 if (!SWIG_IsOK(res1
)) {
8949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8951 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8953 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8954 if (PyErr_Occurred()) SWIG_fail
;
8963 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8965 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8966 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8967 return SWIG_Py_Void();
8970 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8971 return SWIG_Python_InitShadowInstance(args
);
8974 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8975 PyObject
*resultobj
= 0;
8976 wxBitmap
*arg1
= 0 ;
8977 wxColour
const &arg2_defvalue
= wxNullColour
;
8978 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8979 wxMask
*result
= 0 ;
8983 PyObject
* obj0
= 0 ;
8984 PyObject
* obj1
= 0 ;
8985 char * kwnames
[] = {
8986 (char *) "bitmap",(char *) "colour", NULL
8989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8990 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8991 if (!SWIG_IsOK(res1
)) {
8992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8997 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9001 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9005 if (!wxPyCheckForApp()) SWIG_fail
;
9006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9007 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9008 wxPyEndAllowThreads(__tstate
);
9009 if (PyErr_Occurred()) SWIG_fail
;
9011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9018 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9019 PyObject
*resultobj
= 0;
9020 wxMask
*arg1
= (wxMask
*) 0 ;
9023 PyObject
*swig_obj
[1] ;
9025 if (!args
) SWIG_fail
;
9027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9028 if (!SWIG_IsOK(res1
)) {
9029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9031 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9037 resultobj
= SWIG_Py_Void();
9044 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9046 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9047 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9048 return SWIG_Py_Void();
9051 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9052 return SWIG_Python_InitShadowInstance(args
);
9055 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9056 PyObject
*resultobj
= 0;
9057 wxString
*arg1
= 0 ;
9059 int arg3
= (int) -1 ;
9060 int arg4
= (int) -1 ;
9061 wxIcon
*result
= 0 ;
9062 bool temp1
= false ;
9069 PyObject
* obj0
= 0 ;
9070 PyObject
* obj1
= 0 ;
9071 PyObject
* obj2
= 0 ;
9072 PyObject
* obj3
= 0 ;
9073 char * kwnames
[] = {
9074 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9079 arg1
= wxString_in_helper(obj0
);
9080 if (arg1
== NULL
) SWIG_fail
;
9083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9084 if (!SWIG_IsOK(ecode2
)) {
9085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9087 arg2
= static_cast< wxBitmapType
>(val2
);
9089 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9090 if (!SWIG_IsOK(ecode3
)) {
9091 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9093 arg3
= static_cast< int >(val3
);
9096 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9097 if (!SWIG_IsOK(ecode4
)) {
9098 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9100 arg4
= static_cast< int >(val4
);
9103 if (!wxPyCheckForApp()) SWIG_fail
;
9104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9105 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9106 wxPyEndAllowThreads(__tstate
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9124 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9125 PyObject
*resultobj
= 0;
9126 wxIcon
*arg1
= (wxIcon
*) 0 ;
9129 PyObject
*swig_obj
[1] ;
9131 if (!args
) SWIG_fail
;
9133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9134 if (!SWIG_IsOK(res1
)) {
9135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9137 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9145 resultobj
= SWIG_Py_Void();
9152 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9153 PyObject
*resultobj
= 0;
9154 wxIcon
*result
= 0 ;
9156 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9158 if (!wxPyCheckForApp()) SWIG_fail
;
9159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9160 result
= (wxIcon
*)new wxIcon();
9161 wxPyEndAllowThreads(__tstate
);
9162 if (PyErr_Occurred()) SWIG_fail
;
9164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9171 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
= 0;
9173 wxIconLocation
*arg1
= 0 ;
9174 wxIcon
*result
= 0 ;
9177 PyObject
* obj0
= 0 ;
9178 char * kwnames
[] = {
9179 (char *) "loc", NULL
9182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9183 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9184 if (!SWIG_IsOK(res1
)) {
9185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9188 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9190 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9192 if (!wxPyCheckForApp()) SWIG_fail
;
9193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9194 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9195 wxPyEndAllowThreads(__tstate
);
9196 if (PyErr_Occurred()) SWIG_fail
;
9198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9205 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9206 PyObject
*resultobj
= 0;
9207 wxBitmap
*arg1
= 0 ;
9208 wxIcon
*result
= 0 ;
9211 PyObject
* obj0
= 0 ;
9212 char * kwnames
[] = {
9213 (char *) "bmp", NULL
9216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9217 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9218 if (!SWIG_IsOK(res1
)) {
9219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9224 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9226 if (!wxPyCheckForApp()) SWIG_fail
;
9227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9228 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9229 wxPyEndAllowThreads(__tstate
);
9230 if (PyErr_Occurred()) SWIG_fail
;
9232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9239 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9240 PyObject
*resultobj
= 0;
9241 PyObject
*arg1
= (PyObject
*) 0 ;
9242 wxIcon
*result
= 0 ;
9243 PyObject
* obj0
= 0 ;
9244 char * kwnames
[] = {
9245 (char *) "listOfStrings", NULL
9248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9251 if (!wxPyCheckForApp()) SWIG_fail
;
9252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9253 result
= (wxIcon
*)new_wxIcon(arg1
);
9254 wxPyEndAllowThreads(__tstate
);
9255 if (PyErr_Occurred()) SWIG_fail
;
9257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9264 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9265 PyObject
*resultobj
= 0;
9266 wxIcon
*arg1
= (wxIcon
*) 0 ;
9270 PyObject
*swig_obj
[1] ;
9272 if (!args
) SWIG_fail
;
9274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9275 if (!SWIG_IsOK(res1
)) {
9276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9278 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9281 result
= (bool)(arg1
)->IsOk();
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9294 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9295 PyObject
*resultobj
= 0;
9296 wxIcon
*arg1
= (wxIcon
*) 0 ;
9300 PyObject
*swig_obj
[1] ;
9302 if (!args
) SWIG_fail
;
9304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9305 if (!SWIG_IsOK(res1
)) {
9306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9308 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9311 result
= (int)(arg1
)->GetWidth();
9312 wxPyEndAllowThreads(__tstate
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9315 resultobj
= SWIG_From_int(static_cast< int >(result
));
9322 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9323 PyObject
*resultobj
= 0;
9324 wxIcon
*arg1
= (wxIcon
*) 0 ;
9328 PyObject
*swig_obj
[1] ;
9330 if (!args
) SWIG_fail
;
9332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9333 if (!SWIG_IsOK(res1
)) {
9334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9336 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9339 result
= (int)(arg1
)->GetHeight();
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9343 resultobj
= SWIG_From_int(static_cast< int >(result
));
9350 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9351 PyObject
*resultobj
= 0;
9352 wxIcon
*arg1
= (wxIcon
*) 0 ;
9356 PyObject
*swig_obj
[1] ;
9358 if (!args
) SWIG_fail
;
9360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9361 if (!SWIG_IsOK(res1
)) {
9362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9364 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9367 result
= (int)(arg1
)->GetDepth();
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9371 resultobj
= SWIG_From_int(static_cast< int >(result
));
9378 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9379 PyObject
*resultobj
= 0;
9380 wxIcon
*arg1
= (wxIcon
*) 0 ;
9386 PyObject
* obj0
= 0 ;
9387 PyObject
* obj1
= 0 ;
9388 char * kwnames
[] = {
9389 (char *) "self",(char *) "w", NULL
9392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9394 if (!SWIG_IsOK(res1
)) {
9395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9397 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9399 if (!SWIG_IsOK(ecode2
)) {
9400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9402 arg2
= static_cast< int >(val2
);
9404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9405 (arg1
)->SetWidth(arg2
);
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9409 resultobj
= SWIG_Py_Void();
9416 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
*resultobj
= 0;
9418 wxIcon
*arg1
= (wxIcon
*) 0 ;
9424 PyObject
* obj0
= 0 ;
9425 PyObject
* obj1
= 0 ;
9426 char * kwnames
[] = {
9427 (char *) "self",(char *) "h", NULL
9430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9432 if (!SWIG_IsOK(res1
)) {
9433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9435 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9437 if (!SWIG_IsOK(ecode2
)) {
9438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9440 arg2
= static_cast< int >(val2
);
9442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9443 (arg1
)->SetHeight(arg2
);
9444 wxPyEndAllowThreads(__tstate
);
9445 if (PyErr_Occurred()) SWIG_fail
;
9447 resultobj
= SWIG_Py_Void();
9454 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9455 PyObject
*resultobj
= 0;
9456 wxIcon
*arg1
= (wxIcon
*) 0 ;
9462 PyObject
* obj0
= 0 ;
9463 PyObject
* obj1
= 0 ;
9464 char * kwnames
[] = {
9465 (char *) "self",(char *) "d", NULL
9468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9470 if (!SWIG_IsOK(res1
)) {
9471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9473 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9475 if (!SWIG_IsOK(ecode2
)) {
9476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9478 arg2
= static_cast< int >(val2
);
9480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9481 (arg1
)->SetDepth(arg2
);
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9485 resultobj
= SWIG_Py_Void();
9492 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
= 0;
9494 wxIcon
*arg1
= (wxIcon
*) 0 ;
9495 wxBitmap
*arg2
= 0 ;
9500 PyObject
* obj0
= 0 ;
9501 PyObject
* obj1
= 0 ;
9502 char * kwnames
[] = {
9503 (char *) "self",(char *) "bmp", NULL
9506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9508 if (!SWIG_IsOK(res1
)) {
9509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9511 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9512 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9513 if (!SWIG_IsOK(res2
)) {
9514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9519 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9523 wxPyEndAllowThreads(__tstate
);
9524 if (PyErr_Occurred()) SWIG_fail
;
9526 resultobj
= SWIG_Py_Void();
9533 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9535 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9536 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9537 return SWIG_Py_Void();
9540 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9541 return SWIG_Python_InitShadowInstance(args
);
9544 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
*resultobj
= 0;
9546 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9547 int arg2
= (int) 0 ;
9548 wxIconLocation
*result
= 0 ;
9549 bool temp1
= false ;
9552 PyObject
* obj0
= 0 ;
9553 PyObject
* obj1
= 0 ;
9554 char * kwnames
[] = {
9555 (char *) "filename",(char *) "num", NULL
9558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9561 arg1
= wxString_in_helper(obj0
);
9562 if (arg1
== NULL
) SWIG_fail
;
9567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9568 if (!SWIG_IsOK(ecode2
)) {
9569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9571 arg2
= static_cast< int >(val2
);
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9594 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9595 PyObject
*resultobj
= 0;
9596 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9599 PyObject
*swig_obj
[1] ;
9601 if (!args
) SWIG_fail
;
9603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9604 if (!SWIG_IsOK(res1
)) {
9605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9607 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9615 resultobj
= SWIG_Py_Void();
9622 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9623 PyObject
*resultobj
= 0;
9624 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9628 PyObject
*swig_obj
[1] ;
9630 if (!args
) SWIG_fail
;
9632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9633 if (!SWIG_IsOK(res1
)) {
9634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9636 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9639 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9652 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9653 PyObject
*resultobj
= 0;
9654 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9655 wxString
*arg2
= 0 ;
9658 bool temp2
= false ;
9659 PyObject
* obj0
= 0 ;
9660 PyObject
* obj1
= 0 ;
9661 char * kwnames
[] = {
9662 (char *) "self",(char *) "filename", NULL
9665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9667 if (!SWIG_IsOK(res1
)) {
9668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9670 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9672 arg2
= wxString_in_helper(obj1
);
9673 if (arg2
== NULL
) SWIG_fail
;
9677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9678 (arg1
)->SetFileName((wxString
const &)*arg2
);
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9682 resultobj
= SWIG_Py_Void();
9697 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9698 PyObject
*resultobj
= 0;
9699 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9700 wxString
*result
= 0 ;
9703 PyObject
*swig_obj
[1] ;
9705 if (!args
) SWIG_fail
;
9707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9708 if (!SWIG_IsOK(res1
)) {
9709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9711 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9715 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9716 result
= (wxString
*) &_result_ref
;
9718 wxPyEndAllowThreads(__tstate
);
9719 if (PyErr_Occurred()) SWIG_fail
;
9723 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9725 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9734 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
= 0;
9736 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9742 PyObject
* obj0
= 0 ;
9743 PyObject
* obj1
= 0 ;
9744 char * kwnames
[] = {
9745 (char *) "self",(char *) "num", NULL
9748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9750 if (!SWIG_IsOK(res1
)) {
9751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9753 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9755 if (!SWIG_IsOK(ecode2
)) {
9756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9758 arg2
= static_cast< int >(val2
);
9760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9761 wxIconLocation_SetIndex(arg1
,arg2
);
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9765 resultobj
= SWIG_Py_Void();
9772 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9773 PyObject
*resultobj
= 0;
9774 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9778 PyObject
*swig_obj
[1] ;
9780 if (!args
) SWIG_fail
;
9782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9783 if (!SWIG_IsOK(res1
)) {
9784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9786 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9789 result
= (int)wxIconLocation_GetIndex(arg1
);
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9793 resultobj
= SWIG_From_int(static_cast< int >(result
));
9800 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9802 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9803 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9804 return SWIG_Py_Void();
9807 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9808 return SWIG_Python_InitShadowInstance(args
);
9811 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9812 PyObject
*resultobj
= 0;
9813 wxIconBundle
*result
= 0 ;
9815 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9818 result
= (wxIconBundle
*)new wxIconBundle();
9819 wxPyEndAllowThreads(__tstate
);
9820 if (PyErr_Occurred()) SWIG_fail
;
9822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9829 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9830 PyObject
*resultobj
= 0;
9831 wxString
*arg1
= 0 ;
9833 wxIconBundle
*result
= 0 ;
9834 bool temp1
= false ;
9837 PyObject
* obj0
= 0 ;
9838 PyObject
* obj1
= 0 ;
9839 char * kwnames
[] = {
9840 (char *) "file",(char *) "type", NULL
9843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9845 arg1
= wxString_in_helper(obj0
);
9846 if (arg1
== NULL
) SWIG_fail
;
9849 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9850 if (!SWIG_IsOK(ecode2
)) {
9851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9853 arg2
= static_cast< long >(val2
);
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9856 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9875 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
*resultobj
= 0;
9878 wxIconBundle
*result
= 0 ;
9881 PyObject
* obj0
= 0 ;
9882 char * kwnames
[] = {
9883 (char *) "icon", NULL
9886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9887 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9888 if (!SWIG_IsOK(res1
)) {
9889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9894 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9908 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9909 PyObject
*resultobj
= 0;
9910 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9913 PyObject
*swig_obj
[1] ;
9915 if (!args
) SWIG_fail
;
9917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9918 if (!SWIG_IsOK(res1
)) {
9919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9921 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 wxPyEndAllowThreads(__tstate
);
9927 if (PyErr_Occurred()) SWIG_fail
;
9929 resultobj
= SWIG_Py_Void();
9936 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9937 PyObject
*resultobj
= 0;
9938 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9944 PyObject
* obj0
= 0 ;
9945 PyObject
* obj1
= 0 ;
9946 char * kwnames
[] = {
9947 (char *) "self",(char *) "icon", NULL
9950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9952 if (!SWIG_IsOK(res1
)) {
9953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9955 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9956 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9957 if (!SWIG_IsOK(res2
)) {
9958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9961 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9963 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9966 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9970 resultobj
= SWIG_Py_Void();
9977 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9978 PyObject
*resultobj
= 0;
9979 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9980 wxString
*arg2
= 0 ;
9984 bool temp2
= false ;
9987 PyObject
* obj0
= 0 ;
9988 PyObject
* obj1
= 0 ;
9989 PyObject
* obj2
= 0 ;
9990 char * kwnames
[] = {
9991 (char *) "self",(char *) "file",(char *) "type", NULL
9994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9996 if (!SWIG_IsOK(res1
)) {
9997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9999 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10001 arg2
= wxString_in_helper(obj1
);
10002 if (arg2
== NULL
) SWIG_fail
;
10005 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10006 if (!SWIG_IsOK(ecode3
)) {
10007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10009 arg3
= static_cast< long >(val3
);
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10016 resultobj
= SWIG_Py_Void();
10031 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
*resultobj
= 0;
10033 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10035 wxIcon
*result
= 0 ;
10039 PyObject
* obj0
= 0 ;
10040 PyObject
* obj1
= 0 ;
10041 char * kwnames
[] = {
10042 (char *) "self",(char *) "size", NULL
10045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10047 if (!SWIG_IsOK(res1
)) {
10048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10050 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10053 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10058 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10059 result
= (wxIcon
*) &_result_ref
;
10061 wxPyEndAllowThreads(__tstate
);
10062 if (PyErr_Occurred()) SWIG_fail
;
10065 wxIcon
* resultptr
= new wxIcon(*result
);
10066 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10074 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10076 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10077 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10078 return SWIG_Py_Void();
10081 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10082 return SWIG_Python_InitShadowInstance(args
);
10085 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10086 PyObject
*resultobj
= 0;
10087 wxString
*arg1
= 0 ;
10089 int arg3
= (int) 0 ;
10090 int arg4
= (int) 0 ;
10091 wxCursor
*result
= 0 ;
10092 bool temp1
= false ;
10099 PyObject
* obj0
= 0 ;
10100 PyObject
* obj1
= 0 ;
10101 PyObject
* obj2
= 0 ;
10102 PyObject
* obj3
= 0 ;
10103 char * kwnames
[] = {
10104 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10109 arg1
= wxString_in_helper(obj0
);
10110 if (arg1
== NULL
) SWIG_fail
;
10113 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10114 if (!SWIG_IsOK(ecode2
)) {
10115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10117 arg2
= static_cast< long >(val2
);
10119 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10120 if (!SWIG_IsOK(ecode3
)) {
10121 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10123 arg3
= static_cast< int >(val3
);
10126 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10127 if (!SWIG_IsOK(ecode4
)) {
10128 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10130 arg4
= static_cast< int >(val4
);
10133 if (!wxPyCheckForApp()) SWIG_fail
;
10134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10135 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10136 wxPyEndAllowThreads(__tstate
);
10137 if (PyErr_Occurred()) SWIG_fail
;
10139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10154 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10155 PyObject
*resultobj
= 0;
10156 wxCursor
*arg1
= (wxCursor
*) 0 ;
10159 PyObject
*swig_obj
[1] ;
10161 if (!args
) SWIG_fail
;
10162 swig_obj
[0] = args
;
10163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10164 if (!SWIG_IsOK(res1
)) {
10165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10167 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 resultobj
= SWIG_Py_Void();
10182 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
*resultobj
= 0;
10185 wxCursor
*result
= 0 ;
10188 PyObject
* obj0
= 0 ;
10189 char * kwnames
[] = {
10190 (char *) "id", NULL
10193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10194 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10195 if (!SWIG_IsOK(ecode1
)) {
10196 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10198 arg1
= static_cast< int >(val1
);
10200 if (!wxPyCheckForApp()) SWIG_fail
;
10201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10202 result
= (wxCursor
*)new wxCursor(arg1
);
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10213 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
*resultobj
= 0;
10215 wxImage
*arg1
= 0 ;
10216 wxCursor
*result
= 0 ;
10219 PyObject
* obj0
= 0 ;
10220 char * kwnames
[] = {
10221 (char *) "image", NULL
10224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10225 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10226 if (!SWIG_IsOK(res1
)) {
10227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10232 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10234 if (!wxPyCheckForApp()) SWIG_fail
;
10235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10236 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10237 wxPyEndAllowThreads(__tstate
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10247 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10248 PyObject
*resultobj
= 0;
10249 wxCursor
*arg1
= (wxCursor
*) 0 ;
10253 PyObject
*swig_obj
[1] ;
10255 if (!args
) SWIG_fail
;
10256 swig_obj
[0] = args
;
10257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10258 if (!SWIG_IsOK(res1
)) {
10259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10261 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10264 result
= (bool)(arg1
)->IsOk();
10265 wxPyEndAllowThreads(__tstate
);
10266 if (PyErr_Occurred()) SWIG_fail
;
10269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10277 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10279 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10280 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10281 return SWIG_Py_Void();
10284 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10285 return SWIG_Python_InitShadowInstance(args
);
10288 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10289 PyObject
*resultobj
= 0;
10290 int arg1
= (int) 0 ;
10291 int arg2
= (int) 0 ;
10292 int arg3
= (int) 0 ;
10293 int arg4
= (int) 0 ;
10294 wxRegion
*result
= 0 ;
10303 PyObject
* obj0
= 0 ;
10304 PyObject
* obj1
= 0 ;
10305 PyObject
* obj2
= 0 ;
10306 PyObject
* obj3
= 0 ;
10307 char * kwnames
[] = {
10308 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10313 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10314 if (!SWIG_IsOK(ecode1
)) {
10315 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10317 arg1
= static_cast< int >(val1
);
10320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10321 if (!SWIG_IsOK(ecode2
)) {
10322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10324 arg2
= static_cast< int >(val2
);
10327 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10328 if (!SWIG_IsOK(ecode3
)) {
10329 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10331 arg3
= static_cast< int >(val3
);
10334 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10335 if (!SWIG_IsOK(ecode4
)) {
10336 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10338 arg4
= static_cast< int >(val4
);
10341 if (!wxPyCheckForApp()) SWIG_fail
;
10342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10343 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10344 wxPyEndAllowThreads(__tstate
);
10345 if (PyErr_Occurred()) SWIG_fail
;
10347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10354 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10355 PyObject
*resultobj
= 0;
10356 wxBitmap
*arg1
= 0 ;
10357 wxRegion
*result
= 0 ;
10360 PyObject
* obj0
= 0 ;
10361 char * kwnames
[] = {
10362 (char *) "bmp", NULL
10365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10366 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10367 if (!SWIG_IsOK(res1
)) {
10368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10373 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10375 if (!wxPyCheckForApp()) SWIG_fail
;
10376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10377 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10388 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10389 PyObject
*resultobj
= 0;
10390 wxBitmap
*arg1
= 0 ;
10391 wxColour
*arg2
= 0 ;
10392 int arg3
= (int) 0 ;
10393 wxRegion
*result
= 0 ;
10399 PyObject
* obj0
= 0 ;
10400 PyObject
* obj1
= 0 ;
10401 PyObject
* obj2
= 0 ;
10402 char * kwnames
[] = {
10403 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10407 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10408 if (!SWIG_IsOK(res1
)) {
10409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10412 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10414 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10417 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10420 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10421 if (!SWIG_IsOK(ecode3
)) {
10422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10424 arg3
= static_cast< int >(val3
);
10427 if (!wxPyCheckForApp()) SWIG_fail
;
10428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10429 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10430 wxPyEndAllowThreads(__tstate
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10440 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10441 PyObject
*resultobj
= 0;
10443 wxPoint
*arg2
= (wxPoint
*) 0 ;
10444 int arg3
= (int) wxWINDING_RULE
;
10445 wxRegion
*result
= 0 ;
10448 PyObject
* obj0
= 0 ;
10449 PyObject
* obj1
= 0 ;
10450 char * kwnames
[] = {
10451 (char *) "points",(char *) "fillStyle", NULL
10454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10456 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10457 if (arg2
== NULL
) SWIG_fail
;
10460 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10461 if (!SWIG_IsOK(ecode3
)) {
10462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10464 arg3
= static_cast< int >(val3
);
10467 if (!wxPyCheckForApp()) SWIG_fail
;
10468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10469 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10475 if (arg2
) delete [] arg2
;
10480 if (arg2
) delete [] arg2
;
10486 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10487 PyObject
*resultobj
= 0;
10488 wxRegion
*arg1
= (wxRegion
*) 0 ;
10491 PyObject
*swig_obj
[1] ;
10493 if (!args
) SWIG_fail
;
10494 swig_obj
[0] = args
;
10495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10496 if (!SWIG_IsOK(res1
)) {
10497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10499 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10507 resultobj
= SWIG_Py_Void();
10514 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10515 PyObject
*resultobj
= 0;
10516 wxRegion
*arg1
= (wxRegion
*) 0 ;
10519 PyObject
*swig_obj
[1] ;
10521 if (!args
) SWIG_fail
;
10522 swig_obj
[0] = args
;
10523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10524 if (!SWIG_IsOK(res1
)) {
10525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10527 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10534 resultobj
= SWIG_Py_Void();
10541 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10542 PyObject
*resultobj
= 0;
10543 wxRegion
*arg1
= (wxRegion
*) 0 ;
10553 PyObject
* obj0
= 0 ;
10554 PyObject
* obj1
= 0 ;
10555 PyObject
* obj2
= 0 ;
10556 char * kwnames
[] = {
10557 (char *) "self",(char *) "x",(char *) "y", NULL
10560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10562 if (!SWIG_IsOK(res1
)) {
10563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10565 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10567 if (!SWIG_IsOK(ecode2
)) {
10568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10570 arg2
= static_cast< int >(val2
);
10571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10572 if (!SWIG_IsOK(ecode3
)) {
10573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10575 arg3
= static_cast< int >(val3
);
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10579 wxPyEndAllowThreads(__tstate
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10591 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
*resultobj
= 0;
10593 wxRegion
*arg1
= (wxRegion
*) 0 ;
10596 wxRegionContain result
;
10603 PyObject
* obj0
= 0 ;
10604 PyObject
* obj1
= 0 ;
10605 PyObject
* obj2
= 0 ;
10606 char * kwnames
[] = {
10607 (char *) "self",(char *) "x",(char *) "y", NULL
10610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10612 if (!SWIG_IsOK(res1
)) {
10613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10615 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10616 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10617 if (!SWIG_IsOK(ecode2
)) {
10618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10620 arg2
= static_cast< int >(val2
);
10621 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10622 if (!SWIG_IsOK(ecode3
)) {
10623 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10625 arg3
= static_cast< int >(val3
);
10627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10628 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10629 wxPyEndAllowThreads(__tstate
);
10630 if (PyErr_Occurred()) SWIG_fail
;
10632 resultobj
= SWIG_From_int(static_cast< int >(result
));
10639 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10640 PyObject
*resultobj
= 0;
10641 wxRegion
*arg1
= (wxRegion
*) 0 ;
10642 wxPoint
*arg2
= 0 ;
10643 wxRegionContain result
;
10647 PyObject
* obj0
= 0 ;
10648 PyObject
* obj1
= 0 ;
10649 char * kwnames
[] = {
10650 (char *) "self",(char *) "pt", NULL
10653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10655 if (!SWIG_IsOK(res1
)) {
10656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10658 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10661 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10666 wxPyEndAllowThreads(__tstate
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10669 resultobj
= SWIG_From_int(static_cast< int >(result
));
10676 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10677 PyObject
*resultobj
= 0;
10678 wxRegion
*arg1
= (wxRegion
*) 0 ;
10680 wxRegionContain result
;
10684 PyObject
* obj0
= 0 ;
10685 PyObject
* obj1
= 0 ;
10686 char * kwnames
[] = {
10687 (char *) "self",(char *) "rect", NULL
10690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10692 if (!SWIG_IsOK(res1
)) {
10693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10695 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10698 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10702 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10706 resultobj
= SWIG_From_int(static_cast< int >(result
));
10713 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10714 PyObject
*resultobj
= 0;
10715 wxRegion
*arg1
= (wxRegion
*) 0 ;
10720 wxRegionContain result
;
10731 PyObject
* obj0
= 0 ;
10732 PyObject
* obj1
= 0 ;
10733 PyObject
* obj2
= 0 ;
10734 PyObject
* obj3
= 0 ;
10735 PyObject
* obj4
= 0 ;
10736 char * kwnames
[] = {
10737 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10742 if (!SWIG_IsOK(res1
)) {
10743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10745 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10747 if (!SWIG_IsOK(ecode2
)) {
10748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10750 arg2
= static_cast< int >(val2
);
10751 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10752 if (!SWIG_IsOK(ecode3
)) {
10753 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10755 arg3
= static_cast< int >(val3
);
10756 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10757 if (!SWIG_IsOK(ecode4
)) {
10758 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10760 arg4
= static_cast< int >(val4
);
10761 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10762 if (!SWIG_IsOK(ecode5
)) {
10763 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10765 arg5
= static_cast< int >(val5
);
10767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10768 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10769 wxPyEndAllowThreads(__tstate
);
10770 if (PyErr_Occurred()) SWIG_fail
;
10772 resultobj
= SWIG_From_int(static_cast< int >(result
));
10779 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10780 PyObject
*resultobj
= 0;
10781 wxRegion
*arg1
= (wxRegion
*) 0 ;
10785 PyObject
*swig_obj
[1] ;
10787 if (!args
) SWIG_fail
;
10788 swig_obj
[0] = args
;
10789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10790 if (!SWIG_IsOK(res1
)) {
10791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10793 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 result
= (arg1
)->GetBox();
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10800 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10807 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10808 PyObject
*resultobj
= 0;
10809 wxRegion
*arg1
= (wxRegion
*) 0 ;
10825 PyObject
* obj0
= 0 ;
10826 PyObject
* obj1
= 0 ;
10827 PyObject
* obj2
= 0 ;
10828 PyObject
* obj3
= 0 ;
10829 PyObject
* obj4
= 0 ;
10830 char * kwnames
[] = {
10831 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10836 if (!SWIG_IsOK(res1
)) {
10837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10839 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10841 if (!SWIG_IsOK(ecode2
)) {
10842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10844 arg2
= static_cast< int >(val2
);
10845 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10846 if (!SWIG_IsOK(ecode3
)) {
10847 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10849 arg3
= static_cast< int >(val3
);
10850 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10851 if (!SWIG_IsOK(ecode4
)) {
10852 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10854 arg4
= static_cast< int >(val4
);
10855 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10856 if (!SWIG_IsOK(ecode5
)) {
10857 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10859 arg5
= static_cast< int >(val5
);
10861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10862 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10875 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10876 PyObject
*resultobj
= 0;
10877 wxRegion
*arg1
= (wxRegion
*) 0 ;
10883 PyObject
* obj0
= 0 ;
10884 PyObject
* obj1
= 0 ;
10885 char * kwnames
[] = {
10886 (char *) "self",(char *) "rect", NULL
10889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10891 if (!SWIG_IsOK(res1
)) {
10892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10894 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10897 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10901 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10902 wxPyEndAllowThreads(__tstate
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10914 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10915 PyObject
*resultobj
= 0;
10916 wxRegion
*arg1
= (wxRegion
*) 0 ;
10917 wxRegion
*arg2
= 0 ;
10923 PyObject
* obj0
= 0 ;
10924 PyObject
* obj1
= 0 ;
10925 char * kwnames
[] = {
10926 (char *) "self",(char *) "region", NULL
10929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10931 if (!SWIG_IsOK(res1
)) {
10932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10934 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10935 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10936 if (!SWIG_IsOK(res2
)) {
10937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10942 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10946 wxPyEndAllowThreads(__tstate
);
10947 if (PyErr_Occurred()) SWIG_fail
;
10950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10958 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10959 PyObject
*resultobj
= 0;
10960 wxRegion
*arg1
= (wxRegion
*) 0 ;
10964 PyObject
*swig_obj
[1] ;
10966 if (!args
) SWIG_fail
;
10967 swig_obj
[0] = args
;
10968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10969 if (!SWIG_IsOK(res1
)) {
10970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10972 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 result
= (bool)(arg1
)->IsEmpty();
10976 wxPyEndAllowThreads(__tstate
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10988 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10989 PyObject
*resultobj
= 0;
10990 wxRegion
*arg1
= (wxRegion
*) 0 ;
10991 wxRegion
*arg2
= 0 ;
10997 PyObject
* obj0
= 0 ;
10998 PyObject
* obj1
= 0 ;
10999 char * kwnames
[] = {
11000 (char *) "self",(char *) "region", NULL
11003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11005 if (!SWIG_IsOK(res1
)) {
11006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11008 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11009 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11010 if (!SWIG_IsOK(res2
)) {
11011 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11016 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11019 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11020 wxPyEndAllowThreads(__tstate
);
11021 if (PyErr_Occurred()) SWIG_fail
;
11024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11032 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
= 0;
11034 wxRegion
*arg1
= (wxRegion
*) 0 ;
11050 PyObject
* obj0
= 0 ;
11051 PyObject
* obj1
= 0 ;
11052 PyObject
* obj2
= 0 ;
11053 PyObject
* obj3
= 0 ;
11054 PyObject
* obj4
= 0 ;
11055 char * kwnames
[] = {
11056 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11061 if (!SWIG_IsOK(res1
)) {
11062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11064 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11066 if (!SWIG_IsOK(ecode2
)) {
11067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11069 arg2
= static_cast< int >(val2
);
11070 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11071 if (!SWIG_IsOK(ecode3
)) {
11072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11074 arg3
= static_cast< int >(val3
);
11075 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11076 if (!SWIG_IsOK(ecode4
)) {
11077 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11079 arg4
= static_cast< int >(val4
);
11080 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11081 if (!SWIG_IsOK(ecode5
)) {
11082 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11084 arg5
= static_cast< int >(val5
);
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11087 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11100 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11101 PyObject
*resultobj
= 0;
11102 wxRegion
*arg1
= (wxRegion
*) 0 ;
11108 PyObject
* obj0
= 0 ;
11109 PyObject
* obj1
= 0 ;
11110 char * kwnames
[] = {
11111 (char *) "self",(char *) "rect", NULL
11114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11116 if (!SWIG_IsOK(res1
)) {
11117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11119 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11122 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11126 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11127 wxPyEndAllowThreads(__tstate
);
11128 if (PyErr_Occurred()) SWIG_fail
;
11131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11139 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11140 PyObject
*resultobj
= 0;
11141 wxRegion
*arg1
= (wxRegion
*) 0 ;
11142 wxRegion
*arg2
= 0 ;
11148 PyObject
* obj0
= 0 ;
11149 PyObject
* obj1
= 0 ;
11150 char * kwnames
[] = {
11151 (char *) "self",(char *) "region", NULL
11154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11156 if (!SWIG_IsOK(res1
)) {
11157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11159 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11160 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11161 if (!SWIG_IsOK(res2
)) {
11162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11167 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11171 wxPyEndAllowThreads(__tstate
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11183 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11184 PyObject
*resultobj
= 0;
11185 wxRegion
*arg1
= (wxRegion
*) 0 ;
11201 PyObject
* obj0
= 0 ;
11202 PyObject
* obj1
= 0 ;
11203 PyObject
* obj2
= 0 ;
11204 PyObject
* obj3
= 0 ;
11205 PyObject
* obj4
= 0 ;
11206 char * kwnames
[] = {
11207 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11212 if (!SWIG_IsOK(res1
)) {
11213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11215 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11217 if (!SWIG_IsOK(ecode2
)) {
11218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11220 arg2
= static_cast< int >(val2
);
11221 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11222 if (!SWIG_IsOK(ecode3
)) {
11223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11225 arg3
= static_cast< int >(val3
);
11226 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11227 if (!SWIG_IsOK(ecode4
)) {
11228 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11230 arg4
= static_cast< int >(val4
);
11231 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11232 if (!SWIG_IsOK(ecode5
)) {
11233 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11235 arg5
= static_cast< int >(val5
);
11237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11238 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11239 wxPyEndAllowThreads(__tstate
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11251 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11252 PyObject
*resultobj
= 0;
11253 wxRegion
*arg1
= (wxRegion
*) 0 ;
11259 PyObject
* obj0
= 0 ;
11260 PyObject
* obj1
= 0 ;
11261 char * kwnames
[] = {
11262 (char *) "self",(char *) "rect", NULL
11265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11267 if (!SWIG_IsOK(res1
)) {
11268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11270 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11273 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11277 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11278 wxPyEndAllowThreads(__tstate
);
11279 if (PyErr_Occurred()) SWIG_fail
;
11282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11290 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11291 PyObject
*resultobj
= 0;
11292 wxRegion
*arg1
= (wxRegion
*) 0 ;
11293 wxRegion
*arg2
= 0 ;
11299 PyObject
* obj0
= 0 ;
11300 PyObject
* obj1
= 0 ;
11301 char * kwnames
[] = {
11302 (char *) "self",(char *) "region", NULL
11305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11307 if (!SWIG_IsOK(res1
)) {
11308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11310 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11311 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11312 if (!SWIG_IsOK(res2
)) {
11313 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11318 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11321 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11322 wxPyEndAllowThreads(__tstate
);
11323 if (PyErr_Occurred()) SWIG_fail
;
11326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11334 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
*resultobj
= 0;
11336 wxRegion
*arg1
= (wxRegion
*) 0 ;
11352 PyObject
* obj0
= 0 ;
11353 PyObject
* obj1
= 0 ;
11354 PyObject
* obj2
= 0 ;
11355 PyObject
* obj3
= 0 ;
11356 PyObject
* obj4
= 0 ;
11357 char * kwnames
[] = {
11358 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11363 if (!SWIG_IsOK(res1
)) {
11364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11366 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11368 if (!SWIG_IsOK(ecode2
)) {
11369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11371 arg2
= static_cast< int >(val2
);
11372 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11373 if (!SWIG_IsOK(ecode3
)) {
11374 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11376 arg3
= static_cast< int >(val3
);
11377 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11378 if (!SWIG_IsOK(ecode4
)) {
11379 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11381 arg4
= static_cast< int >(val4
);
11382 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11383 if (!SWIG_IsOK(ecode5
)) {
11384 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11386 arg5
= static_cast< int >(val5
);
11388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11389 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11390 wxPyEndAllowThreads(__tstate
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11402 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11403 PyObject
*resultobj
= 0;
11404 wxRegion
*arg1
= (wxRegion
*) 0 ;
11410 PyObject
* obj0
= 0 ;
11411 PyObject
* obj1
= 0 ;
11412 char * kwnames
[] = {
11413 (char *) "self",(char *) "rect", NULL
11416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11418 if (!SWIG_IsOK(res1
)) {
11419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11421 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11424 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11428 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11429 wxPyEndAllowThreads(__tstate
);
11430 if (PyErr_Occurred()) SWIG_fail
;
11433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11441 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11442 PyObject
*resultobj
= 0;
11443 wxRegion
*arg1
= (wxRegion
*) 0 ;
11444 wxRegion
*arg2
= 0 ;
11450 PyObject
* obj0
= 0 ;
11451 PyObject
* obj1
= 0 ;
11452 char * kwnames
[] = {
11453 (char *) "self",(char *) "region", NULL
11456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11458 if (!SWIG_IsOK(res1
)) {
11459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11461 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11462 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11463 if (!SWIG_IsOK(res2
)) {
11464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11469 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11472 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11473 wxPyEndAllowThreads(__tstate
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11485 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11486 PyObject
*resultobj
= 0;
11487 wxRegion
*arg1
= (wxRegion
*) 0 ;
11488 SwigValueWrapper
<wxBitmap
> result
;
11491 PyObject
*swig_obj
[1] ;
11493 if (!args
) SWIG_fail
;
11494 swig_obj
[0] = args
;
11495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11496 if (!SWIG_IsOK(res1
)) {
11497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11499 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11502 result
= (arg1
)->ConvertToBitmap();
11503 wxPyEndAllowThreads(__tstate
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11506 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11513 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11514 PyObject
*resultobj
= 0;
11515 wxRegion
*arg1
= (wxRegion
*) 0 ;
11516 wxBitmap
*arg2
= 0 ;
11522 PyObject
* obj0
= 0 ;
11523 PyObject
* obj1
= 0 ;
11524 char * kwnames
[] = {
11525 (char *) "self",(char *) "bmp", NULL
11528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11530 if (!SWIG_IsOK(res1
)) {
11531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11533 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11534 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11535 if (!SWIG_IsOK(res2
)) {
11536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11541 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11544 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11545 wxPyEndAllowThreads(__tstate
);
11546 if (PyErr_Occurred()) SWIG_fail
;
11549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11557 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11558 PyObject
*resultobj
= 0;
11559 wxRegion
*arg1
= (wxRegion
*) 0 ;
11560 wxBitmap
*arg2
= 0 ;
11561 wxColour
*arg3
= 0 ;
11562 int arg4
= (int) 0 ;
11571 PyObject
* obj0
= 0 ;
11572 PyObject
* obj1
= 0 ;
11573 PyObject
* obj2
= 0 ;
11574 PyObject
* obj3
= 0 ;
11575 char * kwnames
[] = {
11576 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11581 if (!SWIG_IsOK(res1
)) {
11582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11584 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11585 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11586 if (!SWIG_IsOK(res2
)) {
11587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11592 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11595 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11598 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11599 if (!SWIG_IsOK(ecode4
)) {
11600 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11602 arg4
= static_cast< int >(val4
);
11605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11606 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11607 wxPyEndAllowThreads(__tstate
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11619 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11621 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11622 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11623 return SWIG_Py_Void();
11626 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11627 return SWIG_Python_InitShadowInstance(args
);
11630 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11631 PyObject
*resultobj
= 0;
11632 wxRegion
*arg1
= 0 ;
11633 wxRegionIterator
*result
= 0 ;
11636 PyObject
* obj0
= 0 ;
11637 char * kwnames
[] = {
11638 (char *) "region", NULL
11641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11642 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11643 if (!SWIG_IsOK(res1
)) {
11644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11647 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11649 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11651 if (!wxPyCheckForApp()) SWIG_fail
;
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11654 wxPyEndAllowThreads(__tstate
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11664 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11665 PyObject
*resultobj
= 0;
11666 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11669 PyObject
*swig_obj
[1] ;
11671 if (!args
) SWIG_fail
;
11672 swig_obj
[0] = args
;
11673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11674 if (!SWIG_IsOK(res1
)) {
11675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11677 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11682 wxPyEndAllowThreads(__tstate
);
11683 if (PyErr_Occurred()) SWIG_fail
;
11685 resultobj
= SWIG_Py_Void();
11692 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11693 PyObject
*resultobj
= 0;
11694 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11698 PyObject
*swig_obj
[1] ;
11700 if (!args
) SWIG_fail
;
11701 swig_obj
[0] = args
;
11702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11703 if (!SWIG_IsOK(res1
)) {
11704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11706 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 result
= (int)(arg1
)->GetX();
11710 wxPyEndAllowThreads(__tstate
);
11711 if (PyErr_Occurred()) SWIG_fail
;
11713 resultobj
= SWIG_From_int(static_cast< int >(result
));
11720 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11721 PyObject
*resultobj
= 0;
11722 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11726 PyObject
*swig_obj
[1] ;
11728 if (!args
) SWIG_fail
;
11729 swig_obj
[0] = args
;
11730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11731 if (!SWIG_IsOK(res1
)) {
11732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11734 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11737 result
= (int)(arg1
)->GetY();
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11741 resultobj
= SWIG_From_int(static_cast< int >(result
));
11748 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11749 PyObject
*resultobj
= 0;
11750 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11754 PyObject
*swig_obj
[1] ;
11756 if (!args
) SWIG_fail
;
11757 swig_obj
[0] = args
;
11758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11759 if (!SWIG_IsOK(res1
)) {
11760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11762 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11765 result
= (int)(arg1
)->GetW();
11766 wxPyEndAllowThreads(__tstate
);
11767 if (PyErr_Occurred()) SWIG_fail
;
11769 resultobj
= SWIG_From_int(static_cast< int >(result
));
11776 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11777 PyObject
*resultobj
= 0;
11778 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11782 PyObject
*swig_obj
[1] ;
11784 if (!args
) SWIG_fail
;
11785 swig_obj
[0] = args
;
11786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11787 if (!SWIG_IsOK(res1
)) {
11788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11790 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11793 result
= (int)(arg1
)->GetWidth();
11794 wxPyEndAllowThreads(__tstate
);
11795 if (PyErr_Occurred()) SWIG_fail
;
11797 resultobj
= SWIG_From_int(static_cast< int >(result
));
11804 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11805 PyObject
*resultobj
= 0;
11806 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11810 PyObject
*swig_obj
[1] ;
11812 if (!args
) SWIG_fail
;
11813 swig_obj
[0] = args
;
11814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11815 if (!SWIG_IsOK(res1
)) {
11816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11818 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11821 result
= (int)(arg1
)->GetH();
11822 wxPyEndAllowThreads(__tstate
);
11823 if (PyErr_Occurred()) SWIG_fail
;
11825 resultobj
= SWIG_From_int(static_cast< int >(result
));
11832 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11833 PyObject
*resultobj
= 0;
11834 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11838 PyObject
*swig_obj
[1] ;
11840 if (!args
) SWIG_fail
;
11841 swig_obj
[0] = args
;
11842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11843 if (!SWIG_IsOK(res1
)) {
11844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11846 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11849 result
= (int)(arg1
)->GetHeight();
11850 wxPyEndAllowThreads(__tstate
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11853 resultobj
= SWIG_From_int(static_cast< int >(result
));
11860 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11861 PyObject
*resultobj
= 0;
11862 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11866 PyObject
*swig_obj
[1] ;
11868 if (!args
) SWIG_fail
;
11869 swig_obj
[0] = args
;
11870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11871 if (!SWIG_IsOK(res1
)) {
11872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11874 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11877 result
= (arg1
)->GetRect();
11878 wxPyEndAllowThreads(__tstate
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11881 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11888 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11889 PyObject
*resultobj
= 0;
11890 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11894 PyObject
*swig_obj
[1] ;
11896 if (!args
) SWIG_fail
;
11897 swig_obj
[0] = args
;
11898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11899 if (!SWIG_IsOK(res1
)) {
11900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11902 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11905 result
= (bool)(arg1
)->HaveRects();
11906 wxPyEndAllowThreads(__tstate
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11918 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11919 PyObject
*resultobj
= 0;
11920 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11923 PyObject
*swig_obj
[1] ;
11925 if (!args
) SWIG_fail
;
11926 swig_obj
[0] = args
;
11927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11928 if (!SWIG_IsOK(res1
)) {
11929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11931 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11935 wxPyEndAllowThreads(__tstate
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11938 resultobj
= SWIG_Py_Void();
11945 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11946 PyObject
*resultobj
= 0;
11947 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11950 PyObject
*swig_obj
[1] ;
11952 if (!args
) SWIG_fail
;
11953 swig_obj
[0] = args
;
11954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11955 if (!SWIG_IsOK(res1
)) {
11956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11958 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11961 wxRegionIterator_Next(arg1
);
11962 wxPyEndAllowThreads(__tstate
);
11963 if (PyErr_Occurred()) SWIG_fail
;
11965 resultobj
= SWIG_Py_Void();
11972 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11973 PyObject
*resultobj
= 0;
11974 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11978 PyObject
*swig_obj
[1] ;
11980 if (!args
) SWIG_fail
;
11981 swig_obj
[0] = args
;
11982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11983 if (!SWIG_IsOK(res1
)) {
11984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11986 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11989 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12002 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12004 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12005 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12006 return SWIG_Py_Void();
12009 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12010 return SWIG_Python_InitShadowInstance(args
);
12013 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12014 PyObject
*resultobj
= 0;
12015 wxNativeFontInfo
*result
= 0 ;
12017 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12020 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12031 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12032 PyObject
*resultobj
= 0;
12033 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12036 PyObject
*swig_obj
[1] ;
12038 if (!args
) SWIG_fail
;
12039 swig_obj
[0] = args
;
12040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12041 if (!SWIG_IsOK(res1
)) {
12042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12044 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 wxPyEndAllowThreads(__tstate
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12052 resultobj
= SWIG_Py_Void();
12059 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12060 PyObject
*resultobj
= 0;
12061 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12064 PyObject
*swig_obj
[1] ;
12066 if (!args
) SWIG_fail
;
12067 swig_obj
[0] = args
;
12068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12069 if (!SWIG_IsOK(res1
)) {
12070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12072 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12076 wxPyEndAllowThreads(__tstate
);
12077 if (PyErr_Occurred()) SWIG_fail
;
12079 resultobj
= SWIG_Py_Void();
12086 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12087 PyObject
*resultobj
= 0;
12088 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12094 PyObject
* obj0
= 0 ;
12095 PyObject
* obj1
= 0 ;
12096 char * kwnames
[] = {
12097 (char *) "self",(char *) "font", NULL
12100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12102 if (!SWIG_IsOK(res1
)) {
12103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12105 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12106 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12107 if (!SWIG_IsOK(res2
)) {
12108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12113 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12116 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12120 resultobj
= SWIG_Py_Void();
12127 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12128 PyObject
*resultobj
= 0;
12129 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12133 PyObject
*swig_obj
[1] ;
12135 if (!args
) SWIG_fail
;
12136 swig_obj
[0] = args
;
12137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12138 if (!SWIG_IsOK(res1
)) {
12139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12141 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12144 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12145 wxPyEndAllowThreads(__tstate
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12148 resultobj
= SWIG_From_int(static_cast< int >(result
));
12155 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12156 PyObject
*resultobj
= 0;
12157 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12158 wxFontStyle result
;
12161 PyObject
*swig_obj
[1] ;
12163 if (!args
) SWIG_fail
;
12164 swig_obj
[0] = args
;
12165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12166 if (!SWIG_IsOK(res1
)) {
12167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12169 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12172 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12173 wxPyEndAllowThreads(__tstate
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12176 resultobj
= SWIG_From_int(static_cast< int >(result
));
12183 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12184 PyObject
*resultobj
= 0;
12185 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12186 wxFontWeight result
;
12189 PyObject
*swig_obj
[1] ;
12191 if (!args
) SWIG_fail
;
12192 swig_obj
[0] = args
;
12193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12194 if (!SWIG_IsOK(res1
)) {
12195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12197 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12200 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12201 wxPyEndAllowThreads(__tstate
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12204 resultobj
= SWIG_From_int(static_cast< int >(result
));
12211 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12212 PyObject
*resultobj
= 0;
12213 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12217 PyObject
*swig_obj
[1] ;
12219 if (!args
) SWIG_fail
;
12220 swig_obj
[0] = args
;
12221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12222 if (!SWIG_IsOK(res1
)) {
12223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12225 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12228 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12229 wxPyEndAllowThreads(__tstate
);
12230 if (PyErr_Occurred()) SWIG_fail
;
12233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12241 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12242 PyObject
*resultobj
= 0;
12243 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12247 PyObject
*swig_obj
[1] ;
12249 if (!args
) SWIG_fail
;
12250 swig_obj
[0] = args
;
12251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12252 if (!SWIG_IsOK(res1
)) {
12253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12255 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12258 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12259 wxPyEndAllowThreads(__tstate
);
12260 if (PyErr_Occurred()) SWIG_fail
;
12264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12275 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12276 PyObject
*resultobj
= 0;
12277 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12278 wxFontFamily result
;
12281 PyObject
*swig_obj
[1] ;
12283 if (!args
) SWIG_fail
;
12284 swig_obj
[0] = args
;
12285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12286 if (!SWIG_IsOK(res1
)) {
12287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12289 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12292 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12293 wxPyEndAllowThreads(__tstate
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12296 resultobj
= SWIG_From_int(static_cast< int >(result
));
12303 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12304 PyObject
*resultobj
= 0;
12305 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12306 wxFontEncoding result
;
12309 PyObject
*swig_obj
[1] ;
12311 if (!args
) SWIG_fail
;
12312 swig_obj
[0] = args
;
12313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12314 if (!SWIG_IsOK(res1
)) {
12315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12317 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12321 wxPyEndAllowThreads(__tstate
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12324 resultobj
= SWIG_From_int(static_cast< int >(result
));
12331 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12332 PyObject
*resultobj
= 0;
12333 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12339 PyObject
* obj0
= 0 ;
12340 PyObject
* obj1
= 0 ;
12341 char * kwnames
[] = {
12342 (char *) "self",(char *) "pointsize", NULL
12345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12347 if (!SWIG_IsOK(res1
)) {
12348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12350 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12352 if (!SWIG_IsOK(ecode2
)) {
12353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12355 arg2
= static_cast< int >(val2
);
12357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12358 (arg1
)->SetPointSize(arg2
);
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12362 resultobj
= SWIG_Py_Void();
12369 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12370 PyObject
*resultobj
= 0;
12371 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12377 PyObject
* obj0
= 0 ;
12378 PyObject
* obj1
= 0 ;
12379 char * kwnames
[] = {
12380 (char *) "self",(char *) "style", NULL
12383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12385 if (!SWIG_IsOK(res1
)) {
12386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12388 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12390 if (!SWIG_IsOK(ecode2
)) {
12391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12393 arg2
= static_cast< wxFontStyle
>(val2
);
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 (arg1
)->SetStyle(arg2
);
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= SWIG_Py_Void();
12407 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12408 PyObject
*resultobj
= 0;
12409 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12410 wxFontWeight arg2
;
12415 PyObject
* obj0
= 0 ;
12416 PyObject
* obj1
= 0 ;
12417 char * kwnames
[] = {
12418 (char *) "self",(char *) "weight", NULL
12421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12423 if (!SWIG_IsOK(res1
)) {
12424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12426 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12428 if (!SWIG_IsOK(ecode2
)) {
12429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12431 arg2
= static_cast< wxFontWeight
>(val2
);
12433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12434 (arg1
)->SetWeight(arg2
);
12435 wxPyEndAllowThreads(__tstate
);
12436 if (PyErr_Occurred()) SWIG_fail
;
12438 resultobj
= SWIG_Py_Void();
12445 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12446 PyObject
*resultobj
= 0;
12447 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12453 PyObject
* obj0
= 0 ;
12454 PyObject
* obj1
= 0 ;
12455 char * kwnames
[] = {
12456 (char *) "self",(char *) "underlined", NULL
12459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12461 if (!SWIG_IsOK(res1
)) {
12462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12464 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12465 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12466 if (!SWIG_IsOK(ecode2
)) {
12467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12469 arg2
= static_cast< bool >(val2
);
12471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12472 (arg1
)->SetUnderlined(arg2
);
12473 wxPyEndAllowThreads(__tstate
);
12474 if (PyErr_Occurred()) SWIG_fail
;
12476 resultobj
= SWIG_Py_Void();
12483 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12484 PyObject
*resultobj
= 0;
12485 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12490 PyObject
* obj0
= 0 ;
12491 PyObject
* obj1
= 0 ;
12492 char * kwnames
[] = {
12493 (char *) "self",(char *) "facename", NULL
12496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12498 if (!SWIG_IsOK(res1
)) {
12499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12501 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12503 wxString
* sptr
= wxString_in_helper(obj1
);
12504 if (sptr
== NULL
) SWIG_fail
;
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 result
= (bool)(arg1
)->SetFaceName(arg2
);
12511 wxPyEndAllowThreads(__tstate
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12523 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12524 PyObject
*resultobj
= 0;
12525 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12526 wxFontFamily arg2
;
12531 PyObject
* obj0
= 0 ;
12532 PyObject
* obj1
= 0 ;
12533 char * kwnames
[] = {
12534 (char *) "self",(char *) "family", NULL
12537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12539 if (!SWIG_IsOK(res1
)) {
12540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12542 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12544 if (!SWIG_IsOK(ecode2
)) {
12545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12547 arg2
= static_cast< wxFontFamily
>(val2
);
12549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12550 (arg1
)->SetFamily(arg2
);
12551 wxPyEndAllowThreads(__tstate
);
12552 if (PyErr_Occurred()) SWIG_fail
;
12554 resultobj
= SWIG_Py_Void();
12561 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12562 PyObject
*resultobj
= 0;
12563 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12564 wxFontEncoding arg2
;
12569 PyObject
* obj0
= 0 ;
12570 PyObject
* obj1
= 0 ;
12571 char * kwnames
[] = {
12572 (char *) "self",(char *) "encoding", NULL
12575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12577 if (!SWIG_IsOK(res1
)) {
12578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12580 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12582 if (!SWIG_IsOK(ecode2
)) {
12583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12585 arg2
= static_cast< wxFontEncoding
>(val2
);
12587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12588 (arg1
)->SetEncoding(arg2
);
12589 wxPyEndAllowThreads(__tstate
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12592 resultobj
= SWIG_Py_Void();
12599 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12600 PyObject
*resultobj
= 0;
12601 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12602 wxString
*arg2
= 0 ;
12606 bool temp2
= false ;
12607 PyObject
* obj0
= 0 ;
12608 PyObject
* obj1
= 0 ;
12609 char * kwnames
[] = {
12610 (char *) "self",(char *) "s", NULL
12613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12615 if (!SWIG_IsOK(res1
)) {
12616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12618 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12620 arg2
= wxString_in_helper(obj1
);
12621 if (arg2
== NULL
) SWIG_fail
;
12625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12626 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12627 wxPyEndAllowThreads(__tstate
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12647 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12648 PyObject
*resultobj
= 0;
12649 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12653 PyObject
*swig_obj
[1] ;
12655 if (!args
) SWIG_fail
;
12656 swig_obj
[0] = args
;
12657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12658 if (!SWIG_IsOK(res1
)) {
12659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12661 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12665 wxPyEndAllowThreads(__tstate
);
12666 if (PyErr_Occurred()) SWIG_fail
;
12670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12681 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12682 PyObject
*resultobj
= 0;
12683 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12687 PyObject
*swig_obj
[1] ;
12689 if (!args
) SWIG_fail
;
12690 swig_obj
[0] = args
;
12691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12692 if (!SWIG_IsOK(res1
)) {
12693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12695 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 result
= wxNativeFontInfo___str__(arg1
);
12699 wxPyEndAllowThreads(__tstate
);
12700 if (PyErr_Occurred()) SWIG_fail
;
12704 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12706 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12715 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12716 PyObject
*resultobj
= 0;
12717 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12718 wxString
*arg2
= 0 ;
12722 bool temp2
= false ;
12723 PyObject
* obj0
= 0 ;
12724 PyObject
* obj1
= 0 ;
12725 char * kwnames
[] = {
12726 (char *) "self",(char *) "s", NULL
12729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12731 if (!SWIG_IsOK(res1
)) {
12732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12734 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12736 arg2
= wxString_in_helper(obj1
);
12737 if (arg2
== NULL
) SWIG_fail
;
12741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12742 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12743 wxPyEndAllowThreads(__tstate
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12763 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12764 PyObject
*resultobj
= 0;
12765 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12769 PyObject
*swig_obj
[1] ;
12771 if (!args
) SWIG_fail
;
12772 swig_obj
[0] = args
;
12773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12774 if (!SWIG_IsOK(res1
)) {
12775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12777 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12781 wxPyEndAllowThreads(__tstate
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12786 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12788 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12797 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12799 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12800 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12801 return SWIG_Py_Void();
12804 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12805 return SWIG_Python_InitShadowInstance(args
);
12808 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12809 PyObject
*resultobj
= 0;
12810 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12811 wxString
*arg2
= (wxString
*) 0 ;
12814 bool temp2
= false ;
12815 PyObject
*swig_obj
[2] ;
12817 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12819 if (!SWIG_IsOK(res1
)) {
12820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12822 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12824 arg2
= wxString_in_helper(swig_obj
[1]);
12825 if (arg2
== NULL
) SWIG_fail
;
12828 if (arg1
) (arg1
)->facename
= *arg2
;
12830 resultobj
= SWIG_Py_Void();
12845 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12846 PyObject
*resultobj
= 0;
12847 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12848 wxString
*result
= 0 ;
12851 PyObject
*swig_obj
[1] ;
12853 if (!args
) SWIG_fail
;
12854 swig_obj
[0] = args
;
12855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12856 if (!SWIG_IsOK(res1
)) {
12857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12859 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12860 result
= (wxString
*)& ((arg1
)->facename
);
12863 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12865 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12874 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12875 PyObject
*resultobj
= 0;
12876 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12877 wxFontEncoding arg2
;
12882 PyObject
*swig_obj
[2] ;
12884 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12886 if (!SWIG_IsOK(res1
)) {
12887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12889 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12890 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12891 if (!SWIG_IsOK(ecode2
)) {
12892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12894 arg2
= static_cast< wxFontEncoding
>(val2
);
12895 if (arg1
) (arg1
)->encoding
= arg2
;
12897 resultobj
= SWIG_Py_Void();
12904 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12905 PyObject
*resultobj
= 0;
12906 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12907 wxFontEncoding result
;
12910 PyObject
*swig_obj
[1] ;
12912 if (!args
) SWIG_fail
;
12913 swig_obj
[0] = args
;
12914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12915 if (!SWIG_IsOK(res1
)) {
12916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12918 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12919 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12920 resultobj
= SWIG_From_int(static_cast< int >(result
));
12927 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12928 PyObject
*resultobj
= 0;
12929 wxNativeEncodingInfo
*result
= 0 ;
12931 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12934 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12935 wxPyEndAllowThreads(__tstate
);
12936 if (PyErr_Occurred()) SWIG_fail
;
12938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12945 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12946 PyObject
*resultobj
= 0;
12947 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12950 PyObject
*swig_obj
[1] ;
12952 if (!args
) SWIG_fail
;
12953 swig_obj
[0] = args
;
12954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12955 if (!SWIG_IsOK(res1
)) {
12956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12958 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12963 wxPyEndAllowThreads(__tstate
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12966 resultobj
= SWIG_Py_Void();
12973 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12974 PyObject
*resultobj
= 0;
12975 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12976 wxString
*arg2
= 0 ;
12980 bool temp2
= false ;
12981 PyObject
* obj0
= 0 ;
12982 PyObject
* obj1
= 0 ;
12983 char * kwnames
[] = {
12984 (char *) "self",(char *) "s", NULL
12987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12989 if (!SWIG_IsOK(res1
)) {
12990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12992 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12994 arg2
= wxString_in_helper(obj1
);
12995 if (arg2
== NULL
) SWIG_fail
;
12999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13000 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13001 wxPyEndAllowThreads(__tstate
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13021 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13022 PyObject
*resultobj
= 0;
13023 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13027 PyObject
*swig_obj
[1] ;
13029 if (!args
) SWIG_fail
;
13030 swig_obj
[0] = args
;
13031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13032 if (!SWIG_IsOK(res1
)) {
13033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13035 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13038 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13039 wxPyEndAllowThreads(__tstate
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13044 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13046 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13055 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13057 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13058 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13059 return SWIG_Py_Void();
13062 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13063 return SWIG_Python_InitShadowInstance(args
);
13066 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13067 PyObject
*resultobj
= 0;
13068 wxFontEncoding arg1
;
13069 wxNativeEncodingInfo
*result
= 0 ;
13072 PyObject
* obj0
= 0 ;
13073 char * kwnames
[] = {
13074 (char *) "encoding", NULL
13077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13078 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13079 if (!SWIG_IsOK(ecode1
)) {
13080 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13082 arg1
= static_cast< wxFontEncoding
>(val1
);
13084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13085 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13086 wxPyEndAllowThreads(__tstate
);
13087 if (PyErr_Occurred()) SWIG_fail
;
13089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13096 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13097 PyObject
*resultobj
= 0;
13098 wxNativeEncodingInfo
*arg1
= 0 ;
13102 PyObject
* obj0
= 0 ;
13103 char * kwnames
[] = {
13104 (char *) "info", NULL
13107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13108 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13109 if (!SWIG_IsOK(res1
)) {
13110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13115 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13118 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13131 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13132 PyObject
*resultobj
= 0;
13133 wxFontMapper
*result
= 0 ;
13135 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13138 result
= (wxFontMapper
*)new wxFontMapper();
13139 wxPyEndAllowThreads(__tstate
);
13140 if (PyErr_Occurred()) SWIG_fail
;
13142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13149 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13150 PyObject
*resultobj
= 0;
13151 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13154 PyObject
*swig_obj
[1] ;
13156 if (!args
) SWIG_fail
;
13157 swig_obj
[0] = args
;
13158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13159 if (!SWIG_IsOK(res1
)) {
13160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13162 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13167 wxPyEndAllowThreads(__tstate
);
13168 if (PyErr_Occurred()) SWIG_fail
;
13170 resultobj
= SWIG_Py_Void();
13177 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13178 PyObject
*resultobj
= 0;
13179 wxFontMapper
*result
= 0 ;
13181 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13184 result
= (wxFontMapper
*)wxFontMapper::Get();
13185 wxPyEndAllowThreads(__tstate
);
13186 if (PyErr_Occurred()) SWIG_fail
;
13188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13195 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13196 PyObject
*resultobj
= 0;
13197 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13198 wxFontMapper
*result
= 0 ;
13201 PyObject
* obj0
= 0 ;
13202 char * kwnames
[] = {
13203 (char *) "mapper", NULL
13206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13208 if (!SWIG_IsOK(res1
)) {
13209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13211 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13225 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13226 PyObject
*resultobj
= 0;
13227 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13228 wxString
*arg2
= 0 ;
13229 bool arg3
= (bool) true ;
13230 wxFontEncoding result
;
13233 bool temp2
= false ;
13236 PyObject
* obj0
= 0 ;
13237 PyObject
* obj1
= 0 ;
13238 PyObject
* obj2
= 0 ;
13239 char * kwnames
[] = {
13240 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13245 if (!SWIG_IsOK(res1
)) {
13246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13248 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13250 arg2
= wxString_in_helper(obj1
);
13251 if (arg2
== NULL
) SWIG_fail
;
13255 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13256 if (!SWIG_IsOK(ecode3
)) {
13257 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13259 arg3
= static_cast< bool >(val3
);
13262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13263 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13264 wxPyEndAllowThreads(__tstate
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13267 resultobj
= SWIG_From_int(static_cast< int >(result
));
13282 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13283 PyObject
*resultobj
= 0;
13286 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13289 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13293 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13300 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13301 PyObject
*resultobj
= 0;
13303 wxFontEncoding result
;
13306 PyObject
* obj0
= 0 ;
13307 char * kwnames
[] = {
13311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13312 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13313 if (!SWIG_IsOK(ecode1
)) {
13314 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13316 arg1
= static_cast< size_t >(val1
);
13318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13319 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13320 wxPyEndAllowThreads(__tstate
);
13321 if (PyErr_Occurred()) SWIG_fail
;
13323 resultobj
= SWIG_From_int(static_cast< int >(result
));
13330 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13331 PyObject
*resultobj
= 0;
13332 wxFontEncoding arg1
;
13336 PyObject
* obj0
= 0 ;
13337 char * kwnames
[] = {
13338 (char *) "encoding", NULL
13341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13342 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13343 if (!SWIG_IsOK(ecode1
)) {
13344 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13346 arg1
= static_cast< wxFontEncoding
>(val1
);
13348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13349 result
= wxFontMapper::GetEncodingName(arg1
);
13350 wxPyEndAllowThreads(__tstate
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13355 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13357 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13366 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13367 PyObject
*resultobj
= 0;
13368 wxFontEncoding arg1
;
13372 PyObject
* obj0
= 0 ;
13373 char * kwnames
[] = {
13374 (char *) "encoding", NULL
13377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13378 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13379 if (!SWIG_IsOK(ecode1
)) {
13380 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13382 arg1
= static_cast< wxFontEncoding
>(val1
);
13384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13385 result
= wxFontMapper::GetEncodingDescription(arg1
);
13386 wxPyEndAllowThreads(__tstate
);
13387 if (PyErr_Occurred()) SWIG_fail
;
13391 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13393 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13402 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13403 PyObject
*resultobj
= 0;
13404 wxString
*arg1
= 0 ;
13405 wxFontEncoding result
;
13406 bool temp1
= false ;
13407 PyObject
* obj0
= 0 ;
13408 char * kwnames
[] = {
13409 (char *) "name", NULL
13412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13414 arg1
= wxString_in_helper(obj0
);
13415 if (arg1
== NULL
) SWIG_fail
;
13419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13420 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13421 wxPyEndAllowThreads(__tstate
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13424 resultobj
= SWIG_From_int(static_cast< int >(result
));
13439 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13440 PyObject
*resultobj
= 0;
13441 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13442 wxString
*arg2
= 0 ;
13445 bool temp2
= false ;
13446 PyObject
* obj0
= 0 ;
13447 PyObject
* obj1
= 0 ;
13448 char * kwnames
[] = {
13449 (char *) "self",(char *) "prefix", NULL
13452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13454 if (!SWIG_IsOK(res1
)) {
13455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13457 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13459 arg2
= wxString_in_helper(obj1
);
13460 if (arg2
== NULL
) SWIG_fail
;
13464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13465 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13466 wxPyEndAllowThreads(__tstate
);
13467 if (PyErr_Occurred()) SWIG_fail
;
13469 resultobj
= SWIG_Py_Void();
13484 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13485 PyObject
*resultobj
= 0;
13488 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 result
= wxFontMapper::GetDefaultConfigPath();
13492 wxPyEndAllowThreads(__tstate
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13497 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13499 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13508 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13509 PyObject
*resultobj
= 0;
13510 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13511 wxFontEncoding arg2
;
13512 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13513 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13514 bool arg4
= (bool) true ;
13515 PyObject
*result
= 0 ;
13520 bool temp3
= false ;
13523 PyObject
* obj0
= 0 ;
13524 PyObject
* obj1
= 0 ;
13525 PyObject
* obj2
= 0 ;
13526 PyObject
* obj3
= 0 ;
13527 char * kwnames
[] = {
13528 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13533 if (!SWIG_IsOK(res1
)) {
13534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13536 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13538 if (!SWIG_IsOK(ecode2
)) {
13539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13541 arg2
= static_cast< wxFontEncoding
>(val2
);
13544 arg3
= wxString_in_helper(obj2
);
13545 if (arg3
== NULL
) SWIG_fail
;
13550 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13551 if (!SWIG_IsOK(ecode4
)) {
13552 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13554 arg4
= static_cast< bool >(val4
);
13557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13558 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13559 wxPyEndAllowThreads(__tstate
);
13560 if (PyErr_Occurred()) SWIG_fail
;
13562 resultobj
= result
;
13577 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13578 PyObject
*resultobj
= 0;
13579 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13580 wxFontEncoding arg2
;
13581 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13582 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13588 bool temp3
= false ;
13589 PyObject
* obj0
= 0 ;
13590 PyObject
* obj1
= 0 ;
13591 PyObject
* obj2
= 0 ;
13592 char * kwnames
[] = {
13593 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13598 if (!SWIG_IsOK(res1
)) {
13599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13601 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13603 if (!SWIG_IsOK(ecode2
)) {
13604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13606 arg2
= static_cast< wxFontEncoding
>(val2
);
13609 arg3
= wxString_in_helper(obj2
);
13610 if (arg3
== NULL
) SWIG_fail
;
13615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13616 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13617 wxPyEndAllowThreads(__tstate
);
13618 if (PyErr_Occurred()) SWIG_fail
;
13621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13637 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13638 PyObject
*resultobj
= 0;
13639 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13640 wxWindow
*arg2
= (wxWindow
*) 0 ;
13645 PyObject
* obj0
= 0 ;
13646 PyObject
* obj1
= 0 ;
13647 char * kwnames
[] = {
13648 (char *) "self",(char *) "parent", NULL
13651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13653 if (!SWIG_IsOK(res1
)) {
13654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13656 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13657 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13658 if (!SWIG_IsOK(res2
)) {
13659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13661 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13664 (arg1
)->SetDialogParent(arg2
);
13665 wxPyEndAllowThreads(__tstate
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13668 resultobj
= SWIG_Py_Void();
13675 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13676 PyObject
*resultobj
= 0;
13677 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13678 wxString
*arg2
= 0 ;
13681 bool temp2
= false ;
13682 PyObject
* obj0
= 0 ;
13683 PyObject
* obj1
= 0 ;
13684 char * kwnames
[] = {
13685 (char *) "self",(char *) "title", NULL
13688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13690 if (!SWIG_IsOK(res1
)) {
13691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13693 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13695 arg2
= wxString_in_helper(obj1
);
13696 if (arg2
== NULL
) SWIG_fail
;
13700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13701 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13702 wxPyEndAllowThreads(__tstate
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13705 resultobj
= SWIG_Py_Void();
13720 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13722 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13723 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13724 return SWIG_Py_Void();
13727 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13728 return SWIG_Python_InitShadowInstance(args
);
13731 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13732 PyObject
*resultobj
= 0;
13737 bool arg5
= (bool) false ;
13738 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13739 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13740 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13741 wxFont
*result
= 0 ;
13752 bool temp6
= false ;
13755 PyObject
* obj0
= 0 ;
13756 PyObject
* obj1
= 0 ;
13757 PyObject
* obj2
= 0 ;
13758 PyObject
* obj3
= 0 ;
13759 PyObject
* obj4
= 0 ;
13760 PyObject
* obj5
= 0 ;
13761 PyObject
* obj6
= 0 ;
13762 char * kwnames
[] = {
13763 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13767 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13768 if (!SWIG_IsOK(ecode1
)) {
13769 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13771 arg1
= static_cast< int >(val1
);
13772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13773 if (!SWIG_IsOK(ecode2
)) {
13774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13776 arg2
= static_cast< int >(val2
);
13777 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13778 if (!SWIG_IsOK(ecode3
)) {
13779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13781 arg3
= static_cast< int >(val3
);
13782 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13783 if (!SWIG_IsOK(ecode4
)) {
13784 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13786 arg4
= static_cast< int >(val4
);
13788 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13789 if (!SWIG_IsOK(ecode5
)) {
13790 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13792 arg5
= static_cast< bool >(val5
);
13796 arg6
= wxString_in_helper(obj5
);
13797 if (arg6
== NULL
) SWIG_fail
;
13802 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13803 if (!SWIG_IsOK(ecode7
)) {
13804 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13806 arg7
= static_cast< wxFontEncoding
>(val7
);
13809 if (!wxPyCheckForApp()) SWIG_fail
;
13810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13811 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13812 wxPyEndAllowThreads(__tstate
);
13813 if (PyErr_Occurred()) SWIG_fail
;
13815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13830 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13831 PyObject
*resultobj
= 0;
13832 wxFont
*arg1
= (wxFont
*) 0 ;
13835 PyObject
*swig_obj
[1] ;
13837 if (!args
) SWIG_fail
;
13838 swig_obj
[0] = args
;
13839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13840 if (!SWIG_IsOK(res1
)) {
13841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13843 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13848 wxPyEndAllowThreads(__tstate
);
13849 if (PyErr_Occurred()) SWIG_fail
;
13851 resultobj
= SWIG_Py_Void();
13858 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
= 0;
13860 wxNativeFontInfo
*arg1
= 0 ;
13861 wxFont
*result
= 0 ;
13864 PyObject
* obj0
= 0 ;
13865 char * kwnames
[] = {
13866 (char *) "info", NULL
13869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13870 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13871 if (!SWIG_IsOK(res1
)) {
13872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13875 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13877 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13879 if (!wxPyCheckForApp()) SWIG_fail
;
13880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13881 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13882 wxPyEndAllowThreads(__tstate
);
13883 if (PyErr_Occurred()) SWIG_fail
;
13885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13892 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13893 PyObject
*resultobj
= 0;
13894 wxString
*arg1
= 0 ;
13895 wxFont
*result
= 0 ;
13896 bool temp1
= false ;
13897 PyObject
* obj0
= 0 ;
13898 char * kwnames
[] = {
13899 (char *) "info", NULL
13902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13904 arg1
= wxString_in_helper(obj0
);
13905 if (arg1
== NULL
) SWIG_fail
;
13909 if (!wxPyCheckForApp()) SWIG_fail
;
13910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13911 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13912 wxPyEndAllowThreads(__tstate
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13930 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13931 PyObject
*resultobj
= 0;
13933 wxFontFamily arg2
;
13934 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13935 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13936 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13937 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13938 wxFont
*result
= 0 ;
13945 bool temp4
= false ;
13948 PyObject
* obj0
= 0 ;
13949 PyObject
* obj1
= 0 ;
13950 PyObject
* obj2
= 0 ;
13951 PyObject
* obj3
= 0 ;
13952 PyObject
* obj4
= 0 ;
13953 char * kwnames
[] = {
13954 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13958 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13959 if (!SWIG_IsOK(ecode1
)) {
13960 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13962 arg1
= static_cast< int >(val1
);
13963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13964 if (!SWIG_IsOK(ecode2
)) {
13965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13967 arg2
= static_cast< wxFontFamily
>(val2
);
13969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13970 if (!SWIG_IsOK(ecode3
)) {
13971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13973 arg3
= static_cast< int >(val3
);
13977 arg4
= wxString_in_helper(obj3
);
13978 if (arg4
== NULL
) SWIG_fail
;
13983 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13984 if (!SWIG_IsOK(ecode5
)) {
13985 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13987 arg5
= static_cast< wxFontEncoding
>(val5
);
13990 if (!wxPyCheckForApp()) SWIG_fail
;
13991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13992 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13993 wxPyEndAllowThreads(__tstate
);
13994 if (PyErr_Occurred()) SWIG_fail
;
13996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14011 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14012 PyObject
*resultobj
= 0;
14017 bool arg5
= (bool) false ;
14018 wxString
const &arg6_defvalue
= wxEmptyString
;
14019 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14020 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14021 wxFont
*result
= 0 ;
14031 bool temp6
= false ;
14034 PyObject
* obj0
= 0 ;
14035 PyObject
* obj1
= 0 ;
14036 PyObject
* obj2
= 0 ;
14037 PyObject
* obj3
= 0 ;
14038 PyObject
* obj4
= 0 ;
14039 PyObject
* obj5
= 0 ;
14040 PyObject
* obj6
= 0 ;
14041 char * kwnames
[] = {
14042 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14048 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14050 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14051 if (!SWIG_IsOK(ecode2
)) {
14052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14054 arg2
= static_cast< int >(val2
);
14055 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14056 if (!SWIG_IsOK(ecode3
)) {
14057 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14059 arg3
= static_cast< int >(val3
);
14060 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14061 if (!SWIG_IsOK(ecode4
)) {
14062 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14064 arg4
= static_cast< int >(val4
);
14066 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14067 if (!SWIG_IsOK(ecode5
)) {
14068 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14070 arg5
= static_cast< bool >(val5
);
14074 arg6
= wxString_in_helper(obj5
);
14075 if (arg6
== NULL
) SWIG_fail
;
14080 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14081 if (!SWIG_IsOK(ecode7
)) {
14082 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14084 arg7
= static_cast< wxFontEncoding
>(val7
);
14087 if (!wxPyCheckForApp()) SWIG_fail
;
14088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14089 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14090 wxPyEndAllowThreads(__tstate
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14108 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14109 PyObject
*resultobj
= 0;
14111 wxFontFamily arg2
;
14112 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14113 wxString
const &arg4_defvalue
= wxEmptyString
;
14114 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14115 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14116 wxFont
*result
= 0 ;
14122 bool temp4
= false ;
14125 PyObject
* obj0
= 0 ;
14126 PyObject
* obj1
= 0 ;
14127 PyObject
* obj2
= 0 ;
14128 PyObject
* obj3
= 0 ;
14129 PyObject
* obj4
= 0 ;
14130 char * kwnames
[] = {
14131 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14137 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14140 if (!SWIG_IsOK(ecode2
)) {
14141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14143 arg2
= static_cast< wxFontFamily
>(val2
);
14145 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14146 if (!SWIG_IsOK(ecode3
)) {
14147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14149 arg3
= static_cast< int >(val3
);
14153 arg4
= wxString_in_helper(obj3
);
14154 if (arg4
== NULL
) SWIG_fail
;
14159 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14160 if (!SWIG_IsOK(ecode5
)) {
14161 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14163 arg5
= static_cast< wxFontEncoding
>(val5
);
14166 if (!wxPyCheckForApp()) SWIG_fail
;
14167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14168 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14187 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14188 PyObject
*resultobj
= 0;
14189 wxFont
*arg1
= (wxFont
*) 0 ;
14193 PyObject
*swig_obj
[1] ;
14195 if (!args
) SWIG_fail
;
14196 swig_obj
[0] = args
;
14197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14198 if (!SWIG_IsOK(res1
)) {
14199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14201 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14204 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14205 wxPyEndAllowThreads(__tstate
);
14206 if (PyErr_Occurred()) SWIG_fail
;
14209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14217 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14218 PyObject
*resultobj
= 0;
14219 wxFont
*arg1
= (wxFont
*) 0 ;
14220 wxFont
*arg2
= (wxFont
*) 0 ;
14226 PyObject
* obj0
= 0 ;
14227 PyObject
* obj1
= 0 ;
14228 char * kwnames
[] = {
14229 (char *) "self",(char *) "other", NULL
14232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14234 if (!SWIG_IsOK(res1
)) {
14235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14237 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14238 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14239 if (!SWIG_IsOK(res2
)) {
14240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14242 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14245 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14246 wxPyEndAllowThreads(__tstate
);
14247 if (PyErr_Occurred()) SWIG_fail
;
14250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14258 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14259 PyObject
*resultobj
= 0;
14260 wxFont
*arg1
= (wxFont
*) 0 ;
14261 wxFont
*arg2
= (wxFont
*) 0 ;
14267 PyObject
* obj0
= 0 ;
14268 PyObject
* obj1
= 0 ;
14269 char * kwnames
[] = {
14270 (char *) "self",(char *) "other", NULL
14273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14275 if (!SWIG_IsOK(res1
)) {
14276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14278 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14279 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14280 if (!SWIG_IsOK(res2
)) {
14281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14283 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14286 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14287 wxPyEndAllowThreads(__tstate
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14299 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14300 PyObject
*resultobj
= 0;
14301 wxFont
*arg1
= (wxFont
*) 0 ;
14305 PyObject
*swig_obj
[1] ;
14307 if (!args
) SWIG_fail
;
14308 swig_obj
[0] = args
;
14309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14310 if (!SWIG_IsOK(res1
)) {
14311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14313 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14316 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14317 wxPyEndAllowThreads(__tstate
);
14318 if (PyErr_Occurred()) SWIG_fail
;
14320 resultobj
= SWIG_From_int(static_cast< int >(result
));
14327 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14328 PyObject
*resultobj
= 0;
14329 wxFont
*arg1
= (wxFont
*) 0 ;
14333 PyObject
*swig_obj
[1] ;
14335 if (!args
) SWIG_fail
;
14336 swig_obj
[0] = args
;
14337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14338 if (!SWIG_IsOK(res1
)) {
14339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14341 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14344 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14345 wxPyEndAllowThreads(__tstate
);
14346 if (PyErr_Occurred()) SWIG_fail
;
14348 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14355 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14356 PyObject
*resultobj
= 0;
14357 wxFont
*arg1
= (wxFont
*) 0 ;
14361 PyObject
*swig_obj
[1] ;
14363 if (!args
) SWIG_fail
;
14364 swig_obj
[0] = args
;
14365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14366 if (!SWIG_IsOK(res1
)) {
14367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14369 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14372 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14373 wxPyEndAllowThreads(__tstate
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14385 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14386 PyObject
*resultobj
= 0;
14387 wxFont
*arg1
= (wxFont
*) 0 ;
14391 PyObject
*swig_obj
[1] ;
14393 if (!args
) SWIG_fail
;
14394 swig_obj
[0] = args
;
14395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14396 if (!SWIG_IsOK(res1
)) {
14397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14399 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14402 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14403 wxPyEndAllowThreads(__tstate
);
14404 if (PyErr_Occurred()) SWIG_fail
;
14406 resultobj
= SWIG_From_int(static_cast< int >(result
));
14413 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14414 PyObject
*resultobj
= 0;
14415 wxFont
*arg1
= (wxFont
*) 0 ;
14419 PyObject
*swig_obj
[1] ;
14421 if (!args
) SWIG_fail
;
14422 swig_obj
[0] = args
;
14423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14424 if (!SWIG_IsOK(res1
)) {
14425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14427 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14430 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14431 wxPyEndAllowThreads(__tstate
);
14432 if (PyErr_Occurred()) SWIG_fail
;
14434 resultobj
= SWIG_From_int(static_cast< int >(result
));
14441 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14442 PyObject
*resultobj
= 0;
14443 wxFont
*arg1
= (wxFont
*) 0 ;
14447 PyObject
*swig_obj
[1] ;
14449 if (!args
) SWIG_fail
;
14450 swig_obj
[0] = args
;
14451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14452 if (!SWIG_IsOK(res1
)) {
14453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14455 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14458 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14459 wxPyEndAllowThreads(__tstate
);
14460 if (PyErr_Occurred()) SWIG_fail
;
14462 resultobj
= SWIG_From_int(static_cast< int >(result
));
14469 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14470 PyObject
*resultobj
= 0;
14471 wxFont
*arg1
= (wxFont
*) 0 ;
14475 PyObject
*swig_obj
[1] ;
14477 if (!args
) SWIG_fail
;
14478 swig_obj
[0] = args
;
14479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14480 if (!SWIG_IsOK(res1
)) {
14481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14483 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14486 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14487 wxPyEndAllowThreads(__tstate
);
14488 if (PyErr_Occurred()) SWIG_fail
;
14491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14499 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14500 PyObject
*resultobj
= 0;
14501 wxFont
*arg1
= (wxFont
*) 0 ;
14505 PyObject
*swig_obj
[1] ;
14507 if (!args
) SWIG_fail
;
14508 swig_obj
[0] = args
;
14509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14510 if (!SWIG_IsOK(res1
)) {
14511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14513 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14516 result
= ((wxFont
const *)arg1
)->GetFaceName();
14517 wxPyEndAllowThreads(__tstate
);
14518 if (PyErr_Occurred()) SWIG_fail
;
14522 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14524 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14533 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14534 PyObject
*resultobj
= 0;
14535 wxFont
*arg1
= (wxFont
*) 0 ;
14536 wxFontEncoding result
;
14539 PyObject
*swig_obj
[1] ;
14541 if (!args
) SWIG_fail
;
14542 swig_obj
[0] = args
;
14543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14544 if (!SWIG_IsOK(res1
)) {
14545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14547 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14550 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14554 resultobj
= SWIG_From_int(static_cast< int >(result
));
14561 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14562 PyObject
*resultobj
= 0;
14563 wxFont
*arg1
= (wxFont
*) 0 ;
14564 wxNativeFontInfo
*result
= 0 ;
14567 PyObject
*swig_obj
[1] ;
14569 if (!args
) SWIG_fail
;
14570 swig_obj
[0] = args
;
14571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14572 if (!SWIG_IsOK(res1
)) {
14573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14575 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14578 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14589 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14590 PyObject
*resultobj
= 0;
14591 wxFont
*arg1
= (wxFont
*) 0 ;
14595 PyObject
*swig_obj
[1] ;
14597 if (!args
) SWIG_fail
;
14598 swig_obj
[0] = args
;
14599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14600 if (!SWIG_IsOK(res1
)) {
14601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14603 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14606 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14619 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14620 PyObject
*resultobj
= 0;
14621 wxFont
*arg1
= (wxFont
*) 0 ;
14625 PyObject
*swig_obj
[1] ;
14627 if (!args
) SWIG_fail
;
14628 swig_obj
[0] = args
;
14629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14630 if (!SWIG_IsOK(res1
)) {
14631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14633 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14636 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14637 wxPyEndAllowThreads(__tstate
);
14638 if (PyErr_Occurred()) SWIG_fail
;
14642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14653 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14654 PyObject
*resultobj
= 0;
14655 wxFont
*arg1
= (wxFont
*) 0 ;
14659 PyObject
*swig_obj
[1] ;
14661 if (!args
) SWIG_fail
;
14662 swig_obj
[0] = args
;
14663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14664 if (!SWIG_IsOK(res1
)) {
14665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14667 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14670 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14671 wxPyEndAllowThreads(__tstate
);
14672 if (PyErr_Occurred()) SWIG_fail
;
14676 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14678 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14687 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14688 PyObject
*resultobj
= 0;
14689 wxFont
*arg1
= (wxFont
*) 0 ;
14695 PyObject
* obj0
= 0 ;
14696 PyObject
* obj1
= 0 ;
14697 char * kwnames
[] = {
14698 (char *) "self",(char *) "pointSize", NULL
14701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14703 if (!SWIG_IsOK(res1
)) {
14704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14706 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14708 if (!SWIG_IsOK(ecode2
)) {
14709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14711 arg2
= static_cast< int >(val2
);
14713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14714 (arg1
)->SetPointSize(arg2
);
14715 wxPyEndAllowThreads(__tstate
);
14716 if (PyErr_Occurred()) SWIG_fail
;
14718 resultobj
= SWIG_Py_Void();
14725 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14726 PyObject
*resultobj
= 0;
14727 wxFont
*arg1
= (wxFont
*) 0 ;
14732 PyObject
* obj0
= 0 ;
14733 PyObject
* obj1
= 0 ;
14734 char * kwnames
[] = {
14735 (char *) "self",(char *) "pixelSize", NULL
14738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14740 if (!SWIG_IsOK(res1
)) {
14741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14743 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14746 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14750 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14751 wxPyEndAllowThreads(__tstate
);
14752 if (PyErr_Occurred()) SWIG_fail
;
14754 resultobj
= SWIG_Py_Void();
14761 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14762 PyObject
*resultobj
= 0;
14763 wxFont
*arg1
= (wxFont
*) 0 ;
14769 PyObject
* obj0
= 0 ;
14770 PyObject
* obj1
= 0 ;
14771 char * kwnames
[] = {
14772 (char *) "self",(char *) "family", NULL
14775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14777 if (!SWIG_IsOK(res1
)) {
14778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14780 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14782 if (!SWIG_IsOK(ecode2
)) {
14783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14785 arg2
= static_cast< int >(val2
);
14787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14788 (arg1
)->SetFamily(arg2
);
14789 wxPyEndAllowThreads(__tstate
);
14790 if (PyErr_Occurred()) SWIG_fail
;
14792 resultobj
= SWIG_Py_Void();
14799 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14800 PyObject
*resultobj
= 0;
14801 wxFont
*arg1
= (wxFont
*) 0 ;
14807 PyObject
* obj0
= 0 ;
14808 PyObject
* obj1
= 0 ;
14809 char * kwnames
[] = {
14810 (char *) "self",(char *) "style", NULL
14813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14815 if (!SWIG_IsOK(res1
)) {
14816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14818 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14820 if (!SWIG_IsOK(ecode2
)) {
14821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14823 arg2
= static_cast< int >(val2
);
14825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14826 (arg1
)->SetStyle(arg2
);
14827 wxPyEndAllowThreads(__tstate
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14830 resultobj
= SWIG_Py_Void();
14837 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
= 0;
14839 wxFont
*arg1
= (wxFont
*) 0 ;
14845 PyObject
* obj0
= 0 ;
14846 PyObject
* obj1
= 0 ;
14847 char * kwnames
[] = {
14848 (char *) "self",(char *) "weight", NULL
14851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14853 if (!SWIG_IsOK(res1
)) {
14854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14856 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14858 if (!SWIG_IsOK(ecode2
)) {
14859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14861 arg2
= static_cast< int >(val2
);
14863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14864 (arg1
)->SetWeight(arg2
);
14865 wxPyEndAllowThreads(__tstate
);
14866 if (PyErr_Occurred()) SWIG_fail
;
14868 resultobj
= SWIG_Py_Void();
14875 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14876 PyObject
*resultobj
= 0;
14877 wxFont
*arg1
= (wxFont
*) 0 ;
14878 wxString
*arg2
= 0 ;
14882 bool temp2
= false ;
14883 PyObject
* obj0
= 0 ;
14884 PyObject
* obj1
= 0 ;
14885 char * kwnames
[] = {
14886 (char *) "self",(char *) "faceName", NULL
14889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14891 if (!SWIG_IsOK(res1
)) {
14892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14894 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14896 arg2
= wxString_in_helper(obj1
);
14897 if (arg2
== NULL
) SWIG_fail
;
14901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14902 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14923 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14924 PyObject
*resultobj
= 0;
14925 wxFont
*arg1
= (wxFont
*) 0 ;
14931 PyObject
* obj0
= 0 ;
14932 PyObject
* obj1
= 0 ;
14933 char * kwnames
[] = {
14934 (char *) "self",(char *) "underlined", NULL
14937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14939 if (!SWIG_IsOK(res1
)) {
14940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14942 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14943 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14944 if (!SWIG_IsOK(ecode2
)) {
14945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14947 arg2
= static_cast< bool >(val2
);
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 (arg1
)->SetUnderlined(arg2
);
14951 wxPyEndAllowThreads(__tstate
);
14952 if (PyErr_Occurred()) SWIG_fail
;
14954 resultobj
= SWIG_Py_Void();
14961 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14962 PyObject
*resultobj
= 0;
14963 wxFont
*arg1
= (wxFont
*) 0 ;
14964 wxFontEncoding arg2
;
14969 PyObject
* obj0
= 0 ;
14970 PyObject
* obj1
= 0 ;
14971 char * kwnames
[] = {
14972 (char *) "self",(char *) "encoding", NULL
14975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14977 if (!SWIG_IsOK(res1
)) {
14978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14980 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14982 if (!SWIG_IsOK(ecode2
)) {
14983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14985 arg2
= static_cast< wxFontEncoding
>(val2
);
14987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14988 (arg1
)->SetEncoding(arg2
);
14989 wxPyEndAllowThreads(__tstate
);
14990 if (PyErr_Occurred()) SWIG_fail
;
14992 resultobj
= SWIG_Py_Void();
14999 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15000 PyObject
*resultobj
= 0;
15001 wxFont
*arg1
= (wxFont
*) 0 ;
15002 wxNativeFontInfo
*arg2
= 0 ;
15007 PyObject
* obj0
= 0 ;
15008 PyObject
* obj1
= 0 ;
15009 char * kwnames
[] = {
15010 (char *) "self",(char *) "info", NULL
15013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15015 if (!SWIG_IsOK(res1
)) {
15016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15018 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15019 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15020 if (!SWIG_IsOK(res2
)) {
15021 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15026 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15033 resultobj
= SWIG_Py_Void();
15040 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15041 PyObject
*resultobj
= 0;
15042 wxFont
*arg1
= (wxFont
*) 0 ;
15043 wxString
*arg2
= 0 ;
15047 bool temp2
= false ;
15048 PyObject
* obj0
= 0 ;
15049 PyObject
* obj1
= 0 ;
15050 char * kwnames
[] = {
15051 (char *) "self",(char *) "info", NULL
15054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15056 if (!SWIG_IsOK(res1
)) {
15057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15059 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15061 arg2
= wxString_in_helper(obj1
);
15062 if (arg2
== NULL
) SWIG_fail
;
15066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15067 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15068 wxPyEndAllowThreads(__tstate
);
15069 if (PyErr_Occurred()) SWIG_fail
;
15072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15088 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15089 PyObject
*resultobj
= 0;
15090 wxFont
*arg1
= (wxFont
*) 0 ;
15091 wxString
*arg2
= 0 ;
15095 bool temp2
= false ;
15096 PyObject
* obj0
= 0 ;
15097 PyObject
* obj1
= 0 ;
15098 char * kwnames
[] = {
15099 (char *) "self",(char *) "info", NULL
15102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15104 if (!SWIG_IsOK(res1
)) {
15105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15107 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15109 arg2
= wxString_in_helper(obj1
);
15110 if (arg2
== NULL
) SWIG_fail
;
15114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15115 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15116 wxPyEndAllowThreads(__tstate
);
15117 if (PyErr_Occurred()) SWIG_fail
;
15120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15136 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15137 PyObject
*resultobj
= 0;
15138 wxFont
*arg1
= (wxFont
*) 0 ;
15142 PyObject
*swig_obj
[1] ;
15144 if (!args
) SWIG_fail
;
15145 swig_obj
[0] = args
;
15146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15147 if (!SWIG_IsOK(res1
)) {
15148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15150 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15153 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15154 wxPyEndAllowThreads(__tstate
);
15155 if (PyErr_Occurred()) SWIG_fail
;
15159 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15161 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15170 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15171 PyObject
*resultobj
= 0;
15172 wxFont
*arg1
= (wxFont
*) 0 ;
15176 PyObject
*swig_obj
[1] ;
15178 if (!args
) SWIG_fail
;
15179 swig_obj
[0] = args
;
15180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15181 if (!SWIG_IsOK(res1
)) {
15182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15184 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15187 result
= ((wxFont
const *)arg1
)->GetStyleString();
15188 wxPyEndAllowThreads(__tstate
);
15189 if (PyErr_Occurred()) SWIG_fail
;
15193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15204 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15205 PyObject
*resultobj
= 0;
15206 wxFont
*arg1
= (wxFont
*) 0 ;
15210 PyObject
*swig_obj
[1] ;
15212 if (!args
) SWIG_fail
;
15213 swig_obj
[0] = args
;
15214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15215 if (!SWIG_IsOK(res1
)) {
15216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15218 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15221 result
= ((wxFont
const *)arg1
)->GetWeightString();
15222 wxPyEndAllowThreads(__tstate
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15227 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15229 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15238 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15239 PyObject
*resultobj
= 0;
15240 wxFont
*arg1
= (wxFont
*) 0 ;
15241 bool arg2
= (bool) true ;
15246 PyObject
* obj0
= 0 ;
15247 PyObject
* obj1
= 0 ;
15248 char * kwnames
[] = {
15249 (char *) "self",(char *) "no", NULL
15252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15254 if (!SWIG_IsOK(res1
)) {
15255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15257 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15259 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15260 if (!SWIG_IsOK(ecode2
)) {
15261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15263 arg2
= static_cast< bool >(val2
);
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15267 (arg1
)->SetNoAntiAliasing(arg2
);
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15271 resultobj
= SWIG_Py_Void();
15278 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15279 PyObject
*resultobj
= 0;
15280 wxFont
*arg1
= (wxFont
*) 0 ;
15284 PyObject
*swig_obj
[1] ;
15286 if (!args
) SWIG_fail
;
15287 swig_obj
[0] = args
;
15288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15289 if (!SWIG_IsOK(res1
)) {
15290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15292 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15296 wxPyEndAllowThreads(__tstate
);
15297 if (PyErr_Occurred()) SWIG_fail
;
15300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15308 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15309 PyObject
*resultobj
= 0;
15310 wxFontEncoding result
;
15312 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15314 if (!wxPyCheckForApp()) SWIG_fail
;
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15317 wxPyEndAllowThreads(__tstate
);
15318 if (PyErr_Occurred()) SWIG_fail
;
15320 resultobj
= SWIG_From_int(static_cast< int >(result
));
15327 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15328 PyObject
*resultobj
= 0;
15329 wxFontEncoding arg1
;
15332 PyObject
* obj0
= 0 ;
15333 char * kwnames
[] = {
15334 (char *) "encoding", NULL
15337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15338 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15339 if (!SWIG_IsOK(ecode1
)) {
15340 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15342 arg1
= static_cast< wxFontEncoding
>(val1
);
15344 if (!wxPyCheckForApp()) SWIG_fail
;
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 wxFont::SetDefaultEncoding(arg1
);
15347 wxPyEndAllowThreads(__tstate
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15350 resultobj
= SWIG_Py_Void();
15357 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15359 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15360 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15361 return SWIG_Py_Void();
15364 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15365 return SWIG_Python_InitShadowInstance(args
);
15368 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15369 PyObject
*resultobj
= 0;
15370 wxPyFontEnumerator
*result
= 0 ;
15372 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15374 if (!wxPyCheckForApp()) SWIG_fail
;
15375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15376 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15377 wxPyEndAllowThreads(__tstate
);
15378 if (PyErr_Occurred()) SWIG_fail
;
15380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15387 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15388 PyObject
*resultobj
= 0;
15389 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15392 PyObject
*swig_obj
[1] ;
15394 if (!args
) SWIG_fail
;
15395 swig_obj
[0] = args
;
15396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15397 if (!SWIG_IsOK(res1
)) {
15398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15400 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15405 wxPyEndAllowThreads(__tstate
);
15406 if (PyErr_Occurred()) SWIG_fail
;
15408 resultobj
= SWIG_Py_Void();
15415 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15416 PyObject
*resultobj
= 0;
15417 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15418 PyObject
*arg2
= (PyObject
*) 0 ;
15419 PyObject
*arg3
= (PyObject
*) 0 ;
15425 PyObject
* obj0
= 0 ;
15426 PyObject
* obj1
= 0 ;
15427 PyObject
* obj2
= 0 ;
15428 PyObject
* obj3
= 0 ;
15429 char * kwnames
[] = {
15430 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15435 if (!SWIG_IsOK(res1
)) {
15436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15438 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15441 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15442 if (!SWIG_IsOK(ecode4
)) {
15443 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15445 arg4
= static_cast< bool >(val4
);
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15449 wxPyEndAllowThreads(__tstate
);
15450 if (PyErr_Occurred()) SWIG_fail
;
15452 resultobj
= SWIG_Py_Void();
15459 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15460 PyObject
*resultobj
= 0;
15461 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15462 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15463 bool arg3
= (bool) false ;
15471 PyObject
* obj0
= 0 ;
15472 PyObject
* obj1
= 0 ;
15473 PyObject
* obj2
= 0 ;
15474 char * kwnames
[] = {
15475 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15480 if (!SWIG_IsOK(res1
)) {
15481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15483 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15486 if (!SWIG_IsOK(ecode2
)) {
15487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15489 arg2
= static_cast< wxFontEncoding
>(val2
);
15492 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15493 if (!SWIG_IsOK(ecode3
)) {
15494 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15496 arg3
= static_cast< bool >(val3
);
15499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15500 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15501 wxPyEndAllowThreads(__tstate
);
15502 if (PyErr_Occurred()) SWIG_fail
;
15505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15513 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15514 PyObject
*resultobj
= 0;
15515 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15516 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15517 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15521 bool temp2
= false ;
15522 PyObject
* obj0
= 0 ;
15523 PyObject
* obj1
= 0 ;
15524 char * kwnames
[] = {
15525 (char *) "self",(char *) "facename", NULL
15528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15530 if (!SWIG_IsOK(res1
)) {
15531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15533 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15536 arg2
= wxString_in_helper(obj1
);
15537 if (arg2
== NULL
) SWIG_fail
;
15542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15543 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15544 wxPyEndAllowThreads(__tstate
);
15545 if (PyErr_Occurred()) SWIG_fail
;
15548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15564 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15565 PyObject
*resultobj
= 0;
15566 PyObject
*result
= 0 ;
15568 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15571 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15572 wxPyEndAllowThreads(__tstate
);
15573 if (PyErr_Occurred()) SWIG_fail
;
15575 resultobj
= result
;
15582 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15583 PyObject
*resultobj
= 0;
15584 PyObject
*result
= 0 ;
15586 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15589 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15590 wxPyEndAllowThreads(__tstate
);
15591 if (PyErr_Occurred()) SWIG_fail
;
15593 resultobj
= result
;
15600 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15601 PyObject
*resultobj
= 0;
15602 wxString
*arg1
= 0 ;
15604 bool temp1
= false ;
15605 PyObject
* obj0
= 0 ;
15606 char * kwnames
[] = {
15607 (char *) "str", NULL
15610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15612 arg1
= wxString_in_helper(obj0
);
15613 if (arg1
== NULL
) SWIG_fail
;
15617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15618 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15619 wxPyEndAllowThreads(__tstate
);
15620 if (PyErr_Occurred()) SWIG_fail
;
15623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15639 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15641 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15642 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15643 return SWIG_Py_Void();
15646 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15647 return SWIG_Python_InitShadowInstance(args
);
15650 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15651 PyObject
*resultobj
= 0;
15652 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15658 PyObject
*swig_obj
[2] ;
15660 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15662 if (!SWIG_IsOK(res1
)) {
15663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15665 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15666 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15667 if (!SWIG_IsOK(ecode2
)) {
15668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15670 arg2
= static_cast< int >(val2
);
15671 if (arg1
) (arg1
)->Language
= arg2
;
15673 resultobj
= SWIG_Py_Void();
15680 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15681 PyObject
*resultobj
= 0;
15682 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15686 PyObject
*swig_obj
[1] ;
15688 if (!args
) SWIG_fail
;
15689 swig_obj
[0] = args
;
15690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15691 if (!SWIG_IsOK(res1
)) {
15692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15694 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15695 result
= (int) ((arg1
)->Language
);
15696 resultobj
= SWIG_From_int(static_cast< int >(result
));
15703 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15704 PyObject
*resultobj
= 0;
15705 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15706 wxString
*arg2
= (wxString
*) 0 ;
15709 bool temp2
= false ;
15710 PyObject
*swig_obj
[2] ;
15712 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15714 if (!SWIG_IsOK(res1
)) {
15715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15717 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15719 arg2
= wxString_in_helper(swig_obj
[1]);
15720 if (arg2
== NULL
) SWIG_fail
;
15723 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15725 resultobj
= SWIG_Py_Void();
15740 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15741 PyObject
*resultobj
= 0;
15742 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15743 wxString
*result
= 0 ;
15746 PyObject
*swig_obj
[1] ;
15748 if (!args
) SWIG_fail
;
15749 swig_obj
[0] = args
;
15750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15751 if (!SWIG_IsOK(res1
)) {
15752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15754 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15755 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15758 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15760 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15769 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15770 PyObject
*resultobj
= 0;
15771 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15772 wxString
*arg2
= (wxString
*) 0 ;
15775 bool temp2
= false ;
15776 PyObject
*swig_obj
[2] ;
15778 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15780 if (!SWIG_IsOK(res1
)) {
15781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15783 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15785 arg2
= wxString_in_helper(swig_obj
[1]);
15786 if (arg2
== NULL
) SWIG_fail
;
15789 if (arg1
) (arg1
)->Description
= *arg2
;
15791 resultobj
= SWIG_Py_Void();
15806 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15807 PyObject
*resultobj
= 0;
15808 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15809 wxString
*result
= 0 ;
15812 PyObject
*swig_obj
[1] ;
15814 if (!args
) SWIG_fail
;
15815 swig_obj
[0] = args
;
15816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15817 if (!SWIG_IsOK(res1
)) {
15818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15820 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15821 result
= (wxString
*)& ((arg1
)->Description
);
15824 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15826 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15835 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15837 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15838 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15839 return SWIG_Py_Void();
15842 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15843 PyObject
*resultobj
= 0;
15844 int arg1
= (int) -1 ;
15845 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15846 wxLocale
*result
= 0 ;
15851 PyObject
* obj0
= 0 ;
15852 PyObject
* obj1
= 0 ;
15853 char * kwnames
[] = {
15854 (char *) "language",(char *) "flags", NULL
15857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15859 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15860 if (!SWIG_IsOK(ecode1
)) {
15861 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15863 arg1
= static_cast< int >(val1
);
15866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15867 if (!SWIG_IsOK(ecode2
)) {
15868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15870 arg2
= static_cast< int >(val2
);
15873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15874 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15875 wxPyEndAllowThreads(__tstate
);
15876 if (PyErr_Occurred()) SWIG_fail
;
15878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15885 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15886 PyObject
*resultobj
= 0;
15887 wxLocale
*arg1
= (wxLocale
*) 0 ;
15890 PyObject
*swig_obj
[1] ;
15892 if (!args
) SWIG_fail
;
15893 swig_obj
[0] = args
;
15894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15895 if (!SWIG_IsOK(res1
)) {
15896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15898 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15903 wxPyEndAllowThreads(__tstate
);
15904 if (PyErr_Occurred()) SWIG_fail
;
15906 resultobj
= SWIG_Py_Void();
15913 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15914 PyObject
*resultobj
= 0;
15915 wxLocale
*arg1
= (wxLocale
*) 0 ;
15916 wxString
*arg2
= 0 ;
15917 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15918 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15919 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15920 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15921 bool arg5
= (bool) true ;
15922 bool arg6
= (bool) false ;
15926 bool temp2
= false ;
15927 bool temp3
= false ;
15928 bool temp4
= false ;
15933 PyObject
* obj0
= 0 ;
15934 PyObject
* obj1
= 0 ;
15935 PyObject
* obj2
= 0 ;
15936 PyObject
* obj3
= 0 ;
15937 PyObject
* obj4
= 0 ;
15938 PyObject
* obj5
= 0 ;
15939 char * kwnames
[] = {
15940 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15945 if (!SWIG_IsOK(res1
)) {
15946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15948 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15950 arg2
= wxString_in_helper(obj1
);
15951 if (arg2
== NULL
) SWIG_fail
;
15956 arg3
= wxString_in_helper(obj2
);
15957 if (arg3
== NULL
) SWIG_fail
;
15963 arg4
= wxString_in_helper(obj3
);
15964 if (arg4
== NULL
) SWIG_fail
;
15969 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15970 if (!SWIG_IsOK(ecode5
)) {
15971 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15973 arg5
= static_cast< bool >(val5
);
15976 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15977 if (!SWIG_IsOK(ecode6
)) {
15978 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15980 arg6
= static_cast< bool >(val6
);
15983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15984 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15985 wxPyEndAllowThreads(__tstate
);
15986 if (PyErr_Occurred()) SWIG_fail
;
15989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16021 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16022 PyObject
*resultobj
= 0;
16023 wxLocale
*arg1
= (wxLocale
*) 0 ;
16024 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16025 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16033 PyObject
* obj0
= 0 ;
16034 PyObject
* obj1
= 0 ;
16035 PyObject
* obj2
= 0 ;
16036 char * kwnames
[] = {
16037 (char *) "self",(char *) "language",(char *) "flags", NULL
16040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16042 if (!SWIG_IsOK(res1
)) {
16043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16045 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16048 if (!SWIG_IsOK(ecode2
)) {
16049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16051 arg2
= static_cast< int >(val2
);
16054 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16055 if (!SWIG_IsOK(ecode3
)) {
16056 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16058 arg3
= static_cast< int >(val3
);
16061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16062 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16063 wxPyEndAllowThreads(__tstate
);
16064 if (PyErr_Occurred()) SWIG_fail
;
16067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16075 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16076 PyObject
*resultobj
= 0;
16079 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16082 result
= (int)wxLocale::GetSystemLanguage();
16083 wxPyEndAllowThreads(__tstate
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16086 resultobj
= SWIG_From_int(static_cast< int >(result
));
16093 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16094 PyObject
*resultobj
= 0;
16095 wxFontEncoding result
;
16097 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16100 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16101 wxPyEndAllowThreads(__tstate
);
16102 if (PyErr_Occurred()) SWIG_fail
;
16104 resultobj
= SWIG_From_int(static_cast< int >(result
));
16111 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16112 PyObject
*resultobj
= 0;
16115 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16118 result
= wxLocale::GetSystemEncodingName();
16119 wxPyEndAllowThreads(__tstate
);
16120 if (PyErr_Occurred()) SWIG_fail
;
16124 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16126 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16135 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16136 PyObject
*resultobj
= 0;
16137 wxLocale
*arg1
= (wxLocale
*) 0 ;
16141 PyObject
*swig_obj
[1] ;
16143 if (!args
) SWIG_fail
;
16144 swig_obj
[0] = args
;
16145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16146 if (!SWIG_IsOK(res1
)) {
16147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16149 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16152 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16153 wxPyEndAllowThreads(__tstate
);
16154 if (PyErr_Occurred()) SWIG_fail
;
16157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16165 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16166 PyObject
*resultobj
= 0;
16167 wxLocale
*arg1
= (wxLocale
*) 0 ;
16171 PyObject
*swig_obj
[1] ;
16173 if (!args
) SWIG_fail
;
16174 swig_obj
[0] = args
;
16175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16176 if (!SWIG_IsOK(res1
)) {
16177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16179 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16182 result
= ((wxLocale
const *)arg1
)->GetLocale();
16183 wxPyEndAllowThreads(__tstate
);
16184 if (PyErr_Occurred()) SWIG_fail
;
16188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16199 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16200 PyObject
*resultobj
= 0;
16201 wxLocale
*arg1
= (wxLocale
*) 0 ;
16205 PyObject
*swig_obj
[1] ;
16207 if (!args
) SWIG_fail
;
16208 swig_obj
[0] = args
;
16209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16210 if (!SWIG_IsOK(res1
)) {
16211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16213 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16216 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16217 wxPyEndAllowThreads(__tstate
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16220 resultobj
= SWIG_From_int(static_cast< int >(result
));
16227 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16228 PyObject
*resultobj
= 0;
16229 wxLocale
*arg1
= (wxLocale
*) 0 ;
16233 PyObject
*swig_obj
[1] ;
16235 if (!args
) SWIG_fail
;
16236 swig_obj
[0] = args
;
16237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16238 if (!SWIG_IsOK(res1
)) {
16239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16241 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16244 result
= ((wxLocale
const *)arg1
)->GetSysName();
16245 wxPyEndAllowThreads(__tstate
);
16246 if (PyErr_Occurred()) SWIG_fail
;
16250 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16252 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16261 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16262 PyObject
*resultobj
= 0;
16263 wxLocale
*arg1
= (wxLocale
*) 0 ;
16267 PyObject
*swig_obj
[1] ;
16269 if (!args
) SWIG_fail
;
16270 swig_obj
[0] = args
;
16271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16272 if (!SWIG_IsOK(res1
)) {
16273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16275 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16278 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16279 wxPyEndAllowThreads(__tstate
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16295 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16296 PyObject
*resultobj
= 0;
16297 wxString
*arg1
= 0 ;
16298 bool temp1
= false ;
16299 PyObject
* obj0
= 0 ;
16300 char * kwnames
[] = {
16301 (char *) "prefix", NULL
16304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16306 arg1
= wxString_in_helper(obj0
);
16307 if (arg1
== NULL
) SWIG_fail
;
16311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16312 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16313 wxPyEndAllowThreads(__tstate
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16316 resultobj
= SWIG_Py_Void();
16331 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16332 PyObject
*resultobj
= 0;
16333 wxLocale
*arg1
= (wxLocale
*) 0 ;
16334 wxString
*arg2
= 0 ;
16338 bool temp2
= false ;
16339 PyObject
* obj0
= 0 ;
16340 PyObject
* obj1
= 0 ;
16341 char * kwnames
[] = {
16342 (char *) "self",(char *) "szDomain", NULL
16345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16347 if (!SWIG_IsOK(res1
)) {
16348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16350 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16352 arg2
= wxString_in_helper(obj1
);
16353 if (arg2
== NULL
) SWIG_fail
;
16357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16358 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16359 wxPyEndAllowThreads(__tstate
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16379 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16380 PyObject
*resultobj
= 0;
16385 PyObject
* obj0
= 0 ;
16386 char * kwnames
[] = {
16387 (char *) "lang", NULL
16390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16391 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16392 if (!SWIG_IsOK(ecode1
)) {
16393 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16395 arg1
= static_cast< int >(val1
);
16397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16398 result
= (bool)wxLocale::IsAvailable(arg1
);
16399 wxPyEndAllowThreads(__tstate
);
16400 if (PyErr_Occurred()) SWIG_fail
;
16403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16411 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16412 PyObject
*resultobj
= 0;
16413 wxLocale
*arg1
= (wxLocale
*) 0 ;
16414 wxString
*arg2
= 0 ;
16418 bool temp2
= false ;
16419 PyObject
* obj0
= 0 ;
16420 PyObject
* obj1
= 0 ;
16421 char * kwnames
[] = {
16422 (char *) "self",(char *) "szDomain", NULL
16425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16427 if (!SWIG_IsOK(res1
)) {
16428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16430 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16432 arg2
= wxString_in_helper(obj1
);
16433 if (arg2
== NULL
) SWIG_fail
;
16437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16438 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16459 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16460 PyObject
*resultobj
= 0;
16462 wxLanguageInfo
*result
= 0 ;
16465 PyObject
* obj0
= 0 ;
16466 char * kwnames
[] = {
16467 (char *) "lang", NULL
16470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16471 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16472 if (!SWIG_IsOK(ecode1
)) {
16473 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16475 arg1
= static_cast< int >(val1
);
16477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16478 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16479 wxPyEndAllowThreads(__tstate
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16489 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16490 PyObject
*resultobj
= 0;
16495 PyObject
* obj0
= 0 ;
16496 char * kwnames
[] = {
16497 (char *) "lang", NULL
16500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16501 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16502 if (!SWIG_IsOK(ecode1
)) {
16503 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16505 arg1
= static_cast< int >(val1
);
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16508 result
= wxLocale::GetLanguageName(arg1
);
16509 wxPyEndAllowThreads(__tstate
);
16510 if (PyErr_Occurred()) SWIG_fail
;
16514 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16516 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16525 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16526 PyObject
*resultobj
= 0;
16527 wxString
*arg1
= 0 ;
16528 wxLanguageInfo
*result
= 0 ;
16529 bool temp1
= false ;
16530 PyObject
* obj0
= 0 ;
16531 char * kwnames
[] = {
16532 (char *) "locale", NULL
16535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16537 arg1
= wxString_in_helper(obj0
);
16538 if (arg1
== NULL
) SWIG_fail
;
16542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16543 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16544 wxPyEndAllowThreads(__tstate
);
16545 if (PyErr_Occurred()) SWIG_fail
;
16547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16562 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16563 PyObject
*resultobj
= 0;
16564 wxLanguageInfo
*arg1
= 0 ;
16567 PyObject
* obj0
= 0 ;
16568 char * kwnames
[] = {
16569 (char *) "info", NULL
16572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16573 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16574 if (!SWIG_IsOK(res1
)) {
16575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16578 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16580 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16583 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16584 wxPyEndAllowThreads(__tstate
);
16585 if (PyErr_Occurred()) SWIG_fail
;
16587 resultobj
= SWIG_Py_Void();
16594 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16595 PyObject
*resultobj
= 0;
16596 wxLocale
*arg1
= (wxLocale
*) 0 ;
16597 wxString
*arg2
= 0 ;
16598 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16599 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16603 bool temp2
= false ;
16604 bool temp3
= false ;
16605 PyObject
* obj0
= 0 ;
16606 PyObject
* obj1
= 0 ;
16607 PyObject
* obj2
= 0 ;
16608 char * kwnames
[] = {
16609 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16614 if (!SWIG_IsOK(res1
)) {
16615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16617 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16619 arg2
= wxString_in_helper(obj1
);
16620 if (arg2
== NULL
) SWIG_fail
;
16625 arg3
= wxString_in_helper(obj2
);
16626 if (arg3
== NULL
) SWIG_fail
;
16631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16632 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16633 wxPyEndAllowThreads(__tstate
);
16634 if (PyErr_Occurred()) SWIG_fail
;
16638 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16640 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16665 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16666 PyObject
*resultobj
= 0;
16667 wxLocale
*arg1
= (wxLocale
*) 0 ;
16668 wxString
*result
= 0 ;
16671 PyObject
*swig_obj
[1] ;
16673 if (!args
) SWIG_fail
;
16674 swig_obj
[0] = args
;
16675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16676 if (!SWIG_IsOK(res1
)) {
16677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16679 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16683 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16684 result
= (wxString
*) &_result_ref
;
16686 wxPyEndAllowThreads(__tstate
);
16687 if (PyErr_Occurred()) SWIG_fail
;
16691 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16693 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16702 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16704 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16705 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16706 return SWIG_Py_Void();
16709 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16710 return SWIG_Python_InitShadowInstance(args
);
16713 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16714 PyObject
*resultobj
= 0;
16715 int arg1
= (int) -1 ;
16716 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16717 wxPyLocale
*result
= 0 ;
16722 PyObject
* obj0
= 0 ;
16723 PyObject
* obj1
= 0 ;
16724 char * kwnames
[] = {
16725 (char *) "language",(char *) "flags", NULL
16728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16730 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16731 if (!SWIG_IsOK(ecode1
)) {
16732 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16734 arg1
= static_cast< int >(val1
);
16737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16738 if (!SWIG_IsOK(ecode2
)) {
16739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16741 arg2
= static_cast< int >(val2
);
16744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16745 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16746 wxPyEndAllowThreads(__tstate
);
16747 if (PyErr_Occurred()) SWIG_fail
;
16749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16756 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16757 PyObject
*resultobj
= 0;
16758 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16761 PyObject
*swig_obj
[1] ;
16763 if (!args
) SWIG_fail
;
16764 swig_obj
[0] = args
;
16765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16766 if (!SWIG_IsOK(res1
)) {
16767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16769 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16774 wxPyEndAllowThreads(__tstate
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16777 resultobj
= SWIG_Py_Void();
16784 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16785 PyObject
*resultobj
= 0;
16786 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16787 PyObject
*arg2
= (PyObject
*) 0 ;
16788 PyObject
*arg3
= (PyObject
*) 0 ;
16791 PyObject
* obj0
= 0 ;
16792 PyObject
* obj1
= 0 ;
16793 PyObject
* obj2
= 0 ;
16794 char * kwnames
[] = {
16795 (char *) "self",(char *) "self",(char *) "_class", NULL
16798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16800 if (!SWIG_IsOK(res1
)) {
16801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16803 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16809 wxPyEndAllowThreads(__tstate
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16812 resultobj
= SWIG_Py_Void();
16819 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16820 PyObject
*resultobj
= 0;
16821 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16822 wxChar
*arg2
= (wxChar
*) 0 ;
16823 wxChar
*arg3
= (wxChar
*) NULL
;
16824 wxChar
*result
= 0 ;
16831 PyObject
* obj0
= 0 ;
16832 PyObject
* obj1
= 0 ;
16833 PyObject
* obj2
= 0 ;
16834 char * kwnames
[] = {
16835 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16840 if (!SWIG_IsOK(res1
)) {
16841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16843 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16844 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16845 if (!SWIG_IsOK(res2
)) {
16846 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16848 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16850 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16851 if (!SWIG_IsOK(res3
)) {
16852 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16854 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16858 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16859 wxPyEndAllowThreads(__tstate
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16869 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16870 PyObject
*resultobj
= 0;
16871 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16872 wxChar
*arg2
= (wxChar
*) 0 ;
16873 wxChar
*arg3
= (wxChar
*) 0 ;
16875 wxChar
*arg5
= (wxChar
*) NULL
;
16876 wxChar
*result
= 0 ;
16887 PyObject
* obj0
= 0 ;
16888 PyObject
* obj1
= 0 ;
16889 PyObject
* obj2
= 0 ;
16890 PyObject
* obj3
= 0 ;
16891 PyObject
* obj4
= 0 ;
16892 char * kwnames
[] = {
16893 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16898 if (!SWIG_IsOK(res1
)) {
16899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16901 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16902 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16903 if (!SWIG_IsOK(res2
)) {
16904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16906 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16907 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16908 if (!SWIG_IsOK(res3
)) {
16909 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16911 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16912 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16913 if (!SWIG_IsOK(ecode4
)) {
16914 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16916 arg4
= static_cast< size_t >(val4
);
16918 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16919 if (!SWIG_IsOK(res5
)) {
16920 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16922 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16926 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16927 wxPyEndAllowThreads(__tstate
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16937 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16939 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16940 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16941 return SWIG_Py_Void();
16944 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16945 return SWIG_Python_InitShadowInstance(args
);
16948 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16949 PyObject
*resultobj
= 0;
16950 wxLocale
*result
= 0 ;
16952 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16955 result
= (wxLocale
*)wxGetLocale();
16956 wxPyEndAllowThreads(__tstate
);
16957 if (PyErr_Occurred()) SWIG_fail
;
16959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16966 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16967 PyObject
*resultobj
= 0;
16968 wxString
*arg1
= 0 ;
16970 bool temp1
= false ;
16972 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16974 arg1
= wxString_in_helper(swig_obj
[0]);
16975 if (arg1
== NULL
) SWIG_fail
;
16979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16980 result
= wxGetTranslation((wxString
const &)*arg1
);
16981 wxPyEndAllowThreads(__tstate
);
16982 if (PyErr_Occurred()) SWIG_fail
;
16986 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16988 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17005 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17006 PyObject
*resultobj
= 0;
17007 wxString
*arg1
= 0 ;
17008 wxString
*arg2
= 0 ;
17010 bool temp1
= false ;
17011 bool temp2
= false ;
17013 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17015 arg1
= wxString_in_helper(swig_obj
[0]);
17016 if (arg1
== NULL
) SWIG_fail
;
17020 arg2
= wxString_in_helper(swig_obj
[1]);
17021 if (arg2
== NULL
) SWIG_fail
;
17025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17026 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17027 wxPyEndAllowThreads(__tstate
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17059 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17060 PyObject
*resultobj
= 0;
17061 wxString
*arg1
= 0 ;
17062 wxString
*arg2
= 0 ;
17065 bool temp1
= false ;
17066 bool temp2
= false ;
17070 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17072 arg1
= wxString_in_helper(swig_obj
[0]);
17073 if (arg1
== NULL
) SWIG_fail
;
17077 arg2
= wxString_in_helper(swig_obj
[1]);
17078 if (arg2
== NULL
) SWIG_fail
;
17081 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17082 if (!SWIG_IsOK(ecode3
)) {
17083 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17085 arg3
= static_cast< size_t >(val3
);
17087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17088 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17089 wxPyEndAllowThreads(__tstate
);
17090 if (PyErr_Occurred()) SWIG_fail
;
17094 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17096 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17121 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17122 PyObject
*resultobj
= 0;
17123 wxString
*arg1
= 0 ;
17124 wxString
*arg2
= 0 ;
17126 wxString
*arg4
= 0 ;
17128 bool temp1
= false ;
17129 bool temp2
= false ;
17132 bool temp4
= false ;
17134 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17136 arg1
= wxString_in_helper(swig_obj
[0]);
17137 if (arg1
== NULL
) SWIG_fail
;
17141 arg2
= wxString_in_helper(swig_obj
[1]);
17142 if (arg2
== NULL
) SWIG_fail
;
17145 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17146 if (!SWIG_IsOK(ecode3
)) {
17147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17149 arg3
= static_cast< size_t >(val3
);
17151 arg4
= wxString_in_helper(swig_obj
[3]);
17152 if (arg4
== NULL
) SWIG_fail
;
17156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17157 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17158 wxPyEndAllowThreads(__tstate
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17198 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17202 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17205 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17208 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17211 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17214 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17218 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17223 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17224 PyObject
*resultobj
= 0;
17225 wxEncodingConverter
*result
= 0 ;
17227 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17230 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17241 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17242 PyObject
*resultobj
= 0;
17243 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17246 PyObject
*swig_obj
[1] ;
17248 if (!args
) SWIG_fail
;
17249 swig_obj
[0] = args
;
17250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17251 if (!SWIG_IsOK(res1
)) {
17252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17254 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17259 wxPyEndAllowThreads(__tstate
);
17260 if (PyErr_Occurred()) SWIG_fail
;
17262 resultobj
= SWIG_Py_Void();
17269 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17270 PyObject
*resultobj
= 0;
17271 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17272 wxFontEncoding arg2
;
17273 wxFontEncoding arg3
;
17274 int arg4
= (int) wxCONVERT_STRICT
;
17284 PyObject
* obj0
= 0 ;
17285 PyObject
* obj1
= 0 ;
17286 PyObject
* obj2
= 0 ;
17287 PyObject
* obj3
= 0 ;
17288 char * kwnames
[] = {
17289 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17294 if (!SWIG_IsOK(res1
)) {
17295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17297 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17299 if (!SWIG_IsOK(ecode2
)) {
17300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17302 arg2
= static_cast< wxFontEncoding
>(val2
);
17303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17304 if (!SWIG_IsOK(ecode3
)) {
17305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17307 arg3
= static_cast< wxFontEncoding
>(val3
);
17309 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17310 if (!SWIG_IsOK(ecode4
)) {
17311 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17313 arg4
= static_cast< int >(val4
);
17316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17317 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17318 wxPyEndAllowThreads(__tstate
);
17319 if (PyErr_Occurred()) SWIG_fail
;
17322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17330 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17331 PyObject
*resultobj
= 0;
17332 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17333 wxString
*arg2
= 0 ;
17337 bool temp2
= false ;
17338 PyObject
* obj0
= 0 ;
17339 PyObject
* obj1
= 0 ;
17340 char * kwnames
[] = {
17341 (char *) "self",(char *) "input", NULL
17344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17346 if (!SWIG_IsOK(res1
)) {
17347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17349 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17351 arg2
= wxString_in_helper(obj1
);
17352 if (arg2
== NULL
) SWIG_fail
;
17356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17357 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17358 wxPyEndAllowThreads(__tstate
);
17359 if (PyErr_Occurred()) SWIG_fail
;
17363 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17365 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17382 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17383 PyObject
*resultobj
= 0;
17384 wxFontEncoding arg1
;
17385 int arg2
= (int) wxPLATFORM_CURRENT
;
17386 wxFontEncodingArray result
;
17391 PyObject
* obj0
= 0 ;
17392 PyObject
* obj1
= 0 ;
17393 char * kwnames
[] = {
17394 (char *) "enc",(char *) "platform", NULL
17397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17398 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17399 if (!SWIG_IsOK(ecode1
)) {
17400 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17402 arg1
= static_cast< wxFontEncoding
>(val1
);
17404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17405 if (!SWIG_IsOK(ecode2
)) {
17406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17408 arg2
= static_cast< int >(val2
);
17411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17412 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17413 wxPyEndAllowThreads(__tstate
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17417 resultobj
= PyList_New(0);
17418 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17419 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17420 PyList_Append(resultobj
, number
);
17430 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17431 PyObject
*resultobj
= 0;
17432 wxFontEncoding arg1
;
17433 wxFontEncodingArray result
;
17436 PyObject
* obj0
= 0 ;
17437 char * kwnames
[] = {
17438 (char *) "enc", NULL
17441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17442 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17443 if (!SWIG_IsOK(ecode1
)) {
17444 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17446 arg1
= static_cast< wxFontEncoding
>(val1
);
17448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17449 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17450 wxPyEndAllowThreads(__tstate
);
17451 if (PyErr_Occurred()) SWIG_fail
;
17454 resultobj
= PyList_New(0);
17455 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17456 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17457 PyList_Append(resultobj
, number
);
17467 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17468 PyObject
*resultobj
= 0;
17469 wxFontEncoding arg1
;
17470 wxFontEncoding arg2
;
17476 PyObject
* obj0
= 0 ;
17477 PyObject
* obj1
= 0 ;
17478 char * kwnames
[] = {
17479 (char *) "encIn",(char *) "encOut", NULL
17482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17483 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17484 if (!SWIG_IsOK(ecode1
)) {
17485 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17487 arg1
= static_cast< wxFontEncoding
>(val1
);
17488 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17489 if (!SWIG_IsOK(ecode2
)) {
17490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17492 arg2
= static_cast< wxFontEncoding
>(val2
);
17494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17495 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17496 wxPyEndAllowThreads(__tstate
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17508 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17510 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17511 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17512 return SWIG_Py_Void();
17515 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17516 return SWIG_Python_InitShadowInstance(args
);
17519 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17520 PyObject
*resultobj
= 0;
17521 wxDC
*arg1
= (wxDC
*) 0 ;
17524 PyObject
*swig_obj
[1] ;
17526 if (!args
) SWIG_fail
;
17527 swig_obj
[0] = args
;
17528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17529 if (!SWIG_IsOK(res1
)) {
17530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17532 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17537 wxPyEndAllowThreads(__tstate
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17540 resultobj
= SWIG_Py_Void();
17547 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17548 PyObject
*resultobj
= 0;
17549 wxDC
*arg1
= (wxDC
*) 0 ;
17552 wxColour
*arg4
= 0 ;
17553 int arg5
= (int) wxFLOOD_SURFACE
;
17564 PyObject
* obj0
= 0 ;
17565 PyObject
* obj1
= 0 ;
17566 PyObject
* obj2
= 0 ;
17567 PyObject
* obj3
= 0 ;
17568 PyObject
* obj4
= 0 ;
17569 char * kwnames
[] = {
17570 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17575 if (!SWIG_IsOK(res1
)) {
17576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17578 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17580 if (!SWIG_IsOK(ecode2
)) {
17581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17583 arg2
= static_cast< int >(val2
);
17584 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17585 if (!SWIG_IsOK(ecode3
)) {
17586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17588 arg3
= static_cast< int >(val3
);
17591 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17594 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17595 if (!SWIG_IsOK(ecode5
)) {
17596 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17598 arg5
= static_cast< int >(val5
);
17601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17602 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17603 wxPyEndAllowThreads(__tstate
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17615 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17616 PyObject
*resultobj
= 0;
17617 wxDC
*arg1
= (wxDC
*) 0 ;
17618 wxPoint
*arg2
= 0 ;
17619 wxColour
*arg3
= 0 ;
17620 int arg4
= (int) wxFLOOD_SURFACE
;
17628 PyObject
* obj0
= 0 ;
17629 PyObject
* obj1
= 0 ;
17630 PyObject
* obj2
= 0 ;
17631 PyObject
* obj3
= 0 ;
17632 char * kwnames
[] = {
17633 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17638 if (!SWIG_IsOK(res1
)) {
17639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17641 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17644 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17648 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17651 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17652 if (!SWIG_IsOK(ecode4
)) {
17653 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17655 arg4
= static_cast< int >(val4
);
17658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17659 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17660 wxPyEndAllowThreads(__tstate
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17672 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17673 PyObject
*resultobj
= 0;
17674 wxDC
*arg1
= (wxDC
*) 0 ;
17676 wxColour
*arg3
= 0 ;
17677 wxColour
*arg4
= 0 ;
17678 wxPoint
*arg5
= 0 ;
17685 PyObject
* obj0
= 0 ;
17686 PyObject
* obj1
= 0 ;
17687 PyObject
* obj2
= 0 ;
17688 PyObject
* obj3
= 0 ;
17689 PyObject
* obj4
= 0 ;
17690 char * kwnames
[] = {
17691 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17696 if (!SWIG_IsOK(res1
)) {
17697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17699 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17702 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17706 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17710 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17714 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17718 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17719 wxPyEndAllowThreads(__tstate
);
17720 if (PyErr_Occurred()) SWIG_fail
;
17722 resultobj
= SWIG_Py_Void();
17729 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17730 PyObject
*resultobj
= 0;
17731 wxDC
*arg1
= (wxDC
*) 0 ;
17733 wxColour
*arg3
= 0 ;
17734 wxColour
*arg4
= 0 ;
17735 wxDirection arg5
= (wxDirection
) wxEAST
;
17743 PyObject
* obj0
= 0 ;
17744 PyObject
* obj1
= 0 ;
17745 PyObject
* obj2
= 0 ;
17746 PyObject
* obj3
= 0 ;
17747 PyObject
* obj4
= 0 ;
17748 char * kwnames
[] = {
17749 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17754 if (!SWIG_IsOK(res1
)) {
17755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17757 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17760 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17764 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17768 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17771 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17772 if (!SWIG_IsOK(ecode5
)) {
17773 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17775 arg5
= static_cast< wxDirection
>(val5
);
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17780 wxPyEndAllowThreads(__tstate
);
17781 if (PyErr_Occurred()) SWIG_fail
;
17783 resultobj
= SWIG_Py_Void();
17790 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
= 0;
17792 wxDC
*arg1
= (wxDC
*) 0 ;
17802 PyObject
* obj0
= 0 ;
17803 PyObject
* obj1
= 0 ;
17804 PyObject
* obj2
= 0 ;
17805 char * kwnames
[] = {
17806 (char *) "self",(char *) "x",(char *) "y", NULL
17809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17811 if (!SWIG_IsOK(res1
)) {
17812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17814 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17816 if (!SWIG_IsOK(ecode2
)) {
17817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17819 arg2
= static_cast< int >(val2
);
17820 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17821 if (!SWIG_IsOK(ecode3
)) {
17822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17824 arg3
= static_cast< int >(val3
);
17826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17827 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17828 wxPyEndAllowThreads(__tstate
);
17829 if (PyErr_Occurred()) SWIG_fail
;
17831 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17838 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17839 PyObject
*resultobj
= 0;
17840 wxDC
*arg1
= (wxDC
*) 0 ;
17841 wxPoint
*arg2
= 0 ;
17846 PyObject
* obj0
= 0 ;
17847 PyObject
* obj1
= 0 ;
17848 char * kwnames
[] = {
17849 (char *) "self",(char *) "pt", NULL
17852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17854 if (!SWIG_IsOK(res1
)) {
17855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17857 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17860 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17864 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17865 wxPyEndAllowThreads(__tstate
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17868 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17875 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17876 PyObject
*resultobj
= 0;
17877 wxDC
*arg1
= (wxDC
*) 0 ;
17892 PyObject
* obj0
= 0 ;
17893 PyObject
* obj1
= 0 ;
17894 PyObject
* obj2
= 0 ;
17895 PyObject
* obj3
= 0 ;
17896 PyObject
* obj4
= 0 ;
17897 char * kwnames
[] = {
17898 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17903 if (!SWIG_IsOK(res1
)) {
17904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17906 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17908 if (!SWIG_IsOK(ecode2
)) {
17909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17911 arg2
= static_cast< int >(val2
);
17912 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17913 if (!SWIG_IsOK(ecode3
)) {
17914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17916 arg3
= static_cast< int >(val3
);
17917 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17918 if (!SWIG_IsOK(ecode4
)) {
17919 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17921 arg4
= static_cast< int >(val4
);
17922 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17923 if (!SWIG_IsOK(ecode5
)) {
17924 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17926 arg5
= static_cast< int >(val5
);
17928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17929 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17933 resultobj
= SWIG_Py_Void();
17940 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
= 0;
17942 wxDC
*arg1
= (wxDC
*) 0 ;
17943 wxPoint
*arg2
= 0 ;
17944 wxPoint
*arg3
= 0 ;
17949 PyObject
* obj0
= 0 ;
17950 PyObject
* obj1
= 0 ;
17951 PyObject
* obj2
= 0 ;
17952 char * kwnames
[] = {
17953 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17958 if (!SWIG_IsOK(res1
)) {
17959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17961 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17964 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17968 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17972 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17973 wxPyEndAllowThreads(__tstate
);
17974 if (PyErr_Occurred()) SWIG_fail
;
17976 resultobj
= SWIG_Py_Void();
17983 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17984 PyObject
*resultobj
= 0;
17985 wxDC
*arg1
= (wxDC
*) 0 ;
17994 PyObject
* obj0
= 0 ;
17995 PyObject
* obj1
= 0 ;
17996 PyObject
* obj2
= 0 ;
17997 char * kwnames
[] = {
17998 (char *) "self",(char *) "x",(char *) "y", NULL
18001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18003 if (!SWIG_IsOK(res1
)) {
18004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18006 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18008 if (!SWIG_IsOK(ecode2
)) {
18009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18011 arg2
= static_cast< int >(val2
);
18012 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18013 if (!SWIG_IsOK(ecode3
)) {
18014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18016 arg3
= static_cast< int >(val3
);
18018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18019 (arg1
)->CrossHair(arg2
,arg3
);
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18023 resultobj
= SWIG_Py_Void();
18030 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18031 PyObject
*resultobj
= 0;
18032 wxDC
*arg1
= (wxDC
*) 0 ;
18033 wxPoint
*arg2
= 0 ;
18037 PyObject
* obj0
= 0 ;
18038 PyObject
* obj1
= 0 ;
18039 char * kwnames
[] = {
18040 (char *) "self",(char *) "pt", NULL
18043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18045 if (!SWIG_IsOK(res1
)) {
18046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18048 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18051 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18055 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18056 wxPyEndAllowThreads(__tstate
);
18057 if (PyErr_Occurred()) SWIG_fail
;
18059 resultobj
= SWIG_Py_Void();
18066 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18067 PyObject
*resultobj
= 0;
18068 wxDC
*arg1
= (wxDC
*) 0 ;
18089 PyObject
* obj0
= 0 ;
18090 PyObject
* obj1
= 0 ;
18091 PyObject
* obj2
= 0 ;
18092 PyObject
* obj3
= 0 ;
18093 PyObject
* obj4
= 0 ;
18094 PyObject
* obj5
= 0 ;
18095 PyObject
* obj6
= 0 ;
18096 char * kwnames
[] = {
18097 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18102 if (!SWIG_IsOK(res1
)) {
18103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18105 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18107 if (!SWIG_IsOK(ecode2
)) {
18108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18110 arg2
= static_cast< int >(val2
);
18111 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18112 if (!SWIG_IsOK(ecode3
)) {
18113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18115 arg3
= static_cast< int >(val3
);
18116 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18117 if (!SWIG_IsOK(ecode4
)) {
18118 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18120 arg4
= static_cast< int >(val4
);
18121 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18122 if (!SWIG_IsOK(ecode5
)) {
18123 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18125 arg5
= static_cast< int >(val5
);
18126 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18127 if (!SWIG_IsOK(ecode6
)) {
18128 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18130 arg6
= static_cast< int >(val6
);
18131 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18132 if (!SWIG_IsOK(ecode7
)) {
18133 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18135 arg7
= static_cast< int >(val7
);
18137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18138 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18139 wxPyEndAllowThreads(__tstate
);
18140 if (PyErr_Occurred()) SWIG_fail
;
18142 resultobj
= SWIG_Py_Void();
18149 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18150 PyObject
*resultobj
= 0;
18151 wxDC
*arg1
= (wxDC
*) 0 ;
18152 wxPoint
*arg2
= 0 ;
18153 wxPoint
*arg3
= 0 ;
18154 wxPoint
*arg4
= 0 ;
18160 PyObject
* obj0
= 0 ;
18161 PyObject
* obj1
= 0 ;
18162 PyObject
* obj2
= 0 ;
18163 PyObject
* obj3
= 0 ;
18164 char * kwnames
[] = {
18165 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18170 if (!SWIG_IsOK(res1
)) {
18171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18173 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18176 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18180 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18184 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18189 wxPyEndAllowThreads(__tstate
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18192 resultobj
= SWIG_Py_Void();
18199 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18200 PyObject
*resultobj
= 0;
18201 wxDC
*arg1
= (wxDC
*) 0 ;
18216 PyObject
* obj0
= 0 ;
18217 PyObject
* obj1
= 0 ;
18218 PyObject
* obj2
= 0 ;
18219 PyObject
* obj3
= 0 ;
18220 PyObject
* obj4
= 0 ;
18221 char * kwnames
[] = {
18222 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18227 if (!SWIG_IsOK(res1
)) {
18228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18230 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18232 if (!SWIG_IsOK(ecode2
)) {
18233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18235 arg2
= static_cast< int >(val2
);
18236 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18237 if (!SWIG_IsOK(ecode3
)) {
18238 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18240 arg3
= static_cast< int >(val3
);
18241 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18242 if (!SWIG_IsOK(ecode4
)) {
18243 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18245 arg4
= static_cast< int >(val4
);
18246 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18247 if (!SWIG_IsOK(ecode5
)) {
18248 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18250 arg5
= static_cast< int >(val5
);
18252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18253 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18254 wxPyEndAllowThreads(__tstate
);
18255 if (PyErr_Occurred()) SWIG_fail
;
18257 resultobj
= SWIG_Py_Void();
18264 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18265 PyObject
*resultobj
= 0;
18266 wxDC
*arg1
= (wxDC
*) 0 ;
18271 PyObject
* obj0
= 0 ;
18272 PyObject
* obj1
= 0 ;
18273 char * kwnames
[] = {
18274 (char *) "self",(char *) "rect", NULL
18277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18279 if (!SWIG_IsOK(res1
)) {
18280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18282 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18285 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18289 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18290 wxPyEndAllowThreads(__tstate
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18293 resultobj
= SWIG_Py_Void();
18300 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18301 PyObject
*resultobj
= 0;
18302 wxDC
*arg1
= (wxDC
*) 0 ;
18323 PyObject
* obj0
= 0 ;
18324 PyObject
* obj1
= 0 ;
18325 PyObject
* obj2
= 0 ;
18326 PyObject
* obj3
= 0 ;
18327 PyObject
* obj4
= 0 ;
18328 PyObject
* obj5
= 0 ;
18329 PyObject
* obj6
= 0 ;
18330 char * kwnames
[] = {
18331 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18336 if (!SWIG_IsOK(res1
)) {
18337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18339 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18341 if (!SWIG_IsOK(ecode2
)) {
18342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18344 arg2
= static_cast< int >(val2
);
18345 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18346 if (!SWIG_IsOK(ecode3
)) {
18347 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18349 arg3
= static_cast< int >(val3
);
18350 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18351 if (!SWIG_IsOK(ecode4
)) {
18352 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18354 arg4
= static_cast< int >(val4
);
18355 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18356 if (!SWIG_IsOK(ecode5
)) {
18357 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18359 arg5
= static_cast< int >(val5
);
18360 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18361 if (!SWIG_IsOK(ecode6
)) {
18362 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18364 arg6
= static_cast< double >(val6
);
18365 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18366 if (!SWIG_IsOK(ecode7
)) {
18367 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18369 arg7
= static_cast< double >(val7
);
18371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18372 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18373 wxPyEndAllowThreads(__tstate
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18376 resultobj
= SWIG_Py_Void();
18383 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18384 PyObject
*resultobj
= 0;
18385 wxDC
*arg1
= (wxDC
*) 0 ;
18386 wxPoint
*arg2
= 0 ;
18398 PyObject
* obj0
= 0 ;
18399 PyObject
* obj1
= 0 ;
18400 PyObject
* obj2
= 0 ;
18401 PyObject
* obj3
= 0 ;
18402 PyObject
* obj4
= 0 ;
18403 char * kwnames
[] = {
18404 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18409 if (!SWIG_IsOK(res1
)) {
18410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18412 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18415 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18419 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18421 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18422 if (!SWIG_IsOK(ecode4
)) {
18423 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18425 arg4
= static_cast< double >(val4
);
18426 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18427 if (!SWIG_IsOK(ecode5
)) {
18428 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18430 arg5
= static_cast< double >(val5
);
18432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18433 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18434 wxPyEndAllowThreads(__tstate
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18437 resultobj
= SWIG_Py_Void();
18444 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18445 PyObject
*resultobj
= 0;
18446 wxDC
*arg1
= (wxDC
*) 0 ;
18455 PyObject
* obj0
= 0 ;
18456 PyObject
* obj1
= 0 ;
18457 PyObject
* obj2
= 0 ;
18458 char * kwnames
[] = {
18459 (char *) "self",(char *) "x",(char *) "y", NULL
18462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18464 if (!SWIG_IsOK(res1
)) {
18465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18467 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18469 if (!SWIG_IsOK(ecode2
)) {
18470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18472 arg2
= static_cast< int >(val2
);
18473 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18474 if (!SWIG_IsOK(ecode3
)) {
18475 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18477 arg3
= static_cast< int >(val3
);
18479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18480 (arg1
)->DrawPoint(arg2
,arg3
);
18481 wxPyEndAllowThreads(__tstate
);
18482 if (PyErr_Occurred()) SWIG_fail
;
18484 resultobj
= SWIG_Py_Void();
18491 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18492 PyObject
*resultobj
= 0;
18493 wxDC
*arg1
= (wxDC
*) 0 ;
18494 wxPoint
*arg2
= 0 ;
18498 PyObject
* obj0
= 0 ;
18499 PyObject
* obj1
= 0 ;
18500 char * kwnames
[] = {
18501 (char *) "self",(char *) "pt", NULL
18504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18506 if (!SWIG_IsOK(res1
)) {
18507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18509 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18512 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18516 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18517 wxPyEndAllowThreads(__tstate
);
18518 if (PyErr_Occurred()) SWIG_fail
;
18520 resultobj
= SWIG_Py_Void();
18527 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18528 PyObject
*resultobj
= 0;
18529 wxDC
*arg1
= (wxDC
*) 0 ;
18544 PyObject
* obj0
= 0 ;
18545 PyObject
* obj1
= 0 ;
18546 PyObject
* obj2
= 0 ;
18547 PyObject
* obj3
= 0 ;
18548 PyObject
* obj4
= 0 ;
18549 char * kwnames
[] = {
18550 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18555 if (!SWIG_IsOK(res1
)) {
18556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18558 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18560 if (!SWIG_IsOK(ecode2
)) {
18561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18563 arg2
= static_cast< int >(val2
);
18564 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18565 if (!SWIG_IsOK(ecode3
)) {
18566 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18568 arg3
= static_cast< int >(val3
);
18569 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18570 if (!SWIG_IsOK(ecode4
)) {
18571 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18573 arg4
= static_cast< int >(val4
);
18574 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18575 if (!SWIG_IsOK(ecode5
)) {
18576 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18578 arg5
= static_cast< int >(val5
);
18580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18581 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18582 wxPyEndAllowThreads(__tstate
);
18583 if (PyErr_Occurred()) SWIG_fail
;
18585 resultobj
= SWIG_Py_Void();
18592 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18593 PyObject
*resultobj
= 0;
18594 wxDC
*arg1
= (wxDC
*) 0 ;
18599 PyObject
* obj0
= 0 ;
18600 PyObject
* obj1
= 0 ;
18601 char * kwnames
[] = {
18602 (char *) "self",(char *) "rect", NULL
18605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18607 if (!SWIG_IsOK(res1
)) {
18608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18610 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18613 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18617 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18618 wxPyEndAllowThreads(__tstate
);
18619 if (PyErr_Occurred()) SWIG_fail
;
18621 resultobj
= SWIG_Py_Void();
18628 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18629 PyObject
*resultobj
= 0;
18630 wxDC
*arg1
= (wxDC
*) 0 ;
18631 wxPoint
*arg2
= 0 ;
18637 PyObject
* obj0
= 0 ;
18638 PyObject
* obj1
= 0 ;
18639 PyObject
* obj2
= 0 ;
18640 char * kwnames
[] = {
18641 (char *) "self",(char *) "pt",(char *) "sz", NULL
18644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18646 if (!SWIG_IsOK(res1
)) {
18647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18649 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18652 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18656 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18660 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18661 wxPyEndAllowThreads(__tstate
);
18662 if (PyErr_Occurred()) SWIG_fail
;
18664 resultobj
= SWIG_Py_Void();
18671 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18672 PyObject
*resultobj
= 0;
18673 wxDC
*arg1
= (wxDC
*) 0 ;
18691 PyObject
* obj0
= 0 ;
18692 PyObject
* obj1
= 0 ;
18693 PyObject
* obj2
= 0 ;
18694 PyObject
* obj3
= 0 ;
18695 PyObject
* obj4
= 0 ;
18696 PyObject
* obj5
= 0 ;
18697 char * kwnames
[] = {
18698 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18703 if (!SWIG_IsOK(res1
)) {
18704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18706 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18708 if (!SWIG_IsOK(ecode2
)) {
18709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18711 arg2
= static_cast< int >(val2
);
18712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18713 if (!SWIG_IsOK(ecode3
)) {
18714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18716 arg3
= static_cast< int >(val3
);
18717 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18718 if (!SWIG_IsOK(ecode4
)) {
18719 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18721 arg4
= static_cast< int >(val4
);
18722 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18723 if (!SWIG_IsOK(ecode5
)) {
18724 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18726 arg5
= static_cast< int >(val5
);
18727 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18728 if (!SWIG_IsOK(ecode6
)) {
18729 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18731 arg6
= static_cast< double >(val6
);
18733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18734 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18735 wxPyEndAllowThreads(__tstate
);
18736 if (PyErr_Occurred()) SWIG_fail
;
18738 resultobj
= SWIG_Py_Void();
18745 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18746 PyObject
*resultobj
= 0;
18747 wxDC
*arg1
= (wxDC
*) 0 ;
18755 PyObject
* obj0
= 0 ;
18756 PyObject
* obj1
= 0 ;
18757 PyObject
* obj2
= 0 ;
18758 char * kwnames
[] = {
18759 (char *) "self",(char *) "r",(char *) "radius", NULL
18762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18764 if (!SWIG_IsOK(res1
)) {
18765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18767 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18770 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18772 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18773 if (!SWIG_IsOK(ecode3
)) {
18774 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18776 arg3
= static_cast< double >(val3
);
18778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18779 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18780 wxPyEndAllowThreads(__tstate
);
18781 if (PyErr_Occurred()) SWIG_fail
;
18783 resultobj
= SWIG_Py_Void();
18790 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18791 PyObject
*resultobj
= 0;
18792 wxDC
*arg1
= (wxDC
*) 0 ;
18793 wxPoint
*arg2
= 0 ;
18802 PyObject
* obj0
= 0 ;
18803 PyObject
* obj1
= 0 ;
18804 PyObject
* obj2
= 0 ;
18805 PyObject
* obj3
= 0 ;
18806 char * kwnames
[] = {
18807 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18812 if (!SWIG_IsOK(res1
)) {
18813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18815 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18818 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18822 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18824 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18825 if (!SWIG_IsOK(ecode4
)) {
18826 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18828 arg4
= static_cast< double >(val4
);
18830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18831 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18832 wxPyEndAllowThreads(__tstate
);
18833 if (PyErr_Occurred()) SWIG_fail
;
18835 resultobj
= SWIG_Py_Void();
18842 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18843 PyObject
*resultobj
= 0;
18844 wxDC
*arg1
= (wxDC
*) 0 ;
18856 PyObject
* obj0
= 0 ;
18857 PyObject
* obj1
= 0 ;
18858 PyObject
* obj2
= 0 ;
18859 PyObject
* obj3
= 0 ;
18860 char * kwnames
[] = {
18861 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18866 if (!SWIG_IsOK(res1
)) {
18867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18869 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18871 if (!SWIG_IsOK(ecode2
)) {
18872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18874 arg2
= static_cast< int >(val2
);
18875 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18876 if (!SWIG_IsOK(ecode3
)) {
18877 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18879 arg3
= static_cast< int >(val3
);
18880 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18881 if (!SWIG_IsOK(ecode4
)) {
18882 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18884 arg4
= static_cast< int >(val4
);
18886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18887 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18888 wxPyEndAllowThreads(__tstate
);
18889 if (PyErr_Occurred()) SWIG_fail
;
18891 resultobj
= SWIG_Py_Void();
18898 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18899 PyObject
*resultobj
= 0;
18900 wxDC
*arg1
= (wxDC
*) 0 ;
18901 wxPoint
*arg2
= 0 ;
18908 PyObject
* obj0
= 0 ;
18909 PyObject
* obj1
= 0 ;
18910 PyObject
* obj2
= 0 ;
18911 char * kwnames
[] = {
18912 (char *) "self",(char *) "pt",(char *) "radius", NULL
18915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18917 if (!SWIG_IsOK(res1
)) {
18918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18920 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18923 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18925 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18926 if (!SWIG_IsOK(ecode3
)) {
18927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18929 arg3
= static_cast< int >(val3
);
18931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18932 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18933 wxPyEndAllowThreads(__tstate
);
18934 if (PyErr_Occurred()) SWIG_fail
;
18936 resultobj
= SWIG_Py_Void();
18943 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18944 PyObject
*resultobj
= 0;
18945 wxDC
*arg1
= (wxDC
*) 0 ;
18960 PyObject
* obj0
= 0 ;
18961 PyObject
* obj1
= 0 ;
18962 PyObject
* obj2
= 0 ;
18963 PyObject
* obj3
= 0 ;
18964 PyObject
* obj4
= 0 ;
18965 char * kwnames
[] = {
18966 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18971 if (!SWIG_IsOK(res1
)) {
18972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18974 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18976 if (!SWIG_IsOK(ecode2
)) {
18977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18979 arg2
= static_cast< int >(val2
);
18980 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18981 if (!SWIG_IsOK(ecode3
)) {
18982 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18984 arg3
= static_cast< int >(val3
);
18985 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18986 if (!SWIG_IsOK(ecode4
)) {
18987 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18989 arg4
= static_cast< int >(val4
);
18990 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18991 if (!SWIG_IsOK(ecode5
)) {
18992 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18994 arg5
= static_cast< int >(val5
);
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18998 wxPyEndAllowThreads(__tstate
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19001 resultobj
= SWIG_Py_Void();
19008 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19009 PyObject
*resultobj
= 0;
19010 wxDC
*arg1
= (wxDC
*) 0 ;
19015 PyObject
* obj0
= 0 ;
19016 PyObject
* obj1
= 0 ;
19017 char * kwnames
[] = {
19018 (char *) "self",(char *) "rect", NULL
19021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19023 if (!SWIG_IsOK(res1
)) {
19024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19026 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19029 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19033 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19034 wxPyEndAllowThreads(__tstate
);
19035 if (PyErr_Occurred()) SWIG_fail
;
19037 resultobj
= SWIG_Py_Void();
19044 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19045 PyObject
*resultobj
= 0;
19046 wxDC
*arg1
= (wxDC
*) 0 ;
19047 wxPoint
*arg2
= 0 ;
19053 PyObject
* obj0
= 0 ;
19054 PyObject
* obj1
= 0 ;
19055 PyObject
* obj2
= 0 ;
19056 char * kwnames
[] = {
19057 (char *) "self",(char *) "pt",(char *) "sz", NULL
19060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19062 if (!SWIG_IsOK(res1
)) {
19063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19065 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19068 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19072 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19076 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19077 wxPyEndAllowThreads(__tstate
);
19078 if (PyErr_Occurred()) SWIG_fail
;
19080 resultobj
= SWIG_Py_Void();
19087 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19088 PyObject
*resultobj
= 0;
19089 wxDC
*arg1
= (wxDC
*) 0 ;
19101 PyObject
* obj0
= 0 ;
19102 PyObject
* obj1
= 0 ;
19103 PyObject
* obj2
= 0 ;
19104 PyObject
* obj3
= 0 ;
19105 char * kwnames
[] = {
19106 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19111 if (!SWIG_IsOK(res1
)) {
19112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19114 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19115 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19116 if (!SWIG_IsOK(res2
)) {
19117 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19122 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19123 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19124 if (!SWIG_IsOK(ecode3
)) {
19125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19127 arg3
= static_cast< int >(val3
);
19128 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19129 if (!SWIG_IsOK(ecode4
)) {
19130 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19132 arg4
= static_cast< int >(val4
);
19134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19135 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19136 wxPyEndAllowThreads(__tstate
);
19137 if (PyErr_Occurred()) SWIG_fail
;
19139 resultobj
= SWIG_Py_Void();
19146 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19147 PyObject
*resultobj
= 0;
19148 wxDC
*arg1
= (wxDC
*) 0 ;
19150 wxPoint
*arg3
= 0 ;
19156 PyObject
* obj0
= 0 ;
19157 PyObject
* obj1
= 0 ;
19158 PyObject
* obj2
= 0 ;
19159 char * kwnames
[] = {
19160 (char *) "self",(char *) "icon",(char *) "pt", NULL
19163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19165 if (!SWIG_IsOK(res1
)) {
19166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19168 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19169 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19170 if (!SWIG_IsOK(res2
)) {
19171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19176 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19179 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19183 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19184 wxPyEndAllowThreads(__tstate
);
19185 if (PyErr_Occurred()) SWIG_fail
;
19187 resultobj
= SWIG_Py_Void();
19194 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19195 PyObject
*resultobj
= 0;
19196 wxDC
*arg1
= (wxDC
*) 0 ;
19197 wxBitmap
*arg2
= 0 ;
19200 bool arg5
= (bool) false ;
19211 PyObject
* obj0
= 0 ;
19212 PyObject
* obj1
= 0 ;
19213 PyObject
* obj2
= 0 ;
19214 PyObject
* obj3
= 0 ;
19215 PyObject
* obj4
= 0 ;
19216 char * kwnames
[] = {
19217 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19222 if (!SWIG_IsOK(res1
)) {
19223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19225 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19226 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19227 if (!SWIG_IsOK(res2
)) {
19228 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19233 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19234 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19235 if (!SWIG_IsOK(ecode3
)) {
19236 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19238 arg3
= static_cast< int >(val3
);
19239 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19240 if (!SWIG_IsOK(ecode4
)) {
19241 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19243 arg4
= static_cast< int >(val4
);
19245 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19246 if (!SWIG_IsOK(ecode5
)) {
19247 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19249 arg5
= static_cast< bool >(val5
);
19252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19253 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19254 wxPyEndAllowThreads(__tstate
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19257 resultobj
= SWIG_Py_Void();
19264 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19265 PyObject
*resultobj
= 0;
19266 wxDC
*arg1
= (wxDC
*) 0 ;
19267 wxBitmap
*arg2
= 0 ;
19268 wxPoint
*arg3
= 0 ;
19269 bool arg4
= (bool) false ;
19277 PyObject
* obj0
= 0 ;
19278 PyObject
* obj1
= 0 ;
19279 PyObject
* obj2
= 0 ;
19280 PyObject
* obj3
= 0 ;
19281 char * kwnames
[] = {
19282 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19287 if (!SWIG_IsOK(res1
)) {
19288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19290 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19291 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19292 if (!SWIG_IsOK(res2
)) {
19293 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19296 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19298 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19301 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19304 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19305 if (!SWIG_IsOK(ecode4
)) {
19306 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19308 arg4
= static_cast< bool >(val4
);
19311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19312 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19313 wxPyEndAllowThreads(__tstate
);
19314 if (PyErr_Occurred()) SWIG_fail
;
19316 resultobj
= SWIG_Py_Void();
19323 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19324 PyObject
*resultobj
= 0;
19325 wxDC
*arg1
= (wxDC
*) 0 ;
19326 wxString
*arg2
= 0 ;
19331 bool temp2
= false ;
19336 PyObject
* obj0
= 0 ;
19337 PyObject
* obj1
= 0 ;
19338 PyObject
* obj2
= 0 ;
19339 PyObject
* obj3
= 0 ;
19340 char * kwnames
[] = {
19341 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19346 if (!SWIG_IsOK(res1
)) {
19347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19349 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19351 arg2
= wxString_in_helper(obj1
);
19352 if (arg2
== NULL
) SWIG_fail
;
19355 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19356 if (!SWIG_IsOK(ecode3
)) {
19357 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19359 arg3
= static_cast< int >(val3
);
19360 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19361 if (!SWIG_IsOK(ecode4
)) {
19362 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19364 arg4
= static_cast< int >(val4
);
19366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19367 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19368 wxPyEndAllowThreads(__tstate
);
19369 if (PyErr_Occurred()) SWIG_fail
;
19371 resultobj
= SWIG_Py_Void();
19386 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19387 PyObject
*resultobj
= 0;
19388 wxDC
*arg1
= (wxDC
*) 0 ;
19389 wxString
*arg2
= 0 ;
19390 wxPoint
*arg3
= 0 ;
19393 bool temp2
= false ;
19395 PyObject
* obj0
= 0 ;
19396 PyObject
* obj1
= 0 ;
19397 PyObject
* obj2
= 0 ;
19398 char * kwnames
[] = {
19399 (char *) "self",(char *) "text",(char *) "pt", NULL
19402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19404 if (!SWIG_IsOK(res1
)) {
19405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19407 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19409 arg2
= wxString_in_helper(obj1
);
19410 if (arg2
== NULL
) SWIG_fail
;
19415 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19419 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19420 wxPyEndAllowThreads(__tstate
);
19421 if (PyErr_Occurred()) SWIG_fail
;
19423 resultobj
= SWIG_Py_Void();
19438 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19439 PyObject
*resultobj
= 0;
19440 wxDC
*arg1
= (wxDC
*) 0 ;
19441 wxString
*arg2
= 0 ;
19447 bool temp2
= false ;
19454 PyObject
* obj0
= 0 ;
19455 PyObject
* obj1
= 0 ;
19456 PyObject
* obj2
= 0 ;
19457 PyObject
* obj3
= 0 ;
19458 PyObject
* obj4
= 0 ;
19459 char * kwnames
[] = {
19460 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19465 if (!SWIG_IsOK(res1
)) {
19466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19468 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19470 arg2
= wxString_in_helper(obj1
);
19471 if (arg2
== NULL
) SWIG_fail
;
19474 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19475 if (!SWIG_IsOK(ecode3
)) {
19476 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19478 arg3
= static_cast< int >(val3
);
19479 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19480 if (!SWIG_IsOK(ecode4
)) {
19481 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19483 arg4
= static_cast< int >(val4
);
19484 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19485 if (!SWIG_IsOK(ecode5
)) {
19486 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19488 arg5
= static_cast< double >(val5
);
19490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19491 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19492 wxPyEndAllowThreads(__tstate
);
19493 if (PyErr_Occurred()) SWIG_fail
;
19495 resultobj
= SWIG_Py_Void();
19510 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19511 PyObject
*resultobj
= 0;
19512 wxDC
*arg1
= (wxDC
*) 0 ;
19513 wxString
*arg2
= 0 ;
19514 wxPoint
*arg3
= 0 ;
19518 bool temp2
= false ;
19522 PyObject
* obj0
= 0 ;
19523 PyObject
* obj1
= 0 ;
19524 PyObject
* obj2
= 0 ;
19525 PyObject
* obj3
= 0 ;
19526 char * kwnames
[] = {
19527 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19532 if (!SWIG_IsOK(res1
)) {
19533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19535 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19537 arg2
= wxString_in_helper(obj1
);
19538 if (arg2
== NULL
) SWIG_fail
;
19543 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19545 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19546 if (!SWIG_IsOK(ecode4
)) {
19547 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19549 arg4
= static_cast< double >(val4
);
19551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19552 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19553 wxPyEndAllowThreads(__tstate
);
19554 if (PyErr_Occurred()) SWIG_fail
;
19556 resultobj
= SWIG_Py_Void();
19571 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19572 PyObject
*resultobj
= 0;
19573 wxDC
*arg1
= (wxDC
*) 0 ;
19578 wxDC
*arg6
= (wxDC
*) 0 ;
19581 int arg9
= (int) wxCOPY
;
19582 bool arg10
= (bool) false ;
19583 int arg11
= (int) -1 ;
19584 int arg12
= (int) -1 ;
19610 PyObject
* obj0
= 0 ;
19611 PyObject
* obj1
= 0 ;
19612 PyObject
* obj2
= 0 ;
19613 PyObject
* obj3
= 0 ;
19614 PyObject
* obj4
= 0 ;
19615 PyObject
* obj5
= 0 ;
19616 PyObject
* obj6
= 0 ;
19617 PyObject
* obj7
= 0 ;
19618 PyObject
* obj8
= 0 ;
19619 PyObject
* obj9
= 0 ;
19620 PyObject
* obj10
= 0 ;
19621 PyObject
* obj11
= 0 ;
19622 char * kwnames
[] = {
19623 (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
19626 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
;
19627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19628 if (!SWIG_IsOK(res1
)) {
19629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19631 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19632 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19633 if (!SWIG_IsOK(ecode2
)) {
19634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19636 arg2
= static_cast< int >(val2
);
19637 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19638 if (!SWIG_IsOK(ecode3
)) {
19639 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19641 arg3
= static_cast< int >(val3
);
19642 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19643 if (!SWIG_IsOK(ecode4
)) {
19644 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19646 arg4
= static_cast< int >(val4
);
19647 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19648 if (!SWIG_IsOK(ecode5
)) {
19649 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19651 arg5
= static_cast< int >(val5
);
19652 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19653 if (!SWIG_IsOK(res6
)) {
19654 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19656 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19657 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19658 if (!SWIG_IsOK(ecode7
)) {
19659 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19661 arg7
= static_cast< int >(val7
);
19662 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19663 if (!SWIG_IsOK(ecode8
)) {
19664 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19666 arg8
= static_cast< int >(val8
);
19668 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19669 if (!SWIG_IsOK(ecode9
)) {
19670 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19672 arg9
= static_cast< int >(val9
);
19675 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19676 if (!SWIG_IsOK(ecode10
)) {
19677 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19679 arg10
= static_cast< bool >(val10
);
19682 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19683 if (!SWIG_IsOK(ecode11
)) {
19684 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19686 arg11
= static_cast< int >(val11
);
19689 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19690 if (!SWIG_IsOK(ecode12
)) {
19691 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19693 arg12
= static_cast< int >(val12
);
19696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19697 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19698 wxPyEndAllowThreads(__tstate
);
19699 if (PyErr_Occurred()) SWIG_fail
;
19702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19710 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19711 PyObject
*resultobj
= 0;
19712 wxDC
*arg1
= (wxDC
*) 0 ;
19713 wxPoint
*arg2
= 0 ;
19715 wxDC
*arg4
= (wxDC
*) 0 ;
19716 wxPoint
*arg5
= 0 ;
19717 int arg6
= (int) wxCOPY
;
19718 bool arg7
= (bool) false ;
19719 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19720 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19734 PyObject
* obj0
= 0 ;
19735 PyObject
* obj1
= 0 ;
19736 PyObject
* obj2
= 0 ;
19737 PyObject
* obj3
= 0 ;
19738 PyObject
* obj4
= 0 ;
19739 PyObject
* obj5
= 0 ;
19740 PyObject
* obj6
= 0 ;
19741 PyObject
* obj7
= 0 ;
19742 char * kwnames
[] = {
19743 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19748 if (!SWIG_IsOK(res1
)) {
19749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19751 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19754 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19758 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19760 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19761 if (!SWIG_IsOK(res4
)) {
19762 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19764 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19767 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19770 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19771 if (!SWIG_IsOK(ecode6
)) {
19772 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19774 arg6
= static_cast< int >(val6
);
19777 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19778 if (!SWIG_IsOK(ecode7
)) {
19779 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19781 arg7
= static_cast< bool >(val7
);
19786 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19791 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19792 wxPyEndAllowThreads(__tstate
);
19793 if (PyErr_Occurred()) SWIG_fail
;
19796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19804 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19805 PyObject
*resultobj
= 0;
19806 wxDC
*arg1
= (wxDC
*) 0 ;
19807 wxRect
*arg2
= (wxRect
*) NULL
;
19808 SwigValueWrapper
<wxBitmap
> result
;
19813 PyObject
* obj0
= 0 ;
19814 PyObject
* obj1
= 0 ;
19815 char * kwnames
[] = {
19816 (char *) "self",(char *) "subrect", NULL
19819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19821 if (!SWIG_IsOK(res1
)) {
19822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19824 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19826 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
19827 if (!SWIG_IsOK(res2
)) {
19828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
19830 arg2
= reinterpret_cast< wxRect
* >(argp2
);
19833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19834 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
19835 wxPyEndAllowThreads(__tstate
);
19836 if (PyErr_Occurred()) SWIG_fail
;
19838 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19845 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19846 PyObject
*resultobj
= 0;
19847 wxDC
*arg1
= (wxDC
*) 0 ;
19862 PyObject
* obj0
= 0 ;
19863 PyObject
* obj1
= 0 ;
19864 PyObject
* obj2
= 0 ;
19865 PyObject
* obj3
= 0 ;
19866 PyObject
* obj4
= 0 ;
19867 char * kwnames
[] = {
19868 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19873 if (!SWIG_IsOK(res1
)) {
19874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19876 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19877 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19878 if (!SWIG_IsOK(ecode2
)) {
19879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19881 arg2
= static_cast< int >(val2
);
19882 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19883 if (!SWIG_IsOK(ecode3
)) {
19884 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19886 arg3
= static_cast< int >(val3
);
19887 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19888 if (!SWIG_IsOK(ecode4
)) {
19889 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19891 arg4
= static_cast< int >(val4
);
19892 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19893 if (!SWIG_IsOK(ecode5
)) {
19894 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19896 arg5
= static_cast< int >(val5
);
19898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19900 wxPyEndAllowThreads(__tstate
);
19901 if (PyErr_Occurred()) SWIG_fail
;
19903 resultobj
= SWIG_Py_Void();
19910 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19911 PyObject
*resultobj
= 0;
19912 wxDC
*arg1
= (wxDC
*) 0 ;
19913 wxPoint
*arg2
= 0 ;
19919 PyObject
* obj0
= 0 ;
19920 PyObject
* obj1
= 0 ;
19921 PyObject
* obj2
= 0 ;
19922 char * kwnames
[] = {
19923 (char *) "self",(char *) "pt",(char *) "sz", NULL
19926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19928 if (!SWIG_IsOK(res1
)) {
19929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19931 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19934 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19938 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19942 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19943 wxPyEndAllowThreads(__tstate
);
19944 if (PyErr_Occurred()) SWIG_fail
;
19946 resultobj
= SWIG_Py_Void();
19953 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19954 PyObject
*resultobj
= 0;
19955 wxDC
*arg1
= (wxDC
*) 0 ;
19956 wxRegion
*arg2
= 0 ;
19961 PyObject
* obj0
= 0 ;
19962 PyObject
* obj1
= 0 ;
19963 char * kwnames
[] = {
19964 (char *) "self",(char *) "region", NULL
19967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19969 if (!SWIG_IsOK(res1
)) {
19970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19972 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19973 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19974 if (!SWIG_IsOK(res2
)) {
19975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19980 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19983 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19984 wxPyEndAllowThreads(__tstate
);
19985 if (PyErr_Occurred()) SWIG_fail
;
19987 resultobj
= SWIG_Py_Void();
19994 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19995 PyObject
*resultobj
= 0;
19996 wxDC
*arg1
= (wxDC
*) 0 ;
20001 PyObject
* obj0
= 0 ;
20002 PyObject
* obj1
= 0 ;
20003 char * kwnames
[] = {
20004 (char *) "self",(char *) "rect", NULL
20007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20009 if (!SWIG_IsOK(res1
)) {
20010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20012 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20015 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20019 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20020 wxPyEndAllowThreads(__tstate
);
20021 if (PyErr_Occurred()) SWIG_fail
;
20023 resultobj
= SWIG_Py_Void();
20030 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20031 PyObject
*resultobj
= 0;
20032 wxDC
*arg1
= (wxDC
*) 0 ;
20034 wxPoint
*arg3
= (wxPoint
*) 0 ;
20035 int arg4
= (int) 0 ;
20036 int arg5
= (int) 0 ;
20043 PyObject
* obj0
= 0 ;
20044 PyObject
* obj1
= 0 ;
20045 PyObject
* obj2
= 0 ;
20046 PyObject
* obj3
= 0 ;
20047 char * kwnames
[] = {
20048 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20053 if (!SWIG_IsOK(res1
)) {
20054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20056 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20058 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20059 if (arg3
== NULL
) SWIG_fail
;
20062 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20063 if (!SWIG_IsOK(ecode4
)) {
20064 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20066 arg4
= static_cast< int >(val4
);
20069 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20070 if (!SWIG_IsOK(ecode5
)) {
20071 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20073 arg5
= static_cast< int >(val5
);
20076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20077 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20078 wxPyEndAllowThreads(__tstate
);
20079 if (PyErr_Occurred()) SWIG_fail
;
20081 resultobj
= SWIG_Py_Void();
20083 if (arg3
) delete [] arg3
;
20088 if (arg3
) delete [] arg3
;
20094 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20095 PyObject
*resultobj
= 0;
20096 wxDC
*arg1
= (wxDC
*) 0 ;
20098 wxPoint
*arg3
= (wxPoint
*) 0 ;
20099 int arg4
= (int) 0 ;
20100 int arg5
= (int) 0 ;
20101 int arg6
= (int) wxODDEVEN_RULE
;
20110 PyObject
* obj0
= 0 ;
20111 PyObject
* obj1
= 0 ;
20112 PyObject
* obj2
= 0 ;
20113 PyObject
* obj3
= 0 ;
20114 PyObject
* obj4
= 0 ;
20115 char * kwnames
[] = {
20116 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20121 if (!SWIG_IsOK(res1
)) {
20122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20124 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20126 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20127 if (arg3
== NULL
) SWIG_fail
;
20130 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20131 if (!SWIG_IsOK(ecode4
)) {
20132 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20134 arg4
= static_cast< int >(val4
);
20137 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20138 if (!SWIG_IsOK(ecode5
)) {
20139 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20141 arg5
= static_cast< int >(val5
);
20144 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20145 if (!SWIG_IsOK(ecode6
)) {
20146 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20148 arg6
= static_cast< int >(val6
);
20151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20152 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20153 wxPyEndAllowThreads(__tstate
);
20154 if (PyErr_Occurred()) SWIG_fail
;
20156 resultobj
= SWIG_Py_Void();
20158 if (arg3
) delete [] arg3
;
20163 if (arg3
) delete [] arg3
;
20169 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20170 PyObject
*resultobj
= 0;
20171 wxDC
*arg1
= (wxDC
*) 0 ;
20172 wxString
*arg2
= 0 ;
20174 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20175 int arg5
= (int) -1 ;
20178 bool temp2
= false ;
20184 PyObject
* obj0
= 0 ;
20185 PyObject
* obj1
= 0 ;
20186 PyObject
* obj2
= 0 ;
20187 PyObject
* obj3
= 0 ;
20188 PyObject
* obj4
= 0 ;
20189 char * kwnames
[] = {
20190 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20195 if (!SWIG_IsOK(res1
)) {
20196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20198 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20200 arg2
= wxString_in_helper(obj1
);
20201 if (arg2
== NULL
) SWIG_fail
;
20206 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20209 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20210 if (!SWIG_IsOK(ecode4
)) {
20211 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20213 arg4
= static_cast< int >(val4
);
20216 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20217 if (!SWIG_IsOK(ecode5
)) {
20218 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20220 arg5
= static_cast< int >(val5
);
20223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20224 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20225 wxPyEndAllowThreads(__tstate
);
20226 if (PyErr_Occurred()) SWIG_fail
;
20228 resultobj
= SWIG_Py_Void();
20243 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20244 PyObject
*resultobj
= 0;
20245 wxDC
*arg1
= (wxDC
*) 0 ;
20246 wxString
*arg2
= 0 ;
20247 wxBitmap
*arg3
= 0 ;
20249 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20250 int arg6
= (int) -1 ;
20254 bool temp2
= false ;
20262 PyObject
* obj0
= 0 ;
20263 PyObject
* obj1
= 0 ;
20264 PyObject
* obj2
= 0 ;
20265 PyObject
* obj3
= 0 ;
20266 PyObject
* obj4
= 0 ;
20267 PyObject
* obj5
= 0 ;
20268 char * kwnames
[] = {
20269 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20274 if (!SWIG_IsOK(res1
)) {
20275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20277 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20279 arg2
= wxString_in_helper(obj1
);
20280 if (arg2
== NULL
) SWIG_fail
;
20283 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20284 if (!SWIG_IsOK(res3
)) {
20285 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20290 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20293 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20296 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20297 if (!SWIG_IsOK(ecode5
)) {
20298 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20300 arg5
= static_cast< int >(val5
);
20303 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20304 if (!SWIG_IsOK(ecode6
)) {
20305 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20307 arg6
= static_cast< int >(val6
);
20310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20311 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20312 wxPyEndAllowThreads(__tstate
);
20313 if (PyErr_Occurred()) SWIG_fail
;
20315 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20330 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20331 PyObject
*resultobj
= 0;
20332 wxDC
*arg1
= (wxDC
*) 0 ;
20334 wxPoint
*arg3
= (wxPoint
*) 0 ;
20337 PyObject
* obj0
= 0 ;
20338 PyObject
* obj1
= 0 ;
20339 char * kwnames
[] = {
20340 (char *) "self",(char *) "points", NULL
20343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20345 if (!SWIG_IsOK(res1
)) {
20346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20348 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20350 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20351 if (arg3
== NULL
) SWIG_fail
;
20354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20355 (arg1
)->DrawSpline(arg2
,arg3
);
20356 wxPyEndAllowThreads(__tstate
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20359 resultobj
= SWIG_Py_Void();
20361 if (arg3
) delete [] arg3
;
20366 if (arg3
) delete [] arg3
;
20372 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20373 PyObject
*resultobj
= 0;
20374 wxDC
*arg1
= (wxDC
*) 0 ;
20377 PyObject
*swig_obj
[1] ;
20379 if (!args
) SWIG_fail
;
20380 swig_obj
[0] = args
;
20381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20382 if (!SWIG_IsOK(res1
)) {
20383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20385 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20389 wxPyEndAllowThreads(__tstate
);
20390 if (PyErr_Occurred()) SWIG_fail
;
20392 resultobj
= SWIG_Py_Void();
20399 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20400 PyObject
*resultobj
= 0;
20401 wxDC
*arg1
= (wxDC
*) 0 ;
20402 wxString
*arg2
= 0 ;
20406 bool temp2
= false ;
20407 PyObject
* obj0
= 0 ;
20408 PyObject
* obj1
= 0 ;
20409 char * kwnames
[] = {
20410 (char *) "self",(char *) "message", NULL
20413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20415 if (!SWIG_IsOK(res1
)) {
20416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20418 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20420 arg2
= wxString_in_helper(obj1
);
20421 if (arg2
== NULL
) SWIG_fail
;
20425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20426 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20427 wxPyEndAllowThreads(__tstate
);
20428 if (PyErr_Occurred()) SWIG_fail
;
20431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20447 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20448 PyObject
*resultobj
= 0;
20449 wxDC
*arg1
= (wxDC
*) 0 ;
20452 PyObject
*swig_obj
[1] ;
20454 if (!args
) SWIG_fail
;
20455 swig_obj
[0] = args
;
20456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20457 if (!SWIG_IsOK(res1
)) {
20458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20460 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20464 wxPyEndAllowThreads(__tstate
);
20465 if (PyErr_Occurred()) SWIG_fail
;
20467 resultobj
= SWIG_Py_Void();
20474 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20475 PyObject
*resultobj
= 0;
20476 wxDC
*arg1
= (wxDC
*) 0 ;
20479 PyObject
*swig_obj
[1] ;
20481 if (!args
) SWIG_fail
;
20482 swig_obj
[0] = args
;
20483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20484 if (!SWIG_IsOK(res1
)) {
20485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20487 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20490 (arg1
)->StartPage();
20491 wxPyEndAllowThreads(__tstate
);
20492 if (PyErr_Occurred()) SWIG_fail
;
20494 resultobj
= SWIG_Py_Void();
20501 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20502 PyObject
*resultobj
= 0;
20503 wxDC
*arg1
= (wxDC
*) 0 ;
20506 PyObject
*swig_obj
[1] ;
20508 if (!args
) SWIG_fail
;
20509 swig_obj
[0] = args
;
20510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20511 if (!SWIG_IsOK(res1
)) {
20512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20514 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20518 wxPyEndAllowThreads(__tstate
);
20519 if (PyErr_Occurred()) SWIG_fail
;
20521 resultobj
= SWIG_Py_Void();
20528 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20529 PyObject
*resultobj
= 0;
20530 wxDC
*arg1
= (wxDC
*) 0 ;
20536 PyObject
* obj0
= 0 ;
20537 PyObject
* obj1
= 0 ;
20538 char * kwnames
[] = {
20539 (char *) "self",(char *) "font", NULL
20542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20544 if (!SWIG_IsOK(res1
)) {
20545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20547 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20548 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20549 if (!SWIG_IsOK(res2
)) {
20550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20553 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20555 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20558 (arg1
)->SetFont((wxFont
const &)*arg2
);
20559 wxPyEndAllowThreads(__tstate
);
20560 if (PyErr_Occurred()) SWIG_fail
;
20562 resultobj
= SWIG_Py_Void();
20569 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20570 PyObject
*resultobj
= 0;
20571 wxDC
*arg1
= (wxDC
*) 0 ;
20577 PyObject
* obj0
= 0 ;
20578 PyObject
* obj1
= 0 ;
20579 char * kwnames
[] = {
20580 (char *) "self",(char *) "pen", NULL
20583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20585 if (!SWIG_IsOK(res1
)) {
20586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20588 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20589 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20590 if (!SWIG_IsOK(res2
)) {
20591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20594 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20596 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20599 (arg1
)->SetPen((wxPen
const &)*arg2
);
20600 wxPyEndAllowThreads(__tstate
);
20601 if (PyErr_Occurred()) SWIG_fail
;
20603 resultobj
= SWIG_Py_Void();
20610 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20611 PyObject
*resultobj
= 0;
20612 wxDC
*arg1
= (wxDC
*) 0 ;
20613 wxBrush
*arg2
= 0 ;
20618 PyObject
* obj0
= 0 ;
20619 PyObject
* obj1
= 0 ;
20620 char * kwnames
[] = {
20621 (char *) "self",(char *) "brush", NULL
20624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20626 if (!SWIG_IsOK(res1
)) {
20627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20629 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20630 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20631 if (!SWIG_IsOK(res2
)) {
20632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20637 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20640 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20641 wxPyEndAllowThreads(__tstate
);
20642 if (PyErr_Occurred()) SWIG_fail
;
20644 resultobj
= SWIG_Py_Void();
20651 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20652 PyObject
*resultobj
= 0;
20653 wxDC
*arg1
= (wxDC
*) 0 ;
20654 wxBrush
*arg2
= 0 ;
20659 PyObject
* obj0
= 0 ;
20660 PyObject
* obj1
= 0 ;
20661 char * kwnames
[] = {
20662 (char *) "self",(char *) "brush", NULL
20665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20667 if (!SWIG_IsOK(res1
)) {
20668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20670 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20671 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20672 if (!SWIG_IsOK(res2
)) {
20673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20678 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20681 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20682 wxPyEndAllowThreads(__tstate
);
20683 if (PyErr_Occurred()) SWIG_fail
;
20685 resultobj
= SWIG_Py_Void();
20692 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20693 PyObject
*resultobj
= 0;
20694 wxDC
*arg1
= (wxDC
*) 0 ;
20700 PyObject
* obj0
= 0 ;
20701 PyObject
* obj1
= 0 ;
20702 char * kwnames
[] = {
20703 (char *) "self",(char *) "mode", NULL
20706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20708 if (!SWIG_IsOK(res1
)) {
20709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20711 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20712 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20713 if (!SWIG_IsOK(ecode2
)) {
20714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20716 arg2
= static_cast< int >(val2
);
20718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20719 (arg1
)->SetBackgroundMode(arg2
);
20720 wxPyEndAllowThreads(__tstate
);
20721 if (PyErr_Occurred()) SWIG_fail
;
20723 resultobj
= SWIG_Py_Void();
20730 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20731 PyObject
*resultobj
= 0;
20732 wxDC
*arg1
= (wxDC
*) 0 ;
20733 wxPalette
*arg2
= 0 ;
20738 PyObject
* obj0
= 0 ;
20739 PyObject
* obj1
= 0 ;
20740 char * kwnames
[] = {
20741 (char *) "self",(char *) "palette", NULL
20744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20746 if (!SWIG_IsOK(res1
)) {
20747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20749 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20750 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20751 if (!SWIG_IsOK(res2
)) {
20752 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20755 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20757 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20760 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20761 wxPyEndAllowThreads(__tstate
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20764 resultobj
= SWIG_Py_Void();
20771 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20772 PyObject
*resultobj
= 0;
20773 wxDC
*arg1
= (wxDC
*) 0 ;
20776 PyObject
*swig_obj
[1] ;
20778 if (!args
) SWIG_fail
;
20779 swig_obj
[0] = args
;
20780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20781 if (!SWIG_IsOK(res1
)) {
20782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20784 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20787 (arg1
)->DestroyClippingRegion();
20788 wxPyEndAllowThreads(__tstate
);
20789 if (PyErr_Occurred()) SWIG_fail
;
20791 resultobj
= SWIG_Py_Void();
20798 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20799 PyObject
*resultobj
= 0;
20800 wxDC
*arg1
= (wxDC
*) 0 ;
20801 int *arg2
= (int *) 0 ;
20802 int *arg3
= (int *) 0 ;
20803 int *arg4
= (int *) 0 ;
20804 int *arg5
= (int *) 0 ;
20808 int res2
= SWIG_TMPOBJ
;
20810 int res3
= SWIG_TMPOBJ
;
20812 int res4
= SWIG_TMPOBJ
;
20814 int res5
= SWIG_TMPOBJ
;
20815 PyObject
*swig_obj
[1] ;
20821 if (!args
) SWIG_fail
;
20822 swig_obj
[0] = args
;
20823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20824 if (!SWIG_IsOK(res1
)) {
20825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20827 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20830 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20831 wxPyEndAllowThreads(__tstate
);
20832 if (PyErr_Occurred()) SWIG_fail
;
20834 resultobj
= SWIG_Py_Void();
20835 if (SWIG_IsTmpObj(res2
)) {
20836 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20838 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20839 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20841 if (SWIG_IsTmpObj(res3
)) {
20842 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20844 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20845 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20847 if (SWIG_IsTmpObj(res4
)) {
20848 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20850 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20851 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20853 if (SWIG_IsTmpObj(res5
)) {
20854 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20856 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20857 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20865 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20866 PyObject
*resultobj
= 0;
20867 wxDC
*arg1
= (wxDC
*) 0 ;
20871 PyObject
*swig_obj
[1] ;
20873 if (!args
) SWIG_fail
;
20874 swig_obj
[0] = args
;
20875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20876 if (!SWIG_IsOK(res1
)) {
20877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20879 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20882 result
= wxDC_GetClippingRect(arg1
);
20883 wxPyEndAllowThreads(__tstate
);
20884 if (PyErr_Occurred()) SWIG_fail
;
20886 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20893 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20894 PyObject
*resultobj
= 0;
20895 wxDC
*arg1
= (wxDC
*) 0 ;
20899 PyObject
*swig_obj
[1] ;
20901 if (!args
) SWIG_fail
;
20902 swig_obj
[0] = args
;
20903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20904 if (!SWIG_IsOK(res1
)) {
20905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20907 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20910 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20911 wxPyEndAllowThreads(__tstate
);
20912 if (PyErr_Occurred()) SWIG_fail
;
20914 resultobj
= SWIG_From_int(static_cast< int >(result
));
20921 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20922 PyObject
*resultobj
= 0;
20923 wxDC
*arg1
= (wxDC
*) 0 ;
20927 PyObject
*swig_obj
[1] ;
20929 if (!args
) SWIG_fail
;
20930 swig_obj
[0] = args
;
20931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20932 if (!SWIG_IsOK(res1
)) {
20933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20935 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20938 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20939 wxPyEndAllowThreads(__tstate
);
20940 if (PyErr_Occurred()) SWIG_fail
;
20942 resultobj
= SWIG_From_int(static_cast< int >(result
));
20949 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20950 PyObject
*resultobj
= 0;
20951 wxDC
*arg1
= (wxDC
*) 0 ;
20952 wxString
*arg2
= 0 ;
20953 int *arg3
= (int *) 0 ;
20954 int *arg4
= (int *) 0 ;
20957 bool temp2
= false ;
20959 int res3
= SWIG_TMPOBJ
;
20961 int res4
= SWIG_TMPOBJ
;
20962 PyObject
* obj0
= 0 ;
20963 PyObject
* obj1
= 0 ;
20964 char * kwnames
[] = {
20965 (char *) "self",(char *) "string", NULL
20970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20972 if (!SWIG_IsOK(res1
)) {
20973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20975 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20977 arg2
= wxString_in_helper(obj1
);
20978 if (arg2
== NULL
) SWIG_fail
;
20982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20983 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20984 wxPyEndAllowThreads(__tstate
);
20985 if (PyErr_Occurred()) SWIG_fail
;
20987 resultobj
= SWIG_Py_Void();
20988 if (SWIG_IsTmpObj(res3
)) {
20989 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20991 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20992 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20994 if (SWIG_IsTmpObj(res4
)) {
20995 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20997 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20998 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21014 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21015 PyObject
*resultobj
= 0;
21016 wxDC
*arg1
= (wxDC
*) 0 ;
21017 wxString
*arg2
= 0 ;
21018 int *arg3
= (int *) 0 ;
21019 int *arg4
= (int *) 0 ;
21020 int *arg5
= (int *) 0 ;
21021 int *arg6
= (int *) 0 ;
21022 wxFont
*arg7
= (wxFont
*) NULL
;
21025 bool temp2
= false ;
21027 int res3
= SWIG_TMPOBJ
;
21029 int res4
= SWIG_TMPOBJ
;
21031 int res5
= SWIG_TMPOBJ
;
21033 int res6
= SWIG_TMPOBJ
;
21036 PyObject
* obj0
= 0 ;
21037 PyObject
* obj1
= 0 ;
21038 PyObject
* obj2
= 0 ;
21039 char * kwnames
[] = {
21040 (char *) "self",(char *) "string",(char *) "font", NULL
21047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21049 if (!SWIG_IsOK(res1
)) {
21050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21052 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21054 arg2
= wxString_in_helper(obj1
);
21055 if (arg2
== NULL
) SWIG_fail
;
21059 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21060 if (!SWIG_IsOK(res7
)) {
21061 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21063 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21067 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21068 wxPyEndAllowThreads(__tstate
);
21069 if (PyErr_Occurred()) SWIG_fail
;
21071 resultobj
= SWIG_Py_Void();
21072 if (SWIG_IsTmpObj(res3
)) {
21073 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21075 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21076 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21078 if (SWIG_IsTmpObj(res4
)) {
21079 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21081 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21082 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21084 if (SWIG_IsTmpObj(res5
)) {
21085 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21087 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21090 if (SWIG_IsTmpObj(res6
)) {
21091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21093 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21094 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21110 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21111 PyObject
*resultobj
= 0;
21112 wxDC
*arg1
= (wxDC
*) 0 ;
21113 wxString
*arg2
= 0 ;
21114 int *arg3
= (int *) 0 ;
21115 int *arg4
= (int *) 0 ;
21116 int *arg5
= (int *) 0 ;
21117 wxFont
*arg6
= (wxFont
*) NULL
;
21120 bool temp2
= false ;
21122 int res3
= SWIG_TMPOBJ
;
21124 int res4
= SWIG_TMPOBJ
;
21126 int res5
= SWIG_TMPOBJ
;
21129 PyObject
* obj0
= 0 ;
21130 PyObject
* obj1
= 0 ;
21131 PyObject
* obj2
= 0 ;
21132 char * kwnames
[] = {
21133 (char *) "self",(char *) "text",(char *) "font", NULL
21139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21141 if (!SWIG_IsOK(res1
)) {
21142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21144 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21146 arg2
= wxString_in_helper(obj1
);
21147 if (arg2
== NULL
) SWIG_fail
;
21151 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21152 if (!SWIG_IsOK(res6
)) {
21153 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21155 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21159 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21160 wxPyEndAllowThreads(__tstate
);
21161 if (PyErr_Occurred()) SWIG_fail
;
21163 resultobj
= SWIG_Py_Void();
21164 if (SWIG_IsTmpObj(res3
)) {
21165 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21167 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21168 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21170 if (SWIG_IsTmpObj(res4
)) {
21171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21173 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21174 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21176 if (SWIG_IsTmpObj(res5
)) {
21177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21179 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21196 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21197 PyObject
*resultobj
= 0;
21198 wxDC
*arg1
= (wxDC
*) 0 ;
21199 wxString
*arg2
= 0 ;
21203 bool temp2
= false ;
21204 PyObject
* obj0
= 0 ;
21205 PyObject
* obj1
= 0 ;
21206 char * kwnames
[] = {
21207 (char *) "self",(char *) "text", NULL
21210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21212 if (!SWIG_IsOK(res1
)) {
21213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21215 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21217 arg2
= wxString_in_helper(obj1
);
21218 if (arg2
== NULL
) SWIG_fail
;
21222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21223 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21224 wxPyEndAllowThreads(__tstate
);
21225 if (PyErr_Occurred()) SWIG_fail
;
21228 resultobj
= wxArrayInt2PyList_helper(result
);
21244 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21245 PyObject
*resultobj
= 0;
21246 wxDC
*arg1
= (wxDC
*) 0 ;
21250 PyObject
*swig_obj
[1] ;
21252 if (!args
) SWIG_fail
;
21253 swig_obj
[0] = args
;
21254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21255 if (!SWIG_IsOK(res1
)) {
21256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21258 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21261 result
= (arg1
)->GetSize();
21262 wxPyEndAllowThreads(__tstate
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21265 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21272 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21273 PyObject
*resultobj
= 0;
21274 wxDC
*arg1
= (wxDC
*) 0 ;
21275 int *arg2
= (int *) 0 ;
21276 int *arg3
= (int *) 0 ;
21280 int res2
= SWIG_TMPOBJ
;
21282 int res3
= SWIG_TMPOBJ
;
21283 PyObject
*swig_obj
[1] ;
21287 if (!args
) SWIG_fail
;
21288 swig_obj
[0] = args
;
21289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21290 if (!SWIG_IsOK(res1
)) {
21291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21293 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21296 (arg1
)->GetSize(arg2
,arg3
);
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21300 resultobj
= SWIG_Py_Void();
21301 if (SWIG_IsTmpObj(res2
)) {
21302 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21304 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21305 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21307 if (SWIG_IsTmpObj(res3
)) {
21308 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21310 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21311 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21319 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21320 PyObject
*resultobj
= 0;
21321 wxDC
*arg1
= (wxDC
*) 0 ;
21325 PyObject
*swig_obj
[1] ;
21327 if (!args
) SWIG_fail
;
21328 swig_obj
[0] = args
;
21329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21330 if (!SWIG_IsOK(res1
)) {
21331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21333 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21336 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21337 wxPyEndAllowThreads(__tstate
);
21338 if (PyErr_Occurred()) SWIG_fail
;
21340 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21347 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21348 PyObject
*resultobj
= 0;
21349 wxDC
*arg1
= (wxDC
*) 0 ;
21350 int *arg2
= (int *) 0 ;
21351 int *arg3
= (int *) 0 ;
21355 int res2
= SWIG_TMPOBJ
;
21357 int res3
= SWIG_TMPOBJ
;
21358 PyObject
*swig_obj
[1] ;
21362 if (!args
) SWIG_fail
;
21363 swig_obj
[0] = args
;
21364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21365 if (!SWIG_IsOK(res1
)) {
21366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21368 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21371 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21372 wxPyEndAllowThreads(__tstate
);
21373 if (PyErr_Occurred()) SWIG_fail
;
21375 resultobj
= SWIG_Py_Void();
21376 if (SWIG_IsTmpObj(res2
)) {
21377 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21379 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21380 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21382 if (SWIG_IsTmpObj(res3
)) {
21383 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21385 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21386 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21394 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21395 PyObject
*resultobj
= 0;
21396 wxDC
*arg1
= (wxDC
*) 0 ;
21403 PyObject
* obj0
= 0 ;
21404 PyObject
* obj1
= 0 ;
21405 char * kwnames
[] = {
21406 (char *) "self",(char *) "x", NULL
21409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21411 if (!SWIG_IsOK(res1
)) {
21412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21414 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21416 if (!SWIG_IsOK(ecode2
)) {
21417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21419 arg2
= static_cast< int >(val2
);
21421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21422 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21423 wxPyEndAllowThreads(__tstate
);
21424 if (PyErr_Occurred()) SWIG_fail
;
21426 resultobj
= SWIG_From_int(static_cast< int >(result
));
21433 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21434 PyObject
*resultobj
= 0;
21435 wxDC
*arg1
= (wxDC
*) 0 ;
21442 PyObject
* obj0
= 0 ;
21443 PyObject
* obj1
= 0 ;
21444 char * kwnames
[] = {
21445 (char *) "self",(char *) "y", NULL
21448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21450 if (!SWIG_IsOK(res1
)) {
21451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21453 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21455 if (!SWIG_IsOK(ecode2
)) {
21456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21458 arg2
= static_cast< int >(val2
);
21460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21461 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21462 wxPyEndAllowThreads(__tstate
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21465 resultobj
= SWIG_From_int(static_cast< int >(result
));
21472 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21473 PyObject
*resultobj
= 0;
21474 wxDC
*arg1
= (wxDC
*) 0 ;
21481 PyObject
* obj0
= 0 ;
21482 PyObject
* obj1
= 0 ;
21483 char * kwnames
[] = {
21484 (char *) "self",(char *) "x", NULL
21487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21489 if (!SWIG_IsOK(res1
)) {
21490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21492 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21494 if (!SWIG_IsOK(ecode2
)) {
21495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21497 arg2
= static_cast< int >(val2
);
21499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21500 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21501 wxPyEndAllowThreads(__tstate
);
21502 if (PyErr_Occurred()) SWIG_fail
;
21504 resultobj
= SWIG_From_int(static_cast< int >(result
));
21511 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21512 PyObject
*resultobj
= 0;
21513 wxDC
*arg1
= (wxDC
*) 0 ;
21520 PyObject
* obj0
= 0 ;
21521 PyObject
* obj1
= 0 ;
21522 char * kwnames
[] = {
21523 (char *) "self",(char *) "y", NULL
21526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21528 if (!SWIG_IsOK(res1
)) {
21529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21531 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21533 if (!SWIG_IsOK(ecode2
)) {
21534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21536 arg2
= static_cast< int >(val2
);
21538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21539 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21540 wxPyEndAllowThreads(__tstate
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21543 resultobj
= SWIG_From_int(static_cast< int >(result
));
21550 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21551 PyObject
*resultobj
= 0;
21552 wxDC
*arg1
= (wxDC
*) 0 ;
21559 PyObject
* obj0
= 0 ;
21560 PyObject
* obj1
= 0 ;
21561 char * kwnames
[] = {
21562 (char *) "self",(char *) "x", NULL
21565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21567 if (!SWIG_IsOK(res1
)) {
21568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21570 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21572 if (!SWIG_IsOK(ecode2
)) {
21573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21575 arg2
= static_cast< int >(val2
);
21577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21578 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21579 wxPyEndAllowThreads(__tstate
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21582 resultobj
= SWIG_From_int(static_cast< int >(result
));
21589 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21590 PyObject
*resultobj
= 0;
21591 wxDC
*arg1
= (wxDC
*) 0 ;
21598 PyObject
* obj0
= 0 ;
21599 PyObject
* obj1
= 0 ;
21600 char * kwnames
[] = {
21601 (char *) "self",(char *) "y", NULL
21604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21606 if (!SWIG_IsOK(res1
)) {
21607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21609 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21611 if (!SWIG_IsOK(ecode2
)) {
21612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21614 arg2
= static_cast< int >(val2
);
21616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21617 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21618 wxPyEndAllowThreads(__tstate
);
21619 if (PyErr_Occurred()) SWIG_fail
;
21621 resultobj
= SWIG_From_int(static_cast< int >(result
));
21628 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21629 PyObject
*resultobj
= 0;
21630 wxDC
*arg1
= (wxDC
*) 0 ;
21637 PyObject
* obj0
= 0 ;
21638 PyObject
* obj1
= 0 ;
21639 char * kwnames
[] = {
21640 (char *) "self",(char *) "x", NULL
21643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21645 if (!SWIG_IsOK(res1
)) {
21646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21648 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21650 if (!SWIG_IsOK(ecode2
)) {
21651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21653 arg2
= static_cast< int >(val2
);
21655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21656 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21657 wxPyEndAllowThreads(__tstate
);
21658 if (PyErr_Occurred()) SWIG_fail
;
21660 resultobj
= SWIG_From_int(static_cast< int >(result
));
21667 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21668 PyObject
*resultobj
= 0;
21669 wxDC
*arg1
= (wxDC
*) 0 ;
21676 PyObject
* obj0
= 0 ;
21677 PyObject
* obj1
= 0 ;
21678 char * kwnames
[] = {
21679 (char *) "self",(char *) "y", NULL
21682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21684 if (!SWIG_IsOK(res1
)) {
21685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21687 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21689 if (!SWIG_IsOK(ecode2
)) {
21690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21692 arg2
= static_cast< int >(val2
);
21694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21695 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21696 wxPyEndAllowThreads(__tstate
);
21697 if (PyErr_Occurred()) SWIG_fail
;
21699 resultobj
= SWIG_From_int(static_cast< int >(result
));
21706 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21707 PyObject
*resultobj
= 0;
21708 wxDC
*arg1
= (wxDC
*) 0 ;
21712 PyObject
*swig_obj
[1] ;
21714 if (!args
) SWIG_fail
;
21715 swig_obj
[0] = args
;
21716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21717 if (!SWIG_IsOK(res1
)) {
21718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21720 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21723 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21724 wxPyEndAllowThreads(__tstate
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21736 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21737 PyObject
*resultobj
= 0;
21738 wxDC
*arg1
= (wxDC
*) 0 ;
21742 PyObject
*swig_obj
[1] ;
21744 if (!args
) SWIG_fail
;
21745 swig_obj
[0] = args
;
21746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21747 if (!SWIG_IsOK(res1
)) {
21748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21750 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21753 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21754 wxPyEndAllowThreads(__tstate
);
21755 if (PyErr_Occurred()) SWIG_fail
;
21758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21766 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21767 PyObject
*resultobj
= 0;
21768 wxDC
*arg1
= (wxDC
*) 0 ;
21772 PyObject
*swig_obj
[1] ;
21774 if (!args
) SWIG_fail
;
21775 swig_obj
[0] = args
;
21776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21777 if (!SWIG_IsOK(res1
)) {
21778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21780 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21783 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21784 wxPyEndAllowThreads(__tstate
);
21785 if (PyErr_Occurred()) SWIG_fail
;
21787 resultobj
= SWIG_From_int(static_cast< int >(result
));
21794 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21795 PyObject
*resultobj
= 0;
21796 wxDC
*arg1
= (wxDC
*) 0 ;
21800 PyObject
*swig_obj
[1] ;
21802 if (!args
) SWIG_fail
;
21803 swig_obj
[0] = args
;
21804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21805 if (!SWIG_IsOK(res1
)) {
21806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21808 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21811 result
= ((wxDC
const *)arg1
)->GetPPI();
21812 wxPyEndAllowThreads(__tstate
);
21813 if (PyErr_Occurred()) SWIG_fail
;
21815 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21822 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21823 PyObject
*resultobj
= 0;
21824 wxDC
*arg1
= (wxDC
*) 0 ;
21828 PyObject
*swig_obj
[1] ;
21830 if (!args
) SWIG_fail
;
21831 swig_obj
[0] = args
;
21832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21833 if (!SWIG_IsOK(res1
)) {
21834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21836 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21839 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21840 wxPyEndAllowThreads(__tstate
);
21841 if (PyErr_Occurred()) SWIG_fail
;
21844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21852 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21853 PyObject
*resultobj
= 0;
21854 wxDC
*arg1
= (wxDC
*) 0 ;
21858 PyObject
*swig_obj
[1] ;
21860 if (!args
) SWIG_fail
;
21861 swig_obj
[0] = args
;
21862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21863 if (!SWIG_IsOK(res1
)) {
21864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21866 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21869 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21870 wxPyEndAllowThreads(__tstate
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21873 resultobj
= SWIG_From_int(static_cast< int >(result
));
21880 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21881 PyObject
*resultobj
= 0;
21882 wxDC
*arg1
= (wxDC
*) 0 ;
21883 wxBrush
*result
= 0 ;
21886 PyObject
*swig_obj
[1] ;
21888 if (!args
) SWIG_fail
;
21889 swig_obj
[0] = args
;
21890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21891 if (!SWIG_IsOK(res1
)) {
21892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21894 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21898 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21899 result
= (wxBrush
*) &_result_ref
;
21901 wxPyEndAllowThreads(__tstate
);
21902 if (PyErr_Occurred()) SWIG_fail
;
21905 wxBrush
* resultptr
= new wxBrush(*result
);
21906 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21914 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21915 PyObject
*resultobj
= 0;
21916 wxDC
*arg1
= (wxDC
*) 0 ;
21917 wxBrush
*result
= 0 ;
21920 PyObject
*swig_obj
[1] ;
21922 if (!args
) SWIG_fail
;
21923 swig_obj
[0] = args
;
21924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21925 if (!SWIG_IsOK(res1
)) {
21926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21928 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21932 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21933 result
= (wxBrush
*) &_result_ref
;
21935 wxPyEndAllowThreads(__tstate
);
21936 if (PyErr_Occurred()) SWIG_fail
;
21939 wxBrush
* resultptr
= new wxBrush(*result
);
21940 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21948 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21949 PyObject
*resultobj
= 0;
21950 wxDC
*arg1
= (wxDC
*) 0 ;
21951 wxFont
*result
= 0 ;
21954 PyObject
*swig_obj
[1] ;
21956 if (!args
) SWIG_fail
;
21957 swig_obj
[0] = args
;
21958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21959 if (!SWIG_IsOK(res1
)) {
21960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21962 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21966 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21967 result
= (wxFont
*) &_result_ref
;
21969 wxPyEndAllowThreads(__tstate
);
21970 if (PyErr_Occurred()) SWIG_fail
;
21973 wxFont
* resultptr
= new wxFont(*result
);
21974 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21982 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21983 PyObject
*resultobj
= 0;
21984 wxDC
*arg1
= (wxDC
*) 0 ;
21985 wxPen
*result
= 0 ;
21988 PyObject
*swig_obj
[1] ;
21990 if (!args
) SWIG_fail
;
21991 swig_obj
[0] = args
;
21992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21993 if (!SWIG_IsOK(res1
)) {
21994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21996 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22000 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22001 result
= (wxPen
*) &_result_ref
;
22003 wxPyEndAllowThreads(__tstate
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22007 wxPen
* resultptr
= new wxPen(*result
);
22008 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22016 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22017 PyObject
*resultobj
= 0;
22018 wxDC
*arg1
= (wxDC
*) 0 ;
22019 wxColour
*result
= 0 ;
22022 PyObject
*swig_obj
[1] ;
22024 if (!args
) SWIG_fail
;
22025 swig_obj
[0] = args
;
22026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22027 if (!SWIG_IsOK(res1
)) {
22028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22030 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22034 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22035 result
= (wxColour
*) &_result_ref
;
22037 wxPyEndAllowThreads(__tstate
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22040 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22047 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22048 PyObject
*resultobj
= 0;
22049 wxDC
*arg1
= (wxDC
*) 0 ;
22050 wxColour
*result
= 0 ;
22053 PyObject
*swig_obj
[1] ;
22055 if (!args
) SWIG_fail
;
22056 swig_obj
[0] = args
;
22057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22058 if (!SWIG_IsOK(res1
)) {
22059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22061 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22065 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22066 result
= (wxColour
*) &_result_ref
;
22068 wxPyEndAllowThreads(__tstate
);
22069 if (PyErr_Occurred()) SWIG_fail
;
22071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22078 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22079 PyObject
*resultobj
= 0;
22080 wxDC
*arg1
= (wxDC
*) 0 ;
22081 wxColour
*arg2
= 0 ;
22085 PyObject
* obj0
= 0 ;
22086 PyObject
* obj1
= 0 ;
22087 char * kwnames
[] = {
22088 (char *) "self",(char *) "colour", NULL
22091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22093 if (!SWIG_IsOK(res1
)) {
22094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22096 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22099 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22103 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22104 wxPyEndAllowThreads(__tstate
);
22105 if (PyErr_Occurred()) SWIG_fail
;
22107 resultobj
= SWIG_Py_Void();
22114 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22115 PyObject
*resultobj
= 0;
22116 wxDC
*arg1
= (wxDC
*) 0 ;
22117 wxColour
*arg2
= 0 ;
22121 PyObject
* obj0
= 0 ;
22122 PyObject
* obj1
= 0 ;
22123 char * kwnames
[] = {
22124 (char *) "self",(char *) "colour", NULL
22127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22129 if (!SWIG_IsOK(res1
)) {
22130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22132 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22135 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22139 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22140 wxPyEndAllowThreads(__tstate
);
22141 if (PyErr_Occurred()) SWIG_fail
;
22143 resultobj
= SWIG_Py_Void();
22150 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22151 PyObject
*resultobj
= 0;
22152 wxDC
*arg1
= (wxDC
*) 0 ;
22156 PyObject
*swig_obj
[1] ;
22158 if (!args
) SWIG_fail
;
22159 swig_obj
[0] = args
;
22160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22161 if (!SWIG_IsOK(res1
)) {
22162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22164 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22167 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22168 wxPyEndAllowThreads(__tstate
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22171 resultobj
= SWIG_From_int(static_cast< int >(result
));
22178 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
= 0;
22180 wxDC
*arg1
= (wxDC
*) 0 ;
22186 PyObject
* obj0
= 0 ;
22187 PyObject
* obj1
= 0 ;
22188 char * kwnames
[] = {
22189 (char *) "self",(char *) "mode", NULL
22192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22194 if (!SWIG_IsOK(res1
)) {
22195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22197 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22199 if (!SWIG_IsOK(ecode2
)) {
22200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22202 arg2
= static_cast< int >(val2
);
22204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22205 (arg1
)->SetMapMode(arg2
);
22206 wxPyEndAllowThreads(__tstate
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22209 resultobj
= SWIG_Py_Void();
22216 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22217 PyObject
*resultobj
= 0;
22218 wxDC
*arg1
= (wxDC
*) 0 ;
22219 double *arg2
= (double *) 0 ;
22220 double *arg3
= (double *) 0 ;
22224 int res2
= SWIG_TMPOBJ
;
22226 int res3
= SWIG_TMPOBJ
;
22227 PyObject
*swig_obj
[1] ;
22231 if (!args
) SWIG_fail
;
22232 swig_obj
[0] = args
;
22233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22234 if (!SWIG_IsOK(res1
)) {
22235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22237 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22240 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22241 wxPyEndAllowThreads(__tstate
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22244 resultobj
= SWIG_Py_Void();
22245 if (SWIG_IsTmpObj(res2
)) {
22246 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22248 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22249 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22251 if (SWIG_IsTmpObj(res3
)) {
22252 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22254 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22263 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22264 PyObject
*resultobj
= 0;
22265 wxDC
*arg1
= (wxDC
*) 0 ;
22274 PyObject
* obj0
= 0 ;
22275 PyObject
* obj1
= 0 ;
22276 PyObject
* obj2
= 0 ;
22277 char * kwnames
[] = {
22278 (char *) "self",(char *) "x",(char *) "y", NULL
22281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22283 if (!SWIG_IsOK(res1
)) {
22284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22286 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22287 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22288 if (!SWIG_IsOK(ecode2
)) {
22289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22291 arg2
= static_cast< double >(val2
);
22292 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22293 if (!SWIG_IsOK(ecode3
)) {
22294 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22296 arg3
= static_cast< double >(val3
);
22298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22299 (arg1
)->SetUserScale(arg2
,arg3
);
22300 wxPyEndAllowThreads(__tstate
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22303 resultobj
= SWIG_Py_Void();
22310 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22311 PyObject
*resultobj
= 0;
22312 wxDC
*arg1
= (wxDC
*) 0 ;
22313 double *arg2
= (double *) 0 ;
22314 double *arg3
= (double *) 0 ;
22318 int res2
= SWIG_TMPOBJ
;
22320 int res3
= SWIG_TMPOBJ
;
22321 PyObject
*swig_obj
[1] ;
22325 if (!args
) SWIG_fail
;
22326 swig_obj
[0] = args
;
22327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22328 if (!SWIG_IsOK(res1
)) {
22329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22331 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22334 (arg1
)->GetLogicalScale(arg2
,arg3
);
22335 wxPyEndAllowThreads(__tstate
);
22336 if (PyErr_Occurred()) SWIG_fail
;
22338 resultobj
= SWIG_Py_Void();
22339 if (SWIG_IsTmpObj(res2
)) {
22340 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22342 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22343 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22345 if (SWIG_IsTmpObj(res3
)) {
22346 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22348 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22349 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22357 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22358 PyObject
*resultobj
= 0;
22359 wxDC
*arg1
= (wxDC
*) 0 ;
22368 PyObject
* obj0
= 0 ;
22369 PyObject
* obj1
= 0 ;
22370 PyObject
* obj2
= 0 ;
22371 char * kwnames
[] = {
22372 (char *) "self",(char *) "x",(char *) "y", NULL
22375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22377 if (!SWIG_IsOK(res1
)) {
22378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22380 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22381 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22382 if (!SWIG_IsOK(ecode2
)) {
22383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22385 arg2
= static_cast< double >(val2
);
22386 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22387 if (!SWIG_IsOK(ecode3
)) {
22388 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22390 arg3
= static_cast< double >(val3
);
22392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22393 (arg1
)->SetLogicalScale(arg2
,arg3
);
22394 wxPyEndAllowThreads(__tstate
);
22395 if (PyErr_Occurred()) SWIG_fail
;
22397 resultobj
= SWIG_Py_Void();
22404 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22405 PyObject
*resultobj
= 0;
22406 wxDC
*arg1
= (wxDC
*) 0 ;
22410 PyObject
*swig_obj
[1] ;
22412 if (!args
) SWIG_fail
;
22413 swig_obj
[0] = args
;
22414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22415 if (!SWIG_IsOK(res1
)) {
22416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22418 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22421 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22422 wxPyEndAllowThreads(__tstate
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22425 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22432 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22433 PyObject
*resultobj
= 0;
22434 wxDC
*arg1
= (wxDC
*) 0 ;
22435 int *arg2
= (int *) 0 ;
22436 int *arg3
= (int *) 0 ;
22440 int res2
= SWIG_TMPOBJ
;
22442 int res3
= SWIG_TMPOBJ
;
22443 PyObject
*swig_obj
[1] ;
22447 if (!args
) SWIG_fail
;
22448 swig_obj
[0] = args
;
22449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22450 if (!SWIG_IsOK(res1
)) {
22451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22453 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22456 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22457 wxPyEndAllowThreads(__tstate
);
22458 if (PyErr_Occurred()) SWIG_fail
;
22460 resultobj
= SWIG_Py_Void();
22461 if (SWIG_IsTmpObj(res2
)) {
22462 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22464 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22465 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22467 if (SWIG_IsTmpObj(res3
)) {
22468 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22470 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22471 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22479 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22480 PyObject
*resultobj
= 0;
22481 wxDC
*arg1
= (wxDC
*) 0 ;
22490 PyObject
* obj0
= 0 ;
22491 PyObject
* obj1
= 0 ;
22492 PyObject
* obj2
= 0 ;
22493 char * kwnames
[] = {
22494 (char *) "self",(char *) "x",(char *) "y", NULL
22497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22499 if (!SWIG_IsOK(res1
)) {
22500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22502 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22504 if (!SWIG_IsOK(ecode2
)) {
22505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22507 arg2
= static_cast< int >(val2
);
22508 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22509 if (!SWIG_IsOK(ecode3
)) {
22510 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22512 arg3
= static_cast< int >(val3
);
22514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22515 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22516 wxPyEndAllowThreads(__tstate
);
22517 if (PyErr_Occurred()) SWIG_fail
;
22519 resultobj
= SWIG_Py_Void();
22526 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22527 PyObject
*resultobj
= 0;
22528 wxDC
*arg1
= (wxDC
*) 0 ;
22529 wxPoint
*arg2
= 0 ;
22533 PyObject
* obj0
= 0 ;
22534 PyObject
* obj1
= 0 ;
22535 char * kwnames
[] = {
22536 (char *) "self",(char *) "point", NULL
22539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22541 if (!SWIG_IsOK(res1
)) {
22542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22544 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22547 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22551 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22552 wxPyEndAllowThreads(__tstate
);
22553 if (PyErr_Occurred()) SWIG_fail
;
22555 resultobj
= SWIG_Py_Void();
22562 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22563 PyObject
*resultobj
= 0;
22564 wxDC
*arg1
= (wxDC
*) 0 ;
22568 PyObject
*swig_obj
[1] ;
22570 if (!args
) SWIG_fail
;
22571 swig_obj
[0] = args
;
22572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22573 if (!SWIG_IsOK(res1
)) {
22574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22576 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22579 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22580 wxPyEndAllowThreads(__tstate
);
22581 if (PyErr_Occurred()) SWIG_fail
;
22583 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22590 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22591 PyObject
*resultobj
= 0;
22592 wxDC
*arg1
= (wxDC
*) 0 ;
22593 int *arg2
= (int *) 0 ;
22594 int *arg3
= (int *) 0 ;
22598 int res2
= SWIG_TMPOBJ
;
22600 int res3
= SWIG_TMPOBJ
;
22601 PyObject
*swig_obj
[1] ;
22605 if (!args
) SWIG_fail
;
22606 swig_obj
[0] = args
;
22607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22608 if (!SWIG_IsOK(res1
)) {
22609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22611 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22614 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22615 wxPyEndAllowThreads(__tstate
);
22616 if (PyErr_Occurred()) SWIG_fail
;
22618 resultobj
= SWIG_Py_Void();
22619 if (SWIG_IsTmpObj(res2
)) {
22620 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22622 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22623 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22625 if (SWIG_IsTmpObj(res3
)) {
22626 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22628 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22629 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22637 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22638 PyObject
*resultobj
= 0;
22639 wxDC
*arg1
= (wxDC
*) 0 ;
22648 PyObject
* obj0
= 0 ;
22649 PyObject
* obj1
= 0 ;
22650 PyObject
* obj2
= 0 ;
22651 char * kwnames
[] = {
22652 (char *) "self",(char *) "x",(char *) "y", NULL
22655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22657 if (!SWIG_IsOK(res1
)) {
22658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22660 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22662 if (!SWIG_IsOK(ecode2
)) {
22663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22665 arg2
= static_cast< int >(val2
);
22666 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22667 if (!SWIG_IsOK(ecode3
)) {
22668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22670 arg3
= static_cast< int >(val3
);
22672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22673 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22674 wxPyEndAllowThreads(__tstate
);
22675 if (PyErr_Occurred()) SWIG_fail
;
22677 resultobj
= SWIG_Py_Void();
22684 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22685 PyObject
*resultobj
= 0;
22686 wxDC
*arg1
= (wxDC
*) 0 ;
22687 wxPoint
*arg2
= 0 ;
22691 PyObject
* obj0
= 0 ;
22692 PyObject
* obj1
= 0 ;
22693 char * kwnames
[] = {
22694 (char *) "self",(char *) "point", NULL
22697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22699 if (!SWIG_IsOK(res1
)) {
22700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22702 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22705 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22709 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22710 wxPyEndAllowThreads(__tstate
);
22711 if (PyErr_Occurred()) SWIG_fail
;
22713 resultobj
= SWIG_Py_Void();
22720 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22721 PyObject
*resultobj
= 0;
22722 wxDC
*arg1
= (wxDC
*) 0 ;
22731 PyObject
* obj0
= 0 ;
22732 PyObject
* obj1
= 0 ;
22733 PyObject
* obj2
= 0 ;
22734 char * kwnames
[] = {
22735 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22740 if (!SWIG_IsOK(res1
)) {
22741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22743 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22744 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22745 if (!SWIG_IsOK(ecode2
)) {
22746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22748 arg2
= static_cast< bool >(val2
);
22749 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22750 if (!SWIG_IsOK(ecode3
)) {
22751 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22753 arg3
= static_cast< bool >(val3
);
22755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22756 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22757 wxPyEndAllowThreads(__tstate
);
22758 if (PyErr_Occurred()) SWIG_fail
;
22760 resultobj
= SWIG_Py_Void();
22767 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22768 PyObject
*resultobj
= 0;
22769 wxDC
*arg1
= (wxDC
*) 0 ;
22773 PyObject
*swig_obj
[1] ;
22775 if (!args
) SWIG_fail
;
22776 swig_obj
[0] = args
;
22777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22778 if (!SWIG_IsOK(res1
)) {
22779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22781 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22784 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22785 wxPyEndAllowThreads(__tstate
);
22786 if (PyErr_Occurred()) SWIG_fail
;
22788 resultobj
= SWIG_From_int(static_cast< int >(result
));
22795 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22796 PyObject
*resultobj
= 0;
22797 wxDC
*arg1
= (wxDC
*) 0 ;
22803 PyObject
* obj0
= 0 ;
22804 PyObject
* obj1
= 0 ;
22805 char * kwnames
[] = {
22806 (char *) "self",(char *) "function", NULL
22809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22811 if (!SWIG_IsOK(res1
)) {
22812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22814 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22816 if (!SWIG_IsOK(ecode2
)) {
22817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22819 arg2
= static_cast< int >(val2
);
22821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22822 (arg1
)->SetLogicalFunction(arg2
);
22823 wxPyEndAllowThreads(__tstate
);
22824 if (PyErr_Occurred()) SWIG_fail
;
22826 resultobj
= SWIG_Py_Void();
22833 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22834 PyObject
*resultobj
= 0;
22835 wxDC
*arg1
= (wxDC
*) 0 ;
22838 PyObject
*swig_obj
[1] ;
22840 if (!args
) SWIG_fail
;
22841 swig_obj
[0] = args
;
22842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22843 if (!SWIG_IsOK(res1
)) {
22844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22846 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22849 (arg1
)->ComputeScaleAndOrigin();
22850 wxPyEndAllowThreads(__tstate
);
22851 if (PyErr_Occurred()) SWIG_fail
;
22853 resultobj
= SWIG_Py_Void();
22860 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22861 PyObject
*resultobj
= 0;
22862 wxDC
*arg1
= (wxDC
*) 0 ;
22871 PyObject
* obj0
= 0 ;
22872 PyObject
* obj1
= 0 ;
22873 PyObject
* obj2
= 0 ;
22874 char * kwnames
[] = {
22875 (char *) "self",(char *) "x",(char *) "y", NULL
22878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22880 if (!SWIG_IsOK(res1
)) {
22881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22883 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22885 if (!SWIG_IsOK(ecode2
)) {
22886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22888 arg2
= static_cast< int >(val2
);
22889 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22890 if (!SWIG_IsOK(ecode3
)) {
22891 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22893 arg3
= static_cast< int >(val3
);
22895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22896 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22897 wxPyEndAllowThreads(__tstate
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22900 resultobj
= SWIG_Py_Void();
22907 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22908 PyObject
*resultobj
= 0;
22909 wxDC
*arg1
= (wxDC
*) 0 ;
22910 wxPoint
*arg2
= 0 ;
22914 PyObject
* obj0
= 0 ;
22915 PyObject
* obj1
= 0 ;
22916 char * kwnames
[] = {
22917 (char *) "self",(char *) "point", NULL
22920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22922 if (!SWIG_IsOK(res1
)) {
22923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22925 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22928 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22932 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22933 wxPyEndAllowThreads(__tstate
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22936 resultobj
= SWIG_Py_Void();
22943 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22944 PyObject
*resultobj
= 0;
22945 wxDC
*arg1
= (wxDC
*) 0 ;
22948 PyObject
*swig_obj
[1] ;
22950 if (!args
) SWIG_fail
;
22951 swig_obj
[0] = args
;
22952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22953 if (!SWIG_IsOK(res1
)) {
22954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22956 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22959 (arg1
)->ResetBoundingBox();
22960 wxPyEndAllowThreads(__tstate
);
22961 if (PyErr_Occurred()) SWIG_fail
;
22963 resultobj
= SWIG_Py_Void();
22970 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22971 PyObject
*resultobj
= 0;
22972 wxDC
*arg1
= (wxDC
*) 0 ;
22976 PyObject
*swig_obj
[1] ;
22978 if (!args
) SWIG_fail
;
22979 swig_obj
[0] = args
;
22980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22981 if (!SWIG_IsOK(res1
)) {
22982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22984 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22987 result
= (int)((wxDC
const *)arg1
)->MinX();
22988 wxPyEndAllowThreads(__tstate
);
22989 if (PyErr_Occurred()) SWIG_fail
;
22991 resultobj
= SWIG_From_int(static_cast< int >(result
));
22998 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22999 PyObject
*resultobj
= 0;
23000 wxDC
*arg1
= (wxDC
*) 0 ;
23004 PyObject
*swig_obj
[1] ;
23006 if (!args
) SWIG_fail
;
23007 swig_obj
[0] = args
;
23008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23009 if (!SWIG_IsOK(res1
)) {
23010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23012 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23015 result
= (int)((wxDC
const *)arg1
)->MaxX();
23016 wxPyEndAllowThreads(__tstate
);
23017 if (PyErr_Occurred()) SWIG_fail
;
23019 resultobj
= SWIG_From_int(static_cast< int >(result
));
23026 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23027 PyObject
*resultobj
= 0;
23028 wxDC
*arg1
= (wxDC
*) 0 ;
23032 PyObject
*swig_obj
[1] ;
23034 if (!args
) SWIG_fail
;
23035 swig_obj
[0] = args
;
23036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23037 if (!SWIG_IsOK(res1
)) {
23038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23040 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23043 result
= (int)((wxDC
const *)arg1
)->MinY();
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 resultobj
= SWIG_From_int(static_cast< int >(result
));
23054 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23055 PyObject
*resultobj
= 0;
23056 wxDC
*arg1
= (wxDC
*) 0 ;
23060 PyObject
*swig_obj
[1] ;
23062 if (!args
) SWIG_fail
;
23063 swig_obj
[0] = args
;
23064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23065 if (!SWIG_IsOK(res1
)) {
23066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23068 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23071 result
= (int)((wxDC
const *)arg1
)->MaxY();
23072 wxPyEndAllowThreads(__tstate
);
23073 if (PyErr_Occurred()) SWIG_fail
;
23075 resultobj
= SWIG_From_int(static_cast< int >(result
));
23082 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23083 PyObject
*resultobj
= 0;
23084 wxDC
*arg1
= (wxDC
*) 0 ;
23085 int *arg2
= (int *) 0 ;
23086 int *arg3
= (int *) 0 ;
23087 int *arg4
= (int *) 0 ;
23088 int *arg5
= (int *) 0 ;
23092 int res2
= SWIG_TMPOBJ
;
23094 int res3
= SWIG_TMPOBJ
;
23096 int res4
= SWIG_TMPOBJ
;
23098 int res5
= SWIG_TMPOBJ
;
23099 PyObject
*swig_obj
[1] ;
23105 if (!args
) SWIG_fail
;
23106 swig_obj
[0] = args
;
23107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23108 if (!SWIG_IsOK(res1
)) {
23109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23111 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23114 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23115 wxPyEndAllowThreads(__tstate
);
23116 if (PyErr_Occurred()) SWIG_fail
;
23118 resultobj
= SWIG_Py_Void();
23119 if (SWIG_IsTmpObj(res2
)) {
23120 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23122 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23123 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23125 if (SWIG_IsTmpObj(res3
)) {
23126 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23128 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23129 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23131 if (SWIG_IsTmpObj(res4
)) {
23132 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23134 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23137 if (SWIG_IsTmpObj(res5
)) {
23138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23140 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23141 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23149 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23150 PyObject
*resultobj
= 0;
23151 wxDC
*arg1
= (wxDC
*) 0 ;
23152 wxLayoutDirection result
;
23155 PyObject
*swig_obj
[1] ;
23157 if (!args
) SWIG_fail
;
23158 swig_obj
[0] = args
;
23159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23160 if (!SWIG_IsOK(res1
)) {
23161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23163 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23166 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23167 wxPyEndAllowThreads(__tstate
);
23168 if (PyErr_Occurred()) SWIG_fail
;
23170 resultobj
= SWIG_From_int(static_cast< int >(result
));
23177 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23178 PyObject
*resultobj
= 0;
23179 wxDC
*arg1
= (wxDC
*) 0 ;
23180 wxLayoutDirection arg2
;
23185 PyObject
* obj0
= 0 ;
23186 PyObject
* obj1
= 0 ;
23187 char * kwnames
[] = {
23188 (char *) "self",(char *) "dir", NULL
23191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23193 if (!SWIG_IsOK(res1
)) {
23194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23196 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23198 if (!SWIG_IsOK(ecode2
)) {
23199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23201 arg2
= static_cast< wxLayoutDirection
>(val2
);
23203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23204 (arg1
)->SetLayoutDirection(arg2
);
23205 wxPyEndAllowThreads(__tstate
);
23206 if (PyErr_Occurred()) SWIG_fail
;
23208 resultobj
= SWIG_Py_Void();
23215 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23216 PyObject
*resultobj
= 0;
23217 wxDC
*arg1
= (wxDC
*) 0 ;
23218 PyObject
*arg2
= (PyObject
*) 0 ;
23219 PyObject
*arg3
= (PyObject
*) 0 ;
23220 PyObject
*arg4
= (PyObject
*) 0 ;
23221 PyObject
*result
= 0 ;
23224 PyObject
* obj0
= 0 ;
23225 PyObject
* obj1
= 0 ;
23226 PyObject
* obj2
= 0 ;
23227 PyObject
* obj3
= 0 ;
23228 char * kwnames
[] = {
23229 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23234 if (!SWIG_IsOK(res1
)) {
23235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23237 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23243 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23244 wxPyEndAllowThreads(__tstate
);
23245 if (PyErr_Occurred()) SWIG_fail
;
23247 resultobj
= result
;
23254 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23255 PyObject
*resultobj
= 0;
23256 wxDC
*arg1
= (wxDC
*) 0 ;
23257 PyObject
*arg2
= (PyObject
*) 0 ;
23258 PyObject
*arg3
= (PyObject
*) 0 ;
23259 PyObject
*arg4
= (PyObject
*) 0 ;
23260 PyObject
*result
= 0 ;
23263 PyObject
* obj0
= 0 ;
23264 PyObject
* obj1
= 0 ;
23265 PyObject
* obj2
= 0 ;
23266 PyObject
* obj3
= 0 ;
23267 char * kwnames
[] = {
23268 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23273 if (!SWIG_IsOK(res1
)) {
23274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23276 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23282 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23283 wxPyEndAllowThreads(__tstate
);
23284 if (PyErr_Occurred()) SWIG_fail
;
23286 resultobj
= result
;
23293 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23294 PyObject
*resultobj
= 0;
23295 wxDC
*arg1
= (wxDC
*) 0 ;
23296 PyObject
*arg2
= (PyObject
*) 0 ;
23297 PyObject
*arg3
= (PyObject
*) 0 ;
23298 PyObject
*arg4
= (PyObject
*) 0 ;
23299 PyObject
*result
= 0 ;
23302 PyObject
* obj0
= 0 ;
23303 PyObject
* obj1
= 0 ;
23304 PyObject
* obj2
= 0 ;
23305 PyObject
* obj3
= 0 ;
23306 char * kwnames
[] = {
23307 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23312 if (!SWIG_IsOK(res1
)) {
23313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23315 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23321 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23322 wxPyEndAllowThreads(__tstate
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23325 resultobj
= result
;
23332 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23333 PyObject
*resultobj
= 0;
23334 wxDC
*arg1
= (wxDC
*) 0 ;
23335 PyObject
*arg2
= (PyObject
*) 0 ;
23336 PyObject
*arg3
= (PyObject
*) 0 ;
23337 PyObject
*arg4
= (PyObject
*) 0 ;
23338 PyObject
*result
= 0 ;
23341 PyObject
* obj0
= 0 ;
23342 PyObject
* obj1
= 0 ;
23343 PyObject
* obj2
= 0 ;
23344 PyObject
* obj3
= 0 ;
23345 char * kwnames
[] = {
23346 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23351 if (!SWIG_IsOK(res1
)) {
23352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23354 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23360 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23361 wxPyEndAllowThreads(__tstate
);
23362 if (PyErr_Occurred()) SWIG_fail
;
23364 resultobj
= result
;
23371 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23372 PyObject
*resultobj
= 0;
23373 wxDC
*arg1
= (wxDC
*) 0 ;
23374 PyObject
*arg2
= (PyObject
*) 0 ;
23375 PyObject
*arg3
= (PyObject
*) 0 ;
23376 PyObject
*arg4
= (PyObject
*) 0 ;
23377 PyObject
*result
= 0 ;
23380 PyObject
* obj0
= 0 ;
23381 PyObject
* obj1
= 0 ;
23382 PyObject
* obj2
= 0 ;
23383 PyObject
* obj3
= 0 ;
23384 char * kwnames
[] = {
23385 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23390 if (!SWIG_IsOK(res1
)) {
23391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23393 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23399 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23400 wxPyEndAllowThreads(__tstate
);
23401 if (PyErr_Occurred()) SWIG_fail
;
23403 resultobj
= result
;
23410 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23411 PyObject
*resultobj
= 0;
23412 wxDC
*arg1
= (wxDC
*) 0 ;
23413 PyObject
*arg2
= (PyObject
*) 0 ;
23414 PyObject
*arg3
= (PyObject
*) 0 ;
23415 PyObject
*arg4
= (PyObject
*) 0 ;
23416 PyObject
*arg5
= (PyObject
*) 0 ;
23417 PyObject
*result
= 0 ;
23420 PyObject
* obj0
= 0 ;
23421 PyObject
* obj1
= 0 ;
23422 PyObject
* obj2
= 0 ;
23423 PyObject
* obj3
= 0 ;
23424 PyObject
* obj4
= 0 ;
23425 char * kwnames
[] = {
23426 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23431 if (!SWIG_IsOK(res1
)) {
23432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23434 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23441 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23442 wxPyEndAllowThreads(__tstate
);
23443 if (PyErr_Occurred()) SWIG_fail
;
23445 resultobj
= result
;
23452 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23454 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23455 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23456 return SWIG_Py_Void();
23459 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23460 PyObject
*resultobj
= 0;
23462 wxColour
*arg2
= 0 ;
23463 wxDCTextColourChanger
*result
= 0 ;
23467 PyObject
* obj0
= 0 ;
23468 PyObject
* obj1
= 0 ;
23469 char * kwnames
[] = {
23470 (char *) "dc",(char *) "col", NULL
23473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23474 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23475 if (!SWIG_IsOK(res1
)) {
23476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23481 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23484 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23488 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23489 wxPyEndAllowThreads(__tstate
);
23490 if (PyErr_Occurred()) SWIG_fail
;
23492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23499 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23500 PyObject
*resultobj
= 0;
23501 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23504 PyObject
*swig_obj
[1] ;
23506 if (!args
) SWIG_fail
;
23507 swig_obj
[0] = args
;
23508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23509 if (!SWIG_IsOK(res1
)) {
23510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23512 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23517 wxPyEndAllowThreads(__tstate
);
23518 if (PyErr_Occurred()) SWIG_fail
;
23520 resultobj
= SWIG_Py_Void();
23527 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23529 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23530 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23531 return SWIG_Py_Void();
23534 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23535 return SWIG_Python_InitShadowInstance(args
);
23538 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23539 PyObject
*resultobj
= 0;
23542 wxDCPenChanger
*result
= 0 ;
23547 PyObject
* obj0
= 0 ;
23548 PyObject
* obj1
= 0 ;
23549 char * kwnames
[] = {
23550 (char *) "dc",(char *) "pen", NULL
23553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23554 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23555 if (!SWIG_IsOK(res1
)) {
23556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23561 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23562 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23563 if (!SWIG_IsOK(res2
)) {
23564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23569 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23572 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23573 wxPyEndAllowThreads(__tstate
);
23574 if (PyErr_Occurred()) SWIG_fail
;
23576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23583 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23584 PyObject
*resultobj
= 0;
23585 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23588 PyObject
*swig_obj
[1] ;
23590 if (!args
) SWIG_fail
;
23591 swig_obj
[0] = args
;
23592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23593 if (!SWIG_IsOK(res1
)) {
23594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23596 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23601 wxPyEndAllowThreads(__tstate
);
23602 if (PyErr_Occurred()) SWIG_fail
;
23604 resultobj
= SWIG_Py_Void();
23611 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23613 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23614 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23615 return SWIG_Py_Void();
23618 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23619 return SWIG_Python_InitShadowInstance(args
);
23622 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23623 PyObject
*resultobj
= 0;
23625 wxBrush
*arg2
= 0 ;
23626 wxDCBrushChanger
*result
= 0 ;
23631 PyObject
* obj0
= 0 ;
23632 PyObject
* obj1
= 0 ;
23633 char * kwnames
[] = {
23634 (char *) "dc",(char *) "brush", NULL
23637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23638 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23639 if (!SWIG_IsOK(res1
)) {
23640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23645 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23646 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23647 if (!SWIG_IsOK(res2
)) {
23648 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23651 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23653 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23656 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23657 wxPyEndAllowThreads(__tstate
);
23658 if (PyErr_Occurred()) SWIG_fail
;
23660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23667 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23668 PyObject
*resultobj
= 0;
23669 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23672 PyObject
*swig_obj
[1] ;
23674 if (!args
) SWIG_fail
;
23675 swig_obj
[0] = args
;
23676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23677 if (!SWIG_IsOK(res1
)) {
23678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23680 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23685 wxPyEndAllowThreads(__tstate
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23688 resultobj
= SWIG_Py_Void();
23695 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23697 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23698 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23699 return SWIG_Py_Void();
23702 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23703 return SWIG_Python_InitShadowInstance(args
);
23706 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23707 PyObject
*resultobj
= 0;
23709 wxRegion
*arg2
= 0 ;
23710 wxDCClipper
*result
= 0 ;
23716 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23718 if (!SWIG_IsOK(res1
)) {
23719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23722 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23724 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23725 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23726 if (!SWIG_IsOK(res2
)) {
23727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23730 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23732 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23735 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23746 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23747 PyObject
*resultobj
= 0;
23750 wxDCClipper
*result
= 0 ;
23755 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23757 if (!SWIG_IsOK(res1
)) {
23758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23761 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23763 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23766 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23781 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23782 PyObject
*resultobj
= 0;
23788 wxDCClipper
*result
= 0 ;
23800 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23802 if (!SWIG_IsOK(res1
)) {
23803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23806 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23808 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23809 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23810 if (!SWIG_IsOK(ecode2
)) {
23811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23813 arg2
= static_cast< int >(val2
);
23814 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23815 if (!SWIG_IsOK(ecode3
)) {
23816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23818 arg3
= static_cast< int >(val3
);
23819 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23820 if (!SWIG_IsOK(ecode4
)) {
23821 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23823 arg4
= static_cast< int >(val4
);
23824 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23825 if (!SWIG_IsOK(ecode5
)) {
23826 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23828 arg5
= static_cast< int >(val5
);
23830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23831 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23832 wxPyEndAllowThreads(__tstate
);
23833 if (PyErr_Occurred()) SWIG_fail
;
23835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23842 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23846 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23851 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23852 _v
= SWIG_CheckState(res
);
23854 if (!_v
) goto check_1
;
23855 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23860 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23863 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23867 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23872 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23873 PyObject
*resultobj
= 0;
23874 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23877 PyObject
*swig_obj
[1] ;
23879 if (!args
) SWIG_fail
;
23880 swig_obj
[0] = args
;
23881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23882 if (!SWIG_IsOK(res1
)) {
23883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23885 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23890 wxPyEndAllowThreads(__tstate
);
23891 if (PyErr_Occurred()) SWIG_fail
;
23893 resultobj
= SWIG_Py_Void();
23900 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23902 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23903 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23904 return SWIG_Py_Void();
23907 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23908 return SWIG_Python_InitShadowInstance(args
);
23911 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23912 PyObject
*resultobj
= 0;
23913 wxScreenDC
*result
= 0 ;
23915 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23917 if (!wxPyCheckForApp()) SWIG_fail
;
23918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23919 result
= (wxScreenDC
*)new wxScreenDC();
23920 wxPyEndAllowThreads(__tstate
);
23921 if (PyErr_Occurred()) SWIG_fail
;
23923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23930 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23931 PyObject
*resultobj
= 0;
23932 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23933 wxWindow
*arg2
= (wxWindow
*) 0 ;
23939 PyObject
* obj0
= 0 ;
23940 PyObject
* obj1
= 0 ;
23941 char * kwnames
[] = {
23942 (char *) "self",(char *) "window", NULL
23945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23947 if (!SWIG_IsOK(res1
)) {
23948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23950 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23951 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23952 if (!SWIG_IsOK(res2
)) {
23953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23955 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23958 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23959 wxPyEndAllowThreads(__tstate
);
23960 if (PyErr_Occurred()) SWIG_fail
;
23963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23971 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23972 PyObject
*resultobj
= 0;
23973 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23974 wxRect
*arg2
= (wxRect
*) NULL
;
23980 PyObject
* obj0
= 0 ;
23981 PyObject
* obj1
= 0 ;
23982 char * kwnames
[] = {
23983 (char *) "self",(char *) "rect", NULL
23986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23988 if (!SWIG_IsOK(res1
)) {
23989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23991 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23993 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23994 if (!SWIG_IsOK(res2
)) {
23995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23997 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24001 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24002 wxPyEndAllowThreads(__tstate
);
24003 if (PyErr_Occurred()) SWIG_fail
;
24006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24014 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24015 PyObject
*resultobj
= 0;
24016 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24020 PyObject
*swig_obj
[1] ;
24022 if (!args
) SWIG_fail
;
24023 swig_obj
[0] = args
;
24024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24025 if (!SWIG_IsOK(res1
)) {
24026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24028 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24031 result
= (bool)(arg1
)->EndDrawingOnTop();
24032 wxPyEndAllowThreads(__tstate
);
24033 if (PyErr_Occurred()) SWIG_fail
;
24036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24044 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24046 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24047 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24048 return SWIG_Py_Void();
24051 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24052 return SWIG_Python_InitShadowInstance(args
);
24055 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24056 PyObject
*resultobj
= 0;
24057 wxWindow
*arg1
= (wxWindow
*) 0 ;
24058 wxWindowDC
*result
= 0 ;
24061 PyObject
* obj0
= 0 ;
24062 char * kwnames
[] = {
24063 (char *) "win", NULL
24066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24068 if (!SWIG_IsOK(res1
)) {
24069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24071 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24073 if (!wxPyCheckForApp()) SWIG_fail
;
24074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24076 wxPyEndAllowThreads(__tstate
);
24077 if (PyErr_Occurred()) SWIG_fail
;
24079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24086 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24088 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24089 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24090 return SWIG_Py_Void();
24093 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24094 return SWIG_Python_InitShadowInstance(args
);
24097 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
= 0;
24099 wxWindow
*arg1
= (wxWindow
*) 0 ;
24100 wxClientDC
*result
= 0 ;
24103 PyObject
* obj0
= 0 ;
24104 char * kwnames
[] = {
24105 (char *) "win", NULL
24108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24110 if (!SWIG_IsOK(res1
)) {
24111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24113 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24115 if (!wxPyCheckForApp()) SWIG_fail
;
24116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24117 result
= (wxClientDC
*)new wxClientDC(arg1
);
24118 wxPyEndAllowThreads(__tstate
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24128 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24130 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24131 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24132 return SWIG_Py_Void();
24135 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24136 return SWIG_Python_InitShadowInstance(args
);
24139 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24140 PyObject
*resultobj
= 0;
24141 wxWindow
*arg1
= (wxWindow
*) 0 ;
24142 wxPaintDC
*result
= 0 ;
24145 PyObject
* obj0
= 0 ;
24146 char * kwnames
[] = {
24147 (char *) "win", NULL
24150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24152 if (!SWIG_IsOK(res1
)) {
24153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24155 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24157 if (!wxPyCheckForApp()) SWIG_fail
;
24158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24159 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24160 wxPyEndAllowThreads(__tstate
);
24161 if (PyErr_Occurred()) SWIG_fail
;
24163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24170 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24172 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24173 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24174 return SWIG_Py_Void();
24177 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24178 return SWIG_Python_InitShadowInstance(args
);
24181 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24182 PyObject
*resultobj
= 0;
24183 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24184 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24185 wxMemoryDC
*result
= 0 ;
24188 PyObject
* obj0
= 0 ;
24189 char * kwnames
[] = {
24190 (char *) "bitmap", NULL
24193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24195 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24196 if (!SWIG_IsOK(res1
)) {
24197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24202 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24205 if (!wxPyCheckForApp()) SWIG_fail
;
24206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24207 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24208 wxPyEndAllowThreads(__tstate
);
24209 if (PyErr_Occurred()) SWIG_fail
;
24211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24218 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24219 PyObject
*resultobj
= 0;
24220 wxDC
*arg1
= (wxDC
*) 0 ;
24221 wxMemoryDC
*result
= 0 ;
24224 PyObject
* obj0
= 0 ;
24225 char * kwnames
[] = {
24226 (char *) "oldDC", NULL
24229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24231 if (!SWIG_IsOK(res1
)) {
24232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24234 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24236 if (!wxPyCheckForApp()) SWIG_fail
;
24237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24238 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24239 wxPyEndAllowThreads(__tstate
);
24240 if (PyErr_Occurred()) SWIG_fail
;
24242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24249 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24250 PyObject
*resultobj
= 0;
24251 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24252 wxBitmap
*arg2
= 0 ;
24257 PyObject
* obj0
= 0 ;
24258 PyObject
* obj1
= 0 ;
24259 char * kwnames
[] = {
24260 (char *) "self",(char *) "bitmap", NULL
24263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24265 if (!SWIG_IsOK(res1
)) {
24266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24268 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24269 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24270 if (!SWIG_IsOK(res2
)) {
24271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24276 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24279 (arg1
)->SelectObject(*arg2
);
24280 wxPyEndAllowThreads(__tstate
);
24281 if (PyErr_Occurred()) SWIG_fail
;
24283 resultobj
= SWIG_Py_Void();
24290 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24291 PyObject
*resultobj
= 0;
24292 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24293 wxBitmap
*arg2
= 0 ;
24298 PyObject
* obj0
= 0 ;
24299 PyObject
* obj1
= 0 ;
24300 char * kwnames
[] = {
24301 (char *) "self",(char *) "bmp", NULL
24304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24306 if (!SWIG_IsOK(res1
)) {
24307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24309 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24310 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24311 if (!SWIG_IsOK(res2
)) {
24312 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24315 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24317 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24320 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24321 wxPyEndAllowThreads(__tstate
);
24322 if (PyErr_Occurred()) SWIG_fail
;
24324 resultobj
= SWIG_Py_Void();
24331 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24333 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24334 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24335 return SWIG_Py_Void();
24338 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24339 return SWIG_Python_InitShadowInstance(args
);
24342 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24343 PyObject
*resultobj
= 0;
24344 wxDC
*arg1
= (wxDC
*) 0 ;
24345 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24346 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24347 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24348 wxBufferedDC
*result
= 0 ;
24356 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24358 if (!SWIG_IsOK(res1
)) {
24359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24361 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24363 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24364 if (!SWIG_IsOK(res2
)) {
24365 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24368 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24370 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24373 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24374 if (!SWIG_IsOK(ecode3
)) {
24375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24377 arg3
= static_cast< int >(val3
);
24380 if (!wxPyCheckForApp()) SWIG_fail
;
24381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24382 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24383 wxPyEndAllowThreads(__tstate
);
24384 if (PyErr_Occurred()) SWIG_fail
;
24386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24393 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24394 PyObject
*resultobj
= 0;
24395 wxDC
*arg1
= (wxDC
*) 0 ;
24397 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24398 wxBufferedDC
*result
= 0 ;
24405 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24407 if (!SWIG_IsOK(res1
)) {
24408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24410 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24413 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24416 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24417 if (!SWIG_IsOK(ecode3
)) {
24418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24420 arg3
= static_cast< int >(val3
);
24423 if (!wxPyCheckForApp()) SWIG_fail
;
24424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24425 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24426 wxPyEndAllowThreads(__tstate
);
24427 if (PyErr_Occurred()) SWIG_fail
;
24429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24436 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24440 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24442 if ((argc
>= 1) && (argc
<= 3)) {
24447 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24448 _v
= SWIG_CheckState(res
);
24450 if (!_v
) goto check_1
;
24452 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24456 if ((argc
>= 2) && (argc
<= 3)) {
24457 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24461 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24466 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24467 PyObject
*resultobj
= 0;
24468 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24471 PyObject
*swig_obj
[1] ;
24473 if (!args
) SWIG_fail
;
24474 swig_obj
[0] = args
;
24475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24476 if (!SWIG_IsOK(res1
)) {
24477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24479 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24484 wxPyEndAllowThreads(__tstate
);
24485 if (PyErr_Occurred()) SWIG_fail
;
24487 resultobj
= SWIG_Py_Void();
24494 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24495 PyObject
*resultobj
= 0;
24496 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24499 PyObject
*swig_obj
[1] ;
24501 if (!args
) SWIG_fail
;
24502 swig_obj
[0] = args
;
24503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24504 if (!SWIG_IsOK(res1
)) {
24505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24507 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24511 wxPyEndAllowThreads(__tstate
);
24512 if (PyErr_Occurred()) SWIG_fail
;
24514 resultobj
= SWIG_Py_Void();
24521 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24522 PyObject
*resultobj
= 0;
24523 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24529 PyObject
* obj0
= 0 ;
24530 PyObject
* obj1
= 0 ;
24531 char * kwnames
[] = {
24532 (char *) "self",(char *) "style", NULL
24535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24537 if (!SWIG_IsOK(res1
)) {
24538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24540 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24542 if (!SWIG_IsOK(ecode2
)) {
24543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
24545 arg2
= static_cast< int >(val2
);
24547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24548 (arg1
)->SetStyle(arg2
);
24549 wxPyEndAllowThreads(__tstate
);
24550 if (PyErr_Occurred()) SWIG_fail
;
24552 resultobj
= SWIG_Py_Void();
24559 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24560 PyObject
*resultobj
= 0;
24561 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24565 PyObject
*swig_obj
[1] ;
24567 if (!args
) SWIG_fail
;
24568 swig_obj
[0] = args
;
24569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24570 if (!SWIG_IsOK(res1
)) {
24571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
24573 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24576 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
24577 wxPyEndAllowThreads(__tstate
);
24578 if (PyErr_Occurred()) SWIG_fail
;
24580 resultobj
= SWIG_From_int(static_cast< int >(result
));
24587 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24589 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24590 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24591 return SWIG_Py_Void();
24594 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24595 return SWIG_Python_InitShadowInstance(args
);
24598 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24599 PyObject
*resultobj
= 0;
24600 wxWindow
*arg1
= (wxWindow
*) 0 ;
24601 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24602 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24603 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24604 wxBufferedPaintDC
*result
= 0 ;
24611 PyObject
* obj0
= 0 ;
24612 PyObject
* obj1
= 0 ;
24613 PyObject
* obj2
= 0 ;
24614 char * kwnames
[] = {
24615 (char *) "window",(char *) "buffer",(char *) "style", NULL
24618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24620 if (!SWIG_IsOK(res1
)) {
24621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24623 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24625 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24626 if (!SWIG_IsOK(res2
)) {
24627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24630 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24632 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24635 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24636 if (!SWIG_IsOK(ecode3
)) {
24637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24639 arg3
= static_cast< int >(val3
);
24642 if (!wxPyCheckForApp()) SWIG_fail
;
24643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24644 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
24645 wxPyEndAllowThreads(__tstate
);
24646 if (PyErr_Occurred()) SWIG_fail
;
24648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24655 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24657 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24658 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24659 return SWIG_Py_Void();
24662 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24663 return SWIG_Python_InitShadowInstance(args
);
24666 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24667 PyObject
*resultobj
= 0;
24668 wxWindow
*arg1
= (wxWindow
*) 0 ;
24669 wxAutoBufferedPaintDC
*result
= 0 ;
24672 PyObject
* obj0
= 0 ;
24673 char * kwnames
[] = {
24674 (char *) "win", NULL
24677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24679 if (!SWIG_IsOK(res1
)) {
24680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24682 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24685 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24686 wxPyEndAllowThreads(__tstate
);
24687 if (PyErr_Occurred()) SWIG_fail
;
24689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24696 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24698 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24699 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24700 return SWIG_Py_Void();
24703 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24704 return SWIG_Python_InitShadowInstance(args
);
24707 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24708 PyObject
*resultobj
= 0;
24709 wxWindow
*arg1
= (wxWindow
*) 0 ;
24713 PyObject
* obj0
= 0 ;
24714 char * kwnames
[] = {
24715 (char *) "window", NULL
24718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24720 if (!SWIG_IsOK(res1
)) {
24721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24723 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24726 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24727 wxPyEndAllowThreads(__tstate
);
24728 if (PyErr_Occurred()) SWIG_fail
;
24731 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24739 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24740 PyObject
*resultobj
= 0;
24743 wxMirrorDC
*result
= 0 ;
24748 PyObject
* obj0
= 0 ;
24749 PyObject
* obj1
= 0 ;
24750 char * kwnames
[] = {
24751 (char *) "dc",(char *) "mirror", NULL
24754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24755 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24756 if (!SWIG_IsOK(res1
)) {
24757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24760 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24762 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24763 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24764 if (!SWIG_IsOK(ecode2
)) {
24765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24767 arg2
= static_cast< bool >(val2
);
24769 if (!wxPyCheckForApp()) SWIG_fail
;
24770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24771 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24772 wxPyEndAllowThreads(__tstate
);
24773 if (PyErr_Occurred()) SWIG_fail
;
24775 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24782 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24784 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24785 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24786 return SWIG_Py_Void();
24789 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24790 return SWIG_Python_InitShadowInstance(args
);
24793 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24794 PyObject
*resultobj
= 0;
24795 wxPrintData
*arg1
= 0 ;
24796 wxPostScriptDC
*result
= 0 ;
24799 PyObject
* obj0
= 0 ;
24800 char * kwnames
[] = {
24801 (char *) "printData", NULL
24804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24805 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24806 if (!SWIG_IsOK(res1
)) {
24807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24810 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24812 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24814 if (!wxPyCheckForApp()) SWIG_fail
;
24815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24816 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24817 wxPyEndAllowThreads(__tstate
);
24818 if (PyErr_Occurred()) SWIG_fail
;
24820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24827 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24828 PyObject
*resultobj
= 0;
24829 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24830 wxPrintData
*result
= 0 ;
24833 PyObject
*swig_obj
[1] ;
24835 if (!args
) SWIG_fail
;
24836 swig_obj
[0] = args
;
24837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24838 if (!SWIG_IsOK(res1
)) {
24839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24841 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24845 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24846 result
= (wxPrintData
*) &_result_ref
;
24848 wxPyEndAllowThreads(__tstate
);
24849 if (PyErr_Occurred()) SWIG_fail
;
24851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24858 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24859 PyObject
*resultobj
= 0;
24860 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24861 wxPrintData
*arg2
= 0 ;
24866 PyObject
* obj0
= 0 ;
24867 PyObject
* obj1
= 0 ;
24868 char * kwnames
[] = {
24869 (char *) "self",(char *) "data", NULL
24872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24874 if (!SWIG_IsOK(res1
)) {
24875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24877 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24878 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24879 if (!SWIG_IsOK(res2
)) {
24880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24885 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24888 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24889 wxPyEndAllowThreads(__tstate
);
24890 if (PyErr_Occurred()) SWIG_fail
;
24892 resultobj
= SWIG_Py_Void();
24899 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24900 PyObject
*resultobj
= 0;
24904 PyObject
* obj0
= 0 ;
24905 char * kwnames
[] = {
24906 (char *) "ppi", NULL
24909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24910 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24911 if (!SWIG_IsOK(ecode1
)) {
24912 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24914 arg1
= static_cast< int >(val1
);
24916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24917 wxPostScriptDC::SetResolution(arg1
);
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24921 resultobj
= SWIG_Py_Void();
24928 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24929 PyObject
*resultobj
= 0;
24932 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24935 result
= (int)wxPostScriptDC::GetResolution();
24936 wxPyEndAllowThreads(__tstate
);
24937 if (PyErr_Occurred()) SWIG_fail
;
24939 resultobj
= SWIG_From_int(static_cast< int >(result
));
24946 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24948 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24949 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24950 return SWIG_Py_Void();
24953 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24954 return SWIG_Python_InitShadowInstance(args
);
24957 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24958 PyObject
*resultobj
= 0;
24959 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24960 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24961 wxMetaFile
*result
= 0 ;
24962 bool temp1
= false ;
24963 PyObject
* obj0
= 0 ;
24964 char * kwnames
[] = {
24965 (char *) "filename", NULL
24968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24971 arg1
= wxString_in_helper(obj0
);
24972 if (arg1
== NULL
) SWIG_fail
;
24977 if (!wxPyCheckForApp()) SWIG_fail
;
24978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24979 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24980 wxPyEndAllowThreads(__tstate
);
24981 if (PyErr_Occurred()) SWIG_fail
;
24983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24998 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24999 PyObject
*resultobj
= 0;
25000 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25003 PyObject
*swig_obj
[1] ;
25005 if (!args
) SWIG_fail
;
25006 swig_obj
[0] = args
;
25007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
25008 if (!SWIG_IsOK(res1
)) {
25009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25011 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25016 wxPyEndAllowThreads(__tstate
);
25017 if (PyErr_Occurred()) SWIG_fail
;
25019 resultobj
= SWIG_Py_Void();
25026 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25027 PyObject
*resultobj
= 0;
25028 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25032 PyObject
*swig_obj
[1] ;
25034 if (!args
) SWIG_fail
;
25035 swig_obj
[0] = args
;
25036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25037 if (!SWIG_IsOK(res1
)) {
25038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25040 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25043 result
= (bool)(arg1
)->IsOk();
25044 wxPyEndAllowThreads(__tstate
);
25045 if (PyErr_Occurred()) SWIG_fail
;
25048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25056 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25057 PyObject
*resultobj
= 0;
25058 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25059 int arg2
= (int) 0 ;
25060 int arg3
= (int) 0 ;
25068 PyObject
* obj0
= 0 ;
25069 PyObject
* obj1
= 0 ;
25070 PyObject
* obj2
= 0 ;
25071 char * kwnames
[] = {
25072 (char *) "self",(char *) "width",(char *) "height", NULL
25075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25077 if (!SWIG_IsOK(res1
)) {
25078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25080 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25083 if (!SWIG_IsOK(ecode2
)) {
25084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25086 arg2
= static_cast< int >(val2
);
25089 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25090 if (!SWIG_IsOK(ecode3
)) {
25091 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25093 arg3
= static_cast< int >(val3
);
25096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25097 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25098 wxPyEndAllowThreads(__tstate
);
25099 if (PyErr_Occurred()) SWIG_fail
;
25102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25110 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25111 PyObject
*resultobj
= 0;
25112 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25116 PyObject
*swig_obj
[1] ;
25118 if (!args
) SWIG_fail
;
25119 swig_obj
[0] = args
;
25120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25121 if (!SWIG_IsOK(res1
)) {
25122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25124 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25127 result
= (arg1
)->GetSize();
25128 wxPyEndAllowThreads(__tstate
);
25129 if (PyErr_Occurred()) SWIG_fail
;
25131 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25138 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25139 PyObject
*resultobj
= 0;
25140 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25144 PyObject
*swig_obj
[1] ;
25146 if (!args
) SWIG_fail
;
25147 swig_obj
[0] = args
;
25148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25149 if (!SWIG_IsOK(res1
)) {
25150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25152 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25155 result
= (int)(arg1
)->GetWidth();
25156 wxPyEndAllowThreads(__tstate
);
25157 if (PyErr_Occurred()) SWIG_fail
;
25159 resultobj
= SWIG_From_int(static_cast< int >(result
));
25166 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25167 PyObject
*resultobj
= 0;
25168 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25172 PyObject
*swig_obj
[1] ;
25174 if (!args
) SWIG_fail
;
25175 swig_obj
[0] = args
;
25176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25177 if (!SWIG_IsOK(res1
)) {
25178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25180 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25183 result
= (int)(arg1
)->GetHeight();
25184 wxPyEndAllowThreads(__tstate
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25187 resultobj
= SWIG_From_int(static_cast< int >(result
));
25194 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25196 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25197 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25198 return SWIG_Py_Void();
25201 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25202 return SWIG_Python_InitShadowInstance(args
);
25205 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25206 PyObject
*resultobj
= 0;
25207 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25208 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25209 int arg2
= (int) 0 ;
25210 int arg3
= (int) 0 ;
25211 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25212 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25213 wxMetaFileDC
*result
= 0 ;
25214 bool temp1
= false ;
25219 bool temp4
= false ;
25220 PyObject
* obj0
= 0 ;
25221 PyObject
* obj1
= 0 ;
25222 PyObject
* obj2
= 0 ;
25223 PyObject
* obj3
= 0 ;
25224 char * kwnames
[] = {
25225 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25231 arg1
= wxString_in_helper(obj0
);
25232 if (arg1
== NULL
) SWIG_fail
;
25237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25238 if (!SWIG_IsOK(ecode2
)) {
25239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25241 arg2
= static_cast< int >(val2
);
25244 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25245 if (!SWIG_IsOK(ecode3
)) {
25246 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25248 arg3
= static_cast< int >(val3
);
25252 arg4
= wxString_in_helper(obj3
);
25253 if (arg4
== NULL
) SWIG_fail
;
25258 if (!wxPyCheckForApp()) SWIG_fail
;
25259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25260 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25261 wxPyEndAllowThreads(__tstate
);
25262 if (PyErr_Occurred()) SWIG_fail
;
25264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25287 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25288 PyObject
*resultobj
= 0;
25289 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25290 wxMetaFile
*result
= 0 ;
25293 PyObject
*swig_obj
[1] ;
25295 if (!args
) SWIG_fail
;
25296 swig_obj
[0] = args
;
25297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25298 if (!SWIG_IsOK(res1
)) {
25299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25301 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25304 result
= (wxMetaFile
*)(arg1
)->Close();
25305 wxPyEndAllowThreads(__tstate
);
25306 if (PyErr_Occurred()) SWIG_fail
;
25308 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25315 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25317 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25318 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25319 return SWIG_Py_Void();
25322 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25323 return SWIG_Python_InitShadowInstance(args
);
25326 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25327 PyObject
*resultobj
= 0;
25328 wxPrintData
*arg1
= 0 ;
25329 wxPrinterDC
*result
= 0 ;
25332 PyObject
* obj0
= 0 ;
25333 char * kwnames
[] = {
25334 (char *) "printData", NULL
25337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25338 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25339 if (!SWIG_IsOK(res1
)) {
25340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25345 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25347 if (!wxPyCheckForApp()) SWIG_fail
;
25348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25349 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25350 wxPyEndAllowThreads(__tstate
);
25351 if (PyErr_Occurred()) SWIG_fail
;
25353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25360 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25362 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25363 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25364 return SWIG_Py_Void();
25367 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25368 return SWIG_Python_InitShadowInstance(args
);
25371 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25372 PyObject
*resultobj
= 0;
25373 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25374 wxGraphicsObject
*result
= 0 ;
25377 PyObject
* obj0
= 0 ;
25378 char * kwnames
[] = {
25379 (char *) "renderer", NULL
25382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25385 if (!SWIG_IsOK(res1
)) {
25386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25388 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25391 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25392 if (PyErr_Occurred()) SWIG_fail
;
25394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25401 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25402 PyObject
*resultobj
= 0;
25403 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25406 PyObject
*swig_obj
[1] ;
25408 if (!args
) SWIG_fail
;
25409 swig_obj
[0] = args
;
25410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25411 if (!SWIG_IsOK(res1
)) {
25412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25414 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25418 if (PyErr_Occurred()) SWIG_fail
;
25420 resultobj
= SWIG_Py_Void();
25427 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25428 PyObject
*resultobj
= 0;
25429 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25433 PyObject
*swig_obj
[1] ;
25435 if (!args
) SWIG_fail
;
25436 swig_obj
[0] = args
;
25437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25438 if (!SWIG_IsOK(res1
)) {
25439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25441 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25443 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25444 if (PyErr_Occurred()) SWIG_fail
;
25447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25455 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25456 PyObject
*resultobj
= 0;
25457 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25458 wxGraphicsRenderer
*result
= 0 ;
25461 PyObject
*swig_obj
[1] ;
25463 if (!args
) SWIG_fail
;
25464 swig_obj
[0] = args
;
25465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25466 if (!SWIG_IsOK(res1
)) {
25467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25469 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25471 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25472 if (PyErr_Occurred()) SWIG_fail
;
25474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25481 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25483 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25484 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25485 return SWIG_Py_Void();
25488 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25489 return SWIG_Python_InitShadowInstance(args
);
25492 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25493 PyObject
*resultobj
= 0;
25494 wxGraphicsPen
*result
= 0 ;
25496 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25498 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25499 if (PyErr_Occurred()) SWIG_fail
;
25501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25508 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25509 PyObject
*resultobj
= 0;
25510 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25513 PyObject
*swig_obj
[1] ;
25515 if (!args
) SWIG_fail
;
25516 swig_obj
[0] = args
;
25517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25518 if (!SWIG_IsOK(res1
)) {
25519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25521 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25525 if (PyErr_Occurred()) SWIG_fail
;
25527 resultobj
= SWIG_Py_Void();
25534 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25536 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25537 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25538 return SWIG_Py_Void();
25541 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25542 return SWIG_Python_InitShadowInstance(args
);
25545 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25546 PyObject
*resultobj
= 0;
25547 wxGraphicsBrush
*result
= 0 ;
25549 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25551 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25552 if (PyErr_Occurred()) SWIG_fail
;
25554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25561 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25562 PyObject
*resultobj
= 0;
25563 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25566 PyObject
*swig_obj
[1] ;
25568 if (!args
) SWIG_fail
;
25569 swig_obj
[0] = args
;
25570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25571 if (!SWIG_IsOK(res1
)) {
25572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25574 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25578 if (PyErr_Occurred()) SWIG_fail
;
25580 resultobj
= SWIG_Py_Void();
25587 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25589 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25590 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25591 return SWIG_Py_Void();
25594 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25595 return SWIG_Python_InitShadowInstance(args
);
25598 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25599 PyObject
*resultobj
= 0;
25600 wxGraphicsFont
*result
= 0 ;
25602 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25604 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25605 if (PyErr_Occurred()) SWIG_fail
;
25607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25614 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25615 PyObject
*resultobj
= 0;
25616 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25619 PyObject
*swig_obj
[1] ;
25621 if (!args
) SWIG_fail
;
25622 swig_obj
[0] = args
;
25623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25624 if (!SWIG_IsOK(res1
)) {
25625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25627 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25631 if (PyErr_Occurred()) SWIG_fail
;
25633 resultobj
= SWIG_Py_Void();
25640 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25642 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25643 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25644 return SWIG_Py_Void();
25647 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25648 return SWIG_Python_InitShadowInstance(args
);
25651 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25652 PyObject
*resultobj
= 0;
25653 wxGraphicsMatrix
*result
= 0 ;
25655 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
25657 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
25658 if (PyErr_Occurred()) SWIG_fail
;
25660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
25667 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25668 PyObject
*resultobj
= 0;
25669 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25672 PyObject
*swig_obj
[1] ;
25674 if (!args
) SWIG_fail
;
25675 swig_obj
[0] = args
;
25676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25677 if (!SWIG_IsOK(res1
)) {
25678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25680 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25684 if (PyErr_Occurred()) SWIG_fail
;
25686 resultobj
= SWIG_Py_Void();
25693 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25694 PyObject
*resultobj
= 0;
25695 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25696 wxGraphicsMatrix
*arg2
= 0 ;
25701 PyObject
* obj0
= 0 ;
25702 PyObject
* obj1
= 0 ;
25703 char * kwnames
[] = {
25704 (char *) "self",(char *) "t", NULL
25707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25709 if (!SWIG_IsOK(res1
)) {
25710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25712 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25713 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25714 if (!SWIG_IsOK(res2
)) {
25715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25720 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25722 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25723 if (PyErr_Occurred()) SWIG_fail
;
25725 resultobj
= SWIG_Py_Void();
25732 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25733 PyObject
*resultobj
= 0;
25734 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25735 wxDouble arg2
= (wxDouble
) 1.0 ;
25736 wxDouble arg3
= (wxDouble
) 0.0 ;
25737 wxDouble arg4
= (wxDouble
) 0.0 ;
25738 wxDouble arg5
= (wxDouble
) 1.0 ;
25739 wxDouble arg6
= (wxDouble
) 0.0 ;
25740 wxDouble arg7
= (wxDouble
) 0.0 ;
25755 PyObject
* obj0
= 0 ;
25756 PyObject
* obj1
= 0 ;
25757 PyObject
* obj2
= 0 ;
25758 PyObject
* obj3
= 0 ;
25759 PyObject
* obj4
= 0 ;
25760 PyObject
* obj5
= 0 ;
25761 PyObject
* obj6
= 0 ;
25762 char * kwnames
[] = {
25763 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25768 if (!SWIG_IsOK(res1
)) {
25769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25771 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25773 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25774 if (!SWIG_IsOK(ecode2
)) {
25775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25777 arg2
= static_cast< wxDouble
>(val2
);
25780 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25781 if (!SWIG_IsOK(ecode3
)) {
25782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25784 arg3
= static_cast< wxDouble
>(val3
);
25787 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25788 if (!SWIG_IsOK(ecode4
)) {
25789 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25791 arg4
= static_cast< wxDouble
>(val4
);
25794 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25795 if (!SWIG_IsOK(ecode5
)) {
25796 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25798 arg5
= static_cast< wxDouble
>(val5
);
25801 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25802 if (!SWIG_IsOK(ecode6
)) {
25803 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25805 arg6
= static_cast< wxDouble
>(val6
);
25808 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25809 if (!SWIG_IsOK(ecode7
)) {
25810 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25812 arg7
= static_cast< wxDouble
>(val7
);
25815 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25818 resultobj
= SWIG_Py_Void();
25825 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25826 PyObject
*resultobj
= 0;
25827 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25830 PyObject
*swig_obj
[1] ;
25832 if (!args
) SWIG_fail
;
25833 swig_obj
[0] = args
;
25834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25835 if (!SWIG_IsOK(res1
)) {
25836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25838 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25841 if (PyErr_Occurred()) SWIG_fail
;
25843 resultobj
= SWIG_Py_Void();
25850 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25851 PyObject
*resultobj
= 0;
25852 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25853 wxGraphicsMatrix
*arg2
= 0 ;
25859 PyObject
* obj0
= 0 ;
25860 PyObject
* obj1
= 0 ;
25861 char * kwnames
[] = {
25862 (char *) "self",(char *) "t", NULL
25865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25867 if (!SWIG_IsOK(res1
)) {
25868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25870 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25871 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25872 if (!SWIG_IsOK(res2
)) {
25873 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25876 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25878 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25880 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
25881 if (PyErr_Occurred()) SWIG_fail
;
25884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25892 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25893 PyObject
*resultobj
= 0;
25894 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25898 PyObject
*swig_obj
[1] ;
25900 if (!args
) SWIG_fail
;
25901 swig_obj
[0] = args
;
25902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25903 if (!SWIG_IsOK(res1
)) {
25904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25906 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25908 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
25909 if (PyErr_Occurred()) SWIG_fail
;
25912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25920 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25921 PyObject
*resultobj
= 0;
25922 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25931 PyObject
* obj0
= 0 ;
25932 PyObject
* obj1
= 0 ;
25933 PyObject
* obj2
= 0 ;
25934 char * kwnames
[] = {
25935 (char *) "self",(char *) "dx",(char *) "dy", NULL
25938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25940 if (!SWIG_IsOK(res1
)) {
25941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25943 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25944 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25945 if (!SWIG_IsOK(ecode2
)) {
25946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25948 arg2
= static_cast< wxDouble
>(val2
);
25949 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25950 if (!SWIG_IsOK(ecode3
)) {
25951 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25953 arg3
= static_cast< wxDouble
>(val3
);
25955 (arg1
)->Translate(arg2
,arg3
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25958 resultobj
= SWIG_Py_Void();
25965 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25966 PyObject
*resultobj
= 0;
25967 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25976 PyObject
* obj0
= 0 ;
25977 PyObject
* obj1
= 0 ;
25978 PyObject
* obj2
= 0 ;
25979 char * kwnames
[] = {
25980 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25985 if (!SWIG_IsOK(res1
)) {
25986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25988 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25989 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25990 if (!SWIG_IsOK(ecode2
)) {
25991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25993 arg2
= static_cast< wxDouble
>(val2
);
25994 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25995 if (!SWIG_IsOK(ecode3
)) {
25996 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25998 arg3
= static_cast< wxDouble
>(val3
);
26000 (arg1
)->Scale(arg2
,arg3
);
26001 if (PyErr_Occurred()) SWIG_fail
;
26003 resultobj
= SWIG_Py_Void();
26010 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26011 PyObject
*resultobj
= 0;
26012 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26018 PyObject
* obj0
= 0 ;
26019 PyObject
* obj1
= 0 ;
26020 char * kwnames
[] = {
26021 (char *) "self",(char *) "angle", NULL
26024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26026 if (!SWIG_IsOK(res1
)) {
26027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26029 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26030 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26031 if (!SWIG_IsOK(ecode2
)) {
26032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26034 arg2
= static_cast< wxDouble
>(val2
);
26036 (arg1
)->Rotate(arg2
);
26037 if (PyErr_Occurred()) SWIG_fail
;
26039 resultobj
= SWIG_Py_Void();
26046 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26047 PyObject
*resultobj
= 0;
26048 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26049 wxDouble
*arg2
= (wxDouble
*) 0 ;
26050 wxDouble
*arg3
= (wxDouble
*) 0 ;
26057 PyObject
* obj0
= 0 ;
26058 PyObject
* obj1
= 0 ;
26059 PyObject
* obj2
= 0 ;
26060 char * kwnames
[] = {
26061 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26066 if (!SWIG_IsOK(res1
)) {
26067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26069 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26070 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26072 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26073 if (!SWIG_IsOK(ecode
)) {
26074 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26076 temp2
= static_cast< wxDouble
>(val
);
26078 res2
= SWIG_AddTmpMask(ecode
);
26080 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26082 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26083 if (!SWIG_IsOK(ecode
)) {
26084 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26086 temp3
= static_cast< wxDouble
>(val
);
26088 res3
= SWIG_AddTmpMask(ecode
);
26091 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26092 if (PyErr_Occurred()) SWIG_fail
;
26094 resultobj
= SWIG_Py_Void();
26095 if (SWIG_IsTmpObj(res2
)) {
26096 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26098 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26099 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26101 if (SWIG_IsTmpObj(res3
)) {
26102 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26104 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26105 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26113 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26114 PyObject
*resultobj
= 0;
26115 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26116 wxDouble
*arg2
= (wxDouble
*) 0 ;
26117 wxDouble
*arg3
= (wxDouble
*) 0 ;
26124 PyObject
* obj0
= 0 ;
26125 PyObject
* obj1
= 0 ;
26126 PyObject
* obj2
= 0 ;
26127 char * kwnames
[] = {
26128 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26133 if (!SWIG_IsOK(res1
)) {
26134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26136 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26137 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26139 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26140 if (!SWIG_IsOK(ecode
)) {
26141 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26143 temp2
= static_cast< wxDouble
>(val
);
26145 res2
= SWIG_AddTmpMask(ecode
);
26147 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26149 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26150 if (!SWIG_IsOK(ecode
)) {
26151 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26153 temp3
= static_cast< wxDouble
>(val
);
26155 res3
= SWIG_AddTmpMask(ecode
);
26158 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26159 if (PyErr_Occurred()) SWIG_fail
;
26161 resultobj
= SWIG_Py_Void();
26162 if (SWIG_IsTmpObj(res2
)) {
26163 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26165 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26166 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26168 if (SWIG_IsTmpObj(res3
)) {
26169 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26171 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26180 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26181 PyObject
*resultobj
= 0;
26182 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26186 PyObject
*swig_obj
[1] ;
26188 if (!args
) SWIG_fail
;
26189 swig_obj
[0] = args
;
26190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26191 if (!SWIG_IsOK(res1
)) {
26192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26194 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26196 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26197 if (PyErr_Occurred()) SWIG_fail
;
26199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26206 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26208 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26209 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26210 return SWIG_Py_Void();
26213 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26214 return SWIG_Python_InitShadowInstance(args
);
26217 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26218 PyObject
*resultobj
= 0;
26219 wxGraphicsPath
*result
= 0 ;
26221 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26223 if (!wxPyCheckForApp()) SWIG_fail
;
26224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26225 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26226 wxPyEndAllowThreads(__tstate
);
26227 if (PyErr_Occurred()) SWIG_fail
;
26229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
26236 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26237 PyObject
*resultobj
= 0;
26238 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26241 PyObject
*swig_obj
[1] ;
26243 if (!args
) SWIG_fail
;
26244 swig_obj
[0] = args
;
26245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26246 if (!SWIG_IsOK(res1
)) {
26247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26249 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26253 if (PyErr_Occurred()) SWIG_fail
;
26255 resultobj
= SWIG_Py_Void();
26262 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26263 PyObject
*resultobj
= 0;
26264 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26274 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26276 if (!SWIG_IsOK(res1
)) {
26277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26279 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26280 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26281 if (!SWIG_IsOK(ecode2
)) {
26282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26284 arg2
= static_cast< wxDouble
>(val2
);
26285 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26286 if (!SWIG_IsOK(ecode3
)) {
26287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26289 arg3
= static_cast< wxDouble
>(val3
);
26291 (arg1
)->MoveToPoint(arg2
,arg3
);
26292 if (PyErr_Occurred()) SWIG_fail
;
26294 resultobj
= SWIG_Py_Void();
26301 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26302 PyObject
*resultobj
= 0;
26303 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26304 wxPoint2D
*arg2
= 0 ;
26309 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26311 if (!SWIG_IsOK(res1
)) {
26312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26314 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26317 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26320 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26321 if (PyErr_Occurred()) SWIG_fail
;
26323 resultobj
= SWIG_Py_Void();
26330 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26334 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26337 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26340 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26344 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26349 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26350 PyObject
*resultobj
= 0;
26351 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26361 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26363 if (!SWIG_IsOK(res1
)) {
26364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26366 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26367 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26368 if (!SWIG_IsOK(ecode2
)) {
26369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26371 arg2
= static_cast< wxDouble
>(val2
);
26372 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26373 if (!SWIG_IsOK(ecode3
)) {
26374 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26376 arg3
= static_cast< wxDouble
>(val3
);
26378 (arg1
)->AddLineToPoint(arg2
,arg3
);
26379 if (PyErr_Occurred()) SWIG_fail
;
26381 resultobj
= SWIG_Py_Void();
26388 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26389 PyObject
*resultobj
= 0;
26390 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26391 wxPoint2D
*arg2
= 0 ;
26396 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26398 if (!SWIG_IsOK(res1
)) {
26399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26401 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26404 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26407 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26408 if (PyErr_Occurred()) SWIG_fail
;
26410 resultobj
= SWIG_Py_Void();
26417 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26421 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26424 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26427 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26431 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26436 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26437 PyObject
*resultobj
= 0;
26438 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26460 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26462 if (!SWIG_IsOK(res1
)) {
26463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26465 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26466 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26467 if (!SWIG_IsOK(ecode2
)) {
26468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26470 arg2
= static_cast< wxDouble
>(val2
);
26471 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26472 if (!SWIG_IsOK(ecode3
)) {
26473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26475 arg3
= static_cast< wxDouble
>(val3
);
26476 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26477 if (!SWIG_IsOK(ecode4
)) {
26478 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26480 arg4
= static_cast< wxDouble
>(val4
);
26481 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26482 if (!SWIG_IsOK(ecode5
)) {
26483 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26485 arg5
= static_cast< wxDouble
>(val5
);
26486 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26487 if (!SWIG_IsOK(ecode6
)) {
26488 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26490 arg6
= static_cast< wxDouble
>(val6
);
26491 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26492 if (!SWIG_IsOK(ecode7
)) {
26493 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26495 arg7
= static_cast< wxDouble
>(val7
);
26497 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26498 if (PyErr_Occurred()) SWIG_fail
;
26500 resultobj
= SWIG_Py_Void();
26507 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26508 PyObject
*resultobj
= 0;
26509 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26510 wxPoint2D
*arg2
= 0 ;
26511 wxPoint2D
*arg3
= 0 ;
26512 wxPoint2D
*arg4
= 0 ;
26519 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26521 if (!SWIG_IsOK(res1
)) {
26522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26524 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26527 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26531 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26535 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26538 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26539 if (PyErr_Occurred()) SWIG_fail
;
26541 resultobj
= SWIG_Py_Void();
26548 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26552 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26555 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26558 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26562 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26567 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26568 PyObject
*resultobj
= 0;
26569 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26570 wxGraphicsPath
*arg2
= 0 ;
26575 PyObject
* obj0
= 0 ;
26576 PyObject
* obj1
= 0 ;
26577 char * kwnames
[] = {
26578 (char *) "self",(char *) "path", NULL
26581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26583 if (!SWIG_IsOK(res1
)) {
26584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26586 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26587 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26588 if (!SWIG_IsOK(res2
)) {
26589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26594 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26596 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26597 if (PyErr_Occurred()) SWIG_fail
;
26599 resultobj
= SWIG_Py_Void();
26606 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26607 PyObject
*resultobj
= 0;
26608 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26611 PyObject
*swig_obj
[1] ;
26613 if (!args
) SWIG_fail
;
26614 swig_obj
[0] = args
;
26615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26616 if (!SWIG_IsOK(res1
)) {
26617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26619 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26621 (arg1
)->CloseSubpath();
26622 if (PyErr_Occurred()) SWIG_fail
;
26624 resultobj
= SWIG_Py_Void();
26631 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26632 PyObject
*resultobj
= 0;
26633 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26637 PyObject
*swig_obj
[1] ;
26639 if (!args
) SWIG_fail
;
26640 swig_obj
[0] = args
;
26641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26642 if (!SWIG_IsOK(res1
)) {
26643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26645 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26647 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26648 if (PyErr_Occurred()) SWIG_fail
;
26650 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26657 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26658 PyObject
*resultobj
= 0;
26659 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26681 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26683 if (!SWIG_IsOK(res1
)) {
26684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26686 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26687 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26688 if (!SWIG_IsOK(ecode2
)) {
26689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26691 arg2
= static_cast< wxDouble
>(val2
);
26692 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26693 if (!SWIG_IsOK(ecode3
)) {
26694 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26696 arg3
= static_cast< wxDouble
>(val3
);
26697 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26698 if (!SWIG_IsOK(ecode4
)) {
26699 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26701 arg4
= static_cast< wxDouble
>(val4
);
26702 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26703 if (!SWIG_IsOK(ecode5
)) {
26704 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26706 arg5
= static_cast< wxDouble
>(val5
);
26707 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26708 if (!SWIG_IsOK(ecode6
)) {
26709 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26711 arg6
= static_cast< wxDouble
>(val6
);
26712 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26713 if (!SWIG_IsOK(ecode7
)) {
26714 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26716 arg7
= static_cast< bool >(val7
);
26718 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26719 if (PyErr_Occurred()) SWIG_fail
;
26721 resultobj
= SWIG_Py_Void();
26728 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26729 PyObject
*resultobj
= 0;
26730 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26731 wxPoint2D
*arg2
= 0 ;
26748 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26750 if (!SWIG_IsOK(res1
)) {
26751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26753 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26756 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26758 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26759 if (!SWIG_IsOK(ecode3
)) {
26760 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26762 arg3
= static_cast< wxDouble
>(val3
);
26763 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26764 if (!SWIG_IsOK(ecode4
)) {
26765 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26767 arg4
= static_cast< wxDouble
>(val4
);
26768 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26769 if (!SWIG_IsOK(ecode5
)) {
26770 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26772 arg5
= static_cast< wxDouble
>(val5
);
26773 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26774 if (!SWIG_IsOK(ecode6
)) {
26775 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26777 arg6
= static_cast< bool >(val6
);
26779 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26780 if (PyErr_Occurred()) SWIG_fail
;
26782 resultobj
= SWIG_Py_Void();
26789 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26793 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26796 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26799 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26803 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26808 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26809 PyObject
*resultobj
= 0;
26810 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26825 PyObject
* obj0
= 0 ;
26826 PyObject
* obj1
= 0 ;
26827 PyObject
* obj2
= 0 ;
26828 PyObject
* obj3
= 0 ;
26829 PyObject
* obj4
= 0 ;
26830 char * kwnames
[] = {
26831 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26836 if (!SWIG_IsOK(res1
)) {
26837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26839 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26840 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26841 if (!SWIG_IsOK(ecode2
)) {
26842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26844 arg2
= static_cast< wxDouble
>(val2
);
26845 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26846 if (!SWIG_IsOK(ecode3
)) {
26847 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26849 arg3
= static_cast< wxDouble
>(val3
);
26850 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26851 if (!SWIG_IsOK(ecode4
)) {
26852 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26854 arg4
= static_cast< wxDouble
>(val4
);
26855 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26856 if (!SWIG_IsOK(ecode5
)) {
26857 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26859 arg5
= static_cast< wxDouble
>(val5
);
26861 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26864 resultobj
= SWIG_Py_Void();
26871 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26872 PyObject
*resultobj
= 0;
26873 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26888 PyObject
* obj0
= 0 ;
26889 PyObject
* obj1
= 0 ;
26890 PyObject
* obj2
= 0 ;
26891 PyObject
* obj3
= 0 ;
26892 PyObject
* obj4
= 0 ;
26893 char * kwnames
[] = {
26894 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26899 if (!SWIG_IsOK(res1
)) {
26900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26902 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26903 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26904 if (!SWIG_IsOK(ecode2
)) {
26905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26907 arg2
= static_cast< wxDouble
>(val2
);
26908 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26909 if (!SWIG_IsOK(ecode3
)) {
26910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26912 arg3
= static_cast< wxDouble
>(val3
);
26913 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26914 if (!SWIG_IsOK(ecode4
)) {
26915 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26917 arg4
= static_cast< wxDouble
>(val4
);
26918 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26919 if (!SWIG_IsOK(ecode5
)) {
26920 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26922 arg5
= static_cast< wxDouble
>(val5
);
26924 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
26925 if (PyErr_Occurred()) SWIG_fail
;
26927 resultobj
= SWIG_Py_Void();
26934 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26935 PyObject
*resultobj
= 0;
26936 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26948 PyObject
* obj0
= 0 ;
26949 PyObject
* obj1
= 0 ;
26950 PyObject
* obj2
= 0 ;
26951 PyObject
* obj3
= 0 ;
26952 char * kwnames
[] = {
26953 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
26956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26958 if (!SWIG_IsOK(res1
)) {
26959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26961 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26962 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26963 if (!SWIG_IsOK(ecode2
)) {
26964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
26966 arg2
= static_cast< wxDouble
>(val2
);
26967 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26968 if (!SWIG_IsOK(ecode3
)) {
26969 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
26971 arg3
= static_cast< wxDouble
>(val3
);
26972 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26973 if (!SWIG_IsOK(ecode4
)) {
26974 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
26976 arg4
= static_cast< wxDouble
>(val4
);
26978 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
26979 if (PyErr_Occurred()) SWIG_fail
;
26981 resultobj
= SWIG_Py_Void();
26988 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26989 PyObject
*resultobj
= 0;
26990 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27008 PyObject
* obj0
= 0 ;
27009 PyObject
* obj1
= 0 ;
27010 PyObject
* obj2
= 0 ;
27011 PyObject
* obj3
= 0 ;
27012 PyObject
* obj4
= 0 ;
27013 PyObject
* obj5
= 0 ;
27014 char * kwnames
[] = {
27015 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27020 if (!SWIG_IsOK(res1
)) {
27021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27023 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27024 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27025 if (!SWIG_IsOK(ecode2
)) {
27026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27028 arg2
= static_cast< wxDouble
>(val2
);
27029 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27030 if (!SWIG_IsOK(ecode3
)) {
27031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27033 arg3
= static_cast< wxDouble
>(val3
);
27034 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27035 if (!SWIG_IsOK(ecode4
)) {
27036 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27038 arg4
= static_cast< wxDouble
>(val4
);
27039 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27040 if (!SWIG_IsOK(ecode5
)) {
27041 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27043 arg5
= static_cast< wxDouble
>(val5
);
27044 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27045 if (!SWIG_IsOK(ecode6
)) {
27046 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27048 arg6
= static_cast< wxDouble
>(val6
);
27050 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27051 if (PyErr_Occurred()) SWIG_fail
;
27053 resultobj
= SWIG_Py_Void();
27060 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27061 PyObject
*resultobj
= 0;
27062 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27077 PyObject
* obj0
= 0 ;
27078 PyObject
* obj1
= 0 ;
27079 PyObject
* obj2
= 0 ;
27080 PyObject
* obj3
= 0 ;
27081 PyObject
* obj4
= 0 ;
27082 char * kwnames
[] = {
27083 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27088 if (!SWIG_IsOK(res1
)) {
27089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27091 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27092 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27093 if (!SWIG_IsOK(ecode2
)) {
27094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27096 arg2
= static_cast< wxDouble
>(val2
);
27097 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27098 if (!SWIG_IsOK(ecode3
)) {
27099 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27101 arg3
= static_cast< wxDouble
>(val3
);
27102 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27103 if (!SWIG_IsOK(ecode4
)) {
27104 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27106 arg4
= static_cast< wxDouble
>(val4
);
27107 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27108 if (!SWIG_IsOK(ecode5
)) {
27109 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27111 arg5
= static_cast< wxDouble
>(val5
);
27113 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27114 if (PyErr_Occurred()) SWIG_fail
;
27116 resultobj
= SWIG_Py_Void();
27123 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27124 PyObject
*resultobj
= 0;
27125 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27143 PyObject
* obj0
= 0 ;
27144 PyObject
* obj1
= 0 ;
27145 PyObject
* obj2
= 0 ;
27146 PyObject
* obj3
= 0 ;
27147 PyObject
* obj4
= 0 ;
27148 PyObject
* obj5
= 0 ;
27149 char * kwnames
[] = {
27150 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27155 if (!SWIG_IsOK(res1
)) {
27156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27158 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27159 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27160 if (!SWIG_IsOK(ecode2
)) {
27161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27163 arg2
= static_cast< wxDouble
>(val2
);
27164 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27165 if (!SWIG_IsOK(ecode3
)) {
27166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27168 arg3
= static_cast< wxDouble
>(val3
);
27169 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27170 if (!SWIG_IsOK(ecode4
)) {
27171 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27173 arg4
= static_cast< wxDouble
>(val4
);
27174 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27175 if (!SWIG_IsOK(ecode5
)) {
27176 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27178 arg5
= static_cast< wxDouble
>(val5
);
27179 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27180 if (!SWIG_IsOK(ecode6
)) {
27181 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27183 arg6
= static_cast< wxDouble
>(val6
);
27185 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27186 if (PyErr_Occurred()) SWIG_fail
;
27188 resultobj
= SWIG_Py_Void();
27195 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27196 PyObject
*resultobj
= 0;
27197 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27201 PyObject
*swig_obj
[1] ;
27203 if (!args
) SWIG_fail
;
27204 swig_obj
[0] = args
;
27205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27206 if (!SWIG_IsOK(res1
)) {
27207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27209 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27211 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27212 if (PyErr_Occurred()) SWIG_fail
;
27214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27221 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27222 PyObject
*resultobj
= 0;
27223 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27224 void *arg2
= (void *) 0 ;
27228 PyObject
* obj0
= 0 ;
27229 PyObject
* obj1
= 0 ;
27230 char * kwnames
[] = {
27231 (char *) "self",(char *) "p", NULL
27234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27236 if (!SWIG_IsOK(res1
)) {
27237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27239 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27240 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27241 if (!SWIG_IsOK(res2
)) {
27242 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27245 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27246 if (PyErr_Occurred()) SWIG_fail
;
27248 resultobj
= SWIG_Py_Void();
27255 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27256 PyObject
*resultobj
= 0;
27257 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27258 wxGraphicsMatrix
*arg2
= 0 ;
27263 PyObject
* obj0
= 0 ;
27264 PyObject
* obj1
= 0 ;
27265 char * kwnames
[] = {
27266 (char *) "self",(char *) "matrix", NULL
27269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27271 if (!SWIG_IsOK(res1
)) {
27272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27274 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27275 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27276 if (!SWIG_IsOK(res2
)) {
27277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27280 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27282 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27284 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27285 if (PyErr_Occurred()) SWIG_fail
;
27287 resultobj
= SWIG_Py_Void();
27294 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27295 PyObject
*resultobj
= 0;
27296 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27297 wxRect2DDouble result
;
27300 PyObject
*swig_obj
[1] ;
27302 if (!args
) SWIG_fail
;
27303 swig_obj
[0] = args
;
27304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27305 if (!SWIG_IsOK(res1
)) {
27306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27308 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27310 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27311 if (PyErr_Occurred()) SWIG_fail
;
27313 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
27320 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27321 PyObject
*resultobj
= 0;
27322 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27325 int arg4
= (int) wxODDEVEN_RULE
;
27336 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27338 if (!SWIG_IsOK(res1
)) {
27339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27341 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27342 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27343 if (!SWIG_IsOK(ecode2
)) {
27344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27346 arg2
= static_cast< wxDouble
>(val2
);
27347 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27348 if (!SWIG_IsOK(ecode3
)) {
27349 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27351 arg3
= static_cast< wxDouble
>(val3
);
27353 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27354 if (!SWIG_IsOK(ecode4
)) {
27355 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27357 arg4
= static_cast< int >(val4
);
27360 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27361 if (PyErr_Occurred()) SWIG_fail
;
27364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27372 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27373 PyObject
*resultobj
= 0;
27374 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27375 wxPoint2DDouble
*arg2
= 0 ;
27376 int arg3
= (int) wxODDEVEN_RULE
;
27385 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27387 if (!SWIG_IsOK(res1
)) {
27388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27390 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27391 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
27392 if (!SWIG_IsOK(res2
)) {
27393 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27398 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
27400 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27401 if (!SWIG_IsOK(ecode3
)) {
27402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27404 arg3
= static_cast< int >(val3
);
27407 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
27408 if (PyErr_Occurred()) SWIG_fail
;
27411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27419 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27423 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27425 if ((argc
>= 2) && (argc
<= 3)) {
27428 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
27429 _v
= SWIG_CheckState(res
);
27431 if (!_v
) goto check_1
;
27435 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27436 _v
= SWIG_CheckState(res
);
27439 if (!_v
) goto check_1
;
27441 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27445 if ((argc
>= 3) && (argc
<= 4)) {
27446 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27450 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27455 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27457 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27458 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27459 return SWIG_Py_Void();
27462 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27463 return SWIG_Python_InitShadowInstance(args
);
27466 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27467 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27472 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27473 PyObject
*pyobj
= 0;
27475 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27480 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27481 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27486 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27487 PyObject
*pyobj
= 0;
27489 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27494 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27495 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27500 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27501 PyObject
*pyobj
= 0;
27503 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27508 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27509 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27514 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27515 PyObject
*pyobj
= 0;
27517 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27522 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27523 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27528 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27529 PyObject
*pyobj
= 0;
27531 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27536 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27537 PyObject
*resultobj
= 0;
27538 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27541 PyObject
*swig_obj
[1] ;
27543 if (!args
) SWIG_fail
;
27544 swig_obj
[0] = args
;
27545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27546 if (!SWIG_IsOK(res1
)) {
27547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27549 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27553 if (PyErr_Occurred()) SWIG_fail
;
27555 resultobj
= SWIG_Py_Void();
27562 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27563 PyObject
*resultobj
= 0;
27564 wxWindowDC
*arg1
= 0 ;
27565 wxGraphicsContext
*result
= 0 ;
27569 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27571 if (!SWIG_IsOK(res1
)) {
27572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27575 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27577 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27579 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27580 if (PyErr_Occurred()) SWIG_fail
;
27582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27589 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27590 PyObject
*resultobj
= 0;
27591 wxWindow
*arg1
= (wxWindow
*) 0 ;
27592 wxGraphicsContext
*result
= 0 ;
27596 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27598 if (!SWIG_IsOK(res1
)) {
27599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27601 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27603 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27604 if (PyErr_Occurred()) SWIG_fail
;
27606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27613 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27617 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27622 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27623 _v
= SWIG_CheckState(res
);
27625 if (!_v
) goto check_1
;
27626 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27631 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27635 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27640 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27641 PyObject
*resultobj
= 0;
27642 wxGraphicsContext
*result
= 0 ;
27644 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
27646 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
27647 if (PyErr_Occurred()) SWIG_fail
;
27649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27656 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27657 PyObject
*resultobj
= 0;
27658 void *arg1
= (void *) 0 ;
27659 wxGraphicsContext
*result
= 0 ;
27661 PyObject
* obj0
= 0 ;
27662 char * kwnames
[] = {
27663 (char *) "context", NULL
27666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27667 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27668 if (!SWIG_IsOK(res1
)) {
27669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27672 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27673 if (PyErr_Occurred()) SWIG_fail
;
27675 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27682 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27683 PyObject
*resultobj
= 0;
27684 void *arg1
= (void *) 0 ;
27685 wxGraphicsContext
*result
= 0 ;
27687 PyObject
* obj0
= 0 ;
27688 char * kwnames
[] = {
27689 (char *) "window", NULL
27692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27693 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27694 if (!SWIG_IsOK(res1
)) {
27695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27698 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27699 if (PyErr_Occurred()) SWIG_fail
;
27701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27708 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27709 PyObject
*resultobj
= 0;
27710 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27711 wxGraphicsPath result
;
27714 PyObject
*swig_obj
[1] ;
27716 if (!args
) SWIG_fail
;
27717 swig_obj
[0] = args
;
27718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27719 if (!SWIG_IsOK(res1
)) {
27720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27722 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27724 result
= (arg1
)->CreatePath();
27725 if (PyErr_Occurred()) SWIG_fail
;
27727 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27734 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27735 PyObject
*resultobj
= 0;
27736 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27738 wxGraphicsPen result
;
27743 PyObject
* obj0
= 0 ;
27744 PyObject
* obj1
= 0 ;
27745 char * kwnames
[] = {
27746 (char *) "self",(char *) "pen", NULL
27749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27751 if (!SWIG_IsOK(res1
)) {
27752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27754 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27755 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27756 if (!SWIG_IsOK(res2
)) {
27757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27760 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27762 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27764 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27765 if (PyErr_Occurred()) SWIG_fail
;
27767 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27774 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27775 PyObject
*resultobj
= 0;
27776 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27777 wxBrush
*arg2
= 0 ;
27778 wxGraphicsBrush result
;
27783 PyObject
* obj0
= 0 ;
27784 PyObject
* obj1
= 0 ;
27785 char * kwnames
[] = {
27786 (char *) "self",(char *) "brush", NULL
27789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27791 if (!SWIG_IsOK(res1
)) {
27792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27794 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27795 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27796 if (!SWIG_IsOK(res2
)) {
27797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27800 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27802 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27804 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27805 if (PyErr_Occurred()) SWIG_fail
;
27807 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27814 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27815 PyObject
*resultobj
= 0;
27816 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27821 wxColour
*arg6
= 0 ;
27822 wxColour
*arg7
= 0 ;
27823 wxGraphicsBrush result
;
27836 PyObject
* obj0
= 0 ;
27837 PyObject
* obj1
= 0 ;
27838 PyObject
* obj2
= 0 ;
27839 PyObject
* obj3
= 0 ;
27840 PyObject
* obj4
= 0 ;
27841 PyObject
* obj5
= 0 ;
27842 PyObject
* obj6
= 0 ;
27843 char * kwnames
[] = {
27844 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27849 if (!SWIG_IsOK(res1
)) {
27850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27852 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27853 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27854 if (!SWIG_IsOK(ecode2
)) {
27855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27857 arg2
= static_cast< wxDouble
>(val2
);
27858 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27859 if (!SWIG_IsOK(ecode3
)) {
27860 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27862 arg3
= static_cast< wxDouble
>(val3
);
27863 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27864 if (!SWIG_IsOK(ecode4
)) {
27865 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27867 arg4
= static_cast< wxDouble
>(val4
);
27868 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27869 if (!SWIG_IsOK(ecode5
)) {
27870 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27872 arg5
= static_cast< wxDouble
>(val5
);
27875 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27879 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27882 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
27883 if (PyErr_Occurred()) SWIG_fail
;
27885 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27892 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27893 PyObject
*resultobj
= 0;
27894 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27900 wxColour
*arg7
= 0 ;
27901 wxColour
*arg8
= 0 ;
27902 wxGraphicsBrush result
;
27917 PyObject
* obj0
= 0 ;
27918 PyObject
* obj1
= 0 ;
27919 PyObject
* obj2
= 0 ;
27920 PyObject
* obj3
= 0 ;
27921 PyObject
* obj4
= 0 ;
27922 PyObject
* obj5
= 0 ;
27923 PyObject
* obj6
= 0 ;
27924 PyObject
* obj7
= 0 ;
27925 char * kwnames
[] = {
27926 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
27929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
27930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27931 if (!SWIG_IsOK(res1
)) {
27932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27934 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27935 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27936 if (!SWIG_IsOK(ecode2
)) {
27937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27939 arg2
= static_cast< wxDouble
>(val2
);
27940 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27941 if (!SWIG_IsOK(ecode3
)) {
27942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27944 arg3
= static_cast< wxDouble
>(val3
);
27945 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27946 if (!SWIG_IsOK(ecode4
)) {
27947 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27949 arg4
= static_cast< wxDouble
>(val4
);
27950 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27951 if (!SWIG_IsOK(ecode5
)) {
27952 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27954 arg5
= static_cast< wxDouble
>(val5
);
27955 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27956 if (!SWIG_IsOK(ecode6
)) {
27957 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
27959 arg6
= static_cast< wxDouble
>(val6
);
27962 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27966 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
27969 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
27970 if (PyErr_Occurred()) SWIG_fail
;
27972 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27979 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27980 PyObject
*resultobj
= 0;
27981 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27983 wxColour
const &arg3_defvalue
= *wxBLACK
;
27984 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
27985 wxGraphicsFont result
;
27991 PyObject
* obj0
= 0 ;
27992 PyObject
* obj1
= 0 ;
27993 PyObject
* obj2
= 0 ;
27994 char * kwnames
[] = {
27995 (char *) "self",(char *) "font",(char *) "col", NULL
27998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28000 if (!SWIG_IsOK(res1
)) {
28001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28003 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28004 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28005 if (!SWIG_IsOK(res2
)) {
28006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28011 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28015 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28019 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28020 if (PyErr_Occurred()) SWIG_fail
;
28022 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28029 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28030 PyObject
*resultobj
= 0;
28031 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28032 wxDouble arg2
= (wxDouble
) 1.0 ;
28033 wxDouble arg3
= (wxDouble
) 0.0 ;
28034 wxDouble arg4
= (wxDouble
) 0.0 ;
28035 wxDouble arg5
= (wxDouble
) 1.0 ;
28036 wxDouble arg6
= (wxDouble
) 0.0 ;
28037 wxDouble arg7
= (wxDouble
) 0.0 ;
28038 wxGraphicsMatrix result
;
28053 PyObject
* obj0
= 0 ;
28054 PyObject
* obj1
= 0 ;
28055 PyObject
* obj2
= 0 ;
28056 PyObject
* obj3
= 0 ;
28057 PyObject
* obj4
= 0 ;
28058 PyObject
* obj5
= 0 ;
28059 PyObject
* obj6
= 0 ;
28060 char * kwnames
[] = {
28061 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28066 if (!SWIG_IsOK(res1
)) {
28067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28069 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28071 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28072 if (!SWIG_IsOK(ecode2
)) {
28073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28075 arg2
= static_cast< wxDouble
>(val2
);
28078 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28079 if (!SWIG_IsOK(ecode3
)) {
28080 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28082 arg3
= static_cast< wxDouble
>(val3
);
28085 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28086 if (!SWIG_IsOK(ecode4
)) {
28087 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28089 arg4
= static_cast< wxDouble
>(val4
);
28092 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28093 if (!SWIG_IsOK(ecode5
)) {
28094 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28096 arg5
= static_cast< wxDouble
>(val5
);
28099 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28100 if (!SWIG_IsOK(ecode6
)) {
28101 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28103 arg6
= static_cast< wxDouble
>(val6
);
28106 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28107 if (!SWIG_IsOK(ecode7
)) {
28108 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28110 arg7
= static_cast< wxDouble
>(val7
);
28113 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28114 if (PyErr_Occurred()) SWIG_fail
;
28116 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28123 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28124 PyObject
*resultobj
= 0;
28125 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28128 PyObject
*swig_obj
[1] ;
28130 if (!args
) SWIG_fail
;
28131 swig_obj
[0] = args
;
28132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28133 if (!SWIG_IsOK(res1
)) {
28134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28136 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28138 (arg1
)->PushState();
28139 if (PyErr_Occurred()) SWIG_fail
;
28141 resultobj
= SWIG_Py_Void();
28148 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28149 PyObject
*resultobj
= 0;
28150 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28153 PyObject
*swig_obj
[1] ;
28155 if (!args
) SWIG_fail
;
28156 swig_obj
[0] = args
;
28157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28158 if (!SWIG_IsOK(res1
)) {
28159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28161 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28163 (arg1
)->PopState();
28164 if (PyErr_Occurred()) SWIG_fail
;
28166 resultobj
= SWIG_Py_Void();
28173 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28174 PyObject
*resultobj
= 0;
28175 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28176 wxRegion
*arg2
= 0 ;
28181 PyObject
* obj0
= 0 ;
28182 PyObject
* obj1
= 0 ;
28183 char * kwnames
[] = {
28184 (char *) "self",(char *) "region", NULL
28187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28189 if (!SWIG_IsOK(res1
)) {
28190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28192 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28193 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28194 if (!SWIG_IsOK(res2
)) {
28195 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28198 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28200 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28202 (arg1
)->Clip((wxRegion
const &)*arg2
);
28203 if (PyErr_Occurred()) SWIG_fail
;
28205 resultobj
= SWIG_Py_Void();
28212 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28213 PyObject
*resultobj
= 0;
28214 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28229 PyObject
* obj0
= 0 ;
28230 PyObject
* obj1
= 0 ;
28231 PyObject
* obj2
= 0 ;
28232 PyObject
* obj3
= 0 ;
28233 PyObject
* obj4
= 0 ;
28234 char * kwnames
[] = {
28235 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28240 if (!SWIG_IsOK(res1
)) {
28241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28243 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28244 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28245 if (!SWIG_IsOK(ecode2
)) {
28246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28248 arg2
= static_cast< wxDouble
>(val2
);
28249 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28250 if (!SWIG_IsOK(ecode3
)) {
28251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28253 arg3
= static_cast< wxDouble
>(val3
);
28254 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28255 if (!SWIG_IsOK(ecode4
)) {
28256 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28258 arg4
= static_cast< wxDouble
>(val4
);
28259 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28260 if (!SWIG_IsOK(ecode5
)) {
28261 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28263 arg5
= static_cast< wxDouble
>(val5
);
28265 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28266 if (PyErr_Occurred()) SWIG_fail
;
28268 resultobj
= SWIG_Py_Void();
28275 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28276 PyObject
*resultobj
= 0;
28277 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28280 PyObject
*swig_obj
[1] ;
28282 if (!args
) SWIG_fail
;
28283 swig_obj
[0] = args
;
28284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28285 if (!SWIG_IsOK(res1
)) {
28286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28288 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28290 (arg1
)->ResetClip();
28291 if (PyErr_Occurred()) SWIG_fail
;
28293 resultobj
= SWIG_Py_Void();
28300 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28301 PyObject
*resultobj
= 0;
28302 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28306 PyObject
*swig_obj
[1] ;
28308 if (!args
) SWIG_fail
;
28309 swig_obj
[0] = args
;
28310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28311 if (!SWIG_IsOK(res1
)) {
28312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28314 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28316 result
= (void *)(arg1
)->GetNativeContext();
28317 if (PyErr_Occurred()) SWIG_fail
;
28319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28326 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28327 PyObject
*resultobj
= 0;
28328 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28337 PyObject
* obj0
= 0 ;
28338 PyObject
* obj1
= 0 ;
28339 PyObject
* obj2
= 0 ;
28340 char * kwnames
[] = {
28341 (char *) "self",(char *) "dx",(char *) "dy", NULL
28344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28346 if (!SWIG_IsOK(res1
)) {
28347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28349 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28350 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28351 if (!SWIG_IsOK(ecode2
)) {
28352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28354 arg2
= static_cast< wxDouble
>(val2
);
28355 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28356 if (!SWIG_IsOK(ecode3
)) {
28357 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28359 arg3
= static_cast< wxDouble
>(val3
);
28361 (arg1
)->Translate(arg2
,arg3
);
28362 if (PyErr_Occurred()) SWIG_fail
;
28364 resultobj
= SWIG_Py_Void();
28371 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28372 PyObject
*resultobj
= 0;
28373 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28382 PyObject
* obj0
= 0 ;
28383 PyObject
* obj1
= 0 ;
28384 PyObject
* obj2
= 0 ;
28385 char * kwnames
[] = {
28386 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28391 if (!SWIG_IsOK(res1
)) {
28392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28394 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28395 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28396 if (!SWIG_IsOK(ecode2
)) {
28397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28399 arg2
= static_cast< wxDouble
>(val2
);
28400 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28401 if (!SWIG_IsOK(ecode3
)) {
28402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28404 arg3
= static_cast< wxDouble
>(val3
);
28406 (arg1
)->Scale(arg2
,arg3
);
28407 if (PyErr_Occurred()) SWIG_fail
;
28409 resultobj
= SWIG_Py_Void();
28416 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28417 PyObject
*resultobj
= 0;
28418 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28424 PyObject
* obj0
= 0 ;
28425 PyObject
* obj1
= 0 ;
28426 char * kwnames
[] = {
28427 (char *) "self",(char *) "angle", NULL
28430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28432 if (!SWIG_IsOK(res1
)) {
28433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28435 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28436 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28437 if (!SWIG_IsOK(ecode2
)) {
28438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28440 arg2
= static_cast< wxDouble
>(val2
);
28442 (arg1
)->Rotate(arg2
);
28443 if (PyErr_Occurred()) SWIG_fail
;
28445 resultobj
= SWIG_Py_Void();
28452 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28453 PyObject
*resultobj
= 0;
28454 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28455 wxGraphicsMatrix
*arg2
= 0 ;
28460 PyObject
* obj0
= 0 ;
28461 PyObject
* obj1
= 0 ;
28462 char * kwnames
[] = {
28463 (char *) "self",(char *) "matrix", NULL
28466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28468 if (!SWIG_IsOK(res1
)) {
28469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28471 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28472 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28473 if (!SWIG_IsOK(res2
)) {
28474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28479 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28481 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28482 if (PyErr_Occurred()) SWIG_fail
;
28484 resultobj
= SWIG_Py_Void();
28491 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28492 PyObject
*resultobj
= 0;
28493 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28494 wxGraphicsMatrix
*arg2
= 0 ;
28499 PyObject
* obj0
= 0 ;
28500 PyObject
* obj1
= 0 ;
28501 char * kwnames
[] = {
28502 (char *) "self",(char *) "matrix", NULL
28505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28507 if (!SWIG_IsOK(res1
)) {
28508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28510 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28511 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28512 if (!SWIG_IsOK(res2
)) {
28513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28518 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28520 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28521 if (PyErr_Occurred()) SWIG_fail
;
28523 resultobj
= SWIG_Py_Void();
28530 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28531 PyObject
*resultobj
= 0;
28532 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28533 wxGraphicsMatrix result
;
28536 PyObject
*swig_obj
[1] ;
28538 if (!args
) SWIG_fail
;
28539 swig_obj
[0] = args
;
28540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28541 if (!SWIG_IsOK(res1
)) {
28542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28544 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28546 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28547 if (PyErr_Occurred()) SWIG_fail
;
28549 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28556 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28557 PyObject
*resultobj
= 0;
28558 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28559 wxGraphicsPen
*arg2
= 0 ;
28565 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28567 if (!SWIG_IsOK(res1
)) {
28568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28570 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28571 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28572 if (!SWIG_IsOK(res2
)) {
28573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28578 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28580 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28581 if (PyErr_Occurred()) SWIG_fail
;
28583 resultobj
= SWIG_Py_Void();
28590 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28591 PyObject
*resultobj
= 0;
28592 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28599 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28601 if (!SWIG_IsOK(res1
)) {
28602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28604 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28605 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28606 if (!SWIG_IsOK(res2
)) {
28607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28612 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28614 (arg1
)->SetPen((wxPen
const &)*arg2
);
28615 if (PyErr_Occurred()) SWIG_fail
;
28617 resultobj
= SWIG_Py_Void();
28624 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28628 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28633 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28634 _v
= SWIG_CheckState(res
);
28636 if (!_v
) goto check_1
;
28637 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28642 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28646 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28651 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28652 PyObject
*resultobj
= 0;
28653 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28654 wxGraphicsBrush
*arg2
= 0 ;
28660 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28662 if (!SWIG_IsOK(res1
)) {
28663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28665 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28666 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28667 if (!SWIG_IsOK(res2
)) {
28668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28673 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28675 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28676 if (PyErr_Occurred()) SWIG_fail
;
28678 resultobj
= SWIG_Py_Void();
28685 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28686 PyObject
*resultobj
= 0;
28687 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28688 wxBrush
*arg2
= 0 ;
28694 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28696 if (!SWIG_IsOK(res1
)) {
28697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28699 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28700 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28701 if (!SWIG_IsOK(res2
)) {
28702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28705 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28707 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28709 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28710 if (PyErr_Occurred()) SWIG_fail
;
28712 resultobj
= SWIG_Py_Void();
28719 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28723 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28728 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28729 _v
= SWIG_CheckState(res
);
28731 if (!_v
) goto check_1
;
28732 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28737 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28741 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28746 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28747 PyObject
*resultobj
= 0;
28748 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28749 wxGraphicsFont
*arg2
= 0 ;
28755 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28757 if (!SWIG_IsOK(res1
)) {
28758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28760 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28761 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28762 if (!SWIG_IsOK(res2
)) {
28763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28768 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28770 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28771 if (PyErr_Occurred()) SWIG_fail
;
28773 resultobj
= SWIG_Py_Void();
28780 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28781 PyObject
*resultobj
= 0;
28782 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28784 wxColour
const &arg3_defvalue
= *wxBLACK
;
28785 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28792 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28794 if (!SWIG_IsOK(res1
)) {
28795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28797 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28798 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28799 if (!SWIG_IsOK(res2
)) {
28800 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28803 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28805 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28809 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
28813 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28814 if (PyErr_Occurred()) SWIG_fail
;
28816 resultobj
= SWIG_Py_Void();
28823 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
28827 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
28832 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
28833 _v
= SWIG_CheckState(res
);
28835 if (!_v
) goto check_1
;
28836 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
28840 if ((argc
>= 2) && (argc
<= 3)) {
28841 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
28845 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
28850 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28851 PyObject
*resultobj
= 0;
28852 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28853 wxGraphicsPath
*arg2
= 0 ;
28858 PyObject
* obj0
= 0 ;
28859 PyObject
* obj1
= 0 ;
28860 char * kwnames
[] = {
28861 (char *) "self",(char *) "path", NULL
28864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28866 if (!SWIG_IsOK(res1
)) {
28867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28869 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28870 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28871 if (!SWIG_IsOK(res2
)) {
28872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28875 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28877 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28879 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
28880 if (PyErr_Occurred()) SWIG_fail
;
28882 resultobj
= SWIG_Py_Void();
28889 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28890 PyObject
*resultobj
= 0;
28891 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28892 wxGraphicsPath
*arg2
= 0 ;
28893 int arg3
= (int) wxODDEVEN_RULE
;
28900 PyObject
* obj0
= 0 ;
28901 PyObject
* obj1
= 0 ;
28902 PyObject
* obj2
= 0 ;
28903 char * kwnames
[] = {
28904 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28909 if (!SWIG_IsOK(res1
)) {
28910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28912 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28913 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28914 if (!SWIG_IsOK(res2
)) {
28915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28920 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28922 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28923 if (!SWIG_IsOK(ecode3
)) {
28924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
28926 arg3
= static_cast< int >(val3
);
28929 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
28930 if (PyErr_Occurred()) SWIG_fail
;
28932 resultobj
= SWIG_Py_Void();
28939 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28940 PyObject
*resultobj
= 0;
28941 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28942 wxGraphicsPath
*arg2
= 0 ;
28943 int arg3
= (int) wxODDEVEN_RULE
;
28950 PyObject
* obj0
= 0 ;
28951 PyObject
* obj1
= 0 ;
28952 PyObject
* obj2
= 0 ;
28953 char * kwnames
[] = {
28954 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28959 if (!SWIG_IsOK(res1
)) {
28960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28962 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28963 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28964 if (!SWIG_IsOK(res2
)) {
28965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28970 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28973 if (!SWIG_IsOK(ecode3
)) {
28974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
28976 arg3
= static_cast< int >(val3
);
28979 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
28980 if (PyErr_Occurred()) SWIG_fail
;
28982 resultobj
= SWIG_Py_Void();
28989 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28990 PyObject
*resultobj
= 0;
28991 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28992 wxString
*arg2
= 0 ;
28995 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
28996 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
28999 bool temp2
= false ;
29006 PyObject
* obj0
= 0 ;
29007 PyObject
* obj1
= 0 ;
29008 PyObject
* obj2
= 0 ;
29009 PyObject
* obj3
= 0 ;
29010 PyObject
* obj4
= 0 ;
29011 char * kwnames
[] = {
29012 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
29015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29017 if (!SWIG_IsOK(res1
)) {
29018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29020 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29022 arg2
= wxString_in_helper(obj1
);
29023 if (arg2
== NULL
) SWIG_fail
;
29026 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29027 if (!SWIG_IsOK(ecode3
)) {
29028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29030 arg3
= static_cast< wxDouble
>(val3
);
29031 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29032 if (!SWIG_IsOK(ecode4
)) {
29033 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29035 arg4
= static_cast< wxDouble
>(val4
);
29037 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29038 if (!SWIG_IsOK(res5
)) {
29039 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29044 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29047 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29048 if (PyErr_Occurred()) SWIG_fail
;
29050 resultobj
= SWIG_Py_Void();
29065 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29066 PyObject
*resultobj
= 0;
29067 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29068 wxString
*arg2
= 0 ;
29072 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
29073 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
29076 bool temp2
= false ;
29085 PyObject
* obj0
= 0 ;
29086 PyObject
* obj1
= 0 ;
29087 PyObject
* obj2
= 0 ;
29088 PyObject
* obj3
= 0 ;
29089 PyObject
* obj4
= 0 ;
29090 PyObject
* obj5
= 0 ;
29091 char * kwnames
[] = {
29092 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
29095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29097 if (!SWIG_IsOK(res1
)) {
29098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29100 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29102 arg2
= wxString_in_helper(obj1
);
29103 if (arg2
== NULL
) SWIG_fail
;
29106 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29107 if (!SWIG_IsOK(ecode3
)) {
29108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29110 arg3
= static_cast< wxDouble
>(val3
);
29111 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29112 if (!SWIG_IsOK(ecode4
)) {
29113 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29115 arg4
= static_cast< wxDouble
>(val4
);
29116 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29117 if (!SWIG_IsOK(ecode5
)) {
29118 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29120 arg5
= static_cast< wxDouble
>(val5
);
29122 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29123 if (!SWIG_IsOK(res6
)) {
29124 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29127 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29129 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
29132 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
29133 if (PyErr_Occurred()) SWIG_fail
;
29135 resultobj
= SWIG_Py_Void();
29150 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29151 PyObject
*resultobj
= 0;
29152 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29153 wxString
*arg2
= 0 ;
29154 wxDouble
*arg3
= (wxDouble
*) 0 ;
29155 wxDouble
*arg4
= (wxDouble
*) 0 ;
29156 wxDouble
*arg5
= (wxDouble
*) 0 ;
29157 wxDouble
*arg6
= (wxDouble
*) 0 ;
29160 bool temp2
= false ;
29162 int res3
= SWIG_TMPOBJ
;
29164 int res4
= SWIG_TMPOBJ
;
29166 int res5
= SWIG_TMPOBJ
;
29168 int res6
= SWIG_TMPOBJ
;
29169 PyObject
* obj0
= 0 ;
29170 PyObject
* obj1
= 0 ;
29171 char * kwnames
[] = {
29172 (char *) "self",(char *) "text", NULL
29179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29181 if (!SWIG_IsOK(res1
)) {
29182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29184 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29186 arg2
= wxString_in_helper(obj1
);
29187 if (arg2
== NULL
) SWIG_fail
;
29191 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29192 if (PyErr_Occurred()) SWIG_fail
;
29194 resultobj
= SWIG_Py_Void();
29195 if (SWIG_IsTmpObj(res3
)) {
29196 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29198 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29199 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29201 if (SWIG_IsTmpObj(res4
)) {
29202 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29204 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29205 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29207 if (SWIG_IsTmpObj(res5
)) {
29208 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29210 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29211 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29213 if (SWIG_IsTmpObj(res6
)) {
29214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29216 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29217 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29233 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29234 PyObject
*resultobj
= 0;
29235 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29236 wxString
*arg2
= 0 ;
29237 PyObject
*result
= 0 ;
29240 bool temp2
= false ;
29241 PyObject
* obj0
= 0 ;
29242 PyObject
* obj1
= 0 ;
29243 char * kwnames
[] = {
29244 (char *) "self",(char *) "text", NULL
29247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29249 if (!SWIG_IsOK(res1
)) {
29250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29252 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29254 arg2
= wxString_in_helper(obj1
);
29255 if (arg2
== NULL
) SWIG_fail
;
29259 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29260 if (PyErr_Occurred()) SWIG_fail
;
29262 resultobj
= result
;
29277 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29278 PyObject
*resultobj
= 0;
29279 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29280 wxString
*arg2
= 0 ;
29281 wxArrayDouble result
;
29284 bool temp2
= false ;
29285 PyObject
* obj0
= 0 ;
29286 PyObject
* obj1
= 0 ;
29287 char * kwnames
[] = {
29288 (char *) "self",(char *) "text", NULL
29291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29293 if (!SWIG_IsOK(res1
)) {
29294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29296 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29298 arg2
= wxString_in_helper(obj1
);
29299 if (arg2
== NULL
) SWIG_fail
;
29303 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29304 if (PyErr_Occurred()) SWIG_fail
;
29307 resultobj
= wxArrayDouble2PyList_helper(result
);
29323 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29324 PyObject
*resultobj
= 0;
29325 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29326 wxBitmap
*arg2
= 0 ;
29343 PyObject
* obj0
= 0 ;
29344 PyObject
* obj1
= 0 ;
29345 PyObject
* obj2
= 0 ;
29346 PyObject
* obj3
= 0 ;
29347 PyObject
* obj4
= 0 ;
29348 PyObject
* obj5
= 0 ;
29349 char * kwnames
[] = {
29350 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29355 if (!SWIG_IsOK(res1
)) {
29356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29358 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29359 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29360 if (!SWIG_IsOK(res2
)) {
29361 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29364 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29366 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29367 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29368 if (!SWIG_IsOK(ecode3
)) {
29369 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29371 arg3
= static_cast< wxDouble
>(val3
);
29372 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29373 if (!SWIG_IsOK(ecode4
)) {
29374 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29376 arg4
= static_cast< wxDouble
>(val4
);
29377 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29378 if (!SWIG_IsOK(ecode5
)) {
29379 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29381 arg5
= static_cast< wxDouble
>(val5
);
29382 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29383 if (!SWIG_IsOK(ecode6
)) {
29384 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29386 arg6
= static_cast< wxDouble
>(val6
);
29388 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29389 if (PyErr_Occurred()) SWIG_fail
;
29391 resultobj
= SWIG_Py_Void();
29398 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29399 PyObject
*resultobj
= 0;
29400 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29418 PyObject
* obj0
= 0 ;
29419 PyObject
* obj1
= 0 ;
29420 PyObject
* obj2
= 0 ;
29421 PyObject
* obj3
= 0 ;
29422 PyObject
* obj4
= 0 ;
29423 PyObject
* obj5
= 0 ;
29424 char * kwnames
[] = {
29425 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29430 if (!SWIG_IsOK(res1
)) {
29431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29433 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29434 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29435 if (!SWIG_IsOK(res2
)) {
29436 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29439 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29441 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29442 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29443 if (!SWIG_IsOK(ecode3
)) {
29444 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29446 arg3
= static_cast< wxDouble
>(val3
);
29447 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29448 if (!SWIG_IsOK(ecode4
)) {
29449 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29451 arg4
= static_cast< wxDouble
>(val4
);
29452 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29453 if (!SWIG_IsOK(ecode5
)) {
29454 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29456 arg5
= static_cast< wxDouble
>(val5
);
29457 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29458 if (!SWIG_IsOK(ecode6
)) {
29459 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29461 arg6
= static_cast< wxDouble
>(val6
);
29463 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29464 if (PyErr_Occurred()) SWIG_fail
;
29466 resultobj
= SWIG_Py_Void();
29473 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29474 PyObject
*resultobj
= 0;
29475 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29490 PyObject
* obj0
= 0 ;
29491 PyObject
* obj1
= 0 ;
29492 PyObject
* obj2
= 0 ;
29493 PyObject
* obj3
= 0 ;
29494 PyObject
* obj4
= 0 ;
29495 char * kwnames
[] = {
29496 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29501 if (!SWIG_IsOK(res1
)) {
29502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29504 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29505 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29506 if (!SWIG_IsOK(ecode2
)) {
29507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29509 arg2
= static_cast< wxDouble
>(val2
);
29510 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29511 if (!SWIG_IsOK(ecode3
)) {
29512 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29514 arg3
= static_cast< wxDouble
>(val3
);
29515 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29516 if (!SWIG_IsOK(ecode4
)) {
29517 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29519 arg4
= static_cast< wxDouble
>(val4
);
29520 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29521 if (!SWIG_IsOK(ecode5
)) {
29522 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29524 arg5
= static_cast< wxDouble
>(val5
);
29526 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29527 if (PyErr_Occurred()) SWIG_fail
;
29529 resultobj
= SWIG_Py_Void();
29536 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29537 PyObject
*resultobj
= 0;
29538 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29540 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29543 PyObject
* obj0
= 0 ;
29544 PyObject
* obj1
= 0 ;
29545 char * kwnames
[] = {
29546 (char *) "self",(char *) "points", NULL
29549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29551 if (!SWIG_IsOK(res1
)) {
29552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29554 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29556 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29557 if (arg3
== NULL
) SWIG_fail
;
29560 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29561 if (PyErr_Occurred()) SWIG_fail
;
29563 resultobj
= SWIG_Py_Void();
29565 if (arg3
) delete [] arg3
;
29570 if (arg3
) delete [] arg3
;
29576 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29577 PyObject
*resultobj
= 0;
29578 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29579 PyObject
*arg2
= (PyObject
*) 0 ;
29580 PyObject
*arg3
= (PyObject
*) 0 ;
29583 PyObject
* obj0
= 0 ;
29584 PyObject
* obj1
= 0 ;
29585 PyObject
* obj2
= 0 ;
29586 char * kwnames
[] = {
29587 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29592 if (!SWIG_IsOK(res1
)) {
29593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29595 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29599 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29600 if (PyErr_Occurred()) SWIG_fail
;
29602 resultobj
= SWIG_Py_Void();
29609 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29610 PyObject
*resultobj
= 0;
29611 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29613 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29614 int arg4
= (int) wxODDEVEN_RULE
;
29619 PyObject
* obj0
= 0 ;
29620 PyObject
* obj1
= 0 ;
29621 PyObject
* obj2
= 0 ;
29622 char * kwnames
[] = {
29623 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29628 if (!SWIG_IsOK(res1
)) {
29629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29631 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29633 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29634 if (arg3
== NULL
) SWIG_fail
;
29637 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29638 if (!SWIG_IsOK(ecode4
)) {
29639 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29641 arg4
= static_cast< int >(val4
);
29644 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29645 if (PyErr_Occurred()) SWIG_fail
;
29647 resultobj
= SWIG_Py_Void();
29649 if (arg3
) delete [] arg3
;
29654 if (arg3
) delete [] arg3
;
29660 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29661 PyObject
*resultobj
= 0;
29662 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29677 PyObject
* obj0
= 0 ;
29678 PyObject
* obj1
= 0 ;
29679 PyObject
* obj2
= 0 ;
29680 PyObject
* obj3
= 0 ;
29681 PyObject
* obj4
= 0 ;
29682 char * kwnames
[] = {
29683 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29688 if (!SWIG_IsOK(res1
)) {
29689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29691 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29692 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29693 if (!SWIG_IsOK(ecode2
)) {
29694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29696 arg2
= static_cast< wxDouble
>(val2
);
29697 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29698 if (!SWIG_IsOK(ecode3
)) {
29699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29701 arg3
= static_cast< wxDouble
>(val3
);
29702 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29703 if (!SWIG_IsOK(ecode4
)) {
29704 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29706 arg4
= static_cast< wxDouble
>(val4
);
29707 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29708 if (!SWIG_IsOK(ecode5
)) {
29709 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29711 arg5
= static_cast< wxDouble
>(val5
);
29713 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29714 if (PyErr_Occurred()) SWIG_fail
;
29716 resultobj
= SWIG_Py_Void();
29723 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29724 PyObject
*resultobj
= 0;
29725 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29740 PyObject
* obj0
= 0 ;
29741 PyObject
* obj1
= 0 ;
29742 PyObject
* obj2
= 0 ;
29743 PyObject
* obj3
= 0 ;
29744 PyObject
* obj4
= 0 ;
29745 char * kwnames
[] = {
29746 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29751 if (!SWIG_IsOK(res1
)) {
29752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29754 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29755 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29756 if (!SWIG_IsOK(ecode2
)) {
29757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29759 arg2
= static_cast< wxDouble
>(val2
);
29760 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29761 if (!SWIG_IsOK(ecode3
)) {
29762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29764 arg3
= static_cast< wxDouble
>(val3
);
29765 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29766 if (!SWIG_IsOK(ecode4
)) {
29767 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29769 arg4
= static_cast< wxDouble
>(val4
);
29770 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29771 if (!SWIG_IsOK(ecode5
)) {
29772 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29774 arg5
= static_cast< wxDouble
>(val5
);
29776 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29777 if (PyErr_Occurred()) SWIG_fail
;
29779 resultobj
= SWIG_Py_Void();
29786 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29787 PyObject
*resultobj
= 0;
29788 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29806 PyObject
* obj0
= 0 ;
29807 PyObject
* obj1
= 0 ;
29808 PyObject
* obj2
= 0 ;
29809 PyObject
* obj3
= 0 ;
29810 PyObject
* obj4
= 0 ;
29811 PyObject
* obj5
= 0 ;
29812 char * kwnames
[] = {
29813 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
29816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29818 if (!SWIG_IsOK(res1
)) {
29819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29821 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29822 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29823 if (!SWIG_IsOK(ecode2
)) {
29824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29826 arg2
= static_cast< wxDouble
>(val2
);
29827 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29828 if (!SWIG_IsOK(ecode3
)) {
29829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29831 arg3
= static_cast< wxDouble
>(val3
);
29832 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29833 if (!SWIG_IsOK(ecode4
)) {
29834 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29836 arg4
= static_cast< wxDouble
>(val4
);
29837 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29838 if (!SWIG_IsOK(ecode5
)) {
29839 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29841 arg5
= static_cast< wxDouble
>(val5
);
29842 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29843 if (!SWIG_IsOK(ecode6
)) {
29844 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
29846 arg6
= static_cast< wxDouble
>(val6
);
29848 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29849 if (PyErr_Occurred()) SWIG_fail
;
29851 resultobj
= SWIG_Py_Void();
29858 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29859 PyObject
*resultobj
= 0;
29860 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29864 PyObject
*swig_obj
[1] ;
29866 if (!args
) SWIG_fail
;
29867 swig_obj
[0] = args
;
29868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29869 if (!SWIG_IsOK(res1
)) {
29870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29872 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29874 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
29875 if (PyErr_Occurred()) SWIG_fail
;
29878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29886 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29888 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29889 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
29890 return SWIG_Py_Void();
29893 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29894 PyObject
*resultobj
= 0;
29895 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29898 PyObject
*swig_obj
[1] ;
29900 if (!args
) SWIG_fail
;
29901 swig_obj
[0] = args
;
29902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
29903 if (!SWIG_IsOK(res1
)) {
29904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29906 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29910 if (PyErr_Occurred()) SWIG_fail
;
29912 resultobj
= SWIG_Py_Void();
29919 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29920 PyObject
*resultobj
= 0;
29921 wxGraphicsRenderer
*result
= 0 ;
29923 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
29925 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
29926 if (PyErr_Occurred()) SWIG_fail
;
29928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29935 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29936 PyObject
*resultobj
= 0;
29937 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29938 wxWindowDC
*arg2
= 0 ;
29939 wxGraphicsContext
*result
= 0 ;
29945 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29947 if (!SWIG_IsOK(res1
)) {
29948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29950 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29951 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
29952 if (!SWIG_IsOK(res2
)) {
29953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29958 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
29960 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
29961 if (PyErr_Occurred()) SWIG_fail
;
29963 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29970 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29971 PyObject
*resultobj
= 0;
29972 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29973 wxWindow
*arg2
= (wxWindow
*) 0 ;
29974 wxGraphicsContext
*result
= 0 ;
29980 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29982 if (!SWIG_IsOK(res1
)) {
29983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29985 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29986 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29987 if (!SWIG_IsOK(res2
)) {
29988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
29990 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29992 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
29993 if (PyErr_Occurred()) SWIG_fail
;
29995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30002 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30006 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30011 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30012 _v
= SWIG_CheckState(res
);
30014 if (!_v
) goto check_1
;
30015 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30020 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30024 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30029 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30030 PyObject
*resultobj
= 0;
30031 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30032 wxGraphicsContext
*result
= 0 ;
30035 PyObject
*swig_obj
[1] ;
30037 if (!args
) SWIG_fail
;
30038 swig_obj
[0] = args
;
30039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30040 if (!SWIG_IsOK(res1
)) {
30041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30043 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30045 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30046 if (PyErr_Occurred()) SWIG_fail
;
30048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30055 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30056 PyObject
*resultobj
= 0;
30057 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30058 void *arg2
= (void *) 0 ;
30059 wxGraphicsContext
*result
= 0 ;
30063 PyObject
* obj0
= 0 ;
30064 PyObject
* obj1
= 0 ;
30065 char * kwnames
[] = {
30066 (char *) "self",(char *) "context", NULL
30069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30071 if (!SWIG_IsOK(res1
)) {
30072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30074 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30075 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30076 if (!SWIG_IsOK(res2
)) {
30077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30080 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30081 if (PyErr_Occurred()) SWIG_fail
;
30083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30090 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30091 PyObject
*resultobj
= 0;
30092 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30093 void *arg2
= (void *) 0 ;
30094 wxGraphicsContext
*result
= 0 ;
30098 PyObject
* obj0
= 0 ;
30099 PyObject
* obj1
= 0 ;
30100 char * kwnames
[] = {
30101 (char *) "self",(char *) "window", NULL
30104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30106 if (!SWIG_IsOK(res1
)) {
30107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30109 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30110 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30111 if (!SWIG_IsOK(res2
)) {
30112 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30115 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30116 if (PyErr_Occurred()) SWIG_fail
;
30118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30125 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30126 PyObject
*resultobj
= 0;
30127 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30128 wxGraphicsPath result
;
30131 PyObject
*swig_obj
[1] ;
30133 if (!args
) SWIG_fail
;
30134 swig_obj
[0] = args
;
30135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30136 if (!SWIG_IsOK(res1
)) {
30137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30139 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30141 result
= (arg1
)->CreatePath();
30142 if (PyErr_Occurred()) SWIG_fail
;
30144 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30151 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30152 PyObject
*resultobj
= 0;
30153 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30154 wxDouble arg2
= (wxDouble
) 1.0 ;
30155 wxDouble arg3
= (wxDouble
) 0.0 ;
30156 wxDouble arg4
= (wxDouble
) 0.0 ;
30157 wxDouble arg5
= (wxDouble
) 1.0 ;
30158 wxDouble arg6
= (wxDouble
) 0.0 ;
30159 wxDouble arg7
= (wxDouble
) 0.0 ;
30160 wxGraphicsMatrix result
;
30175 PyObject
* obj0
= 0 ;
30176 PyObject
* obj1
= 0 ;
30177 PyObject
* obj2
= 0 ;
30178 PyObject
* obj3
= 0 ;
30179 PyObject
* obj4
= 0 ;
30180 PyObject
* obj5
= 0 ;
30181 PyObject
* obj6
= 0 ;
30182 char * kwnames
[] = {
30183 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30188 if (!SWIG_IsOK(res1
)) {
30189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30191 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30193 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30194 if (!SWIG_IsOK(ecode2
)) {
30195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30197 arg2
= static_cast< wxDouble
>(val2
);
30200 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30201 if (!SWIG_IsOK(ecode3
)) {
30202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30204 arg3
= static_cast< wxDouble
>(val3
);
30207 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30208 if (!SWIG_IsOK(ecode4
)) {
30209 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30211 arg4
= static_cast< wxDouble
>(val4
);
30214 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30215 if (!SWIG_IsOK(ecode5
)) {
30216 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30218 arg5
= static_cast< wxDouble
>(val5
);
30221 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30222 if (!SWIG_IsOK(ecode6
)) {
30223 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30225 arg6
= static_cast< wxDouble
>(val6
);
30228 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30229 if (!SWIG_IsOK(ecode7
)) {
30230 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30232 arg7
= static_cast< wxDouble
>(val7
);
30235 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30236 if (PyErr_Occurred()) SWIG_fail
;
30238 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30245 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30246 PyObject
*resultobj
= 0;
30247 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30249 wxGraphicsPen result
;
30254 PyObject
* obj0
= 0 ;
30255 PyObject
* obj1
= 0 ;
30256 char * kwnames
[] = {
30257 (char *) "self",(char *) "pen", NULL
30260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30262 if (!SWIG_IsOK(res1
)) {
30263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30265 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30266 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30267 if (!SWIG_IsOK(res2
)) {
30268 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30271 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30273 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30275 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30276 if (PyErr_Occurred()) SWIG_fail
;
30278 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30285 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30286 PyObject
*resultobj
= 0;
30287 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30288 wxBrush
*arg2
= 0 ;
30289 wxGraphicsBrush result
;
30294 PyObject
* obj0
= 0 ;
30295 PyObject
* obj1
= 0 ;
30296 char * kwnames
[] = {
30297 (char *) "self",(char *) "brush", NULL
30300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30302 if (!SWIG_IsOK(res1
)) {
30303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30305 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30306 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30307 if (!SWIG_IsOK(res2
)) {
30308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30311 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30313 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30315 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30316 if (PyErr_Occurred()) SWIG_fail
;
30318 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30325 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30326 PyObject
*resultobj
= 0;
30327 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30332 wxColour
*arg6
= 0 ;
30333 wxColour
*arg7
= 0 ;
30334 wxGraphicsBrush result
;
30347 PyObject
* obj0
= 0 ;
30348 PyObject
* obj1
= 0 ;
30349 PyObject
* obj2
= 0 ;
30350 PyObject
* obj3
= 0 ;
30351 PyObject
* obj4
= 0 ;
30352 PyObject
* obj5
= 0 ;
30353 PyObject
* obj6
= 0 ;
30354 char * kwnames
[] = {
30355 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30360 if (!SWIG_IsOK(res1
)) {
30361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30363 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30364 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30365 if (!SWIG_IsOK(ecode2
)) {
30366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30368 arg2
= static_cast< wxDouble
>(val2
);
30369 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30370 if (!SWIG_IsOK(ecode3
)) {
30371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30373 arg3
= static_cast< wxDouble
>(val3
);
30374 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30375 if (!SWIG_IsOK(ecode4
)) {
30376 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30378 arg4
= static_cast< wxDouble
>(val4
);
30379 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30380 if (!SWIG_IsOK(ecode5
)) {
30381 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30383 arg5
= static_cast< wxDouble
>(val5
);
30386 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30390 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30393 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30394 if (PyErr_Occurred()) SWIG_fail
;
30396 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30403 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30404 PyObject
*resultobj
= 0;
30405 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30411 wxColour
*arg7
= 0 ;
30412 wxColour
*arg8
= 0 ;
30413 wxGraphicsBrush result
;
30428 PyObject
* obj0
= 0 ;
30429 PyObject
* obj1
= 0 ;
30430 PyObject
* obj2
= 0 ;
30431 PyObject
* obj3
= 0 ;
30432 PyObject
* obj4
= 0 ;
30433 PyObject
* obj5
= 0 ;
30434 PyObject
* obj6
= 0 ;
30435 PyObject
* obj7
= 0 ;
30436 char * kwnames
[] = {
30437 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30442 if (!SWIG_IsOK(res1
)) {
30443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30445 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30446 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30447 if (!SWIG_IsOK(ecode2
)) {
30448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30450 arg2
= static_cast< wxDouble
>(val2
);
30451 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30452 if (!SWIG_IsOK(ecode3
)) {
30453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30455 arg3
= static_cast< wxDouble
>(val3
);
30456 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30457 if (!SWIG_IsOK(ecode4
)) {
30458 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30460 arg4
= static_cast< wxDouble
>(val4
);
30461 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30462 if (!SWIG_IsOK(ecode5
)) {
30463 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30465 arg5
= static_cast< wxDouble
>(val5
);
30466 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30467 if (!SWIG_IsOK(ecode6
)) {
30468 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30470 arg6
= static_cast< wxDouble
>(val6
);
30473 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30477 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30480 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30481 if (PyErr_Occurred()) SWIG_fail
;
30483 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30490 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30491 PyObject
*resultobj
= 0;
30492 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30494 wxColour
const &arg3_defvalue
= *wxBLACK
;
30495 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30496 wxGraphicsFont result
;
30502 PyObject
* obj0
= 0 ;
30503 PyObject
* obj1
= 0 ;
30504 PyObject
* obj2
= 0 ;
30505 char * kwnames
[] = {
30506 (char *) "self",(char *) "font",(char *) "col", NULL
30509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30511 if (!SWIG_IsOK(res1
)) {
30512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30514 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30515 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30516 if (!SWIG_IsOK(res2
)) {
30517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30522 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30526 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30530 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30531 if (PyErr_Occurred()) SWIG_fail
;
30533 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30540 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30542 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30543 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30544 return SWIG_Py_Void();
30547 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30548 PyObject
*resultobj
= 0;
30549 wxWindowDC
*arg1
= 0 ;
30550 wxGCDC
*result
= 0 ;
30553 PyObject
* obj0
= 0 ;
30554 char * kwnames
[] = {
30555 (char *) "dc", NULL
30558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
30559 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30560 if (!SWIG_IsOK(res1
)) {
30561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30566 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30568 if (!wxPyCheckForApp()) SWIG_fail
;
30569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30570 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30571 wxPyEndAllowThreads(__tstate
);
30572 if (PyErr_Occurred()) SWIG_fail
;
30574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30581 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30582 PyObject
*resultobj
= 0;
30583 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30586 PyObject
*swig_obj
[1] ;
30588 if (!args
) SWIG_fail
;
30589 swig_obj
[0] = args
;
30590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30591 if (!SWIG_IsOK(res1
)) {
30592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30594 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30598 if (PyErr_Occurred()) SWIG_fail
;
30600 resultobj
= SWIG_Py_Void();
30607 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30608 PyObject
*resultobj
= 0;
30609 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30610 wxGraphicsContext
*result
= 0 ;
30613 PyObject
*swig_obj
[1] ;
30615 if (!args
) SWIG_fail
;
30616 swig_obj
[0] = args
;
30617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30618 if (!SWIG_IsOK(res1
)) {
30619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30621 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30623 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30624 if (PyErr_Occurred()) SWIG_fail
;
30626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30633 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30634 PyObject
*resultobj
= 0;
30635 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30636 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30641 PyObject
* obj0
= 0 ;
30642 PyObject
* obj1
= 0 ;
30643 char * kwnames
[] = {
30644 (char *) "self",(char *) "ctx", NULL
30647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30649 if (!SWIG_IsOK(res1
)) {
30650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30652 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30653 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30654 if (!SWIG_IsOK(res2
)) {
30655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30657 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30659 (arg1
)->SetGraphicsContext(arg2
);
30660 if (PyErr_Occurred()) SWIG_fail
;
30662 resultobj
= SWIG_Py_Void();
30669 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30671 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30672 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30673 return SWIG_Py_Void();
30676 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30677 return SWIG_Python_InitShadowInstance(args
);
30680 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30681 PyObject
*resultobj
= 0;
30682 wxOverlay
*result
= 0 ;
30684 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30687 result
= (wxOverlay
*)new wxOverlay();
30688 wxPyEndAllowThreads(__tstate
);
30689 if (PyErr_Occurred()) SWIG_fail
;
30691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30698 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30699 PyObject
*resultobj
= 0;
30700 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30703 PyObject
*swig_obj
[1] ;
30705 if (!args
) SWIG_fail
;
30706 swig_obj
[0] = args
;
30707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30708 if (!SWIG_IsOK(res1
)) {
30709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30711 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30716 wxPyEndAllowThreads(__tstate
);
30717 if (PyErr_Occurred()) SWIG_fail
;
30719 resultobj
= SWIG_Py_Void();
30726 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30727 PyObject
*resultobj
= 0;
30728 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30731 PyObject
*swig_obj
[1] ;
30733 if (!args
) SWIG_fail
;
30734 swig_obj
[0] = args
;
30735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30736 if (!SWIG_IsOK(res1
)) {
30737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30739 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30743 wxPyEndAllowThreads(__tstate
);
30744 if (PyErr_Occurred()) SWIG_fail
;
30746 resultobj
= SWIG_Py_Void();
30753 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30755 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30756 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
30757 return SWIG_Py_Void();
30760 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30761 return SWIG_Python_InitShadowInstance(args
);
30764 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30765 PyObject
*resultobj
= 0;
30766 wxOverlay
*arg1
= 0 ;
30767 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30772 wxDCOverlay
*result
= 0 ;
30786 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
30787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30788 if (!SWIG_IsOK(res1
)) {
30789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30792 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30794 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30795 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30796 if (!SWIG_IsOK(res2
)) {
30797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30799 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30800 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
30801 if (!SWIG_IsOK(ecode3
)) {
30802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
30804 arg3
= static_cast< int >(val3
);
30805 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
30806 if (!SWIG_IsOK(ecode4
)) {
30807 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
30809 arg4
= static_cast< int >(val4
);
30810 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
30811 if (!SWIG_IsOK(ecode5
)) {
30812 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
30814 arg5
= static_cast< int >(val5
);
30815 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
30816 if (!SWIG_IsOK(ecode6
)) {
30817 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
30819 arg6
= static_cast< int >(val6
);
30821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30822 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30823 wxPyEndAllowThreads(__tstate
);
30824 if (PyErr_Occurred()) SWIG_fail
;
30826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30833 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30834 PyObject
*resultobj
= 0;
30835 wxOverlay
*arg1
= 0 ;
30836 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30837 wxDCOverlay
*result
= 0 ;
30843 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30845 if (!SWIG_IsOK(res1
)) {
30846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30849 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30851 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30852 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30853 if (!SWIG_IsOK(res2
)) {
30854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30856 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30859 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
30860 wxPyEndAllowThreads(__tstate
);
30861 if (PyErr_Occurred()) SWIG_fail
;
30863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30870 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
30874 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
30877 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
30880 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
30884 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
30889 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30890 PyObject
*resultobj
= 0;
30891 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30894 PyObject
*swig_obj
[1] ;
30896 if (!args
) SWIG_fail
;
30897 swig_obj
[0] = args
;
30898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
30899 if (!SWIG_IsOK(res1
)) {
30900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30902 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30907 wxPyEndAllowThreads(__tstate
);
30908 if (PyErr_Occurred()) SWIG_fail
;
30910 resultobj
= SWIG_Py_Void();
30917 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30918 PyObject
*resultobj
= 0;
30919 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30922 PyObject
*swig_obj
[1] ;
30924 if (!args
) SWIG_fail
;
30925 swig_obj
[0] = args
;
30926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
30927 if (!SWIG_IsOK(res1
)) {
30928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30930 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30934 wxPyEndAllowThreads(__tstate
);
30935 if (PyErr_Occurred()) SWIG_fail
;
30937 resultobj
= SWIG_Py_Void();
30944 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30946 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30947 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
30948 return SWIG_Py_Void();
30951 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30952 return SWIG_Python_InitShadowInstance(args
);
30955 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30956 PyObject
*resultobj
= 0;
30959 int arg3
= (int) true ;
30960 int arg4
= (int) 1 ;
30961 wxImageList
*result
= 0 ;
30970 PyObject
* obj0
= 0 ;
30971 PyObject
* obj1
= 0 ;
30972 PyObject
* obj2
= 0 ;
30973 PyObject
* obj3
= 0 ;
30974 char * kwnames
[] = {
30975 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
30978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30979 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30980 if (!SWIG_IsOK(ecode1
)) {
30981 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
30983 arg1
= static_cast< int >(val1
);
30984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30985 if (!SWIG_IsOK(ecode2
)) {
30986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
30988 arg2
= static_cast< int >(val2
);
30990 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30991 if (!SWIG_IsOK(ecode3
)) {
30992 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
30994 arg3
= static_cast< int >(val3
);
30997 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30998 if (!SWIG_IsOK(ecode4
)) {
30999 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31001 arg4
= static_cast< int >(val4
);
31004 if (!wxPyCheckForApp()) SWIG_fail
;
31005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31006 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31007 wxPyEndAllowThreads(__tstate
);
31008 if (PyErr_Occurred()) SWIG_fail
;
31010 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31017 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31018 PyObject
*resultobj
= 0;
31019 wxImageList
*arg1
= (wxImageList
*) 0 ;
31022 PyObject
*swig_obj
[1] ;
31024 if (!args
) SWIG_fail
;
31025 swig_obj
[0] = args
;
31026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31027 if (!SWIG_IsOK(res1
)) {
31028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31030 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31035 wxPyEndAllowThreads(__tstate
);
31036 if (PyErr_Occurred()) SWIG_fail
;
31038 resultobj
= SWIG_Py_Void();
31045 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31046 PyObject
*resultobj
= 0;
31047 wxImageList
*arg1
= (wxImageList
*) 0 ;
31048 wxBitmap
*arg2
= 0 ;
31049 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31050 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31058 PyObject
* obj0
= 0 ;
31059 PyObject
* obj1
= 0 ;
31060 PyObject
* obj2
= 0 ;
31061 char * kwnames
[] = {
31062 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31067 if (!SWIG_IsOK(res1
)) {
31068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31070 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31071 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31072 if (!SWIG_IsOK(res2
)) {
31073 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31076 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31078 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31080 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31081 if (!SWIG_IsOK(res3
)) {
31082 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31085 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31087 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31091 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31092 wxPyEndAllowThreads(__tstate
);
31093 if (PyErr_Occurred()) SWIG_fail
;
31095 resultobj
= SWIG_From_int(static_cast< int >(result
));
31102 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31103 PyObject
*resultobj
= 0;
31104 wxImageList
*arg1
= (wxImageList
*) 0 ;
31105 wxBitmap
*arg2
= 0 ;
31106 wxColour
*arg3
= 0 ;
31113 PyObject
* obj0
= 0 ;
31114 PyObject
* obj1
= 0 ;
31115 PyObject
* obj2
= 0 ;
31116 char * kwnames
[] = {
31117 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31122 if (!SWIG_IsOK(res1
)) {
31123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31125 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31126 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31127 if (!SWIG_IsOK(res2
)) {
31128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31133 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31136 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31140 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31141 wxPyEndAllowThreads(__tstate
);
31142 if (PyErr_Occurred()) SWIG_fail
;
31144 resultobj
= SWIG_From_int(static_cast< int >(result
));
31151 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31152 PyObject
*resultobj
= 0;
31153 wxImageList
*arg1
= (wxImageList
*) 0 ;
31160 PyObject
* obj0
= 0 ;
31161 PyObject
* obj1
= 0 ;
31162 char * kwnames
[] = {
31163 (char *) "self",(char *) "icon", NULL
31166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31168 if (!SWIG_IsOK(res1
)) {
31169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31171 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31172 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31173 if (!SWIG_IsOK(res2
)) {
31174 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31177 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31179 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31182 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31183 wxPyEndAllowThreads(__tstate
);
31184 if (PyErr_Occurred()) SWIG_fail
;
31186 resultobj
= SWIG_From_int(static_cast< int >(result
));
31193 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31194 PyObject
*resultobj
= 0;
31195 wxImageList
*arg1
= (wxImageList
*) 0 ;
31197 SwigValueWrapper
<wxBitmap
> result
;
31202 PyObject
* obj0
= 0 ;
31203 PyObject
* obj1
= 0 ;
31204 char * kwnames
[] = {
31205 (char *) "self",(char *) "index", NULL
31208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31210 if (!SWIG_IsOK(res1
)) {
31211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31213 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31215 if (!SWIG_IsOK(ecode2
)) {
31216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31218 arg2
= static_cast< int >(val2
);
31220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31221 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31222 wxPyEndAllowThreads(__tstate
);
31223 if (PyErr_Occurred()) SWIG_fail
;
31225 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31232 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31233 PyObject
*resultobj
= 0;
31234 wxImageList
*arg1
= (wxImageList
*) 0 ;
31241 PyObject
* obj0
= 0 ;
31242 PyObject
* obj1
= 0 ;
31243 char * kwnames
[] = {
31244 (char *) "self",(char *) "index", NULL
31247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31249 if (!SWIG_IsOK(res1
)) {
31250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31252 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31254 if (!SWIG_IsOK(ecode2
)) {
31255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31257 arg2
= static_cast< int >(val2
);
31259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31260 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31261 wxPyEndAllowThreads(__tstate
);
31262 if (PyErr_Occurred()) SWIG_fail
;
31264 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31271 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31272 PyObject
*resultobj
= 0;
31273 wxImageList
*arg1
= (wxImageList
*) 0 ;
31275 wxBitmap
*arg3
= 0 ;
31276 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31277 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31287 PyObject
* obj0
= 0 ;
31288 PyObject
* obj1
= 0 ;
31289 PyObject
* obj2
= 0 ;
31290 PyObject
* obj3
= 0 ;
31291 char * kwnames
[] = {
31292 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31297 if (!SWIG_IsOK(res1
)) {
31298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31300 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31302 if (!SWIG_IsOK(ecode2
)) {
31303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31305 arg2
= static_cast< int >(val2
);
31306 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31307 if (!SWIG_IsOK(res3
)) {
31308 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31311 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31313 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31315 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31316 if (!SWIG_IsOK(res4
)) {
31317 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31320 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31322 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31326 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31327 wxPyEndAllowThreads(__tstate
);
31328 if (PyErr_Occurred()) SWIG_fail
;
31331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31339 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31340 PyObject
*resultobj
= 0;
31341 wxImageList
*arg1
= (wxImageList
*) 0 ;
31346 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31347 bool arg7
= (bool) (bool)false ;
31363 PyObject
* obj0
= 0 ;
31364 PyObject
* obj1
= 0 ;
31365 PyObject
* obj2
= 0 ;
31366 PyObject
* obj3
= 0 ;
31367 PyObject
* obj4
= 0 ;
31368 PyObject
* obj5
= 0 ;
31369 PyObject
* obj6
= 0 ;
31370 char * kwnames
[] = {
31371 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31376 if (!SWIG_IsOK(res1
)) {
31377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31379 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31381 if (!SWIG_IsOK(ecode2
)) {
31382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31384 arg2
= static_cast< int >(val2
);
31385 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31386 if (!SWIG_IsOK(res3
)) {
31387 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31390 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31392 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31393 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31394 if (!SWIG_IsOK(ecode4
)) {
31395 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31397 arg4
= static_cast< int >(val4
);
31398 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31399 if (!SWIG_IsOK(ecode5
)) {
31400 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31402 arg5
= static_cast< int >(val5
);
31404 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31405 if (!SWIG_IsOK(ecode6
)) {
31406 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31408 arg6
= static_cast< int >(val6
);
31411 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31412 if (!SWIG_IsOK(ecode7
)) {
31413 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31415 arg7
= static_cast< bool >(val7
);
31418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31419 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31420 wxPyEndAllowThreads(__tstate
);
31421 if (PyErr_Occurred()) SWIG_fail
;
31424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31432 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31433 PyObject
*resultobj
= 0;
31434 wxImageList
*arg1
= (wxImageList
*) 0 ;
31438 PyObject
*swig_obj
[1] ;
31440 if (!args
) SWIG_fail
;
31441 swig_obj
[0] = args
;
31442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31443 if (!SWIG_IsOK(res1
)) {
31444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31446 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31449 result
= (int)(arg1
)->GetImageCount();
31450 wxPyEndAllowThreads(__tstate
);
31451 if (PyErr_Occurred()) SWIG_fail
;
31453 resultobj
= SWIG_From_int(static_cast< int >(result
));
31460 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31461 PyObject
*resultobj
= 0;
31462 wxImageList
*arg1
= (wxImageList
*) 0 ;
31469 PyObject
* obj0
= 0 ;
31470 PyObject
* obj1
= 0 ;
31471 char * kwnames
[] = {
31472 (char *) "self",(char *) "index", NULL
31475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31477 if (!SWIG_IsOK(res1
)) {
31478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31480 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31482 if (!SWIG_IsOK(ecode2
)) {
31483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31485 arg2
= static_cast< int >(val2
);
31487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31488 result
= (bool)(arg1
)->Remove(arg2
);
31489 wxPyEndAllowThreads(__tstate
);
31490 if (PyErr_Occurred()) SWIG_fail
;
31493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31501 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31502 PyObject
*resultobj
= 0;
31503 wxImageList
*arg1
= (wxImageList
*) 0 ;
31507 PyObject
*swig_obj
[1] ;
31509 if (!args
) SWIG_fail
;
31510 swig_obj
[0] = args
;
31511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31512 if (!SWIG_IsOK(res1
)) {
31513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31515 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31518 result
= (bool)(arg1
)->RemoveAll();
31519 wxPyEndAllowThreads(__tstate
);
31520 if (PyErr_Occurred()) SWIG_fail
;
31523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31531 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31532 PyObject
*resultobj
= 0;
31533 wxImageList
*arg1
= (wxImageList
*) 0 ;
31542 int res3
= SWIG_TMPOBJ
;
31544 int res4
= SWIG_TMPOBJ
;
31545 PyObject
* obj0
= 0 ;
31546 PyObject
* obj1
= 0 ;
31547 char * kwnames
[] = {
31548 (char *) "self",(char *) "index", NULL
31553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31555 if (!SWIG_IsOK(res1
)) {
31556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31558 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31560 if (!SWIG_IsOK(ecode2
)) {
31561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31563 arg2
= static_cast< int >(val2
);
31565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31566 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31567 wxPyEndAllowThreads(__tstate
);
31568 if (PyErr_Occurred()) SWIG_fail
;
31570 resultobj
= SWIG_Py_Void();
31571 if (SWIG_IsTmpObj(res3
)) {
31572 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31574 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31575 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31577 if (SWIG_IsTmpObj(res4
)) {
31578 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31580 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31581 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31589 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31591 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31592 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31593 return SWIG_Py_Void();
31596 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31597 return SWIG_Python_InitShadowInstance(args
);
31600 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31601 PyObject
*resultobj
= 0;
31602 wxStockGDI
*result
= 0 ;
31604 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31607 result
= (wxStockGDI
*)new wxStockGDI();
31608 wxPyEndAllowThreads(__tstate
);
31609 if (PyErr_Occurred()) SWIG_fail
;
31611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31618 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31619 PyObject
*resultobj
= 0;
31620 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31623 PyObject
*swig_obj
[1] ;
31625 if (!args
) SWIG_fail
;
31626 swig_obj
[0] = args
;
31627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31628 if (!SWIG_IsOK(res1
)) {
31629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31631 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31636 wxPyEndAllowThreads(__tstate
);
31637 if (PyErr_Occurred()) SWIG_fail
;
31639 resultobj
= SWIG_Py_Void();
31646 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31647 PyObject
*resultobj
= 0;
31649 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31652 wxStockGDI::DeleteAll();
31653 wxPyEndAllowThreads(__tstate
);
31654 if (PyErr_Occurred()) SWIG_fail
;
31656 resultobj
= SWIG_Py_Void();
31663 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31664 PyObject
*resultobj
= 0;
31665 wxStockGDI
*result
= 0 ;
31667 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31671 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31672 result
= (wxStockGDI
*) &_result_ref
;
31674 wxPyEndAllowThreads(__tstate
);
31675 if (PyErr_Occurred()) SWIG_fail
;
31677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31684 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31685 PyObject
*resultobj
= 0;
31686 wxStockGDI::Item arg1
;
31687 wxBrush
*result
= 0 ;
31690 PyObject
* obj0
= 0 ;
31691 char * kwnames
[] = {
31692 (char *) "item", NULL
31695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31696 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31697 if (!SWIG_IsOK(ecode1
)) {
31698 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31700 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31703 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31704 wxPyEndAllowThreads(__tstate
);
31705 if (PyErr_Occurred()) SWIG_fail
;
31707 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31714 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31715 PyObject
*resultobj
= 0;
31716 wxStockGDI::Item arg1
;
31717 wxColour
*result
= 0 ;
31720 PyObject
* obj0
= 0 ;
31721 char * kwnames
[] = {
31722 (char *) "item", NULL
31725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31726 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31727 if (!SWIG_IsOK(ecode1
)) {
31728 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31730 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31733 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31734 wxPyEndAllowThreads(__tstate
);
31735 if (PyErr_Occurred()) SWIG_fail
;
31737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31744 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31745 PyObject
*resultobj
= 0;
31746 wxStockGDI::Item arg1
;
31747 wxCursor
*result
= 0 ;
31750 PyObject
* obj0
= 0 ;
31751 char * kwnames
[] = {
31752 (char *) "item", NULL
31755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
31756 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31757 if (!SWIG_IsOK(ecode1
)) {
31758 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31760 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31763 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
31764 wxPyEndAllowThreads(__tstate
);
31765 if (PyErr_Occurred()) SWIG_fail
;
31767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
31774 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31775 PyObject
*resultobj
= 0;
31776 wxStockGDI::Item arg1
;
31777 wxPen
*result
= 0 ;
31780 PyObject
* obj0
= 0 ;
31781 char * kwnames
[] = {
31782 (char *) "item", NULL
31785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
31786 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31787 if (!SWIG_IsOK(ecode1
)) {
31788 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31790 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31793 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
31794 wxPyEndAllowThreads(__tstate
);
31795 if (PyErr_Occurred()) SWIG_fail
;
31797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31804 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31805 PyObject
*resultobj
= 0;
31806 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31807 wxStockGDI::Item arg2
;
31808 wxFont
*result
= 0 ;
31813 PyObject
* obj0
= 0 ;
31814 PyObject
* obj1
= 0 ;
31815 char * kwnames
[] = {
31816 (char *) "self",(char *) "item", NULL
31819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31821 if (!SWIG_IsOK(res1
)) {
31822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31824 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31826 if (!SWIG_IsOK(ecode2
)) {
31827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
31829 arg2
= static_cast< wxStockGDI::Item
>(val2
);
31831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31832 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
31833 wxPyEndAllowThreads(__tstate
);
31834 if (PyErr_Occurred()) SWIG_fail
;
31836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
31843 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31845 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31846 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
31847 return SWIG_Py_Void();
31850 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31851 return SWIG_Python_InitShadowInstance(args
);
31854 SWIGINTERN
int NullBitmap_set(PyObject
*) {
31855 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
31860 SWIGINTERN PyObject
*NullBitmap_get(void) {
31861 PyObject
*pyobj
= 0;
31863 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
31868 SWIGINTERN
int NullIcon_set(PyObject
*) {
31869 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
31874 SWIGINTERN PyObject
*NullIcon_get(void) {
31875 PyObject
*pyobj
= 0;
31877 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
31882 SWIGINTERN
int NullCursor_set(PyObject
*) {
31883 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
31888 SWIGINTERN PyObject
*NullCursor_get(void) {
31889 PyObject
*pyobj
= 0;
31891 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
31896 SWIGINTERN
int NullPen_set(PyObject
*) {
31897 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
31902 SWIGINTERN PyObject
*NullPen_get(void) {
31903 PyObject
*pyobj
= 0;
31905 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
31910 SWIGINTERN
int NullBrush_set(PyObject
*) {
31911 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
31916 SWIGINTERN PyObject
*NullBrush_get(void) {
31917 PyObject
*pyobj
= 0;
31919 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
31924 SWIGINTERN
int NullPalette_set(PyObject
*) {
31925 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
31930 SWIGINTERN PyObject
*NullPalette_get(void) {
31931 PyObject
*pyobj
= 0;
31933 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
31938 SWIGINTERN
int NullFont_set(PyObject
*) {
31939 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
31944 SWIGINTERN PyObject
*NullFont_get(void) {
31945 PyObject
*pyobj
= 0;
31947 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
31952 SWIGINTERN
int NullColour_set(PyObject
*) {
31953 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
31958 SWIGINTERN PyObject
*NullColour_get(void) {
31959 PyObject
*pyobj
= 0;
31961 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
31966 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31967 PyObject
*resultobj
= 0;
31968 wxGDIObjListBase
*result
= 0 ;
31970 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
31972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31973 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
31974 wxPyEndAllowThreads(__tstate
);
31975 if (PyErr_Occurred()) SWIG_fail
;
31977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
31984 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31985 PyObject
*resultobj
= 0;
31986 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
31989 PyObject
*swig_obj
[1] ;
31991 if (!args
) SWIG_fail
;
31992 swig_obj
[0] = args
;
31993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
31994 if (!SWIG_IsOK(res1
)) {
31995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
31997 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
31999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32002 wxPyEndAllowThreads(__tstate
);
32003 if (PyErr_Occurred()) SWIG_fail
;
32005 resultobj
= SWIG_Py_Void();
32012 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32014 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32015 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32016 return SWIG_Py_Void();
32019 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32020 return SWIG_Python_InitShadowInstance(args
);
32023 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32024 PyObject
*resultobj
= 0;
32025 wxPenList
*arg1
= (wxPenList
*) 0 ;
32026 wxColour
*arg2
= 0 ;
32029 wxPen
*result
= 0 ;
32037 PyObject
* obj0
= 0 ;
32038 PyObject
* obj1
= 0 ;
32039 PyObject
* obj2
= 0 ;
32040 PyObject
* obj3
= 0 ;
32041 char * kwnames
[] = {
32042 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32047 if (!SWIG_IsOK(res1
)) {
32048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32050 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32053 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32055 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32056 if (!SWIG_IsOK(ecode3
)) {
32057 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32059 arg3
= static_cast< int >(val3
);
32060 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32061 if (!SWIG_IsOK(ecode4
)) {
32062 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32064 arg4
= static_cast< int >(val4
);
32066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32067 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32068 wxPyEndAllowThreads(__tstate
);
32069 if (PyErr_Occurred()) SWIG_fail
;
32071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32078 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32079 PyObject
*resultobj
= 0;
32080 wxPenList
*arg1
= (wxPenList
*) 0 ;
32081 wxPen
*arg2
= (wxPen
*) 0 ;
32086 PyObject
* obj0
= 0 ;
32087 PyObject
* obj1
= 0 ;
32088 char * kwnames
[] = {
32089 (char *) "self",(char *) "pen", NULL
32092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32094 if (!SWIG_IsOK(res1
)) {
32095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
32097 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32098 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32099 if (!SWIG_IsOK(res2
)) {
32100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
32102 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32105 (arg1
)->AddPen(arg2
);
32106 wxPyEndAllowThreads(__tstate
);
32107 if (PyErr_Occurred()) SWIG_fail
;
32109 resultobj
= SWIG_Py_Void();
32116 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32117 PyObject
*resultobj
= 0;
32118 wxPenList
*arg1
= (wxPenList
*) 0 ;
32119 wxPen
*arg2
= (wxPen
*) 0 ;
32124 PyObject
* obj0
= 0 ;
32125 PyObject
* obj1
= 0 ;
32126 char * kwnames
[] = {
32127 (char *) "self",(char *) "pen", NULL
32130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32132 if (!SWIG_IsOK(res1
)) {
32133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32135 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32136 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32137 if (!SWIG_IsOK(res2
)) {
32138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32140 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32143 (arg1
)->RemovePen(arg2
);
32144 wxPyEndAllowThreads(__tstate
);
32145 if (PyErr_Occurred()) SWIG_fail
;
32147 resultobj
= SWIG_Py_Void();
32154 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32156 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32157 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32158 return SWIG_Py_Void();
32161 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32162 PyObject
*resultobj
= 0;
32163 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32164 wxColour
*arg2
= 0 ;
32165 int arg3
= (int) wxSOLID
;
32166 wxBrush
*result
= 0 ;
32172 PyObject
* obj0
= 0 ;
32173 PyObject
* obj1
= 0 ;
32174 PyObject
* obj2
= 0 ;
32175 char * kwnames
[] = {
32176 (char *) "self",(char *) "colour",(char *) "style", NULL
32179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32181 if (!SWIG_IsOK(res1
)) {
32182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32184 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32187 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32190 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32191 if (!SWIG_IsOK(ecode3
)) {
32192 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32194 arg3
= static_cast< int >(val3
);
32197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32198 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32199 wxPyEndAllowThreads(__tstate
);
32200 if (PyErr_Occurred()) SWIG_fail
;
32202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32209 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32210 PyObject
*resultobj
= 0;
32211 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32212 wxBrush
*arg2
= (wxBrush
*) 0 ;
32217 PyObject
* obj0
= 0 ;
32218 PyObject
* obj1
= 0 ;
32219 char * kwnames
[] = {
32220 (char *) "self",(char *) "brush", NULL
32223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32225 if (!SWIG_IsOK(res1
)) {
32226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32228 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32229 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32230 if (!SWIG_IsOK(res2
)) {
32231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32233 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32236 (arg1
)->AddBrush(arg2
);
32237 wxPyEndAllowThreads(__tstate
);
32238 if (PyErr_Occurred()) SWIG_fail
;
32240 resultobj
= SWIG_Py_Void();
32247 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32248 PyObject
*resultobj
= 0;
32249 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32250 wxBrush
*arg2
= (wxBrush
*) 0 ;
32255 PyObject
* obj0
= 0 ;
32256 PyObject
* obj1
= 0 ;
32257 char * kwnames
[] = {
32258 (char *) "self",(char *) "brush", NULL
32261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32263 if (!SWIG_IsOK(res1
)) {
32264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32266 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32267 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32268 if (!SWIG_IsOK(res2
)) {
32269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32271 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32274 (arg1
)->RemoveBrush(arg2
);
32275 wxPyEndAllowThreads(__tstate
);
32276 if (PyErr_Occurred()) SWIG_fail
;
32278 resultobj
= SWIG_Py_Void();
32285 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32287 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32288 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32289 return SWIG_Py_Void();
32292 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32293 PyObject
*resultobj
= 0;
32294 wxFontList
*arg1
= (wxFontList
*) 0 ;
32299 bool arg6
= (bool) false ;
32300 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32301 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32302 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32303 wxFont
*result
= 0 ;
32316 bool temp7
= false ;
32319 PyObject
* obj0
= 0 ;
32320 PyObject
* obj1
= 0 ;
32321 PyObject
* obj2
= 0 ;
32322 PyObject
* obj3
= 0 ;
32323 PyObject
* obj4
= 0 ;
32324 PyObject
* obj5
= 0 ;
32325 PyObject
* obj6
= 0 ;
32326 PyObject
* obj7
= 0 ;
32327 char * kwnames
[] = {
32328 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32333 if (!SWIG_IsOK(res1
)) {
32334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32336 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32338 if (!SWIG_IsOK(ecode2
)) {
32339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32341 arg2
= static_cast< int >(val2
);
32342 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32343 if (!SWIG_IsOK(ecode3
)) {
32344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32346 arg3
= static_cast< int >(val3
);
32347 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32348 if (!SWIG_IsOK(ecode4
)) {
32349 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32351 arg4
= static_cast< int >(val4
);
32352 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32353 if (!SWIG_IsOK(ecode5
)) {
32354 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32356 arg5
= static_cast< int >(val5
);
32358 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32359 if (!SWIG_IsOK(ecode6
)) {
32360 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32362 arg6
= static_cast< bool >(val6
);
32366 arg7
= wxString_in_helper(obj6
);
32367 if (arg7
== NULL
) SWIG_fail
;
32372 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32373 if (!SWIG_IsOK(ecode8
)) {
32374 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32376 arg8
= static_cast< wxFontEncoding
>(val8
);
32379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32380 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32381 wxPyEndAllowThreads(__tstate
);
32382 if (PyErr_Occurred()) SWIG_fail
;
32384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32399 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32400 PyObject
*resultobj
= 0;
32401 wxFontList
*arg1
= (wxFontList
*) 0 ;
32402 wxFont
*arg2
= (wxFont
*) 0 ;
32407 PyObject
* obj0
= 0 ;
32408 PyObject
* obj1
= 0 ;
32409 char * kwnames
[] = {
32410 (char *) "self",(char *) "font", NULL
32413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32415 if (!SWIG_IsOK(res1
)) {
32416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32418 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32419 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32420 if (!SWIG_IsOK(res2
)) {
32421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32423 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32426 (arg1
)->AddFont(arg2
);
32427 wxPyEndAllowThreads(__tstate
);
32428 if (PyErr_Occurred()) SWIG_fail
;
32430 resultobj
= SWIG_Py_Void();
32437 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32438 PyObject
*resultobj
= 0;
32439 wxFontList
*arg1
= (wxFontList
*) 0 ;
32440 wxFont
*arg2
= (wxFont
*) 0 ;
32445 PyObject
* obj0
= 0 ;
32446 PyObject
* obj1
= 0 ;
32447 char * kwnames
[] = {
32448 (char *) "self",(char *) "font", NULL
32451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32453 if (!SWIG_IsOK(res1
)) {
32454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32456 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32457 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32458 if (!SWIG_IsOK(res2
)) {
32459 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32461 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32464 (arg1
)->RemoveFont(arg2
);
32465 wxPyEndAllowThreads(__tstate
);
32466 if (PyErr_Occurred()) SWIG_fail
;
32468 resultobj
= SWIG_Py_Void();
32475 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32477 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32478 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32479 return SWIG_Py_Void();
32482 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32483 PyObject
*resultobj
= 0;
32484 wxColourDatabase
*result
= 0 ;
32486 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32488 if (!wxPyCheckForApp()) SWIG_fail
;
32489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32490 result
= (wxColourDatabase
*)new wxColourDatabase();
32491 wxPyEndAllowThreads(__tstate
);
32492 if (PyErr_Occurred()) SWIG_fail
;
32494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32501 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32502 PyObject
*resultobj
= 0;
32503 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32506 PyObject
*swig_obj
[1] ;
32508 if (!args
) SWIG_fail
;
32509 swig_obj
[0] = args
;
32510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32511 if (!SWIG_IsOK(res1
)) {
32512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32514 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32519 wxPyEndAllowThreads(__tstate
);
32520 if (PyErr_Occurred()) SWIG_fail
;
32522 resultobj
= SWIG_Py_Void();
32529 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32530 PyObject
*resultobj
= 0;
32531 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32532 wxString
*arg2
= 0 ;
32536 bool temp2
= false ;
32537 PyObject
* obj0
= 0 ;
32538 PyObject
* obj1
= 0 ;
32539 char * kwnames
[] = {
32540 (char *) "self",(char *) "name", NULL
32543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32545 if (!SWIG_IsOK(res1
)) {
32546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32548 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32550 arg2
= wxString_in_helper(obj1
);
32551 if (arg2
== NULL
) SWIG_fail
;
32555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32556 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32557 wxPyEndAllowThreads(__tstate
);
32558 if (PyErr_Occurred()) SWIG_fail
;
32560 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32575 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32576 PyObject
*resultobj
= 0;
32577 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32578 wxColour
*arg2
= 0 ;
32583 PyObject
* obj0
= 0 ;
32584 PyObject
* obj1
= 0 ;
32585 char * kwnames
[] = {
32586 (char *) "self",(char *) "colour", NULL
32589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32591 if (!SWIG_IsOK(res1
)) {
32592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32594 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32597 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32601 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32602 wxPyEndAllowThreads(__tstate
);
32603 if (PyErr_Occurred()) SWIG_fail
;
32607 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32609 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32618 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32619 PyObject
*resultobj
= 0;
32620 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32621 wxString
*arg2
= 0 ;
32622 wxColour
*arg3
= 0 ;
32625 bool temp2
= false ;
32627 PyObject
* obj0
= 0 ;
32628 PyObject
* obj1
= 0 ;
32629 PyObject
* obj2
= 0 ;
32630 char * kwnames
[] = {
32631 (char *) "self",(char *) "name",(char *) "colour", NULL
32634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32636 if (!SWIG_IsOK(res1
)) {
32637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32639 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32641 arg2
= wxString_in_helper(obj1
);
32642 if (arg2
== NULL
) SWIG_fail
;
32647 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32651 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32652 wxPyEndAllowThreads(__tstate
);
32653 if (PyErr_Occurred()) SWIG_fail
;
32655 resultobj
= SWIG_Py_Void();
32670 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32671 PyObject
*resultobj
= 0;
32672 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32673 wxString
*arg2
= 0 ;
32679 bool temp2
= false ;
32686 PyObject
* obj0
= 0 ;
32687 PyObject
* obj1
= 0 ;
32688 PyObject
* obj2
= 0 ;
32689 PyObject
* obj3
= 0 ;
32690 PyObject
* obj4
= 0 ;
32691 char * kwnames
[] = {
32692 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32697 if (!SWIG_IsOK(res1
)) {
32698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32700 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32702 arg2
= wxString_in_helper(obj1
);
32703 if (arg2
== NULL
) SWIG_fail
;
32706 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32707 if (!SWIG_IsOK(ecode3
)) {
32708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32710 arg3
= static_cast< int >(val3
);
32711 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32712 if (!SWIG_IsOK(ecode4
)) {
32713 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32715 arg4
= static_cast< int >(val4
);
32716 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32717 if (!SWIG_IsOK(ecode5
)) {
32718 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32720 arg5
= static_cast< int >(val5
);
32722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32723 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32724 wxPyEndAllowThreads(__tstate
);
32725 if (PyErr_Occurred()) SWIG_fail
;
32727 resultobj
= SWIG_Py_Void();
32742 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32744 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32745 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32746 return SWIG_Py_Void();
32749 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32750 return SWIG_Python_InitShadowInstance(args
);
32753 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32754 PyObject
*resultobj
= 0;
32755 wxFontList
*result
= 0 ;
32757 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32760 result
= (wxFontList
*)_wxPyInitTheFontList();
32761 wxPyEndAllowThreads(__tstate
);
32762 if (PyErr_Occurred()) SWIG_fail
;
32764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
32771 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32772 PyObject
*resultobj
= 0;
32773 wxPenList
*result
= 0 ;
32775 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
32777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32778 result
= (wxPenList
*)_wxPyInitThePenList();
32779 wxPyEndAllowThreads(__tstate
);
32780 if (PyErr_Occurred()) SWIG_fail
;
32782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
32789 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32790 PyObject
*resultobj
= 0;
32791 wxBrushList
*result
= 0 ;
32793 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
32795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32796 result
= (wxBrushList
*)_wxPyInitTheBrushList();
32797 wxPyEndAllowThreads(__tstate
);
32798 if (PyErr_Occurred()) SWIG_fail
;
32800 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
32807 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32808 PyObject
*resultobj
= 0;
32809 wxColourDatabase
*result
= 0 ;
32811 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
32813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32814 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
32815 wxPyEndAllowThreads(__tstate
);
32816 if (PyErr_Occurred()) SWIG_fail
;
32818 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32825 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32826 PyObject
*resultobj
= 0;
32827 wxEffects
*result
= 0 ;
32829 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
32831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32832 result
= (wxEffects
*)new wxEffects();
32833 wxPyEndAllowThreads(__tstate
);
32834 if (PyErr_Occurred()) SWIG_fail
;
32836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
32843 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(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_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32857 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32860 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
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_GetLightShadow(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_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32885 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32888 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
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_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32900 PyObject
*resultobj
= 0;
32901 wxEffects
*arg1
= (wxEffects
*) 0 ;
32905 PyObject
*swig_obj
[1] ;
32907 if (!args
) SWIG_fail
;
32908 swig_obj
[0] = args
;
32909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32910 if (!SWIG_IsOK(res1
)) {
32911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32913 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32916 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
32917 wxPyEndAllowThreads(__tstate
);
32918 if (PyErr_Occurred()) SWIG_fail
;
32920 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32927 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32928 PyObject
*resultobj
= 0;
32929 wxEffects
*arg1
= (wxEffects
*) 0 ;
32933 PyObject
*swig_obj
[1] ;
32935 if (!args
) SWIG_fail
;
32936 swig_obj
[0] = args
;
32937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32938 if (!SWIG_IsOK(res1
)) {
32939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32941 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32944 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
32945 wxPyEndAllowThreads(__tstate
);
32946 if (PyErr_Occurred()) SWIG_fail
;
32948 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32955 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32956 PyObject
*resultobj
= 0;
32957 wxEffects
*arg1
= (wxEffects
*) 0 ;
32961 PyObject
*swig_obj
[1] ;
32963 if (!args
) SWIG_fail
;
32964 swig_obj
[0] = args
;
32965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32966 if (!SWIG_IsOK(res1
)) {
32967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32969 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32972 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
32973 wxPyEndAllowThreads(__tstate
);
32974 if (PyErr_Occurred()) SWIG_fail
;
32976 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32983 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32984 PyObject
*resultobj
= 0;
32985 wxEffects
*arg1
= (wxEffects
*) 0 ;
32986 wxColour
*arg2
= 0 ;
32990 PyObject
* obj0
= 0 ;
32991 PyObject
* obj1
= 0 ;
32992 char * kwnames
[] = {
32993 (char *) "self",(char *) "c", NULL
32996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32998 if (!SWIG_IsOK(res1
)) {
32999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33001 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33004 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33008 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33009 wxPyEndAllowThreads(__tstate
);
33010 if (PyErr_Occurred()) SWIG_fail
;
33012 resultobj
= SWIG_Py_Void();
33019 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33020 PyObject
*resultobj
= 0;
33021 wxEffects
*arg1
= (wxEffects
*) 0 ;
33022 wxColour
*arg2
= 0 ;
33026 PyObject
* obj0
= 0 ;
33027 PyObject
* obj1
= 0 ;
33028 char * kwnames
[] = {
33029 (char *) "self",(char *) "c", NULL
33032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33034 if (!SWIG_IsOK(res1
)) {
33035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33037 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33040 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33044 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33045 wxPyEndAllowThreads(__tstate
);
33046 if (PyErr_Occurred()) SWIG_fail
;
33048 resultobj
= SWIG_Py_Void();
33055 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33056 PyObject
*resultobj
= 0;
33057 wxEffects
*arg1
= (wxEffects
*) 0 ;
33058 wxColour
*arg2
= 0 ;
33062 PyObject
* obj0
= 0 ;
33063 PyObject
* obj1
= 0 ;
33064 char * kwnames
[] = {
33065 (char *) "self",(char *) "c", NULL
33068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33070 if (!SWIG_IsOK(res1
)) {
33071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33073 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33076 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33080 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33081 wxPyEndAllowThreads(__tstate
);
33082 if (PyErr_Occurred()) SWIG_fail
;
33084 resultobj
= SWIG_Py_Void();
33091 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33092 PyObject
*resultobj
= 0;
33093 wxEffects
*arg1
= (wxEffects
*) 0 ;
33094 wxColour
*arg2
= 0 ;
33098 PyObject
* obj0
= 0 ;
33099 PyObject
* obj1
= 0 ;
33100 char * kwnames
[] = {
33101 (char *) "self",(char *) "c", NULL
33104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) 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_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33109 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33112 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33116 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33117 wxPyEndAllowThreads(__tstate
);
33118 if (PyErr_Occurred()) SWIG_fail
;
33120 resultobj
= SWIG_Py_Void();
33127 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33128 PyObject
*resultobj
= 0;
33129 wxEffects
*arg1
= (wxEffects
*) 0 ;
33130 wxColour
*arg2
= 0 ;
33134 PyObject
* obj0
= 0 ;
33135 PyObject
* obj1
= 0 ;
33136 char * kwnames
[] = {
33137 (char *) "self",(char *) "c", NULL
33140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33142 if (!SWIG_IsOK(res1
)) {
33143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33145 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33148 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33152 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33153 wxPyEndAllowThreads(__tstate
);
33154 if (PyErr_Occurred()) SWIG_fail
;
33156 resultobj
= SWIG_Py_Void();
33163 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33164 PyObject
*resultobj
= 0;
33165 wxEffects
*arg1
= (wxEffects
*) 0 ;
33166 wxColour
*arg2
= 0 ;
33167 wxColour
*arg3
= 0 ;
33168 wxColour
*arg4
= 0 ;
33169 wxColour
*arg5
= 0 ;
33170 wxColour
*arg6
= 0 ;
33178 PyObject
* obj0
= 0 ;
33179 PyObject
* obj1
= 0 ;
33180 PyObject
* obj2
= 0 ;
33181 PyObject
* obj3
= 0 ;
33182 PyObject
* obj4
= 0 ;
33183 PyObject
* obj5
= 0 ;
33184 char * kwnames
[] = {
33185 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33190 if (!SWIG_IsOK(res1
)) {
33191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33193 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33196 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33200 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33204 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33208 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33212 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33216 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33217 wxPyEndAllowThreads(__tstate
);
33218 if (PyErr_Occurred()) SWIG_fail
;
33220 resultobj
= SWIG_Py_Void();
33227 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33228 PyObject
*resultobj
= 0;
33229 wxEffects
*arg1
= (wxEffects
*) 0 ;
33232 int arg4
= (int) 1 ;
33240 PyObject
* obj0
= 0 ;
33241 PyObject
* obj1
= 0 ;
33242 PyObject
* obj2
= 0 ;
33243 PyObject
* obj3
= 0 ;
33244 char * kwnames
[] = {
33245 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33250 if (!SWIG_IsOK(res1
)) {
33251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33253 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33254 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33255 if (!SWIG_IsOK(res2
)) {
33256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33259 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33261 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33264 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33267 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33268 if (!SWIG_IsOK(ecode4
)) {
33269 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33271 arg4
= static_cast< int >(val4
);
33274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33275 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33276 wxPyEndAllowThreads(__tstate
);
33277 if (PyErr_Occurred()) SWIG_fail
;
33279 resultobj
= SWIG_Py_Void();
33286 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33287 PyObject
*resultobj
= 0;
33288 wxEffects
*arg1
= (wxEffects
*) 0 ;
33291 wxBitmap
*arg4
= 0 ;
33300 PyObject
* obj0
= 0 ;
33301 PyObject
* obj1
= 0 ;
33302 PyObject
* obj2
= 0 ;
33303 PyObject
* obj3
= 0 ;
33304 char * kwnames
[] = {
33305 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33310 if (!SWIG_IsOK(res1
)) {
33311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33313 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33316 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33318 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33319 if (!SWIG_IsOK(res3
)) {
33320 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33325 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33326 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33327 if (!SWIG_IsOK(res4
)) {
33328 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33333 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33336 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33337 wxPyEndAllowThreads(__tstate
);
33338 if (PyErr_Occurred()) SWIG_fail
;
33341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33349 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33351 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33352 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33353 return SWIG_Py_Void();
33356 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33357 return SWIG_Python_InitShadowInstance(args
);
33360 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33361 PyObject
*resultobj
= 0;
33365 wxSplitterRenderParams
*result
= 0 ;
33372 PyObject
* obj0
= 0 ;
33373 PyObject
* obj1
= 0 ;
33374 PyObject
* obj2
= 0 ;
33375 char * kwnames
[] = {
33376 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33380 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33381 if (!SWIG_IsOK(ecode1
)) {
33382 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33384 arg1
= static_cast< int >(val1
);
33385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33386 if (!SWIG_IsOK(ecode2
)) {
33387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33389 arg2
= static_cast< int >(val2
);
33390 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33391 if (!SWIG_IsOK(ecode3
)) {
33392 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33394 arg3
= static_cast< bool >(val3
);
33396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33397 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33398 wxPyEndAllowThreads(__tstate
);
33399 if (PyErr_Occurred()) SWIG_fail
;
33401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33408 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33409 PyObject
*resultobj
= 0;
33410 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33413 PyObject
*swig_obj
[1] ;
33415 if (!args
) SWIG_fail
;
33416 swig_obj
[0] = args
;
33417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33418 if (!SWIG_IsOK(res1
)) {
33419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33421 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33426 wxPyEndAllowThreads(__tstate
);
33427 if (PyErr_Occurred()) SWIG_fail
;
33429 resultobj
= SWIG_Py_Void();
33436 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33437 PyObject
*resultobj
= 0;
33438 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33442 PyObject
*swig_obj
[1] ;
33444 if (!args
) SWIG_fail
;
33445 swig_obj
[0] = args
;
33446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33447 if (!SWIG_IsOK(res1
)) {
33448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33450 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33451 result
= (int)(int) ((arg1
)->widthSash
);
33452 resultobj
= SWIG_From_int(static_cast< int >(result
));
33459 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33460 PyObject
*resultobj
= 0;
33461 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33465 PyObject
*swig_obj
[1] ;
33467 if (!args
) SWIG_fail
;
33468 swig_obj
[0] = args
;
33469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33470 if (!SWIG_IsOK(res1
)) {
33471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33473 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33474 result
= (int)(int) ((arg1
)->border
);
33475 resultobj
= SWIG_From_int(static_cast< int >(result
));
33482 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33483 PyObject
*resultobj
= 0;
33484 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33488 PyObject
*swig_obj
[1] ;
33490 if (!args
) SWIG_fail
;
33491 swig_obj
[0] = args
;
33492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33493 if (!SWIG_IsOK(res1
)) {
33494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33496 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33497 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33498 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33505 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33507 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33508 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33509 return SWIG_Py_Void();
33512 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33513 return SWIG_Python_InitShadowInstance(args
);
33516 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33517 PyObject
*resultobj
= 0;
33518 wxHeaderButtonParams
*result
= 0 ;
33520 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33523 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33524 wxPyEndAllowThreads(__tstate
);
33525 if (PyErr_Occurred()) SWIG_fail
;
33527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33534 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33535 PyObject
*resultobj
= 0;
33536 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33539 PyObject
*swig_obj
[1] ;
33541 if (!args
) SWIG_fail
;
33542 swig_obj
[0] = args
;
33543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33544 if (!SWIG_IsOK(res1
)) {
33545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33547 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33552 wxPyEndAllowThreads(__tstate
);
33553 if (PyErr_Occurred()) SWIG_fail
;
33555 resultobj
= SWIG_Py_Void();
33562 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33563 PyObject
*resultobj
= 0;
33564 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33565 wxColour
*arg2
= (wxColour
*) 0 ;
33569 PyObject
*swig_obj
[2] ;
33571 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33573 if (!SWIG_IsOK(res1
)) {
33574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33576 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33579 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33581 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33583 resultobj
= SWIG_Py_Void();
33590 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33591 PyObject
*resultobj
= 0;
33592 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33593 wxColour
*result
= 0 ;
33596 PyObject
*swig_obj
[1] ;
33598 if (!args
) SWIG_fail
;
33599 swig_obj
[0] = args
;
33600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33601 if (!SWIG_IsOK(res1
)) {
33602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33604 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33605 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33613 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33614 PyObject
*resultobj
= 0;
33615 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33616 wxColour
*arg2
= (wxColour
*) 0 ;
33620 PyObject
*swig_obj
[2] ;
33622 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33624 if (!SWIG_IsOK(res1
)) {
33625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33627 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33630 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33632 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33634 resultobj
= SWIG_Py_Void();
33641 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33642 PyObject
*resultobj
= 0;
33643 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33644 wxColour
*result
= 0 ;
33647 PyObject
*swig_obj
[1] ;
33649 if (!args
) SWIG_fail
;
33650 swig_obj
[0] = args
;
33651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33652 if (!SWIG_IsOK(res1
)) {
33653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33655 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33656 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33664 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33665 PyObject
*resultobj
= 0;
33666 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33667 wxString
*arg2
= (wxString
*) 0 ;
33670 bool temp2
= false ;
33671 PyObject
*swig_obj
[2] ;
33673 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33675 if (!SWIG_IsOK(res1
)) {
33676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33678 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33680 arg2
= wxString_in_helper(swig_obj
[1]);
33681 if (arg2
== NULL
) SWIG_fail
;
33684 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33686 resultobj
= SWIG_Py_Void();
33701 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33702 PyObject
*resultobj
= 0;
33703 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33704 wxString
*result
= 0 ;
33707 PyObject
*swig_obj
[1] ;
33709 if (!args
) SWIG_fail
;
33710 swig_obj
[0] = args
;
33711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33712 if (!SWIG_IsOK(res1
)) {
33713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33715 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33716 result
= (wxString
*)& ((arg1
)->m_labelText
);
33719 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33721 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33730 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33731 PyObject
*resultobj
= 0;
33732 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33733 wxFont
*arg2
= (wxFont
*) 0 ;
33738 PyObject
*swig_obj
[2] ;
33740 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33742 if (!SWIG_IsOK(res1
)) {
33743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33745 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33746 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33747 if (!SWIG_IsOK(res2
)) {
33748 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33750 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33751 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33753 resultobj
= SWIG_Py_Void();
33760 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33761 PyObject
*resultobj
= 0;
33762 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33763 wxFont
*result
= 0 ;
33766 PyObject
*swig_obj
[1] ;
33768 if (!args
) SWIG_fail
;
33769 swig_obj
[0] = args
;
33770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33771 if (!SWIG_IsOK(res1
)) {
33772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33774 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33775 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
33776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33783 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33784 PyObject
*resultobj
= 0;
33785 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33786 wxColour
*arg2
= (wxColour
*) 0 ;
33790 PyObject
*swig_obj
[2] ;
33792 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
33793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33794 if (!SWIG_IsOK(res1
)) {
33795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33797 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33800 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33802 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
33804 resultobj
= SWIG_Py_Void();
33811 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33812 PyObject
*resultobj
= 0;
33813 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33814 wxColour
*result
= 0 ;
33817 PyObject
*swig_obj
[1] ;
33819 if (!args
) SWIG_fail
;
33820 swig_obj
[0] = args
;
33821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33822 if (!SWIG_IsOK(res1
)) {
33823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33825 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33826 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
33827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33834 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33835 PyObject
*resultobj
= 0;
33836 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33837 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33842 PyObject
*swig_obj
[2] ;
33844 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
33845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33846 if (!SWIG_IsOK(res1
)) {
33847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33849 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33850 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
33851 if (!SWIG_IsOK(res2
)) {
33852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
33854 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33855 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
33857 resultobj
= SWIG_Py_Void();
33864 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33865 PyObject
*resultobj
= 0;
33866 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33867 wxBitmap
*result
= 0 ;
33870 PyObject
*swig_obj
[1] ;
33872 if (!args
) SWIG_fail
;
33873 swig_obj
[0] = args
;
33874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33875 if (!SWIG_IsOK(res1
)) {
33876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33878 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33879 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
33880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
33887 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33888 PyObject
*resultobj
= 0;
33889 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33895 PyObject
*swig_obj
[2] ;
33897 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
33898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33899 if (!SWIG_IsOK(res1
)) {
33900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33902 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33903 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33904 if (!SWIG_IsOK(ecode2
)) {
33905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
33907 arg2
= static_cast< int >(val2
);
33908 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
33910 resultobj
= SWIG_Py_Void();
33917 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33918 PyObject
*resultobj
= 0;
33919 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33923 PyObject
*swig_obj
[1] ;
33925 if (!args
) SWIG_fail
;
33926 swig_obj
[0] = args
;
33927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33928 if (!SWIG_IsOK(res1
)) {
33929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33931 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33932 result
= (int) ((arg1
)->m_labelAlignment
);
33933 resultobj
= SWIG_From_int(static_cast< int >(result
));
33940 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33942 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33943 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
33944 return SWIG_Py_Void();
33947 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33948 return SWIG_Python_InitShadowInstance(args
);
33951 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33952 PyObject
*resultobj
= 0;
33955 wxRendererVersion
*result
= 0 ;
33960 PyObject
* obj0
= 0 ;
33961 PyObject
* obj1
= 0 ;
33962 char * kwnames
[] = {
33963 (char *) "version_",(char *) "age_", NULL
33966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33967 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33968 if (!SWIG_IsOK(ecode1
)) {
33969 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
33971 arg1
= static_cast< int >(val1
);
33972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33973 if (!SWIG_IsOK(ecode2
)) {
33974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
33976 arg2
= static_cast< int >(val2
);
33978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33979 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
33980 wxPyEndAllowThreads(__tstate
);
33981 if (PyErr_Occurred()) SWIG_fail
;
33983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
33990 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33991 PyObject
*resultobj
= 0;
33992 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33995 PyObject
*swig_obj
[1] ;
33997 if (!args
) SWIG_fail
;
33998 swig_obj
[0] = args
;
33999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34000 if (!SWIG_IsOK(res1
)) {
34001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34003 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34008 wxPyEndAllowThreads(__tstate
);
34009 if (PyErr_Occurred()) SWIG_fail
;
34011 resultobj
= SWIG_Py_Void();
34018 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34019 PyObject
*resultobj
= 0;
34020 wxRendererVersion
*arg1
= 0 ;
34024 PyObject
* obj0
= 0 ;
34025 char * kwnames
[] = {
34026 (char *) "ver", NULL
34029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34030 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34031 if (!SWIG_IsOK(res1
)) {
34032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34035 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34037 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34040 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34041 wxPyEndAllowThreads(__tstate
);
34042 if (PyErr_Occurred()) SWIG_fail
;
34045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34053 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34054 PyObject
*resultobj
= 0;
34055 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34059 PyObject
*swig_obj
[1] ;
34061 if (!args
) SWIG_fail
;
34062 swig_obj
[0] = args
;
34063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34064 if (!SWIG_IsOK(res1
)) {
34065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34067 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34068 result
= (int)(int) ((arg1
)->version
);
34069 resultobj
= SWIG_From_int(static_cast< int >(result
));
34076 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34077 PyObject
*resultobj
= 0;
34078 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34082 PyObject
*swig_obj
[1] ;
34084 if (!args
) SWIG_fail
;
34085 swig_obj
[0] = args
;
34086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34087 if (!SWIG_IsOK(res1
)) {
34088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34090 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34091 result
= (int)(int) ((arg1
)->age
);
34092 resultobj
= SWIG_From_int(static_cast< int >(result
));
34099 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34101 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34102 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34103 return SWIG_Py_Void();
34106 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34107 return SWIG_Python_InitShadowInstance(args
);
34110 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34111 PyObject
*resultobj
= 0;
34112 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34113 wxWindow
*arg2
= (wxWindow
*) 0 ;
34116 int arg5
= (int) 0 ;
34117 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34118 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34132 PyObject
* obj0
= 0 ;
34133 PyObject
* obj1
= 0 ;
34134 PyObject
* obj2
= 0 ;
34135 PyObject
* obj3
= 0 ;
34136 PyObject
* obj4
= 0 ;
34137 PyObject
* obj5
= 0 ;
34138 PyObject
* obj6
= 0 ;
34139 char * kwnames
[] = {
34140 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34145 if (!SWIG_IsOK(res1
)) {
34146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34148 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34149 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34150 if (!SWIG_IsOK(res2
)) {
34151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34153 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34154 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34155 if (!SWIG_IsOK(res3
)) {
34156 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34161 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34164 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34167 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34168 if (!SWIG_IsOK(ecode5
)) {
34169 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34171 arg5
= static_cast< int >(val5
);
34174 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34175 if (!SWIG_IsOK(ecode6
)) {
34176 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34178 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34181 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34182 if (!SWIG_IsOK(res7
)) {
34183 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34185 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34189 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34190 wxPyEndAllowThreads(__tstate
);
34191 if (PyErr_Occurred()) SWIG_fail
;
34193 resultobj
= SWIG_Py_Void();
34200 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34201 PyObject
*resultobj
= 0;
34202 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34203 wxWindow
*arg2
= (wxWindow
*) 0 ;
34206 int arg5
= (int) 0 ;
34207 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34208 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34222 PyObject
* obj0
= 0 ;
34223 PyObject
* obj1
= 0 ;
34224 PyObject
* obj2
= 0 ;
34225 PyObject
* obj3
= 0 ;
34226 PyObject
* obj4
= 0 ;
34227 PyObject
* obj5
= 0 ;
34228 PyObject
* obj6
= 0 ;
34229 char * kwnames
[] = {
34230 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34235 if (!SWIG_IsOK(res1
)) {
34236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34238 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34239 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34240 if (!SWIG_IsOK(res2
)) {
34241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34243 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34244 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34245 if (!SWIG_IsOK(res3
)) {
34246 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34249 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34251 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34254 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34257 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34258 if (!SWIG_IsOK(ecode5
)) {
34259 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34261 arg5
= static_cast< int >(val5
);
34264 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34265 if (!SWIG_IsOK(ecode6
)) {
34266 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34268 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34271 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34272 if (!SWIG_IsOK(res7
)) {
34273 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34275 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34279 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34280 wxPyEndAllowThreads(__tstate
);
34281 if (PyErr_Occurred()) SWIG_fail
;
34283 resultobj
= SWIG_Py_Void();
34290 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34291 PyObject
*resultobj
= 0;
34292 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34293 wxWindow
*arg2
= (wxWindow
*) 0 ;
34299 PyObject
* obj0
= 0 ;
34300 PyObject
* obj1
= 0 ;
34301 char * kwnames
[] = {
34302 (char *) "self",(char *) "win", NULL
34305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34307 if (!SWIG_IsOK(res1
)) {
34308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34310 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34311 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34312 if (!SWIG_IsOK(res2
)) {
34313 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34315 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34318 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34319 wxPyEndAllowThreads(__tstate
);
34320 if (PyErr_Occurred()) SWIG_fail
;
34322 resultobj
= SWIG_From_int(static_cast< int >(result
));
34329 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34330 PyObject
*resultobj
= 0;
34331 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34332 wxWindow
*arg2
= (wxWindow
*) 0 ;
34335 int arg5
= (int) 0 ;
34345 PyObject
* obj0
= 0 ;
34346 PyObject
* obj1
= 0 ;
34347 PyObject
* obj2
= 0 ;
34348 PyObject
* obj3
= 0 ;
34349 PyObject
* obj4
= 0 ;
34350 char * kwnames
[] = {
34351 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34356 if (!SWIG_IsOK(res1
)) {
34357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34359 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34360 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34361 if (!SWIG_IsOK(res2
)) {
34362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34364 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34365 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34366 if (!SWIG_IsOK(res3
)) {
34367 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34372 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34375 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34378 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34379 if (!SWIG_IsOK(ecode5
)) {
34380 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34382 arg5
= static_cast< int >(val5
);
34385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34386 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34387 wxPyEndAllowThreads(__tstate
);
34388 if (PyErr_Occurred()) SWIG_fail
;
34390 resultobj
= SWIG_Py_Void();
34397 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34398 PyObject
*resultobj
= 0;
34399 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34400 wxWindow
*arg2
= (wxWindow
*) 0 ;
34403 int arg5
= (int) 0 ;
34413 PyObject
* obj0
= 0 ;
34414 PyObject
* obj1
= 0 ;
34415 PyObject
* obj2
= 0 ;
34416 PyObject
* obj3
= 0 ;
34417 PyObject
* obj4
= 0 ;
34418 char * kwnames
[] = {
34419 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34424 if (!SWIG_IsOK(res1
)) {
34425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34427 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34428 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34429 if (!SWIG_IsOK(res2
)) {
34430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34432 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34433 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34434 if (!SWIG_IsOK(res3
)) {
34435 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34438 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34440 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34443 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34446 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34447 if (!SWIG_IsOK(ecode5
)) {
34448 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34450 arg5
= static_cast< int >(val5
);
34453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34454 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34455 wxPyEndAllowThreads(__tstate
);
34456 if (PyErr_Occurred()) SWIG_fail
;
34458 resultobj
= SWIG_Py_Void();
34465 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34466 PyObject
*resultobj
= 0;
34467 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34468 wxWindow
*arg2
= (wxWindow
*) 0 ;
34472 wxOrientation arg6
;
34473 int arg7
= (int) 0 ;
34487 PyObject
* obj0
= 0 ;
34488 PyObject
* obj1
= 0 ;
34489 PyObject
* obj2
= 0 ;
34490 PyObject
* obj3
= 0 ;
34491 PyObject
* obj4
= 0 ;
34492 PyObject
* obj5
= 0 ;
34493 PyObject
* obj6
= 0 ;
34494 char * kwnames
[] = {
34495 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34500 if (!SWIG_IsOK(res1
)) {
34501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34503 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34504 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34505 if (!SWIG_IsOK(res2
)) {
34506 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34508 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34509 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34510 if (!SWIG_IsOK(res3
)) {
34511 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34516 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34519 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34521 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34522 if (!SWIG_IsOK(ecode5
)) {
34523 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34525 arg5
= static_cast< int >(val5
);
34526 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34527 if (!SWIG_IsOK(ecode6
)) {
34528 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34530 arg6
= static_cast< wxOrientation
>(val6
);
34532 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34533 if (!SWIG_IsOK(ecode7
)) {
34534 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34536 arg7
= static_cast< int >(val7
);
34539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34540 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34541 wxPyEndAllowThreads(__tstate
);
34542 if (PyErr_Occurred()) SWIG_fail
;
34544 resultobj
= SWIG_Py_Void();
34551 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34552 PyObject
*resultobj
= 0;
34553 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34554 wxWindow
*arg2
= (wxWindow
*) 0 ;
34557 int arg5
= (int) 0 ;
34567 PyObject
* obj0
= 0 ;
34568 PyObject
* obj1
= 0 ;
34569 PyObject
* obj2
= 0 ;
34570 PyObject
* obj3
= 0 ;
34571 PyObject
* obj4
= 0 ;
34572 char * kwnames
[] = {
34573 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34578 if (!SWIG_IsOK(res1
)) {
34579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34581 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34582 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34583 if (!SWIG_IsOK(res2
)) {
34584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34586 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34587 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34588 if (!SWIG_IsOK(res3
)) {
34589 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34594 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34597 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34600 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34601 if (!SWIG_IsOK(ecode5
)) {
34602 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34604 arg5
= static_cast< int >(val5
);
34607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34608 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34609 wxPyEndAllowThreads(__tstate
);
34610 if (PyErr_Occurred()) SWIG_fail
;
34612 resultobj
= SWIG_Py_Void();
34619 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34620 PyObject
*resultobj
= 0;
34621 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34622 wxWindow
*arg2
= (wxWindow
*) 0 ;
34625 int arg5
= (int) 0 ;
34635 PyObject
* obj0
= 0 ;
34636 PyObject
* obj1
= 0 ;
34637 PyObject
* obj2
= 0 ;
34638 PyObject
* obj3
= 0 ;
34639 PyObject
* obj4
= 0 ;
34640 char * kwnames
[] = {
34641 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34646 if (!SWIG_IsOK(res1
)) {
34647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34649 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34650 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34651 if (!SWIG_IsOK(res2
)) {
34652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34654 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34655 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34656 if (!SWIG_IsOK(res3
)) {
34657 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34662 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34665 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34668 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34669 if (!SWIG_IsOK(ecode5
)) {
34670 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34672 arg5
= static_cast< int >(val5
);
34675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34676 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34677 wxPyEndAllowThreads(__tstate
);
34678 if (PyErr_Occurred()) SWIG_fail
;
34680 resultobj
= SWIG_Py_Void();
34687 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34688 PyObject
*resultobj
= 0;
34689 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34690 wxWindow
*arg2
= (wxWindow
*) 0 ;
34693 int arg5
= (int) 0 ;
34703 PyObject
* obj0
= 0 ;
34704 PyObject
* obj1
= 0 ;
34705 PyObject
* obj2
= 0 ;
34706 PyObject
* obj3
= 0 ;
34707 PyObject
* obj4
= 0 ;
34708 char * kwnames
[] = {
34709 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34714 if (!SWIG_IsOK(res1
)) {
34715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34717 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34718 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34719 if (!SWIG_IsOK(res2
)) {
34720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34722 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34723 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34724 if (!SWIG_IsOK(res3
)) {
34725 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34730 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34733 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34736 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34737 if (!SWIG_IsOK(ecode5
)) {
34738 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34740 arg5
= static_cast< int >(val5
);
34743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34744 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34745 wxPyEndAllowThreads(__tstate
);
34746 if (PyErr_Occurred()) SWIG_fail
;
34748 resultobj
= SWIG_Py_Void();
34755 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34756 PyObject
*resultobj
= 0;
34757 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34758 wxWindow
*arg2
= (wxWindow
*) 0 ;
34761 int arg5
= (int) 0 ;
34771 PyObject
* obj0
= 0 ;
34772 PyObject
* obj1
= 0 ;
34773 PyObject
* obj2
= 0 ;
34774 PyObject
* obj3
= 0 ;
34775 PyObject
* obj4
= 0 ;
34776 char * kwnames
[] = {
34777 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34782 if (!SWIG_IsOK(res1
)) {
34783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34785 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34786 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34787 if (!SWIG_IsOK(res2
)) {
34788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34790 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34791 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34792 if (!SWIG_IsOK(res3
)) {
34793 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34796 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34798 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34801 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34804 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34805 if (!SWIG_IsOK(ecode5
)) {
34806 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
34808 arg5
= static_cast< int >(val5
);
34811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34812 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34813 wxPyEndAllowThreads(__tstate
);
34814 if (PyErr_Occurred()) SWIG_fail
;
34816 resultobj
= SWIG_Py_Void();
34823 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34824 PyObject
*resultobj
= 0;
34825 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34826 wxWindow
*arg2
= (wxWindow
*) 0 ;
34829 int arg5
= (int) 0 ;
34839 PyObject
* obj0
= 0 ;
34840 PyObject
* obj1
= 0 ;
34841 PyObject
* obj2
= 0 ;
34842 PyObject
* obj3
= 0 ;
34843 PyObject
* obj4
= 0 ;
34844 char * kwnames
[] = {
34845 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34850 if (!SWIG_IsOK(res1
)) {
34851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34853 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34854 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34855 if (!SWIG_IsOK(res2
)) {
34856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
34858 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34859 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34860 if (!SWIG_IsOK(res3
)) {
34861 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34864 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34866 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34869 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34872 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34873 if (!SWIG_IsOK(ecode5
)) {
34874 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
34876 arg5
= static_cast< int >(val5
);
34879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34880 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34881 wxPyEndAllowThreads(__tstate
);
34882 if (PyErr_Occurred()) SWIG_fail
;
34884 resultobj
= SWIG_Py_Void();
34891 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34892 PyObject
*resultobj
= 0;
34893 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34894 wxWindow
*arg2
= (wxWindow
*) 0 ;
34895 SwigValueWrapper
<wxSplitterRenderParams
> result
;
34900 PyObject
* obj0
= 0 ;
34901 PyObject
* obj1
= 0 ;
34902 char * kwnames
[] = {
34903 (char *) "self",(char *) "win", NULL
34906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34908 if (!SWIG_IsOK(res1
)) {
34909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34911 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34912 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34913 if (!SWIG_IsOK(res2
)) {
34914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
34916 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34919 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
34920 wxPyEndAllowThreads(__tstate
);
34921 if (PyErr_Occurred()) SWIG_fail
;
34923 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
34930 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34931 PyObject
*resultobj
= 0;
34932 wxRendererNative
*result
= 0 ;
34934 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
34936 if (!wxPyCheckForApp()) SWIG_fail
;
34937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34939 wxRendererNative
&_result_ref
= wxRendererNative::Get();
34940 result
= (wxRendererNative
*) &_result_ref
;
34942 wxPyEndAllowThreads(__tstate
);
34943 if (PyErr_Occurred()) SWIG_fail
;
34945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34952 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34953 PyObject
*resultobj
= 0;
34954 wxRendererNative
*result
= 0 ;
34956 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
34958 if (!wxPyCheckForApp()) SWIG_fail
;
34959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34961 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
34962 result
= (wxRendererNative
*) &_result_ref
;
34964 wxPyEndAllowThreads(__tstate
);
34965 if (PyErr_Occurred()) SWIG_fail
;
34967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34974 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34975 PyObject
*resultobj
= 0;
34976 wxRendererNative
*result
= 0 ;
34978 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
34980 if (!wxPyCheckForApp()) SWIG_fail
;
34981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34983 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
34984 result
= (wxRendererNative
*) &_result_ref
;
34986 wxPyEndAllowThreads(__tstate
);
34987 if (PyErr_Occurred()) SWIG_fail
;
34989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34996 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34997 PyObject
*resultobj
= 0;
34998 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34999 wxRendererNative
*result
= 0 ;
35002 PyObject
* obj0
= 0 ;
35003 char * kwnames
[] = {
35004 (char *) "renderer", NULL
35007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35009 if (!SWIG_IsOK(res1
)) {
35010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35012 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35014 if (!wxPyCheckForApp()) SWIG_fail
;
35015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35016 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35017 wxPyEndAllowThreads(__tstate
);
35018 if (PyErr_Occurred()) SWIG_fail
;
35020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35027 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35028 PyObject
*resultobj
= 0;
35029 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35030 SwigValueWrapper
<wxRendererVersion
> result
;
35033 PyObject
*swig_obj
[1] ;
35035 if (!args
) SWIG_fail
;
35036 swig_obj
[0] = args
;
35037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35038 if (!SWIG_IsOK(res1
)) {
35039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35041 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35044 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35045 wxPyEndAllowThreads(__tstate
);
35046 if (PyErr_Occurred()) SWIG_fail
;
35048 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35055 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35057 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35058 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35059 return SWIG_Py_Void();
35062 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35063 PyObject
*resultobj
= 0;
35064 wxPseudoDC
*result
= 0 ;
35066 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35069 result
= (wxPseudoDC
*)new wxPseudoDC();
35070 wxPyEndAllowThreads(__tstate
);
35071 if (PyErr_Occurred()) SWIG_fail
;
35073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35080 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35081 PyObject
*resultobj
= 0;
35082 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35085 PyObject
*swig_obj
[1] ;
35087 if (!args
) SWIG_fail
;
35088 swig_obj
[0] = args
;
35089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35090 if (!SWIG_IsOK(res1
)) {
35091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35093 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35096 (arg1
)->BeginDrawing();
35097 wxPyEndAllowThreads(__tstate
);
35098 if (PyErr_Occurred()) SWIG_fail
;
35100 resultobj
= SWIG_Py_Void();
35107 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35108 PyObject
*resultobj
= 0;
35109 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35112 PyObject
*swig_obj
[1] ;
35114 if (!args
) SWIG_fail
;
35115 swig_obj
[0] = args
;
35116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35117 if (!SWIG_IsOK(res1
)) {
35118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35120 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35123 (arg1
)->EndDrawing();
35124 wxPyEndAllowThreads(__tstate
);
35125 if (PyErr_Occurred()) SWIG_fail
;
35127 resultobj
= SWIG_Py_Void();
35134 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35135 PyObject
*resultobj
= 0;
35136 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35139 PyObject
*swig_obj
[1] ;
35141 if (!args
) SWIG_fail
;
35142 swig_obj
[0] = args
;
35143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35144 if (!SWIG_IsOK(res1
)) {
35145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35147 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35152 wxPyEndAllowThreads(__tstate
);
35153 if (PyErr_Occurred()) SWIG_fail
;
35155 resultobj
= SWIG_Py_Void();
35162 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35163 PyObject
*resultobj
= 0;
35164 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35167 PyObject
*swig_obj
[1] ;
35169 if (!args
) SWIG_fail
;
35170 swig_obj
[0] = args
;
35171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35172 if (!SWIG_IsOK(res1
)) {
35173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35175 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35178 (arg1
)->RemoveAll();
35179 wxPyEndAllowThreads(__tstate
);
35180 if (PyErr_Occurred()) SWIG_fail
;
35182 resultobj
= SWIG_Py_Void();
35189 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35190 PyObject
*resultobj
= 0;
35191 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35195 PyObject
*swig_obj
[1] ;
35197 if (!args
) SWIG_fail
;
35198 swig_obj
[0] = args
;
35199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35200 if (!SWIG_IsOK(res1
)) {
35201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35203 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35206 result
= (int)(arg1
)->GetLen();
35207 wxPyEndAllowThreads(__tstate
);
35208 if (PyErr_Occurred()) SWIG_fail
;
35210 resultobj
= SWIG_From_int(static_cast< int >(result
));
35217 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35218 PyObject
*resultobj
= 0;
35219 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35225 PyObject
* obj0
= 0 ;
35226 PyObject
* obj1
= 0 ;
35227 char * kwnames
[] = {
35228 (char *) "self",(char *) "id", NULL
35231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35233 if (!SWIG_IsOK(res1
)) {
35234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35236 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35238 if (!SWIG_IsOK(ecode2
)) {
35239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35241 arg2
= static_cast< int >(val2
);
35243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35244 (arg1
)->SetId(arg2
);
35245 wxPyEndAllowThreads(__tstate
);
35246 if (PyErr_Occurred()) SWIG_fail
;
35248 resultobj
= SWIG_Py_Void();
35255 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35256 PyObject
*resultobj
= 0;
35257 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35263 PyObject
* obj0
= 0 ;
35264 PyObject
* obj1
= 0 ;
35265 char * kwnames
[] = {
35266 (char *) "self",(char *) "id", NULL
35269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) 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_ClearId" "', 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_ClearId" "', expected argument " "2"" of type '" "int""'");
35279 arg2
= static_cast< int >(val2
);
35281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35282 (arg1
)->ClearId(arg2
);
35283 wxPyEndAllowThreads(__tstate
);
35284 if (PyErr_Occurred()) SWIG_fail
;
35286 resultobj
= SWIG_Py_Void();
35293 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35294 PyObject
*resultobj
= 0;
35295 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35301 PyObject
* obj0
= 0 ;
35302 PyObject
* obj1
= 0 ;
35303 char * kwnames
[] = {
35304 (char *) "self",(char *) "id", NULL
35307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35309 if (!SWIG_IsOK(res1
)) {
35310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35312 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35314 if (!SWIG_IsOK(ecode2
)) {
35315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35317 arg2
= static_cast< int >(val2
);
35319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35320 (arg1
)->RemoveId(arg2
);
35321 wxPyEndAllowThreads(__tstate
);
35322 if (PyErr_Occurred()) SWIG_fail
;
35324 resultobj
= SWIG_Py_Void();
35331 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35332 PyObject
*resultobj
= 0;
35333 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35345 PyObject
* obj0
= 0 ;
35346 PyObject
* obj1
= 0 ;
35347 PyObject
* obj2
= 0 ;
35348 PyObject
* obj3
= 0 ;
35349 char * kwnames
[] = {
35350 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35355 if (!SWIG_IsOK(res1
)) {
35356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35358 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35360 if (!SWIG_IsOK(ecode2
)) {
35361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35363 arg2
= static_cast< int >(val2
);
35364 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35365 if (!SWIG_IsOK(ecode3
)) {
35366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35368 arg3
= static_cast< int >(val3
);
35369 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35370 if (!SWIG_IsOK(ecode4
)) {
35371 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35373 arg4
= static_cast< int >(val4
);
35375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35376 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35377 wxPyEndAllowThreads(__tstate
);
35378 if (PyErr_Occurred()) SWIG_fail
;
35380 resultobj
= SWIG_Py_Void();
35387 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35388 PyObject
*resultobj
= 0;
35389 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35391 bool arg3
= (bool) true ;
35398 PyObject
* obj0
= 0 ;
35399 PyObject
* obj1
= 0 ;
35400 PyObject
* obj2
= 0 ;
35401 char * kwnames
[] = {
35402 (char *) "self",(char *) "id",(char *) "greyout", NULL
35405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35407 if (!SWIG_IsOK(res1
)) {
35408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35410 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35412 if (!SWIG_IsOK(ecode2
)) {
35413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35415 arg2
= static_cast< int >(val2
);
35417 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35418 if (!SWIG_IsOK(ecode3
)) {
35419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35421 arg3
= static_cast< bool >(val3
);
35424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35425 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35426 wxPyEndAllowThreads(__tstate
);
35427 if (PyErr_Occurred()) SWIG_fail
;
35429 resultobj
= SWIG_Py_Void();
35436 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35437 PyObject
*resultobj
= 0;
35438 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35445 PyObject
* obj0
= 0 ;
35446 PyObject
* obj1
= 0 ;
35447 char * kwnames
[] = {
35448 (char *) "self",(char *) "id", NULL
35451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35453 if (!SWIG_IsOK(res1
)) {
35454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35456 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35458 if (!SWIG_IsOK(ecode2
)) {
35459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35461 arg2
= static_cast< int >(val2
);
35463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35464 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35465 wxPyEndAllowThreads(__tstate
);
35466 if (PyErr_Occurred()) SWIG_fail
;
35469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35477 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35478 PyObject
*resultobj
= 0;
35479 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35482 int arg4
= (int) 1 ;
35483 wxColor
const &arg5_defvalue
= *wxWHITE
;
35484 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
35485 PyObject
*result
= 0 ;
35496 PyObject
* obj0
= 0 ;
35497 PyObject
* obj1
= 0 ;
35498 PyObject
* obj2
= 0 ;
35499 PyObject
* obj3
= 0 ;
35500 PyObject
* obj4
= 0 ;
35501 char * kwnames
[] = {
35502 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35507 if (!SWIG_IsOK(res1
)) {
35508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35510 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35512 if (!SWIG_IsOK(ecode2
)) {
35513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35515 arg2
= static_cast< int >(val2
);
35516 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35517 if (!SWIG_IsOK(ecode3
)) {
35518 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35520 arg3
= static_cast< int >(val3
);
35522 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35523 if (!SWIG_IsOK(ecode4
)) {
35524 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35526 arg4
= static_cast< int >(val4
);
35529 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
35530 if (!SWIG_IsOK(res5
)) {
35531 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35534 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35536 arg5
= reinterpret_cast< wxColor
* >(argp5
);
35539 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
35540 if (PyErr_Occurred()) SWIG_fail
;
35542 resultobj
= result
;
35549 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35550 PyObject
*resultobj
= 0;
35551 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35554 PyObject
*result
= 0 ;
35561 PyObject
* obj0
= 0 ;
35562 PyObject
* obj1
= 0 ;
35563 PyObject
* obj2
= 0 ;
35564 char * kwnames
[] = {
35565 (char *) "self",(char *) "x",(char *) "y", NULL
35568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35570 if (!SWIG_IsOK(res1
)) {
35571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35573 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35574 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35575 if (!SWIG_IsOK(ecode2
)) {
35576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35578 arg2
= static_cast< int >(val2
);
35579 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35580 if (!SWIG_IsOK(ecode3
)) {
35581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35583 arg3
= static_cast< int >(val3
);
35585 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35586 if (PyErr_Occurred()) SWIG_fail
;
35588 resultobj
= result
;
35595 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35596 PyObject
*resultobj
= 0;
35597 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35599 wxDC
*arg3
= (wxDC
*) 0 ;
35606 PyObject
* obj0
= 0 ;
35607 PyObject
* obj1
= 0 ;
35608 PyObject
* obj2
= 0 ;
35609 char * kwnames
[] = {
35610 (char *) "self",(char *) "id",(char *) "dc", NULL
35613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35615 if (!SWIG_IsOK(res1
)) {
35616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35618 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35620 if (!SWIG_IsOK(ecode2
)) {
35621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35623 arg2
= static_cast< int >(val2
);
35624 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35625 if (!SWIG_IsOK(res3
)) {
35626 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35628 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35631 (arg1
)->DrawIdToDC(arg2
,arg3
);
35632 wxPyEndAllowThreads(__tstate
);
35633 if (PyErr_Occurred()) SWIG_fail
;
35635 resultobj
= SWIG_Py_Void();
35642 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35643 PyObject
*resultobj
= 0;
35644 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35652 PyObject
* obj0
= 0 ;
35653 PyObject
* obj1
= 0 ;
35654 PyObject
* obj2
= 0 ;
35655 char * kwnames
[] = {
35656 (char *) "self",(char *) "id",(char *) "rect", NULL
35659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",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_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35664 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35665 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35666 if (!SWIG_IsOK(ecode2
)) {
35667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35669 arg2
= static_cast< int >(val2
);
35672 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35676 (arg1
)->SetIdBounds(arg2
,*arg3
);
35677 wxPyEndAllowThreads(__tstate
);
35678 if (PyErr_Occurred()) SWIG_fail
;
35680 resultobj
= SWIG_Py_Void();
35687 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35688 PyObject
*resultobj
= 0;
35689 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35696 PyObject
* obj0
= 0 ;
35697 PyObject
* obj1
= 0 ;
35698 char * kwnames
[] = {
35699 (char *) "self",(char *) "id", NULL
35702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35704 if (!SWIG_IsOK(res1
)) {
35705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35707 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35709 if (!SWIG_IsOK(ecode2
)) {
35710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35712 arg2
= static_cast< int >(val2
);
35714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35715 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35716 wxPyEndAllowThreads(__tstate
);
35717 if (PyErr_Occurred()) SWIG_fail
;
35719 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35726 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35727 PyObject
*resultobj
= 0;
35728 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35729 wxDC
*arg2
= (wxDC
*) 0 ;
35736 PyObject
* obj0
= 0 ;
35737 PyObject
* obj1
= 0 ;
35738 PyObject
* obj2
= 0 ;
35739 char * kwnames
[] = {
35740 (char *) "self",(char *) "dc",(char *) "rect", NULL
35743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35745 if (!SWIG_IsOK(res1
)) {
35746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35748 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35749 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35750 if (!SWIG_IsOK(res2
)) {
35751 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35753 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35756 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35760 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35761 wxPyEndAllowThreads(__tstate
);
35762 if (PyErr_Occurred()) SWIG_fail
;
35764 resultobj
= SWIG_Py_Void();
35771 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35772 PyObject
*resultobj
= 0;
35773 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35774 wxDC
*arg2
= (wxDC
*) 0 ;
35775 wxRegion
*arg3
= 0 ;
35782 PyObject
* obj0
= 0 ;
35783 PyObject
* obj1
= 0 ;
35784 PyObject
* obj2
= 0 ;
35785 char * kwnames
[] = {
35786 (char *) "self",(char *) "dc",(char *) "region", NULL
35789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35791 if (!SWIG_IsOK(res1
)) {
35792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35794 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35795 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35796 if (!SWIG_IsOK(res2
)) {
35797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
35799 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35800 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
35801 if (!SWIG_IsOK(res3
)) {
35802 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35807 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
35809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35810 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
35811 wxPyEndAllowThreads(__tstate
);
35812 if (PyErr_Occurred()) SWIG_fail
;
35814 resultobj
= SWIG_Py_Void();
35821 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35822 PyObject
*resultobj
= 0;
35823 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35824 wxDC
*arg2
= (wxDC
*) 0 ;
35829 PyObject
* obj0
= 0 ;
35830 PyObject
* obj1
= 0 ;
35831 char * kwnames
[] = {
35832 (char *) "self",(char *) "dc", NULL
35835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35837 if (!SWIG_IsOK(res1
)) {
35838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35840 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35841 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35842 if (!SWIG_IsOK(res2
)) {
35843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
35845 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35848 (arg1
)->DrawToDC(arg2
);
35849 wxPyEndAllowThreads(__tstate
);
35850 if (PyErr_Occurred()) SWIG_fail
;
35852 resultobj
= SWIG_Py_Void();
35859 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35860 PyObject
*resultobj
= 0;
35861 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35864 wxColour
*arg4
= 0 ;
35865 int arg5
= (int) wxFLOOD_SURFACE
;
35875 PyObject
* obj0
= 0 ;
35876 PyObject
* obj1
= 0 ;
35877 PyObject
* obj2
= 0 ;
35878 PyObject
* obj3
= 0 ;
35879 PyObject
* obj4
= 0 ;
35880 char * kwnames
[] = {
35881 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
35884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35886 if (!SWIG_IsOK(res1
)) {
35887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35889 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35891 if (!SWIG_IsOK(ecode2
)) {
35892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
35894 arg2
= static_cast< int >(val2
);
35895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35896 if (!SWIG_IsOK(ecode3
)) {
35897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
35899 arg3
= static_cast< int >(val3
);
35902 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
35905 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35906 if (!SWIG_IsOK(ecode5
)) {
35907 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
35909 arg5
= static_cast< int >(val5
);
35912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35913 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
35914 wxPyEndAllowThreads(__tstate
);
35915 if (PyErr_Occurred()) SWIG_fail
;
35917 resultobj
= SWIG_Py_Void();
35924 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35925 PyObject
*resultobj
= 0;
35926 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35927 wxPoint
*arg2
= 0 ;
35928 wxColour
*arg3
= 0 ;
35929 int arg4
= (int) wxFLOOD_SURFACE
;
35936 PyObject
* obj0
= 0 ;
35937 PyObject
* obj1
= 0 ;
35938 PyObject
* obj2
= 0 ;
35939 PyObject
* obj3
= 0 ;
35940 char * kwnames
[] = {
35941 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
35944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35946 if (!SWIG_IsOK(res1
)) {
35947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35949 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35952 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35956 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35959 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35960 if (!SWIG_IsOK(ecode4
)) {
35961 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
35963 arg4
= static_cast< int >(val4
);
35966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35967 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
35968 wxPyEndAllowThreads(__tstate
);
35969 if (PyErr_Occurred()) SWIG_fail
;
35971 resultobj
= SWIG_Py_Void();
35978 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35979 PyObject
*resultobj
= 0;
35980 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35995 PyObject
* obj0
= 0 ;
35996 PyObject
* obj1
= 0 ;
35997 PyObject
* obj2
= 0 ;
35998 PyObject
* obj3
= 0 ;
35999 PyObject
* obj4
= 0 ;
36000 char * kwnames
[] = {
36001 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36006 if (!SWIG_IsOK(res1
)) {
36007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36009 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36011 if (!SWIG_IsOK(ecode2
)) {
36012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36014 arg2
= static_cast< int >(val2
);
36015 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36016 if (!SWIG_IsOK(ecode3
)) {
36017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36019 arg3
= static_cast< int >(val3
);
36020 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36021 if (!SWIG_IsOK(ecode4
)) {
36022 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36024 arg4
= static_cast< int >(val4
);
36025 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36026 if (!SWIG_IsOK(ecode5
)) {
36027 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36029 arg5
= static_cast< int >(val5
);
36031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36032 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36033 wxPyEndAllowThreads(__tstate
);
36034 if (PyErr_Occurred()) SWIG_fail
;
36036 resultobj
= SWIG_Py_Void();
36043 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36044 PyObject
*resultobj
= 0;
36045 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36046 wxPoint
*arg2
= 0 ;
36047 wxPoint
*arg3
= 0 ;
36052 PyObject
* obj0
= 0 ;
36053 PyObject
* obj1
= 0 ;
36054 PyObject
* obj2
= 0 ;
36055 char * kwnames
[] = {
36056 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36061 if (!SWIG_IsOK(res1
)) {
36062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36064 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36067 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36071 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36075 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36076 wxPyEndAllowThreads(__tstate
);
36077 if (PyErr_Occurred()) SWIG_fail
;
36079 resultobj
= SWIG_Py_Void();
36086 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36087 PyObject
*resultobj
= 0;
36088 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36097 PyObject
* obj0
= 0 ;
36098 PyObject
* obj1
= 0 ;
36099 PyObject
* obj2
= 0 ;
36100 char * kwnames
[] = {
36101 (char *) "self",(char *) "x",(char *) "y", NULL
36104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36106 if (!SWIG_IsOK(res1
)) {
36107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36109 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36111 if (!SWIG_IsOK(ecode2
)) {
36112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36114 arg2
= static_cast< int >(val2
);
36115 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36116 if (!SWIG_IsOK(ecode3
)) {
36117 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36119 arg3
= static_cast< int >(val3
);
36121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36122 (arg1
)->CrossHair(arg2
,arg3
);
36123 wxPyEndAllowThreads(__tstate
);
36124 if (PyErr_Occurred()) SWIG_fail
;
36126 resultobj
= SWIG_Py_Void();
36133 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36134 PyObject
*resultobj
= 0;
36135 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36136 wxPoint
*arg2
= 0 ;
36140 PyObject
* obj0
= 0 ;
36141 PyObject
* obj1
= 0 ;
36142 char * kwnames
[] = {
36143 (char *) "self",(char *) "pt", NULL
36146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36148 if (!SWIG_IsOK(res1
)) {
36149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36151 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36154 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36158 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36159 wxPyEndAllowThreads(__tstate
);
36160 if (PyErr_Occurred()) SWIG_fail
;
36162 resultobj
= SWIG_Py_Void();
36169 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36170 PyObject
*resultobj
= 0;
36171 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36192 PyObject
* obj0
= 0 ;
36193 PyObject
* obj1
= 0 ;
36194 PyObject
* obj2
= 0 ;
36195 PyObject
* obj3
= 0 ;
36196 PyObject
* obj4
= 0 ;
36197 PyObject
* obj5
= 0 ;
36198 PyObject
* obj6
= 0 ;
36199 char * kwnames
[] = {
36200 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36205 if (!SWIG_IsOK(res1
)) {
36206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36208 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36210 if (!SWIG_IsOK(ecode2
)) {
36211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36213 arg2
= static_cast< int >(val2
);
36214 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36215 if (!SWIG_IsOK(ecode3
)) {
36216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36218 arg3
= static_cast< int >(val3
);
36219 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36220 if (!SWIG_IsOK(ecode4
)) {
36221 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36223 arg4
= static_cast< int >(val4
);
36224 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36225 if (!SWIG_IsOK(ecode5
)) {
36226 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36228 arg5
= static_cast< int >(val5
);
36229 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36230 if (!SWIG_IsOK(ecode6
)) {
36231 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36233 arg6
= static_cast< int >(val6
);
36234 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36235 if (!SWIG_IsOK(ecode7
)) {
36236 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36238 arg7
= static_cast< int >(val7
);
36240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36241 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36242 wxPyEndAllowThreads(__tstate
);
36243 if (PyErr_Occurred()) SWIG_fail
;
36245 resultobj
= SWIG_Py_Void();
36252 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36253 PyObject
*resultobj
= 0;
36254 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36255 wxPoint
*arg2
= 0 ;
36256 wxPoint
*arg3
= 0 ;
36257 wxPoint
*arg4
= 0 ;
36263 PyObject
* obj0
= 0 ;
36264 PyObject
* obj1
= 0 ;
36265 PyObject
* obj2
= 0 ;
36266 PyObject
* obj3
= 0 ;
36267 char * kwnames
[] = {
36268 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36273 if (!SWIG_IsOK(res1
)) {
36274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36276 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36279 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36283 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36287 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36291 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36292 wxPyEndAllowThreads(__tstate
);
36293 if (PyErr_Occurred()) SWIG_fail
;
36295 resultobj
= SWIG_Py_Void();
36302 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36303 PyObject
*resultobj
= 0;
36304 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36319 PyObject
* obj0
= 0 ;
36320 PyObject
* obj1
= 0 ;
36321 PyObject
* obj2
= 0 ;
36322 PyObject
* obj3
= 0 ;
36323 PyObject
* obj4
= 0 ;
36324 char * kwnames
[] = {
36325 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36330 if (!SWIG_IsOK(res1
)) {
36331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36333 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36335 if (!SWIG_IsOK(ecode2
)) {
36336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36338 arg2
= static_cast< int >(val2
);
36339 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36340 if (!SWIG_IsOK(ecode3
)) {
36341 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36343 arg3
= static_cast< int >(val3
);
36344 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36345 if (!SWIG_IsOK(ecode4
)) {
36346 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36348 arg4
= static_cast< int >(val4
);
36349 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36350 if (!SWIG_IsOK(ecode5
)) {
36351 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36353 arg5
= static_cast< int >(val5
);
36355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36356 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36357 wxPyEndAllowThreads(__tstate
);
36358 if (PyErr_Occurred()) SWIG_fail
;
36360 resultobj
= SWIG_Py_Void();
36367 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36368 PyObject
*resultobj
= 0;
36369 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36374 PyObject
* obj0
= 0 ;
36375 PyObject
* obj1
= 0 ;
36376 char * kwnames
[] = {
36377 (char *) "self",(char *) "rect", NULL
36380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36382 if (!SWIG_IsOK(res1
)) {
36383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36385 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36388 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36392 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36393 wxPyEndAllowThreads(__tstate
);
36394 if (PyErr_Occurred()) SWIG_fail
;
36396 resultobj
= SWIG_Py_Void();
36403 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36404 PyObject
*resultobj
= 0;
36405 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36426 PyObject
* obj0
= 0 ;
36427 PyObject
* obj1
= 0 ;
36428 PyObject
* obj2
= 0 ;
36429 PyObject
* obj3
= 0 ;
36430 PyObject
* obj4
= 0 ;
36431 PyObject
* obj5
= 0 ;
36432 PyObject
* obj6
= 0 ;
36433 char * kwnames
[] = {
36434 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36439 if (!SWIG_IsOK(res1
)) {
36440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36442 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36444 if (!SWIG_IsOK(ecode2
)) {
36445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36447 arg2
= static_cast< int >(val2
);
36448 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36449 if (!SWIG_IsOK(ecode3
)) {
36450 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36452 arg3
= static_cast< int >(val3
);
36453 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36454 if (!SWIG_IsOK(ecode4
)) {
36455 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36457 arg4
= static_cast< int >(val4
);
36458 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36459 if (!SWIG_IsOK(ecode5
)) {
36460 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36462 arg5
= static_cast< int >(val5
);
36463 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36464 if (!SWIG_IsOK(ecode6
)) {
36465 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36467 arg6
= static_cast< double >(val6
);
36468 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36469 if (!SWIG_IsOK(ecode7
)) {
36470 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36472 arg7
= static_cast< double >(val7
);
36474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36475 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36476 wxPyEndAllowThreads(__tstate
);
36477 if (PyErr_Occurred()) SWIG_fail
;
36479 resultobj
= SWIG_Py_Void();
36486 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36487 PyObject
*resultobj
= 0;
36488 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36489 wxPoint
*arg2
= 0 ;
36501 PyObject
* obj0
= 0 ;
36502 PyObject
* obj1
= 0 ;
36503 PyObject
* obj2
= 0 ;
36504 PyObject
* obj3
= 0 ;
36505 PyObject
* obj4
= 0 ;
36506 char * kwnames
[] = {
36507 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36512 if (!SWIG_IsOK(res1
)) {
36513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36515 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36518 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36522 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36524 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36525 if (!SWIG_IsOK(ecode4
)) {
36526 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36528 arg4
= static_cast< double >(val4
);
36529 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36530 if (!SWIG_IsOK(ecode5
)) {
36531 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36533 arg5
= static_cast< double >(val5
);
36535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36536 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36537 wxPyEndAllowThreads(__tstate
);
36538 if (PyErr_Occurred()) SWIG_fail
;
36540 resultobj
= SWIG_Py_Void();
36547 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36548 PyObject
*resultobj
= 0;
36549 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36558 PyObject
* obj0
= 0 ;
36559 PyObject
* obj1
= 0 ;
36560 PyObject
* obj2
= 0 ;
36561 char * kwnames
[] = {
36562 (char *) "self",(char *) "x",(char *) "y", NULL
36565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36567 if (!SWIG_IsOK(res1
)) {
36568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36570 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36572 if (!SWIG_IsOK(ecode2
)) {
36573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36575 arg2
= static_cast< int >(val2
);
36576 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36577 if (!SWIG_IsOK(ecode3
)) {
36578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36580 arg3
= static_cast< int >(val3
);
36582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36583 (arg1
)->DrawPoint(arg2
,arg3
);
36584 wxPyEndAllowThreads(__tstate
);
36585 if (PyErr_Occurred()) SWIG_fail
;
36587 resultobj
= SWIG_Py_Void();
36594 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36595 PyObject
*resultobj
= 0;
36596 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36597 wxPoint
*arg2
= 0 ;
36601 PyObject
* obj0
= 0 ;
36602 PyObject
* obj1
= 0 ;
36603 char * kwnames
[] = {
36604 (char *) "self",(char *) "pt", NULL
36607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36609 if (!SWIG_IsOK(res1
)) {
36610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36612 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36615 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36619 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36620 wxPyEndAllowThreads(__tstate
);
36621 if (PyErr_Occurred()) SWIG_fail
;
36623 resultobj
= SWIG_Py_Void();
36630 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36631 PyObject
*resultobj
= 0;
36632 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36647 PyObject
* obj0
= 0 ;
36648 PyObject
* obj1
= 0 ;
36649 PyObject
* obj2
= 0 ;
36650 PyObject
* obj3
= 0 ;
36651 PyObject
* obj4
= 0 ;
36652 char * kwnames
[] = {
36653 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36658 if (!SWIG_IsOK(res1
)) {
36659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36661 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36663 if (!SWIG_IsOK(ecode2
)) {
36664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36666 arg2
= static_cast< int >(val2
);
36667 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36668 if (!SWIG_IsOK(ecode3
)) {
36669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36671 arg3
= static_cast< int >(val3
);
36672 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36673 if (!SWIG_IsOK(ecode4
)) {
36674 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36676 arg4
= static_cast< int >(val4
);
36677 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36678 if (!SWIG_IsOK(ecode5
)) {
36679 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36681 arg5
= static_cast< int >(val5
);
36683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36684 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36685 wxPyEndAllowThreads(__tstate
);
36686 if (PyErr_Occurred()) SWIG_fail
;
36688 resultobj
= SWIG_Py_Void();
36695 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36696 PyObject
*resultobj
= 0;
36697 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36702 PyObject
* obj0
= 0 ;
36703 PyObject
* obj1
= 0 ;
36704 char * kwnames
[] = {
36705 (char *) "self",(char *) "rect", NULL
36708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36710 if (!SWIG_IsOK(res1
)) {
36711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36713 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36716 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36720 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36721 wxPyEndAllowThreads(__tstate
);
36722 if (PyErr_Occurred()) SWIG_fail
;
36724 resultobj
= SWIG_Py_Void();
36731 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36732 PyObject
*resultobj
= 0;
36733 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36734 wxPoint
*arg2
= 0 ;
36740 PyObject
* obj0
= 0 ;
36741 PyObject
* obj1
= 0 ;
36742 PyObject
* obj2
= 0 ;
36743 char * kwnames
[] = {
36744 (char *) "self",(char *) "pt",(char *) "sz", NULL
36747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36749 if (!SWIG_IsOK(res1
)) {
36750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36752 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36755 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36759 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36763 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36764 wxPyEndAllowThreads(__tstate
);
36765 if (PyErr_Occurred()) SWIG_fail
;
36767 resultobj
= SWIG_Py_Void();
36774 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36775 PyObject
*resultobj
= 0;
36776 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36794 PyObject
* obj0
= 0 ;
36795 PyObject
* obj1
= 0 ;
36796 PyObject
* obj2
= 0 ;
36797 PyObject
* obj3
= 0 ;
36798 PyObject
* obj4
= 0 ;
36799 PyObject
* obj5
= 0 ;
36800 char * kwnames
[] = {
36801 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
36804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36806 if (!SWIG_IsOK(res1
)) {
36807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36809 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36811 if (!SWIG_IsOK(ecode2
)) {
36812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
36814 arg2
= static_cast< int >(val2
);
36815 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36816 if (!SWIG_IsOK(ecode3
)) {
36817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
36819 arg3
= static_cast< int >(val3
);
36820 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36821 if (!SWIG_IsOK(ecode4
)) {
36822 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
36824 arg4
= static_cast< int >(val4
);
36825 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36826 if (!SWIG_IsOK(ecode5
)) {
36827 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
36829 arg5
= static_cast< int >(val5
);
36830 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36831 if (!SWIG_IsOK(ecode6
)) {
36832 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
36834 arg6
= static_cast< double >(val6
);
36836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36837 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
36838 wxPyEndAllowThreads(__tstate
);
36839 if (PyErr_Occurred()) SWIG_fail
;
36841 resultobj
= SWIG_Py_Void();
36848 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36849 PyObject
*resultobj
= 0;
36850 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36858 PyObject
* obj0
= 0 ;
36859 PyObject
* obj1
= 0 ;
36860 PyObject
* obj2
= 0 ;
36861 char * kwnames
[] = {
36862 (char *) "self",(char *) "r",(char *) "radius", NULL
36865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36867 if (!SWIG_IsOK(res1
)) {
36868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36870 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36873 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36875 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
36876 if (!SWIG_IsOK(ecode3
)) {
36877 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
36879 arg3
= static_cast< double >(val3
);
36881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36882 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
36883 wxPyEndAllowThreads(__tstate
);
36884 if (PyErr_Occurred()) SWIG_fail
;
36886 resultobj
= SWIG_Py_Void();
36893 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36894 PyObject
*resultobj
= 0;
36895 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36896 wxPoint
*arg2
= 0 ;
36905 PyObject
* obj0
= 0 ;
36906 PyObject
* obj1
= 0 ;
36907 PyObject
* obj2
= 0 ;
36908 PyObject
* obj3
= 0 ;
36909 char * kwnames
[] = {
36910 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
36913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36915 if (!SWIG_IsOK(res1
)) {
36916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36918 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36921 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36925 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36927 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36928 if (!SWIG_IsOK(ecode4
)) {
36929 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
36931 arg4
= static_cast< double >(val4
);
36933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36934 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
36935 wxPyEndAllowThreads(__tstate
);
36936 if (PyErr_Occurred()) SWIG_fail
;
36938 resultobj
= SWIG_Py_Void();
36945 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36946 PyObject
*resultobj
= 0;
36947 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36959 PyObject
* obj0
= 0 ;
36960 PyObject
* obj1
= 0 ;
36961 PyObject
* obj2
= 0 ;
36962 PyObject
* obj3
= 0 ;
36963 char * kwnames
[] = {
36964 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
36967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36969 if (!SWIG_IsOK(res1
)) {
36970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36972 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36974 if (!SWIG_IsOK(ecode2
)) {
36975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
36977 arg2
= static_cast< int >(val2
);
36978 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36979 if (!SWIG_IsOK(ecode3
)) {
36980 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
36982 arg3
= static_cast< int >(val3
);
36983 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36984 if (!SWIG_IsOK(ecode4
)) {
36985 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
36987 arg4
= static_cast< int >(val4
);
36989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36990 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
36991 wxPyEndAllowThreads(__tstate
);
36992 if (PyErr_Occurred()) SWIG_fail
;
36994 resultobj
= SWIG_Py_Void();
37001 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37002 PyObject
*resultobj
= 0;
37003 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37004 wxPoint
*arg2
= 0 ;
37011 PyObject
* obj0
= 0 ;
37012 PyObject
* obj1
= 0 ;
37013 PyObject
* obj2
= 0 ;
37014 char * kwnames
[] = {
37015 (char *) "self",(char *) "pt",(char *) "radius", NULL
37018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37020 if (!SWIG_IsOK(res1
)) {
37021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37023 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37026 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37029 if (!SWIG_IsOK(ecode3
)) {
37030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37032 arg3
= static_cast< int >(val3
);
37034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37035 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37036 wxPyEndAllowThreads(__tstate
);
37037 if (PyErr_Occurred()) SWIG_fail
;
37039 resultobj
= SWIG_Py_Void();
37046 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37047 PyObject
*resultobj
= 0;
37048 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37063 PyObject
* obj0
= 0 ;
37064 PyObject
* obj1
= 0 ;
37065 PyObject
* obj2
= 0 ;
37066 PyObject
* obj3
= 0 ;
37067 PyObject
* obj4
= 0 ;
37068 char * kwnames
[] = {
37069 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37074 if (!SWIG_IsOK(res1
)) {
37075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37077 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37079 if (!SWIG_IsOK(ecode2
)) {
37080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37082 arg2
= static_cast< int >(val2
);
37083 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37084 if (!SWIG_IsOK(ecode3
)) {
37085 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37087 arg3
= static_cast< int >(val3
);
37088 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37089 if (!SWIG_IsOK(ecode4
)) {
37090 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37092 arg4
= static_cast< int >(val4
);
37093 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37094 if (!SWIG_IsOK(ecode5
)) {
37095 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37097 arg5
= static_cast< int >(val5
);
37099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37100 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37101 wxPyEndAllowThreads(__tstate
);
37102 if (PyErr_Occurred()) SWIG_fail
;
37104 resultobj
= SWIG_Py_Void();
37111 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37112 PyObject
*resultobj
= 0;
37113 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37118 PyObject
* obj0
= 0 ;
37119 PyObject
* obj1
= 0 ;
37120 char * kwnames
[] = {
37121 (char *) "self",(char *) "rect", NULL
37124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37126 if (!SWIG_IsOK(res1
)) {
37127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37129 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37132 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37136 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37137 wxPyEndAllowThreads(__tstate
);
37138 if (PyErr_Occurred()) SWIG_fail
;
37140 resultobj
= SWIG_Py_Void();
37147 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37148 PyObject
*resultobj
= 0;
37149 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37150 wxPoint
*arg2
= 0 ;
37156 PyObject
* obj0
= 0 ;
37157 PyObject
* obj1
= 0 ;
37158 PyObject
* obj2
= 0 ;
37159 char * kwnames
[] = {
37160 (char *) "self",(char *) "pt",(char *) "sz", NULL
37163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37165 if (!SWIG_IsOK(res1
)) {
37166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37168 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37171 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37175 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37179 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37180 wxPyEndAllowThreads(__tstate
);
37181 if (PyErr_Occurred()) SWIG_fail
;
37183 resultobj
= SWIG_Py_Void();
37190 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37191 PyObject
*resultobj
= 0;
37192 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37204 PyObject
* obj0
= 0 ;
37205 PyObject
* obj1
= 0 ;
37206 PyObject
* obj2
= 0 ;
37207 PyObject
* obj3
= 0 ;
37208 char * kwnames
[] = {
37209 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37214 if (!SWIG_IsOK(res1
)) {
37215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37217 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37218 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37219 if (!SWIG_IsOK(res2
)) {
37220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37225 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37226 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37227 if (!SWIG_IsOK(ecode3
)) {
37228 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37230 arg3
= static_cast< int >(val3
);
37231 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37232 if (!SWIG_IsOK(ecode4
)) {
37233 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37235 arg4
= static_cast< int >(val4
);
37237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37238 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37239 wxPyEndAllowThreads(__tstate
);
37240 if (PyErr_Occurred()) SWIG_fail
;
37242 resultobj
= SWIG_Py_Void();
37249 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37250 PyObject
*resultobj
= 0;
37251 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37253 wxPoint
*arg3
= 0 ;
37259 PyObject
* obj0
= 0 ;
37260 PyObject
* obj1
= 0 ;
37261 PyObject
* obj2
= 0 ;
37262 char * kwnames
[] = {
37263 (char *) "self",(char *) "icon",(char *) "pt", NULL
37266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37268 if (!SWIG_IsOK(res1
)) {
37269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37271 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37272 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37273 if (!SWIG_IsOK(res2
)) {
37274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37279 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37282 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37286 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37287 wxPyEndAllowThreads(__tstate
);
37288 if (PyErr_Occurred()) SWIG_fail
;
37290 resultobj
= SWIG_Py_Void();
37297 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37298 PyObject
*resultobj
= 0;
37299 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37300 wxBitmap
*arg2
= 0 ;
37303 bool arg5
= (bool) false ;
37314 PyObject
* obj0
= 0 ;
37315 PyObject
* obj1
= 0 ;
37316 PyObject
* obj2
= 0 ;
37317 PyObject
* obj3
= 0 ;
37318 PyObject
* obj4
= 0 ;
37319 char * kwnames
[] = {
37320 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37325 if (!SWIG_IsOK(res1
)) {
37326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37328 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37329 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37330 if (!SWIG_IsOK(res2
)) {
37331 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37334 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37336 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37337 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37338 if (!SWIG_IsOK(ecode3
)) {
37339 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37341 arg3
= static_cast< int >(val3
);
37342 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37343 if (!SWIG_IsOK(ecode4
)) {
37344 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37346 arg4
= static_cast< int >(val4
);
37348 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37349 if (!SWIG_IsOK(ecode5
)) {
37350 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37352 arg5
= static_cast< bool >(val5
);
37355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37356 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37357 wxPyEndAllowThreads(__tstate
);
37358 if (PyErr_Occurred()) SWIG_fail
;
37360 resultobj
= SWIG_Py_Void();
37367 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37368 PyObject
*resultobj
= 0;
37369 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37370 wxBitmap
*arg2
= 0 ;
37371 wxPoint
*arg3
= 0 ;
37372 bool arg4
= (bool) false ;
37380 PyObject
* obj0
= 0 ;
37381 PyObject
* obj1
= 0 ;
37382 PyObject
* obj2
= 0 ;
37383 PyObject
* obj3
= 0 ;
37384 char * kwnames
[] = {
37385 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37390 if (!SWIG_IsOK(res1
)) {
37391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37393 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37394 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37395 if (!SWIG_IsOK(res2
)) {
37396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37401 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37404 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37407 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37408 if (!SWIG_IsOK(ecode4
)) {
37409 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37411 arg4
= static_cast< bool >(val4
);
37414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37415 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37416 wxPyEndAllowThreads(__tstate
);
37417 if (PyErr_Occurred()) SWIG_fail
;
37419 resultobj
= SWIG_Py_Void();
37426 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37427 PyObject
*resultobj
= 0;
37428 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37429 wxString
*arg2
= 0 ;
37434 bool temp2
= false ;
37439 PyObject
* obj0
= 0 ;
37440 PyObject
* obj1
= 0 ;
37441 PyObject
* obj2
= 0 ;
37442 PyObject
* obj3
= 0 ;
37443 char * kwnames
[] = {
37444 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37449 if (!SWIG_IsOK(res1
)) {
37450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37452 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37454 arg2
= wxString_in_helper(obj1
);
37455 if (arg2
== NULL
) SWIG_fail
;
37458 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37459 if (!SWIG_IsOK(ecode3
)) {
37460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37462 arg3
= static_cast< int >(val3
);
37463 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37464 if (!SWIG_IsOK(ecode4
)) {
37465 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37467 arg4
= static_cast< int >(val4
);
37469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37470 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37471 wxPyEndAllowThreads(__tstate
);
37472 if (PyErr_Occurred()) SWIG_fail
;
37474 resultobj
= SWIG_Py_Void();
37489 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37490 PyObject
*resultobj
= 0;
37491 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37492 wxString
*arg2
= 0 ;
37493 wxPoint
*arg3
= 0 ;
37496 bool temp2
= false ;
37498 PyObject
* obj0
= 0 ;
37499 PyObject
* obj1
= 0 ;
37500 PyObject
* obj2
= 0 ;
37501 char * kwnames
[] = {
37502 (char *) "self",(char *) "text",(char *) "pt", NULL
37505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37507 if (!SWIG_IsOK(res1
)) {
37508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37510 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37512 arg2
= wxString_in_helper(obj1
);
37513 if (arg2
== NULL
) SWIG_fail
;
37518 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37522 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37523 wxPyEndAllowThreads(__tstate
);
37524 if (PyErr_Occurred()) SWIG_fail
;
37526 resultobj
= SWIG_Py_Void();
37541 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37542 PyObject
*resultobj
= 0;
37543 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37544 wxString
*arg2
= 0 ;
37550 bool temp2
= false ;
37557 PyObject
* obj0
= 0 ;
37558 PyObject
* obj1
= 0 ;
37559 PyObject
* obj2
= 0 ;
37560 PyObject
* obj3
= 0 ;
37561 PyObject
* obj4
= 0 ;
37562 char * kwnames
[] = {
37563 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37568 if (!SWIG_IsOK(res1
)) {
37569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37571 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37573 arg2
= wxString_in_helper(obj1
);
37574 if (arg2
== NULL
) SWIG_fail
;
37577 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37578 if (!SWIG_IsOK(ecode3
)) {
37579 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37581 arg3
= static_cast< int >(val3
);
37582 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37583 if (!SWIG_IsOK(ecode4
)) {
37584 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37586 arg4
= static_cast< int >(val4
);
37587 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37588 if (!SWIG_IsOK(ecode5
)) {
37589 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37591 arg5
= static_cast< double >(val5
);
37593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37594 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37595 wxPyEndAllowThreads(__tstate
);
37596 if (PyErr_Occurred()) SWIG_fail
;
37598 resultobj
= SWIG_Py_Void();
37613 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37614 PyObject
*resultobj
= 0;
37615 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37616 wxString
*arg2
= 0 ;
37617 wxPoint
*arg3
= 0 ;
37621 bool temp2
= false ;
37625 PyObject
* obj0
= 0 ;
37626 PyObject
* obj1
= 0 ;
37627 PyObject
* obj2
= 0 ;
37628 PyObject
* obj3
= 0 ;
37629 char * kwnames
[] = {
37630 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37635 if (!SWIG_IsOK(res1
)) {
37636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37638 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37640 arg2
= wxString_in_helper(obj1
);
37641 if (arg2
== NULL
) SWIG_fail
;
37646 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37648 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37649 if (!SWIG_IsOK(ecode4
)) {
37650 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37652 arg4
= static_cast< double >(val4
);
37654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37655 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37656 wxPyEndAllowThreads(__tstate
);
37657 if (PyErr_Occurred()) SWIG_fail
;
37659 resultobj
= SWIG_Py_Void();
37674 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37675 PyObject
*resultobj
= 0;
37676 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37678 wxPoint
*arg3
= (wxPoint
*) 0 ;
37679 int arg4
= (int) 0 ;
37680 int arg5
= (int) 0 ;
37687 PyObject
* obj0
= 0 ;
37688 PyObject
* obj1
= 0 ;
37689 PyObject
* obj2
= 0 ;
37690 PyObject
* obj3
= 0 ;
37691 char * kwnames
[] = {
37692 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37697 if (!SWIG_IsOK(res1
)) {
37698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37700 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37702 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37703 if (arg3
== NULL
) SWIG_fail
;
37706 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37707 if (!SWIG_IsOK(ecode4
)) {
37708 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37710 arg4
= static_cast< int >(val4
);
37713 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37714 if (!SWIG_IsOK(ecode5
)) {
37715 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37717 arg5
= static_cast< int >(val5
);
37720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37721 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37722 wxPyEndAllowThreads(__tstate
);
37723 if (PyErr_Occurred()) SWIG_fail
;
37725 resultobj
= SWIG_Py_Void();
37727 if (arg3
) delete [] arg3
;
37732 if (arg3
) delete [] arg3
;
37738 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37739 PyObject
*resultobj
= 0;
37740 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37742 wxPoint
*arg3
= (wxPoint
*) 0 ;
37743 int arg4
= (int) 0 ;
37744 int arg5
= (int) 0 ;
37745 int arg6
= (int) wxODDEVEN_RULE
;
37754 PyObject
* obj0
= 0 ;
37755 PyObject
* obj1
= 0 ;
37756 PyObject
* obj2
= 0 ;
37757 PyObject
* obj3
= 0 ;
37758 PyObject
* obj4
= 0 ;
37759 char * kwnames
[] = {
37760 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37765 if (!SWIG_IsOK(res1
)) {
37766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37768 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37770 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37771 if (arg3
== NULL
) SWIG_fail
;
37774 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37775 if (!SWIG_IsOK(ecode4
)) {
37776 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
37778 arg4
= static_cast< int >(val4
);
37781 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37782 if (!SWIG_IsOK(ecode5
)) {
37783 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
37785 arg5
= static_cast< int >(val5
);
37788 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
37789 if (!SWIG_IsOK(ecode6
)) {
37790 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
37792 arg6
= static_cast< int >(val6
);
37795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37796 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
37797 wxPyEndAllowThreads(__tstate
);
37798 if (PyErr_Occurred()) SWIG_fail
;
37800 resultobj
= SWIG_Py_Void();
37802 if (arg3
) delete [] arg3
;
37807 if (arg3
) delete [] arg3
;
37813 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37814 PyObject
*resultobj
= 0;
37815 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37816 wxString
*arg2
= 0 ;
37818 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37819 int arg5
= (int) -1 ;
37822 bool temp2
= false ;
37828 PyObject
* obj0
= 0 ;
37829 PyObject
* obj1
= 0 ;
37830 PyObject
* obj2
= 0 ;
37831 PyObject
* obj3
= 0 ;
37832 PyObject
* obj4
= 0 ;
37833 char * kwnames
[] = {
37834 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37839 if (!SWIG_IsOK(res1
)) {
37840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37842 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37844 arg2
= wxString_in_helper(obj1
);
37845 if (arg2
== NULL
) SWIG_fail
;
37850 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
37853 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37854 if (!SWIG_IsOK(ecode4
)) {
37855 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
37857 arg4
= static_cast< int >(val4
);
37860 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37861 if (!SWIG_IsOK(ecode5
)) {
37862 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
37864 arg5
= static_cast< int >(val5
);
37867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37868 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
37869 wxPyEndAllowThreads(__tstate
);
37870 if (PyErr_Occurred()) SWIG_fail
;
37872 resultobj
= SWIG_Py_Void();
37887 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37888 PyObject
*resultobj
= 0;
37889 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37890 wxString
*arg2
= 0 ;
37891 wxBitmap
*arg3
= 0 ;
37893 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37894 int arg6
= (int) -1 ;
37897 bool temp2
= false ;
37905 PyObject
* obj0
= 0 ;
37906 PyObject
* obj1
= 0 ;
37907 PyObject
* obj2
= 0 ;
37908 PyObject
* obj3
= 0 ;
37909 PyObject
* obj4
= 0 ;
37910 PyObject
* obj5
= 0 ;
37911 char * kwnames
[] = {
37912 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37917 if (!SWIG_IsOK(res1
)) {
37918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37920 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37922 arg2
= wxString_in_helper(obj1
);
37923 if (arg2
== NULL
) SWIG_fail
;
37926 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37927 if (!SWIG_IsOK(res3
)) {
37928 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37933 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
37936 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
37939 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37940 if (!SWIG_IsOK(ecode5
)) {
37941 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
37943 arg5
= static_cast< int >(val5
);
37946 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37947 if (!SWIG_IsOK(ecode6
)) {
37948 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
37950 arg6
= static_cast< int >(val6
);
37953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37954 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
37955 wxPyEndAllowThreads(__tstate
);
37956 if (PyErr_Occurred()) SWIG_fail
;
37958 resultobj
= SWIG_Py_Void();
37973 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37974 PyObject
*resultobj
= 0;
37975 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37977 wxPoint
*arg3
= (wxPoint
*) 0 ;
37980 PyObject
* obj0
= 0 ;
37981 PyObject
* obj1
= 0 ;
37982 char * kwnames
[] = {
37983 (char *) "self",(char *) "points", NULL
37986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37988 if (!SWIG_IsOK(res1
)) {
37989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37991 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37993 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37994 if (arg3
== NULL
) SWIG_fail
;
37997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37998 (arg1
)->DrawSpline(arg2
,arg3
);
37999 wxPyEndAllowThreads(__tstate
);
38000 if (PyErr_Occurred()) SWIG_fail
;
38002 resultobj
= SWIG_Py_Void();
38004 if (arg3
) delete [] arg3
;
38009 if (arg3
) delete [] arg3
;
38015 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38016 PyObject
*resultobj
= 0;
38017 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38020 PyObject
*swig_obj
[1] ;
38022 if (!args
) SWIG_fail
;
38023 swig_obj
[0] = args
;
38024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38025 if (!SWIG_IsOK(res1
)) {
38026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38028 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38032 wxPyEndAllowThreads(__tstate
);
38033 if (PyErr_Occurred()) SWIG_fail
;
38035 resultobj
= SWIG_Py_Void();
38042 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38043 PyObject
*resultobj
= 0;
38044 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38050 PyObject
* obj0
= 0 ;
38051 PyObject
* obj1
= 0 ;
38052 char * kwnames
[] = {
38053 (char *) "self",(char *) "font", NULL
38056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38058 if (!SWIG_IsOK(res1
)) {
38059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38061 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38062 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38063 if (!SWIG_IsOK(res2
)) {
38064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38069 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38072 (arg1
)->SetFont((wxFont
const &)*arg2
);
38073 wxPyEndAllowThreads(__tstate
);
38074 if (PyErr_Occurred()) SWIG_fail
;
38076 resultobj
= SWIG_Py_Void();
38083 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38084 PyObject
*resultobj
= 0;
38085 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38091 PyObject
* obj0
= 0 ;
38092 PyObject
* obj1
= 0 ;
38093 char * kwnames
[] = {
38094 (char *) "self",(char *) "pen", NULL
38097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38099 if (!SWIG_IsOK(res1
)) {
38100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38102 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38103 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38104 if (!SWIG_IsOK(res2
)) {
38105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38108 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38110 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38113 (arg1
)->SetPen((wxPen
const &)*arg2
);
38114 wxPyEndAllowThreads(__tstate
);
38115 if (PyErr_Occurred()) SWIG_fail
;
38117 resultobj
= SWIG_Py_Void();
38124 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38125 PyObject
*resultobj
= 0;
38126 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38127 wxBrush
*arg2
= 0 ;
38132 PyObject
* obj0
= 0 ;
38133 PyObject
* obj1
= 0 ;
38134 char * kwnames
[] = {
38135 (char *) "self",(char *) "brush", NULL
38138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38140 if (!SWIG_IsOK(res1
)) {
38141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38143 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38144 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38145 if (!SWIG_IsOK(res2
)) {
38146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38149 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38151 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38154 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38155 wxPyEndAllowThreads(__tstate
);
38156 if (PyErr_Occurred()) SWIG_fail
;
38158 resultobj
= SWIG_Py_Void();
38165 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38166 PyObject
*resultobj
= 0;
38167 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38168 wxBrush
*arg2
= 0 ;
38173 PyObject
* obj0
= 0 ;
38174 PyObject
* obj1
= 0 ;
38175 char * kwnames
[] = {
38176 (char *) "self",(char *) "brush", NULL
38179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38181 if (!SWIG_IsOK(res1
)) {
38182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38184 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38185 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38186 if (!SWIG_IsOK(res2
)) {
38187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38190 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38192 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38195 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38196 wxPyEndAllowThreads(__tstate
);
38197 if (PyErr_Occurred()) SWIG_fail
;
38199 resultobj
= SWIG_Py_Void();
38206 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38207 PyObject
*resultobj
= 0;
38208 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38214 PyObject
* obj0
= 0 ;
38215 PyObject
* obj1
= 0 ;
38216 char * kwnames
[] = {
38217 (char *) "self",(char *) "mode", NULL
38220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38222 if (!SWIG_IsOK(res1
)) {
38223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38225 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38227 if (!SWIG_IsOK(ecode2
)) {
38228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38230 arg2
= static_cast< int >(val2
);
38232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38233 (arg1
)->SetBackgroundMode(arg2
);
38234 wxPyEndAllowThreads(__tstate
);
38235 if (PyErr_Occurred()) SWIG_fail
;
38237 resultobj
= SWIG_Py_Void();
38244 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38245 PyObject
*resultobj
= 0;
38246 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38247 wxPalette
*arg2
= 0 ;
38252 PyObject
* obj0
= 0 ;
38253 PyObject
* obj1
= 0 ;
38254 char * kwnames
[] = {
38255 (char *) "self",(char *) "palette", NULL
38258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38260 if (!SWIG_IsOK(res1
)) {
38261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38263 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38264 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38265 if (!SWIG_IsOK(res2
)) {
38266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38271 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38274 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38275 wxPyEndAllowThreads(__tstate
);
38276 if (PyErr_Occurred()) SWIG_fail
;
38278 resultobj
= SWIG_Py_Void();
38285 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38286 PyObject
*resultobj
= 0;
38287 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38288 wxColour
*arg2
= 0 ;
38292 PyObject
* obj0
= 0 ;
38293 PyObject
* obj1
= 0 ;
38294 char * kwnames
[] = {
38295 (char *) "self",(char *) "colour", NULL
38298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38300 if (!SWIG_IsOK(res1
)) {
38301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38303 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38306 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38310 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38311 wxPyEndAllowThreads(__tstate
);
38312 if (PyErr_Occurred()) SWIG_fail
;
38314 resultobj
= SWIG_Py_Void();
38321 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38322 PyObject
*resultobj
= 0;
38323 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38324 wxColour
*arg2
= 0 ;
38328 PyObject
* obj0
= 0 ;
38329 PyObject
* obj1
= 0 ;
38330 char * kwnames
[] = {
38331 (char *) "self",(char *) "colour", NULL
38334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38336 if (!SWIG_IsOK(res1
)) {
38337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38339 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38342 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38346 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38347 wxPyEndAllowThreads(__tstate
);
38348 if (PyErr_Occurred()) SWIG_fail
;
38350 resultobj
= SWIG_Py_Void();
38357 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38358 PyObject
*resultobj
= 0;
38359 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38365 PyObject
* obj0
= 0 ;
38366 PyObject
* obj1
= 0 ;
38367 char * kwnames
[] = {
38368 (char *) "self",(char *) "function", NULL
38371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38373 if (!SWIG_IsOK(res1
)) {
38374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38376 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38378 if (!SWIG_IsOK(ecode2
)) {
38379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38381 arg2
= static_cast< int >(val2
);
38383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38384 (arg1
)->SetLogicalFunction(arg2
);
38385 wxPyEndAllowThreads(__tstate
);
38386 if (PyErr_Occurred()) SWIG_fail
;
38388 resultobj
= SWIG_Py_Void();
38395 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38397 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38398 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38399 return SWIG_Py_Void();
38402 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38403 return SWIG_Python_InitShadowInstance(args
);
38406 static PyMethodDef SwigMethods
[] = {
38407 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38408 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38409 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38410 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38411 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38412 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38413 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38414 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38415 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38416 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38417 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38418 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38419 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38420 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38421 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38422 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38423 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38424 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38425 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38426 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38427 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38428 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38429 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38430 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38431 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38432 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38433 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38434 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38435 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38436 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38437 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38438 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38439 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38440 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38441 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38442 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38443 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38444 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38445 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38446 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38447 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38448 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38449 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38450 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38451 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38452 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38453 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38454 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38455 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38456 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38457 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38458 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38459 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38460 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38461 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38462 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38463 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38464 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38465 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38466 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38467 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38468 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38469 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38470 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38471 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
38472 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38473 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38474 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38475 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38476 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38477 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38478 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38479 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38480 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38481 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38482 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38483 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38484 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38485 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38486 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38487 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38488 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38489 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38490 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38491 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38492 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38493 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38494 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38495 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38496 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38497 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38498 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38499 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38500 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38501 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38502 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38503 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38504 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38505 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38506 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38507 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38508 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38509 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38510 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38511 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38512 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38513 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38514 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38515 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38516 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38517 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38518 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38519 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38520 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38521 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38522 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38523 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38524 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38525 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38526 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38527 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38528 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38529 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38530 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38531 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38532 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38533 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38534 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38535 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38536 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38537 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38538 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38539 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38540 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38541 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38542 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38543 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38544 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38545 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38546 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38547 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38548 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38549 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38550 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38551 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38552 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38553 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38554 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38555 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38556 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38557 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38558 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38559 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38560 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38561 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38562 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38563 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38564 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38565 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38566 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38567 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38568 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38569 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38570 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38571 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38572 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38573 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38574 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38575 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38576 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38577 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38578 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38579 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38580 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38581 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38582 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38583 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38584 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38585 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38586 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38587 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38588 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38589 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38590 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38591 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38592 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38593 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38594 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38595 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38596 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38597 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38598 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38599 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38600 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38601 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38602 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38603 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38604 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38605 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38606 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38607 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38608 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38609 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38610 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38611 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38612 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38613 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38614 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38615 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38616 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38617 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38618 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38619 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38620 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38621 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38622 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38623 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38624 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38625 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38626 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38627 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38628 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38629 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38630 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38631 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38632 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38633 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38634 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38635 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38636 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38637 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38638 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38639 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38640 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38641 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38642 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38643 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38644 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38645 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38646 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38647 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38648 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38649 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38650 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38651 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38652 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38653 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38654 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38655 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38656 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38657 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38658 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38659 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38660 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38661 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38662 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38663 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38664 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38665 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38666 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38667 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38668 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38669 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38670 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38671 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38672 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38673 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38674 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38675 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38676 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38677 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38678 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38679 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38680 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38681 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38682 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38683 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38684 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38685 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38686 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38687 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38688 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38689 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38690 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38691 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38692 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38693 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38694 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38695 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38696 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38697 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38698 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38699 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38700 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38701 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38702 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38703 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38704 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38705 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38706 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38707 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38708 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38709 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38710 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38711 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38712 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38713 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38714 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38715 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38716 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38717 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38718 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38719 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38720 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38721 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38722 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38723 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38724 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38725 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38726 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38727 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38728 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38729 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38730 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38731 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38732 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38733 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38734 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38735 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38736 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38737 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38738 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38739 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38740 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38741 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38742 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38743 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38744 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38745 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38746 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38747 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38748 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38749 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38750 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38751 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38752 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38753 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38754 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38755 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38756 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38757 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38758 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38759 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38760 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38761 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38762 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38763 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38764 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38765 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
38766 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
38767 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
38768 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
38769 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
38770 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
38771 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
38772 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
38773 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38774 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38775 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38776 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38777 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38778 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38779 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38780 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38781 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38782 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
38783 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
38784 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
38785 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38786 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
38787 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38788 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38789 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38790 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
38791 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
38792 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
38793 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
38794 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
38795 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
38796 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38797 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38798 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38799 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38800 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38801 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
38802 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
38803 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
38804 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38805 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38806 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38807 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38808 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38809 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38810 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38811 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38812 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38813 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38814 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38815 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38816 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38817 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38818 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38819 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38820 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38821 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38822 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38823 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38824 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38825 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38826 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38827 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38828 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38829 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38830 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38831 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38832 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38833 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38834 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38835 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38836 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38837 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38838 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38839 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38840 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38841 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38842 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38843 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38844 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38845 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38846 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38847 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38848 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38849 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38850 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38851 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38852 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38853 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
38854 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38855 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
38856 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
38857 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
38858 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38859 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38860 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38861 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38862 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38863 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38864 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
38865 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
38866 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
38867 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
38868 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
38869 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38870 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38871 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38872 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38873 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
38874 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
38875 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
38876 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
38877 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38878 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38879 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38880 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38881 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38882 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38883 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38884 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38885 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
38886 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
38887 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
38888 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
38889 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
38890 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
38891 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
38892 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
38893 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
38894 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
38895 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
38896 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
38897 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38898 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38899 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
38900 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38901 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
38902 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38903 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
38904 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38905 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
38906 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
38907 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38908 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38909 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
38910 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
38911 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38912 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38913 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38914 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
38915 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38916 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
38917 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38918 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38919 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
38920 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
38921 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
38922 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
38923 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
38924 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
38925 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
38926 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38927 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38928 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38929 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38930 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38931 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38932 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38933 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
38934 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38935 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
38936 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
38937 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
38938 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38939 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
38940 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
38941 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
38942 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38943 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
38944 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
38945 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
38946 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
38947 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
38948 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
38949 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
38950 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
38951 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38952 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38953 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
38954 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
38955 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
38956 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38957 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
38958 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
38959 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38960 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
38961 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
38962 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38963 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
38964 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
38965 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38966 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38967 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38968 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38969 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
38970 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
38971 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
38972 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
38973 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
38974 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38975 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
38976 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
38977 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
38978 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38979 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38980 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38981 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38982 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38983 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38984 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38985 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38986 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
38987 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
38988 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38989 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
38990 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38991 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38992 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
38993 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
38994 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
38995 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38996 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
38997 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
38998 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38999 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
39000 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
39001 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
39002 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39003 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39004 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39005 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
39006 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39007 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39008 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39009 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39010 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39011 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39012 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39013 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39014 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39015 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39016 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39017 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39018 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39019 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39020 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39021 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39022 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39023 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39024 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39025 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39026 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39027 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39028 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39029 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
39030 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39031 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39032 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39033 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39034 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39035 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39036 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39037 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39038 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39039 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39040 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39041 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39042 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39043 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
39044 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
39045 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39046 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39047 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39048 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39049 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39050 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39051 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39052 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39053 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39054 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39055 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39056 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39057 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39058 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39059 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39060 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39061 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39062 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39063 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39064 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39065 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
39066 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39067 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39068 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
39069 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39070 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39071 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39072 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39073 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39074 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39075 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39076 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39077 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39078 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39079 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39080 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39081 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39082 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39083 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39084 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39085 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39086 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39087 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39088 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39089 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39090 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39091 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39092 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39093 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39094 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39095 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39096 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39097 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39098 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39099 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39100 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39101 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39102 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39103 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39104 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39105 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39106 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39107 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39108 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39109 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39110 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39111 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39112 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39113 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39114 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39115 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
39116 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39117 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39118 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39119 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39120 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39121 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39122 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39123 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39124 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39125 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39126 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39127 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39128 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39129 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39130 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39131 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39132 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39133 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39134 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39135 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39136 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39137 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39138 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39139 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39140 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39141 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39142 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39143 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39144 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39145 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39146 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39147 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39148 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39149 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39150 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39151 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39152 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39153 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39154 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39155 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39156 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39157 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39158 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39159 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39160 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39161 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39162 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39163 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39164 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39167 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39168 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39169 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39170 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39171 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39172 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39173 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39174 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39175 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39176 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39177 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39178 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39179 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39180 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39181 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39182 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39183 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39184 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39185 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39186 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39187 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39188 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39189 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39190 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39191 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39192 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39193 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39194 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39195 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39196 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39197 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39198 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39199 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39200 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39201 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39202 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39203 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39204 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39205 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39206 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39207 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39208 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39209 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39210 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39211 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39212 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39213 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39214 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39215 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39216 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39217 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39218 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39219 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39220 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39221 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39222 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39223 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39224 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39225 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39226 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39227 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39228 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39229 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39230 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39231 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39232 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39233 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39234 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39235 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39236 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39237 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39238 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39239 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39240 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39241 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39242 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39243 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39244 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39245 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39246 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39247 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39248 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39249 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39250 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39251 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39252 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39253 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39254 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39255 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39256 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39257 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39258 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39259 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39260 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39261 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39262 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39263 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39264 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39265 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39266 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39267 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39268 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39269 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39270 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39271 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39272 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39273 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39274 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39275 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39276 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39277 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39278 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39279 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39280 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39281 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39282 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39283 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39284 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39285 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39286 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39287 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39288 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39289 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39290 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39291 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39292 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39293 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39294 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39295 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39296 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39297 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39298 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39299 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39300 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39301 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39302 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39303 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39304 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39305 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39306 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39307 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39308 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39309 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39310 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39312 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39313 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39314 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39315 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39316 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39317 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39318 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39319 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39320 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39321 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39322 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39323 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39326 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39327 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39329 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39330 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39331 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39332 { NULL
, NULL
, 0, NULL
}
39336 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39338 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39339 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39341 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39342 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39344 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39345 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39347 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
39348 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39350 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
39351 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
39353 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39354 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39356 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39357 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39359 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
39360 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39362 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39363 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39365 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39366 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39368 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39369 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39371 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39372 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39374 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39375 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39377 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39378 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39380 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39381 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39383 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39384 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39386 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39387 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39389 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39390 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39392 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39393 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39395 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39396 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39398 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39399 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39401 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39402 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39404 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39405 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39407 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39408 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39410 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39411 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39413 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39414 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39416 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39417 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39419 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39420 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39422 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39423 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
39425 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39426 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39428 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39429 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39431 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39432 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39434 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39435 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39437 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39438 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39440 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39441 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39443 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39444 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39446 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39447 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39449 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39450 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39452 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39453 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39455 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39456 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39458 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39459 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39461 static void *_p_wxPenTo_p_wxObject(void *x
) {
39462 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39464 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39465 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39467 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39468 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39470 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39471 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39473 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39474 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39476 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39477 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39479 static void *_p_wxIconTo_p_wxObject(void *x
) {
39480 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39482 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39483 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39485 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39486 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39488 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39489 return (void *)((wxObject
*) ((wxSizer
*) x
));
39491 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39492 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39494 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39495 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39497 static void *_p_wxEventTo_p_wxObject(void *x
) {
39498 return (void *)((wxObject
*) ((wxEvent
*) x
));
39500 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39501 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39503 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39504 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39506 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39507 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39509 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39510 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39512 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39513 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39515 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39516 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39518 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39519 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39521 static void *_p_wxDCTo_p_wxObject(void *x
) {
39522 return (void *)((wxObject
*) ((wxDC
*) x
));
39524 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39525 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39527 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39528 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39530 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39531 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39533 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39534 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39536 static void *_p_wxControlTo_p_wxObject(void *x
) {
39537 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39539 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39540 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39542 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39543 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39545 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39546 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39548 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39549 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39551 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39552 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
39554 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39555 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39557 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39558 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39560 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39561 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39563 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39564 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39566 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39567 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39569 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39570 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39572 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39573 return (void *)((wxObject
*) ((wxEffects
*) x
));
39575 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39576 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39578 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39579 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39581 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39582 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39584 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39585 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39587 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39588 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39590 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39591 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39593 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39594 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39596 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39597 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39599 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39600 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39602 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39603 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39605 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39606 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39608 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39609 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39611 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39612 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39614 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39615 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39617 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39618 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39620 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39621 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39623 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39624 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39626 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39627 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39629 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39630 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39632 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39633 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39635 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39636 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39638 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39639 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39641 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39642 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39644 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39645 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39647 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39648 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39650 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39651 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39653 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39654 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39656 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39657 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39659 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
39660 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
39662 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39663 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39665 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39666 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39668 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39669 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39671 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39672 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39674 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39675 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39677 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39678 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39680 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39681 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39683 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39684 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39686 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39687 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39689 static void *_p_wxImageTo_p_wxObject(void *x
) {
39690 return (void *)((wxObject
*) ((wxImage
*) x
));
39692 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39693 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39695 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39696 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39698 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39699 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39701 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39702 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39704 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39705 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39707 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39708 return (void *)((wxObject
*) ((wxImageList
*) x
));
39710 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39711 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39713 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39714 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39716 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39717 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39719 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39720 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39722 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39723 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39725 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39726 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39728 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39729 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39731 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39732 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39734 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39735 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39737 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39738 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39740 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39741 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39743 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39744 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39746 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39747 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39749 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39750 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39752 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39753 return (void *)((wxObject
*) ((wxMask
*) x
));
39755 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39756 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39758 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39759 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39761 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39762 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39764 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39765 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39767 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39768 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39770 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39771 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39773 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39774 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39776 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
39777 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39779 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
39780 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
39782 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
39783 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
39785 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
39786 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
39788 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
39789 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39791 static void *_p_wxFontTo_p_wxObject(void *x
) {
39792 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
39794 static void *_p_wxBrushTo_p_wxObject(void *x
) {
39795 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
39797 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
39798 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
39800 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39803 static void *_p_wxColourTo_p_wxObject(void *x
) {
39804 return (void *)((wxObject
*) ((wxColour
*) x
));
39806 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39809 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39810 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39812 static void *_p_wxControlTo_p_wxWindow(void *x
) {
39813 return (void *)((wxWindow
*) ((wxControl
*) x
));
39815 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
39816 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
39818 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
39819 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
39821 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
39822 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
39824 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
39825 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
39827 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
39828 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
39829 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
39830 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};
39831 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
39832 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
39833 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
39834 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
39835 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
39836 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
39837 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
39838 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
39839 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
39840 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
39841 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
39842 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
39843 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
39844 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
39845 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
39846 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
39847 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
39848 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
39849 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
39850 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
39851 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
39852 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
39853 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
39854 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
39855 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
39856 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
39857 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
39858 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
39859 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
39860 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
39861 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
39862 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
39863 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
39864 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
39865 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
39866 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
39867 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
39868 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
39869 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
39870 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
39871 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
39872 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
39873 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
39874 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
39875 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
39876 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
39877 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
39878 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
39879 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
39880 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
39881 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
39882 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
39883 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
39884 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
39885 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
39886 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
39887 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
39888 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
39889 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
39890 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
39891 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
39892 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
39893 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
39894 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
39895 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
39896 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
39897 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
39898 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
39899 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
39900 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
39901 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
39902 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
39903 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
39904 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
39905 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
39906 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
39907 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
39908 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
39909 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
39910 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
39911 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
39912 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
39913 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
39914 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
39915 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
39916 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
39917 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
39918 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
39919 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
39920 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
39921 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
39922 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
39923 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
39924 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
39925 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
39926 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
39927 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
39928 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
39929 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
39930 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
39931 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
39932 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
39933 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
39934 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
39935 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
39936 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
39937 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
39938 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
39939 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
39940 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
39941 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
39942 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
39943 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
39944 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
39945 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
39946 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
39947 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
39948 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
39949 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
39950 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
39951 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
39952 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
39953 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
39954 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
39955 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
39956 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
39957 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
39958 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
39959 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
39960 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
39961 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
39962 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
39963 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
39964 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
39965 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
39966 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
39967 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
39968 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
39969 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
39970 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
39971 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
39972 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
39973 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
39974 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
39975 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
39976 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
39977 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
39978 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
39979 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
39980 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
39981 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
39982 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
39983 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
39984 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
39985 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
39986 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
39987 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
39988 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
39989 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
39990 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
39991 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
39992 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
39993 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
39994 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
39995 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
39996 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
39997 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
39999 static swig_type_info
*swig_type_initial
[] = {
40003 &_swigt__p_form_ops_t
,
40005 &_swigt__p_unsigned_char
,
40006 &_swigt__p_unsigned_int
,
40007 &_swigt__p_unsigned_long
,
40009 &_swigt__p_wxANIHandler
,
40010 &_swigt__p_wxAcceleratorTable
,
40011 &_swigt__p_wxActivateEvent
,
40012 &_swigt__p_wxAlphaPixelData
,
40013 &_swigt__p_wxAlphaPixelData_Accessor
,
40014 &_swigt__p_wxAutoBufferedPaintDC
,
40015 &_swigt__p_wxBMPHandler
,
40016 &_swigt__p_wxBitmap
,
40017 &_swigt__p_wxBoxSizer
,
40018 &_swigt__p_wxBrush
,
40019 &_swigt__p_wxBrushList
,
40020 &_swigt__p_wxBufferedDC
,
40021 &_swigt__p_wxBufferedPaintDC
,
40022 &_swigt__p_wxCURHandler
,
40024 &_swigt__p_wxChildFocusEvent
,
40025 &_swigt__p_wxClientDC
,
40026 &_swigt__p_wxClipboardTextEvent
,
40027 &_swigt__p_wxCloseEvent
,
40028 &_swigt__p_wxColor
,
40029 &_swigt__p_wxColour
,
40030 &_swigt__p_wxColourDatabase
,
40031 &_swigt__p_wxCommandEvent
,
40032 &_swigt__p_wxContextMenuEvent
,
40033 &_swigt__p_wxControl
,
40034 &_swigt__p_wxControlWithItems
,
40035 &_swigt__p_wxCursor
,
40037 &_swigt__p_wxDCBrushChanger
,
40038 &_swigt__p_wxDCClipper
,
40039 &_swigt__p_wxDCOverlay
,
40040 &_swigt__p_wxDCPenChanger
,
40041 &_swigt__p_wxDCTextColourChanger
,
40043 &_swigt__p_wxDateEvent
,
40044 &_swigt__p_wxDisplayChangedEvent
,
40045 &_swigt__p_wxDropFilesEvent
,
40046 &_swigt__p_wxDuplexMode
,
40047 &_swigt__p_wxEffects
,
40048 &_swigt__p_wxEncodingConverter
,
40049 &_swigt__p_wxEraseEvent
,
40050 &_swigt__p_wxEvent
,
40051 &_swigt__p_wxEvtHandler
,
40052 &_swigt__p_wxFSFile
,
40053 &_swigt__p_wxFileSystem
,
40054 &_swigt__p_wxFlexGridSizer
,
40055 &_swigt__p_wxFocusEvent
,
40057 &_swigt__p_wxFontList
,
40058 &_swigt__p_wxFontMapper
,
40059 &_swigt__p_wxGBSizerItem
,
40061 &_swigt__p_wxGDIObjListBase
,
40062 &_swigt__p_wxGDIObject
,
40063 &_swigt__p_wxGIFHandler
,
40064 &_swigt__p_wxGraphicsBrush
,
40065 &_swigt__p_wxGraphicsContext
,
40066 &_swigt__p_wxGraphicsFont
,
40067 &_swigt__p_wxGraphicsMatrix
,
40068 &_swigt__p_wxGraphicsObject
,
40069 &_swigt__p_wxGraphicsPath
,
40070 &_swigt__p_wxGraphicsPen
,
40071 &_swigt__p_wxGraphicsRenderer
,
40072 &_swigt__p_wxGridBagSizer
,
40073 &_swigt__p_wxGridSizer
,
40074 &_swigt__p_wxHeaderButtonParams
,
40075 &_swigt__p_wxICOHandler
,
40077 &_swigt__p_wxIconBundle
,
40078 &_swigt__p_wxIconLocation
,
40079 &_swigt__p_wxIconizeEvent
,
40080 &_swigt__p_wxIdleEvent
,
40081 &_swigt__p_wxImage
,
40082 &_swigt__p_wxImageHandler
,
40083 &_swigt__p_wxImageList
,
40084 &_swigt__p_wxIndividualLayoutConstraint
,
40085 &_swigt__p_wxInitDialogEvent
,
40086 &_swigt__p_wxJPEGHandler
,
40087 &_swigt__p_wxKeyEvent
,
40088 &_swigt__p_wxLanguageInfo
,
40089 &_swigt__p_wxLayoutConstraints
,
40090 &_swigt__p_wxLocale
,
40092 &_swigt__p_wxMaximizeEvent
,
40093 &_swigt__p_wxMemoryDC
,
40095 &_swigt__p_wxMenuBar
,
40096 &_swigt__p_wxMenuEvent
,
40097 &_swigt__p_wxMenuItem
,
40098 &_swigt__p_wxMetaFile
,
40099 &_swigt__p_wxMetaFileDC
,
40100 &_swigt__p_wxMirrorDC
,
40101 &_swigt__p_wxMouseCaptureChangedEvent
,
40102 &_swigt__p_wxMouseCaptureLostEvent
,
40103 &_swigt__p_wxMouseEvent
,
40104 &_swigt__p_wxMoveEvent
,
40105 &_swigt__p_wxNativeEncodingInfo
,
40106 &_swigt__p_wxNativeFontInfo
,
40107 &_swigt__p_wxNativePixelData
,
40108 &_swigt__p_wxNativePixelData_Accessor
,
40109 &_swigt__p_wxNavigationKeyEvent
,
40110 &_swigt__p_wxNcPaintEvent
,
40111 &_swigt__p_wxNotifyEvent
,
40112 &_swigt__p_wxObject
,
40113 &_swigt__p_wxOverlay
,
40114 &_swigt__p_wxPCXHandler
,
40115 &_swigt__p_wxPNGHandler
,
40116 &_swigt__p_wxPNMHandler
,
40117 &_swigt__p_wxPaintDC
,
40118 &_swigt__p_wxPaintEvent
,
40119 &_swigt__p_wxPalette
,
40120 &_swigt__p_wxPaletteChangedEvent
,
40121 &_swigt__p_wxPaperSize
,
40123 &_swigt__p_wxPenList
,
40124 &_swigt__p_wxPixelDataBase
,
40125 &_swigt__p_wxPoint
,
40126 &_swigt__p_wxPoint2D
,
40127 &_swigt__p_wxPoint2DDouble
,
40128 &_swigt__p_wxPostScriptDC
,
40129 &_swigt__p_wxPrintData
,
40130 &_swigt__p_wxPrinterDC
,
40131 &_swigt__p_wxPseudoDC
,
40132 &_swigt__p_wxPyApp
,
40133 &_swigt__p_wxPyCommandEvent
,
40134 &_swigt__p_wxPyEvent
,
40135 &_swigt__p_wxPyFontEnumerator
,
40136 &_swigt__p_wxPyImageHandler
,
40137 &_swigt__p_wxPyLocale
,
40138 &_swigt__p_wxPySizer
,
40139 &_swigt__p_wxPyValidator
,
40140 &_swigt__p_wxQueryNewPaletteEvent
,
40142 &_swigt__p_wxRect2DDouble
,
40143 &_swigt__p_wxRegion
,
40144 &_swigt__p_wxRegionIterator
,
40145 &_swigt__p_wxRendererNative
,
40146 &_swigt__p_wxRendererVersion
,
40147 &_swigt__p_wxScreenDC
,
40148 &_swigt__p_wxScrollEvent
,
40149 &_swigt__p_wxScrollWinEvent
,
40150 &_swigt__p_wxSetCursorEvent
,
40151 &_swigt__p_wxShowEvent
,
40153 &_swigt__p_wxSizeEvent
,
40154 &_swigt__p_wxSizer
,
40155 &_swigt__p_wxSizerItem
,
40156 &_swigt__p_wxSplitterRenderParams
,
40157 &_swigt__p_wxStaticBoxSizer
,
40158 &_swigt__p_wxStdDialogButtonSizer
,
40159 &_swigt__p_wxStockGDI
,
40160 &_swigt__p_wxString
,
40161 &_swigt__p_wxSysColourChangedEvent
,
40162 &_swigt__p_wxTGAHandler
,
40163 &_swigt__p_wxTIFFHandler
,
40164 &_swigt__p_wxUpdateUIEvent
,
40165 &_swigt__p_wxValidator
,
40166 &_swigt__p_wxWindow
,
40167 &_swigt__p_wxWindowCreateEvent
,
40168 &_swigt__p_wxWindowDC
,
40169 &_swigt__p_wxWindowDestroyEvent
,
40170 &_swigt__p_wxXPMHandler
,
40173 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40174 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40175 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40176 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40177 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40178 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40179 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40180 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40181 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40182 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40183 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40184 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40185 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40186 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40187 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40188 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}};
40189 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40190 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40191 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}};
40192 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
40193 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40194 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40195 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40196 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}};
40197 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40198 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40199 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40200 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40201 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40202 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40203 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40204 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40205 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40206 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40207 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40208 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40209 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40210 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}};
40211 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}};
40212 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40213 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40214 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40215 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40216 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}};
40217 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40218 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40219 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40220 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40221 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40222 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40223 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40224 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40225 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40226 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40227 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}};
40228 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40229 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}};
40230 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40231 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40232 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40233 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40234 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40235 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40236 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40237 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40238 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40239 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40240 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40241 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40242 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40243 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40244 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40245 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40246 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40247 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40248 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40249 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40250 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40251 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40252 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40253 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40254 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40255 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40256 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40257 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40258 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40259 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40260 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40261 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40262 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40263 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40264 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40265 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40266 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40267 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40268 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40269 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40270 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40271 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40272 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40273 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40274 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40275 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40276 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40277 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40278 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40279 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40280 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40281 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40282 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40283 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40284 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40285 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40286 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40287 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40288 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40289 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40290 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40291 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40292 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40293 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40294 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40295 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40296 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40297 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40298 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40299 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40300 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40301 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40302 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40303 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40304 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40305 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40306 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40307 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40308 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40309 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40310 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40311 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40312 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40313 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40314 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}};
40315 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40316 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40317 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40318 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40319 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40320 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40321 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}};
40322 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40323 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40324 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40325 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40326 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40327 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40328 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40329 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40330 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40331 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40332 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40333 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40334 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40335 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40336 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40337 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40338 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40339 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40340 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40341 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40342 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}};
40343 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}};
40345 static swig_cast_info
*swig_cast_initial
[] = {
40349 _swigc__p_form_ops_t
,
40351 _swigc__p_unsigned_char
,
40352 _swigc__p_unsigned_int
,
40353 _swigc__p_unsigned_long
,
40355 _swigc__p_wxANIHandler
,
40356 _swigc__p_wxAcceleratorTable
,
40357 _swigc__p_wxActivateEvent
,
40358 _swigc__p_wxAlphaPixelData
,
40359 _swigc__p_wxAlphaPixelData_Accessor
,
40360 _swigc__p_wxAutoBufferedPaintDC
,
40361 _swigc__p_wxBMPHandler
,
40362 _swigc__p_wxBitmap
,
40363 _swigc__p_wxBoxSizer
,
40365 _swigc__p_wxBrushList
,
40366 _swigc__p_wxBufferedDC
,
40367 _swigc__p_wxBufferedPaintDC
,
40368 _swigc__p_wxCURHandler
,
40370 _swigc__p_wxChildFocusEvent
,
40371 _swigc__p_wxClientDC
,
40372 _swigc__p_wxClipboardTextEvent
,
40373 _swigc__p_wxCloseEvent
,
40375 _swigc__p_wxColour
,
40376 _swigc__p_wxColourDatabase
,
40377 _swigc__p_wxCommandEvent
,
40378 _swigc__p_wxContextMenuEvent
,
40379 _swigc__p_wxControl
,
40380 _swigc__p_wxControlWithItems
,
40381 _swigc__p_wxCursor
,
40383 _swigc__p_wxDCBrushChanger
,
40384 _swigc__p_wxDCClipper
,
40385 _swigc__p_wxDCOverlay
,
40386 _swigc__p_wxDCPenChanger
,
40387 _swigc__p_wxDCTextColourChanger
,
40389 _swigc__p_wxDateEvent
,
40390 _swigc__p_wxDisplayChangedEvent
,
40391 _swigc__p_wxDropFilesEvent
,
40392 _swigc__p_wxDuplexMode
,
40393 _swigc__p_wxEffects
,
40394 _swigc__p_wxEncodingConverter
,
40395 _swigc__p_wxEraseEvent
,
40397 _swigc__p_wxEvtHandler
,
40398 _swigc__p_wxFSFile
,
40399 _swigc__p_wxFileSystem
,
40400 _swigc__p_wxFlexGridSizer
,
40401 _swigc__p_wxFocusEvent
,
40403 _swigc__p_wxFontList
,
40404 _swigc__p_wxFontMapper
,
40405 _swigc__p_wxGBSizerItem
,
40407 _swigc__p_wxGDIObjListBase
,
40408 _swigc__p_wxGDIObject
,
40409 _swigc__p_wxGIFHandler
,
40410 _swigc__p_wxGraphicsBrush
,
40411 _swigc__p_wxGraphicsContext
,
40412 _swigc__p_wxGraphicsFont
,
40413 _swigc__p_wxGraphicsMatrix
,
40414 _swigc__p_wxGraphicsObject
,
40415 _swigc__p_wxGraphicsPath
,
40416 _swigc__p_wxGraphicsPen
,
40417 _swigc__p_wxGraphicsRenderer
,
40418 _swigc__p_wxGridBagSizer
,
40419 _swigc__p_wxGridSizer
,
40420 _swigc__p_wxHeaderButtonParams
,
40421 _swigc__p_wxICOHandler
,
40423 _swigc__p_wxIconBundle
,
40424 _swigc__p_wxIconLocation
,
40425 _swigc__p_wxIconizeEvent
,
40426 _swigc__p_wxIdleEvent
,
40428 _swigc__p_wxImageHandler
,
40429 _swigc__p_wxImageList
,
40430 _swigc__p_wxIndividualLayoutConstraint
,
40431 _swigc__p_wxInitDialogEvent
,
40432 _swigc__p_wxJPEGHandler
,
40433 _swigc__p_wxKeyEvent
,
40434 _swigc__p_wxLanguageInfo
,
40435 _swigc__p_wxLayoutConstraints
,
40436 _swigc__p_wxLocale
,
40438 _swigc__p_wxMaximizeEvent
,
40439 _swigc__p_wxMemoryDC
,
40441 _swigc__p_wxMenuBar
,
40442 _swigc__p_wxMenuEvent
,
40443 _swigc__p_wxMenuItem
,
40444 _swigc__p_wxMetaFile
,
40445 _swigc__p_wxMetaFileDC
,
40446 _swigc__p_wxMirrorDC
,
40447 _swigc__p_wxMouseCaptureChangedEvent
,
40448 _swigc__p_wxMouseCaptureLostEvent
,
40449 _swigc__p_wxMouseEvent
,
40450 _swigc__p_wxMoveEvent
,
40451 _swigc__p_wxNativeEncodingInfo
,
40452 _swigc__p_wxNativeFontInfo
,
40453 _swigc__p_wxNativePixelData
,
40454 _swigc__p_wxNativePixelData_Accessor
,
40455 _swigc__p_wxNavigationKeyEvent
,
40456 _swigc__p_wxNcPaintEvent
,
40457 _swigc__p_wxNotifyEvent
,
40458 _swigc__p_wxObject
,
40459 _swigc__p_wxOverlay
,
40460 _swigc__p_wxPCXHandler
,
40461 _swigc__p_wxPNGHandler
,
40462 _swigc__p_wxPNMHandler
,
40463 _swigc__p_wxPaintDC
,
40464 _swigc__p_wxPaintEvent
,
40465 _swigc__p_wxPalette
,
40466 _swigc__p_wxPaletteChangedEvent
,
40467 _swigc__p_wxPaperSize
,
40469 _swigc__p_wxPenList
,
40470 _swigc__p_wxPixelDataBase
,
40472 _swigc__p_wxPoint2D
,
40473 _swigc__p_wxPoint2DDouble
,
40474 _swigc__p_wxPostScriptDC
,
40475 _swigc__p_wxPrintData
,
40476 _swigc__p_wxPrinterDC
,
40477 _swigc__p_wxPseudoDC
,
40479 _swigc__p_wxPyCommandEvent
,
40480 _swigc__p_wxPyEvent
,
40481 _swigc__p_wxPyFontEnumerator
,
40482 _swigc__p_wxPyImageHandler
,
40483 _swigc__p_wxPyLocale
,
40484 _swigc__p_wxPySizer
,
40485 _swigc__p_wxPyValidator
,
40486 _swigc__p_wxQueryNewPaletteEvent
,
40488 _swigc__p_wxRect2DDouble
,
40489 _swigc__p_wxRegion
,
40490 _swigc__p_wxRegionIterator
,
40491 _swigc__p_wxRendererNative
,
40492 _swigc__p_wxRendererVersion
,
40493 _swigc__p_wxScreenDC
,
40494 _swigc__p_wxScrollEvent
,
40495 _swigc__p_wxScrollWinEvent
,
40496 _swigc__p_wxSetCursorEvent
,
40497 _swigc__p_wxShowEvent
,
40499 _swigc__p_wxSizeEvent
,
40501 _swigc__p_wxSizerItem
,
40502 _swigc__p_wxSplitterRenderParams
,
40503 _swigc__p_wxStaticBoxSizer
,
40504 _swigc__p_wxStdDialogButtonSizer
,
40505 _swigc__p_wxStockGDI
,
40506 _swigc__p_wxString
,
40507 _swigc__p_wxSysColourChangedEvent
,
40508 _swigc__p_wxTGAHandler
,
40509 _swigc__p_wxTIFFHandler
,
40510 _swigc__p_wxUpdateUIEvent
,
40511 _swigc__p_wxValidator
,
40512 _swigc__p_wxWindow
,
40513 _swigc__p_wxWindowCreateEvent
,
40514 _swigc__p_wxWindowDC
,
40515 _swigc__p_wxWindowDestroyEvent
,
40516 _swigc__p_wxXPMHandler
,
40520 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40522 static swig_const_info swig_const_table
[] = {
40523 {0, 0, 0, 0.0, 0, 0}};
40528 /* -----------------------------------------------------------------------------
40529 * Type initialization:
40530 * This problem is tough by the requirement that no dynamic
40531 * memory is used. Also, since swig_type_info structures store pointers to
40532 * swig_cast_info structures and swig_cast_info structures store pointers back
40533 * to swig_type_info structures, we need some lookup code at initialization.
40534 * The idea is that swig generates all the structures that are needed.
40535 * The runtime then collects these partially filled structures.
40536 * The SWIG_InitializeModule function takes these initial arrays out of
40537 * swig_module, and does all the lookup, filling in the swig_module.types
40538 * array with the correct data and linking the correct swig_cast_info
40539 * structures together.
40541 * The generated swig_type_info structures are assigned staticly to an initial
40542 * array. We just loop though that array, and handle each type individually.
40543 * First we lookup if this type has been already loaded, and if so, use the
40544 * loaded structure instead of the generated one. Then we have to fill in the
40545 * cast linked list. The cast data is initially stored in something like a
40546 * two-dimensional array. Each row corresponds to a type (there are the same
40547 * number of rows as there are in the swig_type_initial array). Each entry in
40548 * a column is one of the swig_cast_info structures for that type.
40549 * The cast_initial array is actually an array of arrays, because each row has
40550 * a variable number of columns. So to actually build the cast linked list,
40551 * we find the array of casts associated with the type, and loop through it
40552 * adding the casts to the list. The one last trick we need to do is making
40553 * sure the type pointer in the swig_cast_info struct is correct.
40555 * First off, we lookup the cast->type name to see if it is already loaded.
40556 * There are three cases to handle:
40557 * 1) If the cast->type has already been loaded AND the type we are adding
40558 * casting info to has not been loaded (it is in this module), THEN we
40559 * replace the cast->type pointer with the type pointer that has already
40561 * 2) If BOTH types (the one we are adding casting info to, and the
40562 * cast->type) are loaded, THEN the cast info has already been loaded by
40563 * the previous module so we just ignore it.
40564 * 3) Finally, if cast->type has not already been loaded, then we add that
40565 * swig_cast_info to the linked list (because the cast->type) pointer will
40567 * ----------------------------------------------------------------------------- */
40577 #define SWIGRUNTIME_DEBUG
40581 SWIG_InitializeModule(void *clientdata
) {
40583 swig_module_info
*module_head
;
40584 static int init_run
= 0;
40586 clientdata
= clientdata
;
40588 if (init_run
) return;
40591 /* Initialize the swig_module */
40592 swig_module
.type_initial
= swig_type_initial
;
40593 swig_module
.cast_initial
= swig_cast_initial
;
40595 /* Try and load any already created modules */
40596 module_head
= SWIG_GetModule(clientdata
);
40598 swig_module
.next
= module_head
->next
;
40599 module_head
->next
= &swig_module
;
40601 /* This is the first module loaded */
40602 swig_module
.next
= &swig_module
;
40603 SWIG_SetModule(clientdata
, &swig_module
);
40606 /* Now work on filling in swig_module.types */
40607 #ifdef SWIGRUNTIME_DEBUG
40608 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40610 for (i
= 0; i
< swig_module
.size
; ++i
) {
40611 swig_type_info
*type
= 0;
40612 swig_type_info
*ret
;
40613 swig_cast_info
*cast
;
40615 #ifdef SWIGRUNTIME_DEBUG
40616 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40619 /* if there is another module already loaded */
40620 if (swig_module
.next
!= &swig_module
) {
40621 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40624 /* Overwrite clientdata field */
40625 #ifdef SWIGRUNTIME_DEBUG
40626 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40628 if (swig_module
.type_initial
[i
]->clientdata
) {
40629 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40630 #ifdef SWIGRUNTIME_DEBUG
40631 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40635 type
= swig_module
.type_initial
[i
];
40638 /* Insert casting types */
40639 cast
= swig_module
.cast_initial
[i
];
40640 while (cast
->type
) {
40641 /* Don't need to add information already in the list */
40643 #ifdef SWIGRUNTIME_DEBUG
40644 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40646 if (swig_module
.next
!= &swig_module
) {
40647 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40648 #ifdef SWIGRUNTIME_DEBUG
40649 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40653 if (type
== swig_module
.type_initial
[i
]) {
40654 #ifdef SWIGRUNTIME_DEBUG
40655 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40660 /* Check for casting already in the list */
40661 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40662 #ifdef SWIGRUNTIME_DEBUG
40663 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40665 if (!ocast
) ret
= 0;
40670 #ifdef SWIGRUNTIME_DEBUG
40671 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40674 type
->cast
->prev
= cast
;
40675 cast
->next
= type
->cast
;
40681 /* Set entry in modules->types array equal to the type */
40682 swig_module
.types
[i
] = type
;
40684 swig_module
.types
[i
] = 0;
40686 #ifdef SWIGRUNTIME_DEBUG
40687 printf("**** SWIG_InitializeModule: Cast List ******\n");
40688 for (i
= 0; i
< swig_module
.size
; ++i
) {
40690 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40691 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40692 while (cast
->type
) {
40693 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40697 printf("---- Total casts: %d\n",j
);
40699 printf("**** SWIG_InitializeModule: Cast List ******\n");
40703 /* This function will propagate the clientdata field of type to
40704 * any new swig_type_info structures that have been added into the list
40705 * of equivalent types. It is like calling
40706 * SWIG_TypeClientData(type, clientdata) a second time.
40709 SWIG_PropagateClientData(void) {
40711 swig_cast_info
*equiv
;
40712 static int init_run
= 0;
40714 if (init_run
) return;
40717 for (i
= 0; i
< swig_module
.size
; i
++) {
40718 if (swig_module
.types
[i
]->clientdata
) {
40719 equiv
= swig_module
.types
[i
]->cast
;
40721 if (!equiv
->converter
) {
40722 if (equiv
->type
&& !equiv
->type
->clientdata
)
40723 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40725 equiv
= equiv
->next
;
40745 /* Python-specific SWIG API */
40746 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40747 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40748 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40750 /* -----------------------------------------------------------------------------
40751 * global variable support code.
40752 * ----------------------------------------------------------------------------- */
40754 typedef struct swig_globalvar
{
40755 char *name
; /* Name of global variable */
40756 PyObject
*(*get_attr
)(void); /* Return the current value */
40757 int (*set_attr
)(PyObject
*); /* Set the value */
40758 struct swig_globalvar
*next
;
40761 typedef struct swig_varlinkobject
{
40763 swig_globalvar
*vars
;
40764 } swig_varlinkobject
;
40766 SWIGINTERN PyObject
*
40767 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
40768 return PyString_FromString("<Swig global variables>");
40771 SWIGINTERN PyObject
*
40772 swig_varlink_str(swig_varlinkobject
*v
) {
40773 PyObject
*str
= PyString_FromString("(");
40774 swig_globalvar
*var
;
40775 for (var
= v
->vars
; var
; var
=var
->next
) {
40776 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
40777 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
40779 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
40784 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
40785 PyObject
*str
= swig_varlink_str(v
);
40786 fprintf(fp
,"Swig global variables ");
40787 fprintf(fp
,"%s\n", PyString_AsString(str
));
40793 swig_varlink_dealloc(swig_varlinkobject
*v
) {
40794 swig_globalvar
*var
= v
->vars
;
40796 swig_globalvar
*n
= var
->next
;
40803 SWIGINTERN PyObject
*
40804 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
40805 PyObject
*res
= NULL
;
40806 swig_globalvar
*var
= v
->vars
;
40808 if (strcmp(var
->name
,n
) == 0) {
40809 res
= (*var
->get_attr
)();
40814 if (res
== NULL
&& !PyErr_Occurred()) {
40815 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40821 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
40823 swig_globalvar
*var
= v
->vars
;
40825 if (strcmp(var
->name
,n
) == 0) {
40826 res
= (*var
->set_attr
)(p
);
40831 if (res
== 1 && !PyErr_Occurred()) {
40832 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40837 SWIGINTERN PyTypeObject
*
40838 swig_varlink_type(void) {
40839 static char varlink__doc__
[] = "Swig var link object";
40840 static PyTypeObject varlink_type
;
40841 static int type_init
= 0;
40843 const PyTypeObject tmp
40845 PyObject_HEAD_INIT(NULL
)
40846 0, /* Number of items in variable part (ob_size) */
40847 (char *)"swigvarlink", /* Type name (tp_name) */
40848 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
40849 0, /* Itemsize (tp_itemsize) */
40850 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
40851 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
40852 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
40853 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
40854 0, /* tp_compare */
40855 (reprfunc
) swig_varlink_repr
, /* tp_repr */
40856 0, /* tp_as_number */
40857 0, /* tp_as_sequence */
40858 0, /* tp_as_mapping */
40861 (reprfunc
)swig_varlink_str
, /* tp_str */
40862 0, /* tp_getattro */
40863 0, /* tp_setattro */
40864 0, /* tp_as_buffer */
40866 varlink__doc__
, /* tp_doc */
40867 0, /* tp_traverse */
40869 0, /* tp_richcompare */
40870 0, /* tp_weaklistoffset */
40871 #if PY_VERSION_HEX >= 0x02020000
40872 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
40874 #if PY_VERSION_HEX >= 0x02030000
40877 #ifdef COUNT_ALLOCS
40878 0,0,0,0 /* tp_alloc -> tp_next */
40881 varlink_type
= tmp
;
40882 varlink_type
.ob_type
= &PyType_Type
;
40885 return &varlink_type
;
40888 /* Create a variable linking object for use later */
40889 SWIGINTERN PyObject
*
40890 SWIG_Python_newvarlink(void) {
40891 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
40895 return ((PyObject
*) result
);
40899 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
40900 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
40901 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
40903 size_t size
= strlen(name
)+1;
40904 gv
->name
= (char *)malloc(size
);
40906 strncpy(gv
->name
,name
,size
);
40907 gv
->get_attr
= get_attr
;
40908 gv
->set_attr
= set_attr
;
40909 gv
->next
= v
->vars
;
40915 SWIGINTERN PyObject
*
40917 static PyObject
*_SWIG_globals
= 0;
40918 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
40919 return _SWIG_globals
;
40922 /* -----------------------------------------------------------------------------
40923 * constants/methods manipulation
40924 * ----------------------------------------------------------------------------- */
40926 /* Install Constants */
40928 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
40931 for (i
= 0; constants
[i
].type
; ++i
) {
40932 switch(constants
[i
].type
) {
40933 case SWIG_PY_POINTER
:
40934 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
40936 case SWIG_PY_BINARY
:
40937 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
40944 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
40950 /* -----------------------------------------------------------------------------*/
40951 /* Fix SwigMethods to carry the callback ptrs when needed */
40952 /* -----------------------------------------------------------------------------*/
40955 SWIG_Python_FixMethods(PyMethodDef
*methods
,
40956 swig_const_info
*const_table
,
40957 swig_type_info
**types
,
40958 swig_type_info
**types_initial
) {
40960 for (i
= 0; methods
[i
].ml_name
; ++i
) {
40961 const char *c
= methods
[i
].ml_doc
;
40962 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
40964 swig_const_info
*ci
= 0;
40965 const char *name
= c
+ 10;
40966 for (j
= 0; const_table
[j
].type
; ++j
) {
40967 if (strncmp(const_table
[j
].name
, name
,
40968 strlen(const_table
[j
].name
)) == 0) {
40969 ci
= &(const_table
[j
]);
40974 size_t shift
= (ci
->ptype
) - types
;
40975 swig_type_info
*ty
= types_initial
[shift
];
40976 size_t ldoc
= (c
- methods
[i
].ml_doc
);
40977 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
40978 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
40981 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
40983 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
40985 strncpy(buff
, "swig_ptr: ", 10);
40987 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
40988 methods
[i
].ml_doc
= ndoc
;
41000 /* -----------------------------------------------------------------------------*
41001 * Partial Init method
41002 * -----------------------------------------------------------------------------*/
41007 SWIGEXPORT
void SWIG_init(void) {
41010 /* Fix SwigMethods to carry the callback ptrs when needed */
41011 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41013 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41014 d
= PyModule_GetDict(m
);
41016 SWIG_InitializeModule(0);
41017 SWIG_InstallConstants(d
,swig_const_table
);
41020 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41021 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41022 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41023 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41024 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41025 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41026 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41027 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41028 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41029 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41030 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41031 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41032 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41033 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41034 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41035 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41036 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41037 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41038 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41039 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41040 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41041 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41042 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41043 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41044 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41045 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41046 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41047 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41048 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41049 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41050 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41051 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41052 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41053 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41054 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41055 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41056 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41057 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41058 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41059 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41060 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41061 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41062 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41063 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41064 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41065 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41066 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41067 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41068 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41069 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41070 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41071 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41072 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41073 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41074 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41075 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41076 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41077 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41078 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41079 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41080 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41081 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41082 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41083 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41084 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41085 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41086 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41087 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41088 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41089 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41090 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41091 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41092 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41093 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41094 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41095 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41096 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41097 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41098 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41099 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41100 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41101 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41102 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41103 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41104 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41105 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41106 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41107 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41108 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41109 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41110 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41111 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41112 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41113 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41114 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41115 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41116 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41117 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41118 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41119 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41120 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41121 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41122 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41123 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41124 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41125 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41126 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41127 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41128 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41129 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41130 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41131 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41132 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41133 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41134 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41135 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41136 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41137 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41138 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41139 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41140 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41141 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41142 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41143 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41144 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41145 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41146 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41147 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41148 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41149 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41150 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41151 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41153 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41155 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41156 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41157 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41158 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41159 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41160 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41161 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41162 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41163 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41164 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41165 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41166 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41167 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41168 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41169 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41170 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41171 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41172 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41173 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41174 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41175 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41176 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41177 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41178 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41179 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41180 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41181 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41182 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41183 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41184 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41185 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41186 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41187 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41188 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41189 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41190 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41191 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41192 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41193 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41194 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41195 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41196 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41197 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41198 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41199 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41200 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41201 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41202 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41203 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41204 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41205 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41206 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41207 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41208 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41209 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41210 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41211 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41212 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41213 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41214 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41215 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41216 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41217 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41218 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41219 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41220 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41221 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41222 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41223 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41224 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41225 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41226 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41227 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41228 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41229 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41230 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41231 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41232 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41233 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41234 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41235 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41236 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41237 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41238 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41239 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41240 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41241 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41242 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41243 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41244 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41245 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41246 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41247 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41248 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41249 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41250 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41251 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41252 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41253 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41254 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41255 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41256 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41257 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41258 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41259 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41260 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41261 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41262 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41263 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41264 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41265 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41266 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41267 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41268 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41269 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41270 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41271 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41272 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41273 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41274 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41275 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41276 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41277 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41278 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41279 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41280 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41281 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41282 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41283 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41284 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41285 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41286 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41287 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41288 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41289 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41290 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41291 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41292 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41293 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41294 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41295 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41296 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41297 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41298 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41299 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41300 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41301 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41302 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41303 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41304 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41305 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41306 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41307 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41308 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41309 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41310 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41311 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41312 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41313 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41314 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41315 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41316 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41317 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41318 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41319 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41320 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41321 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41322 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41323 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41324 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41325 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41326 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41327 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41328 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41329 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41330 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41331 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41332 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41333 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41334 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41335 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41336 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41337 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41338 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41339 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41340 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41341 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41342 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41343 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41344 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41345 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41346 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41347 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41348 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41349 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41350 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41351 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41352 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41353 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41354 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41355 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41356 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41357 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41358 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41359 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41360 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41361 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41362 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41363 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41364 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41365 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41366 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41367 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41368 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41369 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41370 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41371 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41372 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41373 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41374 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41375 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41376 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41377 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41378 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41379 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41380 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41381 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41382 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41383 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41384 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41385 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41386 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41387 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41388 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41389 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41390 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41391 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41392 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41393 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41394 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41395 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41396 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41397 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41398 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41399 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41400 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41401 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41402 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41403 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41404 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41405 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41406 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41407 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41408 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41409 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41410 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41411 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41412 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41413 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41414 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41415 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41416 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41417 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41418 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41419 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41420 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41421 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41422 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41423 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41424 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41425 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41426 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41427 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41428 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41429 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41430 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41431 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41432 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41433 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41434 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41435 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41436 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41437 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41438 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41439 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41440 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41441 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41442 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41443 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41444 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41445 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41446 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41447 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41448 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41449 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41450 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41451 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41452 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41453 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41454 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41455 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41456 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41457 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41458 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41459 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41460 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41461 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41462 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41463 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41464 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41465 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41466 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41467 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41468 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41469 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41470 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41471 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41472 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41473 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41474 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41475 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41476 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41477 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41478 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41480 // Work around a chicken/egg problem in drawlist.cpp
41481 wxPyDrawList_SetAPIPtr();