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
);
3893 wxGCDC(const wxWindow
*) {
3894 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3895 PyErr_SetString(PyExc_NotImplementedError
,
3896 "wxGCDC is not available on this platform.");
3897 wxPyEndBlockThreads(blocked
);
3901 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3902 PyErr_SetString(PyExc_NotImplementedError
,
3903 "wxGCDC is not available on this platform.");
3904 wxPyEndBlockThreads(blocked
);
3907 virtual ~wxGCDC() {}
3909 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3910 void SetGraphicsContext( wxGraphicsContext
* ) {}
3915 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3916 if ( !backgroundBrush
.IsNull() )
3917 self
->DrawText(str
, x
, y
, backgroundBrush
);
3919 self
->DrawText(str
, x
, y
);
3921 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3922 if ( !backgroundBrush
.IsNull() )
3923 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3925 self
->DrawText(str
, x
, y
, angle
);
3927 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3928 wxDouble width
= 0.0,
3930 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3931 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3932 PyObject
* rv
= PyTuple_New(2);
3933 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3934 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3937 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3938 wxArrayDouble widths
;
3939 self
->GetPartialTextExtents(text
, widths
);
3942 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3943 size_t c1
, c2
, count
;
3944 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3945 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3947 if ( beginP
!= NULL
&& endP
!= NULL
)
3949 count
= wxMin(c1
, c2
);
3950 self
->StrokeLines(count
, beginP
, endP
);
3956 #include "wx/dcgraph.h"
3959 #include <wx/overlay.h>
3963 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3964 self
->AddColour(name
, wxColour(red
, green
, blue
));
3967 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3968 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3969 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3970 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3973 #include <wx/effects.h>
3976 #include "wx/renderer.h"
3979 SWIGINTERNINLINE PyObject
*
3980 SWIG_From_bool (bool value
)
3982 return PyBool_FromLong(value
? 1 : 0);
3986 #include "wx/wxPython/pseudodc.h"
3988 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3990 self
->GetIdBounds(id
, rect
);
3996 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3997 PyObject
*resultobj
= 0;
3998 wxGDIObject
*result
= 0 ;
4000 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4002 if (!wxPyCheckForApp()) SWIG_fail
;
4003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4004 result
= (wxGDIObject
*)new wxGDIObject();
4005 wxPyEndAllowThreads(__tstate
);
4006 if (PyErr_Occurred()) SWIG_fail
;
4008 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4015 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4016 PyObject
*resultobj
= 0;
4017 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4020 PyObject
*swig_obj
[1] ;
4022 if (!args
) SWIG_fail
;
4024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4025 if (!SWIG_IsOK(res1
)) {
4026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4028 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 wxPyEndAllowThreads(__tstate
);
4034 if (PyErr_Occurred()) SWIG_fail
;
4036 resultobj
= SWIG_Py_Void();
4043 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4044 PyObject
*resultobj
= 0;
4045 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4049 PyObject
*swig_obj
[1] ;
4051 if (!args
) SWIG_fail
;
4053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4054 if (!SWIG_IsOK(res1
)) {
4055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4057 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 result
= (bool)(arg1
)->IsNull();
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4073 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4075 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4076 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4077 return SWIG_Py_Void();
4080 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4081 return SWIG_Python_InitShadowInstance(args
);
4084 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4085 PyObject
*resultobj
= 0;
4086 byte arg1
= (byte
) 0 ;
4087 byte arg2
= (byte
) 0 ;
4088 byte arg3
= (byte
) 0 ;
4089 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4090 wxColour
*result
= 0 ;
4091 unsigned char val1
;
4093 unsigned char val2
;
4095 unsigned char val3
;
4097 unsigned char val4
;
4099 PyObject
* obj0
= 0 ;
4100 PyObject
* obj1
= 0 ;
4101 PyObject
* obj2
= 0 ;
4102 PyObject
* obj3
= 0 ;
4103 char * kwnames
[] = {
4104 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4109 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4110 if (!SWIG_IsOK(ecode1
)) {
4111 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4113 arg1
= static_cast< byte
>(val1
);
4116 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4117 if (!SWIG_IsOK(ecode2
)) {
4118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4120 arg2
= static_cast< byte
>(val2
);
4123 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4124 if (!SWIG_IsOK(ecode3
)) {
4125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4127 arg3
= static_cast< byte
>(val3
);
4130 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4131 if (!SWIG_IsOK(ecode4
)) {
4132 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4134 arg4
= static_cast< byte
>(val4
);
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4138 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4149 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
*resultobj
= 0;
4151 wxString
*arg1
= 0 ;
4152 wxColour
*result
= 0 ;
4153 bool temp1
= false ;
4154 PyObject
* obj0
= 0 ;
4155 char * kwnames
[] = {
4156 (char *) "colorName", NULL
4159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4161 arg1
= wxString_in_helper(obj0
);
4162 if (arg1
== NULL
) SWIG_fail
;
4166 if (!wxPyCheckForApp()) SWIG_fail
;
4167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4168 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4169 wxPyEndAllowThreads(__tstate
);
4170 if (PyErr_Occurred()) SWIG_fail
;
4172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4187 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
*resultobj
= 0;
4189 unsigned long arg1
;
4190 wxColour
*result
= 0 ;
4191 unsigned long val1
;
4193 PyObject
* obj0
= 0 ;
4194 char * kwnames
[] = {
4195 (char *) "colRGB", NULL
4198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4199 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4200 if (!SWIG_IsOK(ecode1
)) {
4201 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4203 arg1
= static_cast< unsigned long >(val1
);
4205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 result
= (wxColour
*)new wxColour(arg1
);
4207 wxPyEndAllowThreads(__tstate
);
4208 if (PyErr_Occurred()) SWIG_fail
;
4210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4217 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4218 PyObject
*resultobj
= 0;
4219 wxColour
*arg1
= (wxColour
*) 0 ;
4222 PyObject
*swig_obj
[1] ;
4224 if (!args
) SWIG_fail
;
4226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4227 if (!SWIG_IsOK(res1
)) {
4228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4230 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 wxPyEndAllowThreads(__tstate
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4238 resultobj
= SWIG_Py_Void();
4245 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4246 PyObject
*resultobj
= 0;
4247 wxColour
*arg1
= (wxColour
*) 0 ;
4251 PyObject
*swig_obj
[1] ;
4253 if (!args
) SWIG_fail
;
4255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4256 if (!SWIG_IsOK(res1
)) {
4257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4259 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 result
= (byte
)(arg1
)->Red();
4263 wxPyEndAllowThreads(__tstate
);
4264 if (PyErr_Occurred()) SWIG_fail
;
4266 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4273 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4274 PyObject
*resultobj
= 0;
4275 wxColour
*arg1
= (wxColour
*) 0 ;
4279 PyObject
*swig_obj
[1] ;
4281 if (!args
) SWIG_fail
;
4283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4284 if (!SWIG_IsOK(res1
)) {
4285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4287 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4290 result
= (byte
)(arg1
)->Green();
4291 wxPyEndAllowThreads(__tstate
);
4292 if (PyErr_Occurred()) SWIG_fail
;
4294 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4301 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4302 PyObject
*resultobj
= 0;
4303 wxColour
*arg1
= (wxColour
*) 0 ;
4307 PyObject
*swig_obj
[1] ;
4309 if (!args
) SWIG_fail
;
4311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4312 if (!SWIG_IsOK(res1
)) {
4313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4315 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4318 result
= (byte
)(arg1
)->Blue();
4319 wxPyEndAllowThreads(__tstate
);
4320 if (PyErr_Occurred()) SWIG_fail
;
4322 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4329 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4330 PyObject
*resultobj
= 0;
4331 wxColour
*arg1
= (wxColour
*) 0 ;
4335 PyObject
*swig_obj
[1] ;
4337 if (!args
) SWIG_fail
;
4339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4340 if (!SWIG_IsOK(res1
)) {
4341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4343 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4346 result
= (byte
)(arg1
)->Alpha();
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) SWIG_fail
;
4350 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4357 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4358 PyObject
*resultobj
= 0;
4359 wxColour
*arg1
= (wxColour
*) 0 ;
4363 PyObject
*swig_obj
[1] ;
4365 if (!args
) SWIG_fail
;
4367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4368 if (!SWIG_IsOK(res1
)) {
4369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4371 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4374 result
= (bool)(arg1
)->IsOk();
4375 wxPyEndAllowThreads(__tstate
);
4376 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4387 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4388 PyObject
*resultobj
= 0;
4389 wxColour
*arg1
= (wxColour
*) 0 ;
4393 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4396 unsigned char val2
;
4398 unsigned char val3
;
4400 unsigned char val4
;
4402 unsigned char val5
;
4404 PyObject
* obj0
= 0 ;
4405 PyObject
* obj1
= 0 ;
4406 PyObject
* obj2
= 0 ;
4407 PyObject
* obj3
= 0 ;
4408 PyObject
* obj4
= 0 ;
4409 char * kwnames
[] = {
4410 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4415 if (!SWIG_IsOK(res1
)) {
4416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4418 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4419 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4420 if (!SWIG_IsOK(ecode2
)) {
4421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4423 arg2
= static_cast< byte
>(val2
);
4424 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4425 if (!SWIG_IsOK(ecode3
)) {
4426 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4428 arg3
= static_cast< byte
>(val3
);
4429 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4430 if (!SWIG_IsOK(ecode4
)) {
4431 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4433 arg4
= static_cast< byte
>(val4
);
4435 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4436 if (!SWIG_IsOK(ecode5
)) {
4437 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4439 arg5
= static_cast< byte
>(val5
);
4442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4443 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4447 resultobj
= SWIG_Py_Void();
4454 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
*resultobj
= 0;
4456 wxColour
*arg1
= (wxColour
*) 0 ;
4457 unsigned long arg2
;
4460 unsigned long val2
;
4462 PyObject
* obj0
= 0 ;
4463 PyObject
* obj1
= 0 ;
4464 char * kwnames
[] = {
4465 (char *) "self",(char *) "colRGB", NULL
4468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4470 if (!SWIG_IsOK(res1
)) {
4471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4473 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4474 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4475 if (!SWIG_IsOK(ecode2
)) {
4476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4478 arg2
= static_cast< unsigned long >(val2
);
4480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4482 wxPyEndAllowThreads(__tstate
);
4483 if (PyErr_Occurred()) SWIG_fail
;
4485 resultobj
= SWIG_Py_Void();
4492 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
*resultobj
= 0;
4494 wxColour
*arg1
= (wxColour
*) 0 ;
4495 wxString
*arg2
= 0 ;
4498 bool temp2
= false ;
4499 PyObject
* obj0
= 0 ;
4500 PyObject
* obj1
= 0 ;
4501 char * kwnames
[] = {
4502 (char *) "self",(char *) "colourName", NULL
4505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4507 if (!SWIG_IsOK(res1
)) {
4508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4510 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4512 arg2
= wxString_in_helper(obj1
);
4513 if (arg2
== NULL
) SWIG_fail
;
4517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4518 (arg1
)->Set((wxString
const &)*arg2
);
4519 wxPyEndAllowThreads(__tstate
);
4520 if (PyErr_Occurred()) SWIG_fail
;
4522 resultobj
= SWIG_Py_Void();
4537 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
*resultobj
= 0;
4539 wxColour
*arg1
= (wxColour
*) 0 ;
4540 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4546 PyObject
* obj0
= 0 ;
4547 PyObject
* obj1
= 0 ;
4548 char * kwnames
[] = {
4549 (char *) "self",(char *) "flags", NULL
4552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4554 if (!SWIG_IsOK(res1
)) {
4555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4557 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4559 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4560 if (!SWIG_IsOK(ecode2
)) {
4561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4563 arg2
= static_cast< long >(val2
);
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4568 wxPyEndAllowThreads(__tstate
);
4569 if (PyErr_Occurred()) SWIG_fail
;
4573 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4575 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4584 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4585 PyObject
*resultobj
= 0;
4586 wxColour
*arg1
= (wxColour
*) 0 ;
4590 PyObject
*swig_obj
[1] ;
4592 if (!args
) SWIG_fail
;
4594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4595 if (!SWIG_IsOK(res1
)) {
4596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4598 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4601 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) SWIG_fail
;
4605 resultobj
= SWIG_From_long(static_cast< long >(result
));
4612 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4613 PyObject
*resultobj
= 0;
4614 wxColour
*arg1
= (wxColour
*) 0 ;
4615 PyObject
*arg2
= (PyObject
*) 0 ;
4619 PyObject
* obj0
= 0 ;
4620 PyObject
* obj1
= 0 ;
4621 char * kwnames
[] = {
4622 (char *) "self",(char *) "other", NULL
4625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4627 if (!SWIG_IsOK(res1
)) {
4628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4630 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4633 result
= (bool)wxColour___eq__(arg1
,arg2
);
4634 if (PyErr_Occurred()) SWIG_fail
;
4637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4645 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
*resultobj
= 0;
4647 wxColour
*arg1
= (wxColour
*) 0 ;
4648 PyObject
*arg2
= (PyObject
*) 0 ;
4652 PyObject
* obj0
= 0 ;
4653 PyObject
* obj1
= 0 ;
4654 char * kwnames
[] = {
4655 (char *) "self",(char *) "other", NULL
4658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4660 if (!SWIG_IsOK(res1
)) {
4661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4663 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4666 result
= (bool)wxColour___ne__(arg1
,arg2
);
4667 if (PyErr_Occurred()) SWIG_fail
;
4670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4678 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4679 PyObject
*resultobj
= 0;
4680 wxColour
*arg1
= (wxColour
*) 0 ;
4681 bool arg2
= (bool) false ;
4682 PyObject
*result
= 0 ;
4687 PyObject
* obj0
= 0 ;
4688 PyObject
* obj1
= 0 ;
4689 char * kwnames
[] = {
4690 (char *) "self",(char *) "includeAlpha", NULL
4693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4695 if (!SWIG_IsOK(res1
)) {
4696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4698 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4700 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4701 if (!SWIG_IsOK(ecode2
)) {
4702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4704 arg2
= static_cast< bool >(val2
);
4707 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4708 if (PyErr_Occurred()) SWIG_fail
;
4717 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4718 PyObject
*resultobj
= 0;
4719 wxColour
*arg1
= (wxColour
*) 0 ;
4720 unsigned long result
;
4723 PyObject
*swig_obj
[1] ;
4725 if (!args
) SWIG_fail
;
4727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4728 if (!SWIG_IsOK(res1
)) {
4729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4731 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4733 result
= (unsigned long)wxColour_GetRGB(arg1
);
4734 if (PyErr_Occurred()) SWIG_fail
;
4736 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4743 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4745 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4746 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4747 return SWIG_Py_Void();
4750 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4751 return SWIG_Python_InitShadowInstance(args
);
4754 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
*resultobj
= 0;
4757 unsigned char *arg2
= (unsigned char *) 0 ;
4758 unsigned char *arg3
= (unsigned char *) 0 ;
4759 unsigned char *arg4
= (unsigned char *) 0 ;
4760 wxPalette
*result
= 0 ;
4769 PyObject
* obj0
= 0 ;
4770 PyObject
* obj1
= 0 ;
4771 PyObject
* obj2
= 0 ;
4772 PyObject
* obj3
= 0 ;
4773 char * kwnames
[] = {
4774 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4778 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4779 if (!SWIG_IsOK(ecode1
)) {
4780 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4782 arg1
= static_cast< int >(val1
);
4783 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4784 if (!SWIG_IsOK(res2
)) {
4785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4787 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4788 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4789 if (!SWIG_IsOK(res3
)) {
4790 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4792 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4793 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4794 if (!SWIG_IsOK(res4
)) {
4795 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4797 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4799 if (!wxPyCheckForApp()) SWIG_fail
;
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4802 wxPyEndAllowThreads(__tstate
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4812 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4813 PyObject
*resultobj
= 0;
4814 wxPalette
*arg1
= (wxPalette
*) 0 ;
4817 PyObject
*swig_obj
[1] ;
4819 if (!args
) SWIG_fail
;
4821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4822 if (!SWIG_IsOK(res1
)) {
4823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4825 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) SWIG_fail
;
4833 resultobj
= SWIG_Py_Void();
4840 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4841 PyObject
*resultobj
= 0;
4842 wxPalette
*arg1
= (wxPalette
*) 0 ;
4849 unsigned char val2
;
4851 unsigned char val3
;
4853 unsigned char val4
;
4855 PyObject
* obj0
= 0 ;
4856 PyObject
* obj1
= 0 ;
4857 PyObject
* obj2
= 0 ;
4858 PyObject
* obj3
= 0 ;
4859 char * kwnames
[] = {
4860 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4865 if (!SWIG_IsOK(res1
)) {
4866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4868 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4869 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4870 if (!SWIG_IsOK(ecode2
)) {
4871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4873 arg2
= static_cast< byte
>(val2
);
4874 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4875 if (!SWIG_IsOK(ecode3
)) {
4876 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4878 arg3
= static_cast< byte
>(val3
);
4879 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4880 if (!SWIG_IsOK(ecode4
)) {
4881 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4883 arg4
= static_cast< byte
>(val4
);
4885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4886 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4887 wxPyEndAllowThreads(__tstate
);
4888 if (PyErr_Occurred()) SWIG_fail
;
4890 resultobj
= SWIG_From_int(static_cast< int >(result
));
4897 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4898 PyObject
*resultobj
= 0;
4899 wxPalette
*arg1
= (wxPalette
*) 0 ;
4901 byte
*arg3
= (byte
*) 0 ;
4902 byte
*arg4
= (byte
*) 0 ;
4903 byte
*arg5
= (byte
*) 0 ;
4910 int res3
= SWIG_TMPOBJ
;
4912 int res4
= SWIG_TMPOBJ
;
4914 int res5
= SWIG_TMPOBJ
;
4915 PyObject
* obj0
= 0 ;
4916 PyObject
* obj1
= 0 ;
4917 char * kwnames
[] = {
4918 (char *) "self",(char *) "pixel", NULL
4924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4926 if (!SWIG_IsOK(res1
)) {
4927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4929 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4931 if (!SWIG_IsOK(ecode2
)) {
4932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4934 arg2
= static_cast< int >(val2
);
4936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4937 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4938 wxPyEndAllowThreads(__tstate
);
4939 if (PyErr_Occurred()) SWIG_fail
;
4942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4944 if (SWIG_IsTmpObj(res3
)) {
4945 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4947 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4948 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4950 if (SWIG_IsTmpObj(res4
)) {
4951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4953 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4956 if (SWIG_IsTmpObj(res5
)) {
4957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4959 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4968 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4969 PyObject
*resultobj
= 0;
4970 wxPalette
*arg1
= (wxPalette
*) 0 ;
4974 PyObject
*swig_obj
[1] ;
4976 if (!args
) SWIG_fail
;
4978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4979 if (!SWIG_IsOK(res1
)) {
4980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4982 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4989 resultobj
= SWIG_From_int(static_cast< int >(result
));
4996 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4997 PyObject
*resultobj
= 0;
4998 wxPalette
*arg1
= (wxPalette
*) 0 ;
5002 PyObject
*swig_obj
[1] ;
5004 if (!args
) SWIG_fail
;
5006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5007 if (!SWIG_IsOK(res1
)) {
5008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5010 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 result
= (bool)(arg1
)->IsOk();
5014 wxPyEndAllowThreads(__tstate
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5026 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5028 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5029 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5030 return SWIG_Py_Void();
5033 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5034 return SWIG_Python_InitShadowInstance(args
);
5037 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5038 PyObject
*resultobj
= 0;
5039 wxColour
*arg1
= 0 ;
5040 int arg2
= (int) 1 ;
5041 int arg3
= (int) wxSOLID
;
5048 PyObject
* obj0
= 0 ;
5049 PyObject
* obj1
= 0 ;
5050 PyObject
* obj2
= 0 ;
5051 char * kwnames
[] = {
5052 (char *) "colour",(char *) "width",(char *) "style", NULL
5055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5058 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5061 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5062 if (!SWIG_IsOK(ecode2
)) {
5063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5065 arg2
= static_cast< int >(val2
);
5068 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5069 if (!SWIG_IsOK(ecode3
)) {
5070 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5072 arg3
= static_cast< int >(val3
);
5075 if (!wxPyCheckForApp()) SWIG_fail
;
5076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5077 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5078 wxPyEndAllowThreads(__tstate
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5088 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5089 PyObject
*resultobj
= 0;
5090 wxPen
*arg1
= (wxPen
*) 0 ;
5093 PyObject
*swig_obj
[1] ;
5095 if (!args
) SWIG_fail
;
5097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5098 if (!SWIG_IsOK(res1
)) {
5099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5101 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5109 resultobj
= SWIG_Py_Void();
5116 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5117 PyObject
*resultobj
= 0;
5118 wxPen
*arg1
= (wxPen
*) 0 ;
5122 PyObject
*swig_obj
[1] ;
5124 if (!args
) SWIG_fail
;
5126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5127 if (!SWIG_IsOK(res1
)) {
5128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5130 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5133 result
= (int)(arg1
)->GetCap();
5134 wxPyEndAllowThreads(__tstate
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5137 resultobj
= SWIG_From_int(static_cast< int >(result
));
5144 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5145 PyObject
*resultobj
= 0;
5146 wxPen
*arg1
= (wxPen
*) 0 ;
5150 PyObject
*swig_obj
[1] ;
5152 if (!args
) SWIG_fail
;
5154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5155 if (!SWIG_IsOK(res1
)) {
5156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5158 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 result
= (arg1
)->GetColour();
5162 wxPyEndAllowThreads(__tstate
);
5163 if (PyErr_Occurred()) SWIG_fail
;
5165 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5172 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5173 PyObject
*resultobj
= 0;
5174 wxPen
*arg1
= (wxPen
*) 0 ;
5178 PyObject
*swig_obj
[1] ;
5180 if (!args
) SWIG_fail
;
5182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5183 if (!SWIG_IsOK(res1
)) {
5184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5186 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5189 result
= (int)(arg1
)->GetJoin();
5190 wxPyEndAllowThreads(__tstate
);
5191 if (PyErr_Occurred()) SWIG_fail
;
5193 resultobj
= SWIG_From_int(static_cast< int >(result
));
5200 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5201 PyObject
*resultobj
= 0;
5202 wxPen
*arg1
= (wxPen
*) 0 ;
5206 PyObject
*swig_obj
[1] ;
5208 if (!args
) SWIG_fail
;
5210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5211 if (!SWIG_IsOK(res1
)) {
5212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5214 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5217 result
= (int)(arg1
)->GetStyle();
5218 wxPyEndAllowThreads(__tstate
);
5219 if (PyErr_Occurred()) SWIG_fail
;
5221 resultobj
= SWIG_From_int(static_cast< int >(result
));
5228 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5229 PyObject
*resultobj
= 0;
5230 wxPen
*arg1
= (wxPen
*) 0 ;
5234 PyObject
*swig_obj
[1] ;
5236 if (!args
) SWIG_fail
;
5238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5239 if (!SWIG_IsOK(res1
)) {
5240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5242 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 result
= (int)(arg1
)->GetWidth();
5246 wxPyEndAllowThreads(__tstate
);
5247 if (PyErr_Occurred()) SWIG_fail
;
5249 resultobj
= SWIG_From_int(static_cast< int >(result
));
5256 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5257 PyObject
*resultobj
= 0;
5258 wxPen
*arg1
= (wxPen
*) 0 ;
5262 PyObject
*swig_obj
[1] ;
5264 if (!args
) SWIG_fail
;
5266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5267 if (!SWIG_IsOK(res1
)) {
5268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5270 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 result
= (bool)(arg1
)->IsOk();
5274 wxPyEndAllowThreads(__tstate
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5286 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
*resultobj
= 0;
5288 wxPen
*arg1
= (wxPen
*) 0 ;
5294 PyObject
* obj0
= 0 ;
5295 PyObject
* obj1
= 0 ;
5296 char * kwnames
[] = {
5297 (char *) "self",(char *) "cap_style", NULL
5300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5302 if (!SWIG_IsOK(res1
)) {
5303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5305 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5307 if (!SWIG_IsOK(ecode2
)) {
5308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5310 arg2
= static_cast< int >(val2
);
5312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5313 (arg1
)->SetCap(arg2
);
5314 wxPyEndAllowThreads(__tstate
);
5315 if (PyErr_Occurred()) SWIG_fail
;
5317 resultobj
= SWIG_Py_Void();
5324 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5325 PyObject
*resultobj
= 0;
5326 wxPen
*arg1
= (wxPen
*) 0 ;
5327 wxColour
*arg2
= 0 ;
5331 PyObject
* obj0
= 0 ;
5332 PyObject
* obj1
= 0 ;
5333 char * kwnames
[] = {
5334 (char *) "self",(char *) "colour", NULL
5337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5339 if (!SWIG_IsOK(res1
)) {
5340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5342 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5345 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5349 (arg1
)->SetColour(*arg2
);
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) SWIG_fail
;
5353 resultobj
= SWIG_Py_Void();
5360 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
*resultobj
= 0;
5362 wxPen
*arg1
= (wxPen
*) 0 ;
5368 PyObject
* obj0
= 0 ;
5369 PyObject
* obj1
= 0 ;
5370 char * kwnames
[] = {
5371 (char *) "self",(char *) "join_style", NULL
5374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5376 if (!SWIG_IsOK(res1
)) {
5377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5379 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5381 if (!SWIG_IsOK(ecode2
)) {
5382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5384 arg2
= static_cast< int >(val2
);
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 (arg1
)->SetJoin(arg2
);
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5391 resultobj
= SWIG_Py_Void();
5398 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
*resultobj
= 0;
5400 wxPen
*arg1
= (wxPen
*) 0 ;
5406 PyObject
* obj0
= 0 ;
5407 PyObject
* obj1
= 0 ;
5408 char * kwnames
[] = {
5409 (char *) "self",(char *) "style", NULL
5412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5414 if (!SWIG_IsOK(res1
)) {
5415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5417 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5419 if (!SWIG_IsOK(ecode2
)) {
5420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5422 arg2
= static_cast< int >(val2
);
5424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 (arg1
)->SetStyle(arg2
);
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5429 resultobj
= SWIG_Py_Void();
5436 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
*resultobj
= 0;
5438 wxPen
*arg1
= (wxPen
*) 0 ;
5444 PyObject
* obj0
= 0 ;
5445 PyObject
* obj1
= 0 ;
5446 char * kwnames
[] = {
5447 (char *) "self",(char *) "width", NULL
5450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5452 if (!SWIG_IsOK(res1
)) {
5453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5455 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5457 if (!SWIG_IsOK(ecode2
)) {
5458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5460 arg2
= static_cast< int >(val2
);
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 (arg1
)->SetWidth(arg2
);
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5467 resultobj
= SWIG_Py_Void();
5474 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
*resultobj
= 0;
5476 wxPen
*arg1
= (wxPen
*) 0 ;
5478 wxDash
*arg3
= (wxDash
*) 0 ;
5481 PyObject
* obj0
= 0 ;
5482 PyObject
* obj1
= 0 ;
5483 char * kwnames
[] = {
5484 (char *) "self",(char *) "dashes", NULL
5487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5489 if (!SWIG_IsOK(res1
)) {
5490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5492 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5494 arg2
= PyList_Size(obj1
);
5495 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5496 if (arg3
== NULL
) SWIG_fail
;
5499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5500 (arg1
)->SetDashes(arg2
,arg3
);
5501 wxPyEndAllowThreads(__tstate
);
5502 if (PyErr_Occurred()) SWIG_fail
;
5504 resultobj
= SWIG_Py_Void();
5506 if (arg3
) delete [] arg3
;
5511 if (arg3
) delete [] arg3
;
5517 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5518 PyObject
*resultobj
= 0;
5519 wxPen
*arg1
= (wxPen
*) 0 ;
5520 PyObject
*result
= 0 ;
5523 PyObject
*swig_obj
[1] ;
5525 if (!args
) SWIG_fail
;
5527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5528 if (!SWIG_IsOK(res1
)) {
5529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5531 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5534 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5545 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
*resultobj
= 0;
5547 wxPen
*arg1
= (wxPen
*) 0 ;
5548 PyObject
*arg2
= (PyObject
*) 0 ;
5549 PyObject
*arg3
= (PyObject
*) 0 ;
5552 PyObject
* obj0
= 0 ;
5553 PyObject
* obj1
= 0 ;
5554 PyObject
* obj2
= 0 ;
5555 char * kwnames
[] = {
5556 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5561 if (!SWIG_IsOK(res1
)) {
5562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5564 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 wxPen__SetDashes(arg1
,arg2
,arg3
);
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5573 resultobj
= SWIG_Py_Void();
5580 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
*resultobj
= 0;
5582 wxPen
*arg1
= (wxPen
*) 0 ;
5583 wxPen
*arg2
= (wxPen
*) 0 ;
5589 PyObject
* obj0
= 0 ;
5590 PyObject
* obj1
= 0 ;
5591 char * kwnames
[] = {
5592 (char *) "self",(char *) "other", NULL
5595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5597 if (!SWIG_IsOK(res1
)) {
5598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5600 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5601 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5602 if (!SWIG_IsOK(res2
)) {
5603 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5605 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5608 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5621 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5622 PyObject
*resultobj
= 0;
5623 wxPen
*arg1
= (wxPen
*) 0 ;
5624 wxPen
*arg2
= (wxPen
*) 0 ;
5630 PyObject
* obj0
= 0 ;
5631 PyObject
* obj1
= 0 ;
5632 char * kwnames
[] = {
5633 (char *) "self",(char *) "other", NULL
5636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5638 if (!SWIG_IsOK(res1
)) {
5639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5641 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5642 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5643 if (!SWIG_IsOK(res2
)) {
5644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5646 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5650 wxPyEndAllowThreads(__tstate
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5662 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5664 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5665 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5666 return SWIG_Py_Void();
5669 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5670 return SWIG_Python_InitShadowInstance(args
);
5673 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5674 PyObject
*resultobj
= 0;
5675 wxColour
*arg1
= 0 ;
5676 int arg2
= (int) wxSOLID
;
5677 wxBrush
*result
= 0 ;
5681 PyObject
* obj0
= 0 ;
5682 PyObject
* obj1
= 0 ;
5683 char * kwnames
[] = {
5684 (char *) "colour",(char *) "style", NULL
5687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5690 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5694 if (!SWIG_IsOK(ecode2
)) {
5695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5697 arg2
= static_cast< int >(val2
);
5700 if (!wxPyCheckForApp()) SWIG_fail
;
5701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5713 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
*resultobj
= 0;
5715 wxBitmap
*arg1
= 0 ;
5716 wxBrush
*result
= 0 ;
5719 PyObject
* obj0
= 0 ;
5720 char * kwnames
[] = {
5721 (char *) "stippleBitmap", NULL
5724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5725 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5726 if (!SWIG_IsOK(res1
)) {
5727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5730 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5732 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5734 if (!wxPyCheckForApp()) SWIG_fail
;
5735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5736 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5747 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5748 PyObject
*resultobj
= 0;
5749 wxBrush
*arg1
= (wxBrush
*) 0 ;
5752 PyObject
*swig_obj
[1] ;
5754 if (!args
) SWIG_fail
;
5756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5757 if (!SWIG_IsOK(res1
)) {
5758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5760 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5768 resultobj
= SWIG_Py_Void();
5775 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
*resultobj
= 0;
5777 wxBrush
*arg1
= (wxBrush
*) 0 ;
5778 wxColour
*arg2
= 0 ;
5782 PyObject
* obj0
= 0 ;
5783 PyObject
* obj1
= 0 ;
5784 char * kwnames
[] = {
5785 (char *) "self",(char *) "col", NULL
5788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5790 if (!SWIG_IsOK(res1
)) {
5791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5793 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5796 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5800 (arg1
)->SetColour((wxColour
const &)*arg2
);
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5804 resultobj
= SWIG_Py_Void();
5811 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
*resultobj
= 0;
5813 wxBrush
*arg1
= (wxBrush
*) 0 ;
5819 PyObject
* obj0
= 0 ;
5820 PyObject
* obj1
= 0 ;
5821 char * kwnames
[] = {
5822 (char *) "self",(char *) "style", NULL
5825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5827 if (!SWIG_IsOK(res1
)) {
5828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5830 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5832 if (!SWIG_IsOK(ecode2
)) {
5833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5835 arg2
= static_cast< int >(val2
);
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 (arg1
)->SetStyle(arg2
);
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5842 resultobj
= SWIG_Py_Void();
5849 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
*resultobj
= 0;
5851 wxBrush
*arg1
= (wxBrush
*) 0 ;
5852 wxBitmap
*arg2
= 0 ;
5857 PyObject
* obj0
= 0 ;
5858 PyObject
* obj1
= 0 ;
5859 char * kwnames
[] = {
5860 (char *) "self",(char *) "stipple", NULL
5863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5865 if (!SWIG_IsOK(res1
)) {
5866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5868 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5869 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5870 if (!SWIG_IsOK(res2
)) {
5871 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5874 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5876 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5879 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5880 wxPyEndAllowThreads(__tstate
);
5881 if (PyErr_Occurred()) SWIG_fail
;
5883 resultobj
= SWIG_Py_Void();
5890 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5891 PyObject
*resultobj
= 0;
5892 wxBrush
*arg1
= (wxBrush
*) 0 ;
5896 PyObject
*swig_obj
[1] ;
5898 if (!args
) SWIG_fail
;
5900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5901 if (!SWIG_IsOK(res1
)) {
5902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5904 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5907 result
= ((wxBrush
const *)arg1
)->GetColour();
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5911 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5918 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5919 PyObject
*resultobj
= 0;
5920 wxBrush
*arg1
= (wxBrush
*) 0 ;
5924 PyObject
*swig_obj
[1] ;
5926 if (!args
) SWIG_fail
;
5928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5929 if (!SWIG_IsOK(res1
)) {
5930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5932 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5936 wxPyEndAllowThreads(__tstate
);
5937 if (PyErr_Occurred()) SWIG_fail
;
5939 resultobj
= SWIG_From_int(static_cast< int >(result
));
5946 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5947 PyObject
*resultobj
= 0;
5948 wxBrush
*arg1
= (wxBrush
*) 0 ;
5949 wxBitmap
*result
= 0 ;
5952 PyObject
*swig_obj
[1] ;
5954 if (!args
) SWIG_fail
;
5956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5957 if (!SWIG_IsOK(res1
)) {
5958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5960 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5964 wxPyEndAllowThreads(__tstate
);
5965 if (PyErr_Occurred()) SWIG_fail
;
5967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5974 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5975 PyObject
*resultobj
= 0;
5976 wxBrush
*arg1
= (wxBrush
*) 0 ;
5980 PyObject
*swig_obj
[1] ;
5982 if (!args
) SWIG_fail
;
5984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5985 if (!SWIG_IsOK(res1
)) {
5986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5988 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5992 wxPyEndAllowThreads(__tstate
);
5993 if (PyErr_Occurred()) SWIG_fail
;
5996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6004 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6005 PyObject
*resultobj
= 0;
6006 wxBrush
*arg1
= (wxBrush
*) 0 ;
6010 PyObject
*swig_obj
[1] ;
6012 if (!args
) SWIG_fail
;
6014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6015 if (!SWIG_IsOK(res1
)) {
6016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6018 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 result
= (bool)(arg1
)->IsOk();
6022 wxPyEndAllowThreads(__tstate
);
6023 if (PyErr_Occurred()) SWIG_fail
;
6026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6034 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6035 PyObject
*resultobj
= 0;
6036 wxBrush
*arg1
= (wxBrush
*) 0 ;
6040 PyObject
*swig_obj
[1] ;
6042 if (!args
) SWIG_fail
;
6044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6045 if (!SWIG_IsOK(res1
)) {
6046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6048 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 result
= (short)(arg1
)->MacGetTheme();
6052 wxPyEndAllowThreads(__tstate
);
6053 if (PyErr_Occurred()) SWIG_fail
;
6055 resultobj
= SWIG_From_short(static_cast< short >(result
));
6062 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
*resultobj
= 0;
6064 wxBrush
*arg1
= (wxBrush
*) 0 ;
6070 PyObject
* obj0
= 0 ;
6071 PyObject
* obj1
= 0 ;
6072 char * kwnames
[] = {
6073 (char *) "self",(char *) "macThemeBrush", NULL
6076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6078 if (!SWIG_IsOK(res1
)) {
6079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6081 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6082 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
6083 if (!SWIG_IsOK(ecode2
)) {
6084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
6086 arg2
= static_cast< short >(val2
);
6088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6089 (arg1
)->MacSetTheme(arg2
);
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6093 resultobj
= SWIG_Py_Void();
6100 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6102 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6103 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6104 return SWIG_Py_Void();
6107 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6108 return SWIG_Python_InitShadowInstance(args
);
6111 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6112 PyObject
*resultobj
= 0;
6113 wxString
*arg1
= 0 ;
6114 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6115 wxBitmap
*result
= 0 ;
6116 bool temp1
= false ;
6119 PyObject
* obj0
= 0 ;
6120 PyObject
* obj1
= 0 ;
6121 char * kwnames
[] = {
6122 (char *) "name",(char *) "type", NULL
6125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6127 arg1
= wxString_in_helper(obj0
);
6128 if (arg1
== NULL
) SWIG_fail
;
6132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6133 if (!SWIG_IsOK(ecode2
)) {
6134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6136 arg2
= static_cast< wxBitmapType
>(val2
);
6139 if (!wxPyCheckForApp()) SWIG_fail
;
6140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6141 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6142 wxPyEndAllowThreads(__tstate
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6160 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6161 PyObject
*resultobj
= 0;
6162 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6165 PyObject
*swig_obj
[1] ;
6167 if (!args
) SWIG_fail
;
6169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6170 if (!SWIG_IsOK(res1
)) {
6171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6173 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= SWIG_Py_Void();
6186 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
*resultobj
= 0;
6190 int arg3
= (int) -1 ;
6191 wxBitmap
*result
= 0 ;
6198 PyObject
* obj0
= 0 ;
6199 PyObject
* obj1
= 0 ;
6200 PyObject
* obj2
= 0 ;
6201 char * kwnames
[] = {
6202 (char *) "width",(char *) "height",(char *) "depth", NULL
6205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6206 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6207 if (!SWIG_IsOK(ecode1
)) {
6208 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6210 arg1
= static_cast< int >(val1
);
6211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6212 if (!SWIG_IsOK(ecode2
)) {
6213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6215 arg2
= static_cast< int >(val2
);
6217 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6218 if (!SWIG_IsOK(ecode3
)) {
6219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6221 arg3
= static_cast< int >(val3
);
6224 if (!wxPyCheckForApp()) SWIG_fail
;
6225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6226 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6227 wxPyEndAllowThreads(__tstate
);
6228 if (PyErr_Occurred()) SWIG_fail
;
6230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6237 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6238 PyObject
*resultobj
= 0;
6240 wxBitmap
*result
= 0 ;
6243 PyObject
* obj0
= 0 ;
6244 char * kwnames
[] = {
6245 (char *) "icon", NULL
6248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6249 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6250 if (!SWIG_IsOK(res1
)) {
6251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6256 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6258 if (!wxPyCheckForApp()) SWIG_fail
;
6259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6260 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6261 wxPyEndAllowThreads(__tstate
);
6262 if (PyErr_Occurred()) SWIG_fail
;
6264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6271 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
*resultobj
= 0;
6274 int arg2
= (int) -1 ;
6275 wxBitmap
*result
= 0 ;
6280 PyObject
* obj0
= 0 ;
6281 PyObject
* obj1
= 0 ;
6282 char * kwnames
[] = {
6283 (char *) "image",(char *) "depth", NULL
6286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6287 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6288 if (!SWIG_IsOK(res1
)) {
6289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6294 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6297 if (!SWIG_IsOK(ecode2
)) {
6298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6300 arg2
= static_cast< int >(val2
);
6303 if (!wxPyCheckForApp()) SWIG_fail
;
6304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6305 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6306 wxPyEndAllowThreads(__tstate
);
6307 if (PyErr_Occurred()) SWIG_fail
;
6309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6316 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
*resultobj
= 0;
6318 PyObject
*arg1
= (PyObject
*) 0 ;
6319 wxBitmap
*result
= 0 ;
6320 PyObject
* obj0
= 0 ;
6321 char * kwnames
[] = {
6322 (char *) "listOfStrings", NULL
6325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6328 if (!wxPyCheckForApp()) SWIG_fail
;
6329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6330 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6331 wxPyEndAllowThreads(__tstate
);
6332 if (PyErr_Occurred()) SWIG_fail
;
6334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6341 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6342 PyObject
*resultobj
= 0;
6343 PyObject
*arg1
= (PyObject
*) 0 ;
6346 int arg4
= (int) 1 ;
6347 wxBitmap
*result
= 0 ;
6354 PyObject
* obj0
= 0 ;
6355 PyObject
* obj1
= 0 ;
6356 PyObject
* obj2
= 0 ;
6357 PyObject
* obj3
= 0 ;
6358 char * kwnames
[] = {
6359 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6365 if (!SWIG_IsOK(ecode2
)) {
6366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6368 arg2
= static_cast< int >(val2
);
6369 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6370 if (!SWIG_IsOK(ecode3
)) {
6371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6373 arg3
= static_cast< int >(val3
);
6375 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6376 if (!SWIG_IsOK(ecode4
)) {
6377 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6379 arg4
= static_cast< int >(val4
);
6382 if (!wxPyCheckForApp()) SWIG_fail
;
6383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6385 wxPyEndAllowThreads(__tstate
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6388 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6395 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6396 PyObject
*resultobj
= 0;
6397 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6401 PyObject
*swig_obj
[1] ;
6403 if (!args
) SWIG_fail
;
6405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6406 if (!SWIG_IsOK(res1
)) {
6407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6409 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6411 result
= (bool)(arg1
)->IsOk();
6412 if (PyErr_Occurred()) SWIG_fail
;
6415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6423 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6424 PyObject
*resultobj
= 0;
6425 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6429 PyObject
*swig_obj
[1] ;
6431 if (!args
) SWIG_fail
;
6433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6434 if (!SWIG_IsOK(res1
)) {
6435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6437 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6439 result
= (int)(arg1
)->GetWidth();
6440 if (PyErr_Occurred()) SWIG_fail
;
6442 resultobj
= SWIG_From_int(static_cast< int >(result
));
6449 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6450 PyObject
*resultobj
= 0;
6451 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6455 PyObject
*swig_obj
[1] ;
6457 if (!args
) SWIG_fail
;
6459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6460 if (!SWIG_IsOK(res1
)) {
6461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6463 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6465 result
= (int)(arg1
)->GetHeight();
6466 if (PyErr_Occurred()) SWIG_fail
;
6468 resultobj
= SWIG_From_int(static_cast< int >(result
));
6475 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6476 PyObject
*resultobj
= 0;
6477 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6481 PyObject
*swig_obj
[1] ;
6483 if (!args
) SWIG_fail
;
6485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6486 if (!SWIG_IsOK(res1
)) {
6487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6489 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6491 result
= (int)(arg1
)->GetDepth();
6492 if (PyErr_Occurred()) SWIG_fail
;
6494 resultobj
= SWIG_From_int(static_cast< int >(result
));
6501 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6502 PyObject
*resultobj
= 0;
6503 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6507 PyObject
*swig_obj
[1] ;
6509 if (!args
) SWIG_fail
;
6511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6512 if (!SWIG_IsOK(res1
)) {
6513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6515 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6517 result
= wxBitmap_GetSize(arg1
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6520 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6527 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6528 PyObject
*resultobj
= 0;
6529 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6530 SwigValueWrapper
<wxImage
> result
;
6533 PyObject
*swig_obj
[1] ;
6535 if (!args
) SWIG_fail
;
6537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6538 if (!SWIG_IsOK(res1
)) {
6539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6541 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6543 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6544 if (PyErr_Occurred()) SWIG_fail
;
6546 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6553 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6554 PyObject
*resultobj
= 0;
6555 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6556 wxMask
*result
= 0 ;
6559 PyObject
*swig_obj
[1] ;
6561 if (!args
) SWIG_fail
;
6563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6564 if (!SWIG_IsOK(res1
)) {
6565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6567 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6569 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6570 if (PyErr_Occurred()) SWIG_fail
;
6572 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6579 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6580 PyObject
*resultobj
= 0;
6581 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6582 wxMask
*arg2
= (wxMask
*) 0 ;
6586 PyObject
* obj0
= 0 ;
6587 PyObject
* obj1
= 0 ;
6588 char * kwnames
[] = {
6589 (char *) "self",(char *) "mask", NULL
6592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6594 if (!SWIG_IsOK(res1
)) {
6595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6597 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6598 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6599 if (!SWIG_IsOK(res2
)) {
6600 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6603 (arg1
)->SetMask(arg2
);
6604 if (PyErr_Occurred()) SWIG_fail
;
6606 resultobj
= SWIG_Py_Void();
6613 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6614 PyObject
*resultobj
= 0;
6615 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6616 wxColour
*arg2
= 0 ;
6620 PyObject
* obj0
= 0 ;
6621 PyObject
* obj1
= 0 ;
6622 char * kwnames
[] = {
6623 (char *) "self",(char *) "colour", NULL
6626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6628 if (!SWIG_IsOK(res1
)) {
6629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6631 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6634 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6637 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6638 if (PyErr_Occurred()) SWIG_fail
;
6640 resultobj
= SWIG_Py_Void();
6647 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
*resultobj
= 0;
6649 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6651 SwigValueWrapper
<wxBitmap
> result
;
6655 PyObject
* obj0
= 0 ;
6656 PyObject
* obj1
= 0 ;
6657 char * kwnames
[] = {
6658 (char *) "self",(char *) "rect", NULL
6661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6663 if (!SWIG_IsOK(res1
)) {
6664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6666 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6669 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6672 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6675 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6682 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6683 PyObject
*resultobj
= 0;
6684 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6685 wxString
*arg2
= 0 ;
6687 wxPalette
*arg4
= (wxPalette
*) NULL
;
6691 bool temp2
= false ;
6696 PyObject
* obj0
= 0 ;
6697 PyObject
* obj1
= 0 ;
6698 PyObject
* obj2
= 0 ;
6699 PyObject
* obj3
= 0 ;
6700 char * kwnames
[] = {
6701 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6706 if (!SWIG_IsOK(res1
)) {
6707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6709 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6711 arg2
= wxString_in_helper(obj1
);
6712 if (arg2
== NULL
) SWIG_fail
;
6715 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6716 if (!SWIG_IsOK(ecode3
)) {
6717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6719 arg3
= static_cast< wxBitmapType
>(val3
);
6721 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6722 if (!SWIG_IsOK(res4
)) {
6723 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6725 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6728 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6748 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
*resultobj
= 0;
6750 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6751 wxString
*arg2
= 0 ;
6756 bool temp2
= false ;
6759 PyObject
* obj0
= 0 ;
6760 PyObject
* obj1
= 0 ;
6761 PyObject
* obj2
= 0 ;
6762 char * kwnames
[] = {
6763 (char *) "self",(char *) "name",(char *) "type", NULL
6766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6768 if (!SWIG_IsOK(res1
)) {
6769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6771 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6773 arg2
= wxString_in_helper(obj1
);
6774 if (arg2
== NULL
) SWIG_fail
;
6777 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6778 if (!SWIG_IsOK(ecode3
)) {
6779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6781 arg3
= static_cast< wxBitmapType
>(val3
);
6783 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6784 if (PyErr_Occurred()) SWIG_fail
;
6787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6803 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6804 PyObject
*resultobj
= 0;
6805 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6806 wxPalette
*result
= 0 ;
6809 PyObject
*swig_obj
[1] ;
6811 if (!args
) SWIG_fail
;
6813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6814 if (!SWIG_IsOK(res1
)) {
6815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6817 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6819 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6820 if (PyErr_Occurred()) SWIG_fail
;
6822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6829 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6830 PyObject
*resultobj
= 0;
6831 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6838 PyObject
* obj0
= 0 ;
6839 PyObject
* obj1
= 0 ;
6840 char * kwnames
[] = {
6841 (char *) "self",(char *) "icon", NULL
6844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6846 if (!SWIG_IsOK(res1
)) {
6847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6849 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6850 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6851 if (!SWIG_IsOK(res2
)) {
6852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6855 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6857 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6859 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6871 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6872 PyObject
*resultobj
= 0;
6873 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6879 PyObject
* obj0
= 0 ;
6880 PyObject
* obj1
= 0 ;
6881 char * kwnames
[] = {
6882 (char *) "self",(char *) "height", NULL
6885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6887 if (!SWIG_IsOK(res1
)) {
6888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6890 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6892 if (!SWIG_IsOK(ecode2
)) {
6893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6895 arg2
= static_cast< int >(val2
);
6897 (arg1
)->SetHeight(arg2
);
6898 if (PyErr_Occurred()) SWIG_fail
;
6900 resultobj
= SWIG_Py_Void();
6907 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
*resultobj
= 0;
6909 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6915 PyObject
* obj0
= 0 ;
6916 PyObject
* obj1
= 0 ;
6917 char * kwnames
[] = {
6918 (char *) "self",(char *) "width", NULL
6921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6923 if (!SWIG_IsOK(res1
)) {
6924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6926 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6928 if (!SWIG_IsOK(ecode2
)) {
6929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6931 arg2
= static_cast< int >(val2
);
6933 (arg1
)->SetWidth(arg2
);
6934 if (PyErr_Occurred()) SWIG_fail
;
6936 resultobj
= SWIG_Py_Void();
6943 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6944 PyObject
*resultobj
= 0;
6945 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6951 PyObject
* obj0
= 0 ;
6952 PyObject
* obj1
= 0 ;
6953 char * kwnames
[] = {
6954 (char *) "self",(char *) "depth", NULL
6957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6959 if (!SWIG_IsOK(res1
)) {
6960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6962 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6964 if (!SWIG_IsOK(ecode2
)) {
6965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6967 arg2
= static_cast< int >(val2
);
6969 (arg1
)->SetDepth(arg2
);
6970 if (PyErr_Occurred()) SWIG_fail
;
6972 resultobj
= SWIG_Py_Void();
6979 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6980 PyObject
*resultobj
= 0;
6981 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6986 PyObject
* obj0
= 0 ;
6987 PyObject
* obj1
= 0 ;
6988 char * kwnames
[] = {
6989 (char *) "self",(char *) "size", NULL
6992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6994 if (!SWIG_IsOK(res1
)) {
6995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6997 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7000 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7003 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
7004 if (PyErr_Occurred()) SWIG_fail
;
7006 resultobj
= SWIG_Py_Void();
7013 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
*resultobj
= 0;
7015 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7021 PyObject
* obj0
= 0 ;
7022 PyObject
* obj1
= 0 ;
7023 char * kwnames
[] = {
7024 (char *) "self",(char *) "data", NULL
7027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7029 if (!SWIG_IsOK(res1
)) {
7030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7032 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7034 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7038 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7041 resultobj
= SWIG_Py_Void();
7048 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
*resultobj
= 0;
7050 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7056 PyObject
* obj0
= 0 ;
7057 PyObject
* obj1
= 0 ;
7058 char * kwnames
[] = {
7059 (char *) "self",(char *) "data", NULL
7062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7064 if (!SWIG_IsOK(res1
)) {
7065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7067 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7069 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7073 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= SWIG_Py_Void();
7083 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
= 0;
7085 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7086 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7092 PyObject
* obj0
= 0 ;
7093 PyObject
* obj1
= 0 ;
7094 char * kwnames
[] = {
7095 (char *) "self",(char *) "other", NULL
7098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7100 if (!SWIG_IsOK(res1
)) {
7101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7103 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7104 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7105 if (!SWIG_IsOK(res2
)) {
7106 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7108 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7110 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7111 if (PyErr_Occurred()) SWIG_fail
;
7114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7122 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
= 0;
7124 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7125 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7131 PyObject
* obj0
= 0 ;
7132 PyObject
* obj1
= 0 ;
7133 char * kwnames
[] = {
7134 (char *) "self",(char *) "other", NULL
7137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7139 if (!SWIG_IsOK(res1
)) {
7140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7142 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7143 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7144 if (!SWIG_IsOK(res2
)) {
7145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7147 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7149 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7161 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7163 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7164 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7165 return SWIG_Py_Void();
7168 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7169 return SWIG_Python_InitShadowInstance(args
);
7172 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
*resultobj
= 0;
7180 wxBitmap
*result
= 0 ;
7187 PyObject
* obj0
= 0 ;
7188 PyObject
* obj1
= 0 ;
7189 PyObject
* obj2
= 0 ;
7190 PyObject
* obj3
= 0 ;
7191 char * kwnames
[] = {
7192 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7196 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7197 if (!SWIG_IsOK(ecode1
)) {
7198 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7200 arg1
= static_cast< int >(val1
);
7201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7202 if (!SWIG_IsOK(ecode2
)) {
7203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7205 arg2
= static_cast< int >(val2
);
7207 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7211 if (obj3
!= Py_None
) {
7212 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7217 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7218 if (PyErr_Occurred()) SWIG_fail
;
7220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7227 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7228 PyObject
*resultobj
= 0;
7233 wxBitmap
*result
= 0 ;
7239 PyObject
* obj0
= 0 ;
7240 PyObject
* obj1
= 0 ;
7241 PyObject
* obj2
= 0 ;
7242 char * kwnames
[] = {
7243 (char *) "width",(char *) "height",(char *) "data", NULL
7246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7247 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7248 if (!SWIG_IsOK(ecode1
)) {
7249 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7251 arg1
= static_cast< int >(val1
);
7252 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7253 if (!SWIG_IsOK(ecode2
)) {
7254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7256 arg2
= static_cast< int >(val2
);
7258 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7262 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7272 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
*resultobj
= 0;
7278 wxBitmap
*result
= 0 ;
7284 PyObject
* obj0
= 0 ;
7285 PyObject
* obj1
= 0 ;
7286 PyObject
* obj2
= 0 ;
7287 char * kwnames
[] = {
7288 (char *) "width",(char *) "height",(char *) "data", NULL
7291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7292 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7293 if (!SWIG_IsOK(ecode1
)) {
7294 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7296 arg1
= static_cast< int >(val1
);
7297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7298 if (!SWIG_IsOK(ecode2
)) {
7299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7301 arg2
= static_cast< int >(val2
);
7303 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7307 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7317 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7318 PyObject
*resultobj
= 0;
7319 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7323 PyObject
*swig_obj
[1] ;
7325 if (!args
) SWIG_fail
;
7327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7328 if (!SWIG_IsOK(res1
)) {
7329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7331 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7333 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7334 if (PyErr_Occurred()) SWIG_fail
;
7336 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7343 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7344 PyObject
*resultobj
= 0;
7345 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7349 PyObject
*swig_obj
[1] ;
7351 if (!args
) SWIG_fail
;
7353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7354 if (!SWIG_IsOK(res1
)) {
7355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7357 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7359 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7360 if (PyErr_Occurred()) SWIG_fail
;
7362 resultobj
= SWIG_From_int(static_cast< int >(result
));
7369 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7370 PyObject
*resultobj
= 0;
7371 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7375 PyObject
*swig_obj
[1] ;
7377 if (!args
) SWIG_fail
;
7379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7380 if (!SWIG_IsOK(res1
)) {
7381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7383 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7385 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7386 if (PyErr_Occurred()) SWIG_fail
;
7388 resultobj
= SWIG_From_int(static_cast< int >(result
));
7395 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7396 PyObject
*resultobj
= 0;
7397 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7401 PyObject
*swig_obj
[1] ;
7403 if (!args
) SWIG_fail
;
7405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7406 if (!SWIG_IsOK(res1
)) {
7407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7409 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7411 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7412 if (PyErr_Occurred()) SWIG_fail
;
7414 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7421 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7422 PyObject
*resultobj
= 0;
7423 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7427 PyObject
*swig_obj
[1] ;
7429 if (!args
) SWIG_fail
;
7431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7432 if (!SWIG_IsOK(res1
)) {
7433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7435 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7437 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7438 if (PyErr_Occurred()) SWIG_fail
;
7440 resultobj
= SWIG_From_int(static_cast< int >(result
));
7447 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7449 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7450 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7451 return SWIG_Py_Void();
7454 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7455 PyObject
*resultobj
= 0;
7456 wxBitmap
*arg1
= 0 ;
7457 wxNativePixelData
*result
= 0 ;
7461 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7463 if (!SWIG_IsOK(res1
)) {
7464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7469 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7471 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7472 if (PyErr_Occurred()) SWIG_fail
;
7474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7481 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7482 PyObject
*resultobj
= 0;
7483 wxBitmap
*arg1
= 0 ;
7485 wxNativePixelData
*result
= 0 ;
7490 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7492 if (!SWIG_IsOK(res1
)) {
7493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7496 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7498 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7501 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7504 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7505 if (PyErr_Occurred()) SWIG_fail
;
7507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7514 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7515 PyObject
*resultobj
= 0;
7516 wxBitmap
*arg1
= 0 ;
7519 wxNativePixelData
*result
= 0 ;
7525 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7527 if (!SWIG_IsOK(res1
)) {
7528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7531 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7533 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7536 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7540 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7543 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7553 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7557 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7560 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7563 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7566 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7570 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7575 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7576 PyObject
*resultobj
= 0;
7577 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7580 PyObject
*swig_obj
[1] ;
7582 if (!args
) SWIG_fail
;
7584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7585 if (!SWIG_IsOK(res1
)) {
7586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7588 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7592 if (PyErr_Occurred()) SWIG_fail
;
7594 resultobj
= SWIG_Py_Void();
7601 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7602 PyObject
*resultobj
= 0;
7603 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7604 wxNativePixelData_Accessor result
;
7607 PyObject
*swig_obj
[1] ;
7609 if (!args
) SWIG_fail
;
7611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7612 if (!SWIG_IsOK(res1
)) {
7613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7615 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7617 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7618 if (PyErr_Occurred()) SWIG_fail
;
7620 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7627 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7628 PyObject
*resultobj
= 0;
7629 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7632 PyObject
*swig_obj
[1] ;
7634 if (!args
) SWIG_fail
;
7636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7637 if (!SWIG_IsOK(res1
)) {
7638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7640 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7643 if (PyErr_Occurred()) SWIG_fail
;
7645 resultobj
= SWIG_Py_Void();
7652 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7653 PyObject
*resultobj
= 0;
7654 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7658 PyObject
*swig_obj
[1] ;
7660 if (!args
) SWIG_fail
;
7662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7663 if (!SWIG_IsOK(res1
)) {
7664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7666 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7668 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7669 if (PyErr_Occurred()) SWIG_fail
;
7672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7680 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7682 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7683 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7684 return SWIG_Py_Void();
7687 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7688 return SWIG_Python_InitShadowInstance(args
);
7691 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7692 PyObject
*resultobj
= 0;
7693 wxNativePixelData
*arg1
= 0 ;
7694 wxNativePixelData_Accessor
*result
= 0 ;
7698 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7700 if (!SWIG_IsOK(res1
)) {
7701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7704 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7706 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7708 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7718 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7719 PyObject
*resultobj
= 0;
7720 wxBitmap
*arg1
= 0 ;
7721 wxNativePixelData
*arg2
= 0 ;
7722 wxNativePixelData_Accessor
*result
= 0 ;
7728 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7730 if (!SWIG_IsOK(res1
)) {
7731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7734 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7736 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7737 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7738 if (!SWIG_IsOK(res2
)) {
7739 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7742 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7744 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7746 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7756 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7757 PyObject
*resultobj
= 0;
7758 wxNativePixelData_Accessor
*result
= 0 ;
7760 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7762 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7763 if (PyErr_Occurred()) SWIG_fail
;
7765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7772 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7776 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7779 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7782 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7785 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7789 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7794 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7795 PyObject
*resultobj
= 0;
7796 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7799 PyObject
*swig_obj
[1] ;
7801 if (!args
) SWIG_fail
;
7803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7804 if (!SWIG_IsOK(res1
)) {
7805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7807 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7811 if (PyErr_Occurred()) SWIG_fail
;
7813 resultobj
= SWIG_Py_Void();
7820 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7821 PyObject
*resultobj
= 0;
7822 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7823 wxNativePixelData
*arg2
= 0 ;
7828 PyObject
* obj0
= 0 ;
7829 PyObject
* obj1
= 0 ;
7830 char * kwnames
[] = {
7831 (char *) "self",(char *) "data", NULL
7834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7836 if (!SWIG_IsOK(res1
)) {
7837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7839 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7840 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7841 if (!SWIG_IsOK(res2
)) {
7842 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7845 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7847 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7849 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7850 if (PyErr_Occurred()) SWIG_fail
;
7852 resultobj
= SWIG_Py_Void();
7859 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7860 PyObject
*resultobj
= 0;
7861 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7865 PyObject
*swig_obj
[1] ;
7867 if (!args
) SWIG_fail
;
7869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7870 if (!SWIG_IsOK(res1
)) {
7871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7873 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7875 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7876 if (PyErr_Occurred()) SWIG_fail
;
7879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7887 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7888 PyObject
*resultobj
= 0;
7889 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7892 PyObject
*swig_obj
[1] ;
7894 if (!args
) SWIG_fail
;
7896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7897 if (!SWIG_IsOK(res1
)) {
7898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7900 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7902 wxNativePixelData_Accessor_nextPixel(arg1
);
7903 if (PyErr_Occurred()) SWIG_fail
;
7905 resultobj
= SWIG_Py_Void();
7912 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7913 PyObject
*resultobj
= 0;
7914 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7915 wxNativePixelData
*arg2
= 0 ;
7926 PyObject
* obj0
= 0 ;
7927 PyObject
* obj1
= 0 ;
7928 PyObject
* obj2
= 0 ;
7929 PyObject
* obj3
= 0 ;
7930 char * kwnames
[] = {
7931 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7936 if (!SWIG_IsOK(res1
)) {
7937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7939 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7940 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7941 if (!SWIG_IsOK(res2
)) {
7942 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7945 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7947 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7948 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7949 if (!SWIG_IsOK(ecode3
)) {
7950 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7952 arg3
= static_cast< int >(val3
);
7953 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7954 if (!SWIG_IsOK(ecode4
)) {
7955 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7957 arg4
= static_cast< int >(val4
);
7959 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7960 if (PyErr_Occurred()) SWIG_fail
;
7962 resultobj
= SWIG_Py_Void();
7969 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7970 PyObject
*resultobj
= 0;
7971 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7972 wxNativePixelData
*arg2
= 0 ;
7980 PyObject
* obj0
= 0 ;
7981 PyObject
* obj1
= 0 ;
7982 PyObject
* obj2
= 0 ;
7983 char * kwnames
[] = {
7984 (char *) "self",(char *) "data",(char *) "x", NULL
7987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7989 if (!SWIG_IsOK(res1
)) {
7990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7992 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7993 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7994 if (!SWIG_IsOK(res2
)) {
7995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8000 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8001 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8002 if (!SWIG_IsOK(ecode3
)) {
8003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8005 arg3
= static_cast< int >(val3
);
8007 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
8008 if (PyErr_Occurred()) SWIG_fail
;
8010 resultobj
= SWIG_Py_Void();
8017 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8018 PyObject
*resultobj
= 0;
8019 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8020 wxNativePixelData
*arg2
= 0 ;
8028 PyObject
* obj0
= 0 ;
8029 PyObject
* obj1
= 0 ;
8030 PyObject
* obj2
= 0 ;
8031 char * kwnames
[] = {
8032 (char *) "self",(char *) "data",(char *) "y", NULL
8035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8037 if (!SWIG_IsOK(res1
)) {
8038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8040 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8041 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8042 if (!SWIG_IsOK(res2
)) {
8043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8048 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8049 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8050 if (!SWIG_IsOK(ecode3
)) {
8051 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8053 arg3
= static_cast< int >(val3
);
8055 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8056 if (PyErr_Occurred()) SWIG_fail
;
8058 resultobj
= SWIG_Py_Void();
8065 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8066 PyObject
*resultobj
= 0;
8067 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8068 wxNativePixelData
*arg2
= 0 ;
8079 PyObject
* obj0
= 0 ;
8080 PyObject
* obj1
= 0 ;
8081 PyObject
* obj2
= 0 ;
8082 PyObject
* obj3
= 0 ;
8083 char * kwnames
[] = {
8084 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8089 if (!SWIG_IsOK(res1
)) {
8090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8092 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8093 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8094 if (!SWIG_IsOK(res2
)) {
8095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8098 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8100 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8102 if (!SWIG_IsOK(ecode3
)) {
8103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8105 arg3
= static_cast< int >(val3
);
8106 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8107 if (!SWIG_IsOK(ecode4
)) {
8108 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8110 arg4
= static_cast< int >(val4
);
8112 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8113 if (PyErr_Occurred()) SWIG_fail
;
8115 resultobj
= SWIG_Py_Void();
8122 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8123 PyObject
*resultobj
= 0;
8124 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8130 unsigned char val2
;
8132 unsigned char val3
;
8134 unsigned char val4
;
8136 PyObject
* obj0
= 0 ;
8137 PyObject
* obj1
= 0 ;
8138 PyObject
* obj2
= 0 ;
8139 PyObject
* obj3
= 0 ;
8140 char * kwnames
[] = {
8141 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8146 if (!SWIG_IsOK(res1
)) {
8147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8149 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8150 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8151 if (!SWIG_IsOK(ecode2
)) {
8152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8154 arg2
= static_cast< byte
>(val2
);
8155 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8156 if (!SWIG_IsOK(ecode3
)) {
8157 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8159 arg3
= static_cast< byte
>(val3
);
8160 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8161 if (!SWIG_IsOK(ecode4
)) {
8162 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8164 arg4
= static_cast< byte
>(val4
);
8166 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8167 if (PyErr_Occurred()) SWIG_fail
;
8169 resultobj
= SWIG_Py_Void();
8176 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8177 PyObject
*resultobj
= 0;
8178 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8179 PyObject
*result
= 0 ;
8182 PyObject
*swig_obj
[1] ;
8184 if (!args
) SWIG_fail
;
8186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8187 if (!SWIG_IsOK(res1
)) {
8188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8190 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8192 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8193 if (PyErr_Occurred()) SWIG_fail
;
8202 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8204 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8205 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8206 return SWIG_Py_Void();
8209 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8210 return SWIG_Python_InitShadowInstance(args
);
8213 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8214 PyObject
*resultobj
= 0;
8215 wxBitmap
*arg1
= 0 ;
8216 wxAlphaPixelData
*result
= 0 ;
8220 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8222 if (!SWIG_IsOK(res1
)) {
8223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8226 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8228 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8230 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8240 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8241 PyObject
*resultobj
= 0;
8242 wxBitmap
*arg1
= 0 ;
8244 wxAlphaPixelData
*result
= 0 ;
8249 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8251 if (!SWIG_IsOK(res1
)) {
8252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8255 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8257 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8260 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8263 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8266 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8273 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8274 PyObject
*resultobj
= 0;
8275 wxBitmap
*arg1
= 0 ;
8278 wxAlphaPixelData
*result
= 0 ;
8284 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8286 if (!SWIG_IsOK(res1
)) {
8287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8290 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8292 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8295 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8299 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8302 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8303 if (PyErr_Occurred()) SWIG_fail
;
8305 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8312 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8316 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8319 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8322 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8325 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8329 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8334 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8335 PyObject
*resultobj
= 0;
8336 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8339 PyObject
*swig_obj
[1] ;
8341 if (!args
) SWIG_fail
;
8343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8344 if (!SWIG_IsOK(res1
)) {
8345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8347 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8353 resultobj
= SWIG_Py_Void();
8360 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8361 PyObject
*resultobj
= 0;
8362 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8363 wxAlphaPixelData_Accessor result
;
8366 PyObject
*swig_obj
[1] ;
8368 if (!args
) SWIG_fail
;
8370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8371 if (!SWIG_IsOK(res1
)) {
8372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8374 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8376 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8377 if (PyErr_Occurred()) SWIG_fail
;
8379 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8386 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8387 PyObject
*resultobj
= 0;
8388 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8391 PyObject
*swig_obj
[1] ;
8393 if (!args
) SWIG_fail
;
8395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8396 if (!SWIG_IsOK(res1
)) {
8397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8399 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8404 resultobj
= SWIG_Py_Void();
8411 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8412 PyObject
*resultobj
= 0;
8413 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8417 PyObject
*swig_obj
[1] ;
8419 if (!args
) SWIG_fail
;
8421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8422 if (!SWIG_IsOK(res1
)) {
8423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8425 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8427 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8428 if (PyErr_Occurred()) SWIG_fail
;
8431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8439 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8441 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8442 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8443 return SWIG_Py_Void();
8446 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8447 return SWIG_Python_InitShadowInstance(args
);
8450 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8451 PyObject
*resultobj
= 0;
8452 wxAlphaPixelData
*arg1
= 0 ;
8453 wxAlphaPixelData_Accessor
*result
= 0 ;
8457 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8459 if (!SWIG_IsOK(res1
)) {
8460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8465 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8467 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8468 if (PyErr_Occurred()) SWIG_fail
;
8470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8477 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8478 PyObject
*resultobj
= 0;
8479 wxBitmap
*arg1
= 0 ;
8480 wxAlphaPixelData
*arg2
= 0 ;
8481 wxAlphaPixelData_Accessor
*result
= 0 ;
8487 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8489 if (!SWIG_IsOK(res1
)) {
8490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8493 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8495 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8496 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8497 if (!SWIG_IsOK(res2
)) {
8498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8501 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8503 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8505 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8515 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8516 PyObject
*resultobj
= 0;
8517 wxAlphaPixelData_Accessor
*result
= 0 ;
8519 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8521 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8522 if (PyErr_Occurred()) SWIG_fail
;
8524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8531 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8535 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8538 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8541 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8544 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8548 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8553 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8554 PyObject
*resultobj
= 0;
8555 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8558 PyObject
*swig_obj
[1] ;
8560 if (!args
) SWIG_fail
;
8562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8563 if (!SWIG_IsOK(res1
)) {
8564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8566 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8570 if (PyErr_Occurred()) SWIG_fail
;
8572 resultobj
= SWIG_Py_Void();
8579 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8580 PyObject
*resultobj
= 0;
8581 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8582 wxAlphaPixelData
*arg2
= 0 ;
8587 PyObject
* obj0
= 0 ;
8588 PyObject
* obj1
= 0 ;
8589 char * kwnames
[] = {
8590 (char *) "self",(char *) "data", NULL
8593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8595 if (!SWIG_IsOK(res1
)) {
8596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8598 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8599 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8600 if (!SWIG_IsOK(res2
)) {
8601 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8606 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8608 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8609 if (PyErr_Occurred()) SWIG_fail
;
8611 resultobj
= SWIG_Py_Void();
8618 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8619 PyObject
*resultobj
= 0;
8620 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8624 PyObject
*swig_obj
[1] ;
8626 if (!args
) SWIG_fail
;
8628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8629 if (!SWIG_IsOK(res1
)) {
8630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8632 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8634 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8635 if (PyErr_Occurred()) SWIG_fail
;
8638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8646 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8647 PyObject
*resultobj
= 0;
8648 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8651 PyObject
*swig_obj
[1] ;
8653 if (!args
) SWIG_fail
;
8655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8656 if (!SWIG_IsOK(res1
)) {
8657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8659 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8661 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8664 resultobj
= SWIG_Py_Void();
8671 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
= 0;
8673 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8674 wxAlphaPixelData
*arg2
= 0 ;
8685 PyObject
* obj0
= 0 ;
8686 PyObject
* obj1
= 0 ;
8687 PyObject
* obj2
= 0 ;
8688 PyObject
* obj3
= 0 ;
8689 char * kwnames
[] = {
8690 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8695 if (!SWIG_IsOK(res1
)) {
8696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8698 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8699 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8700 if (!SWIG_IsOK(res2
)) {
8701 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8704 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8706 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8707 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8708 if (!SWIG_IsOK(ecode3
)) {
8709 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8711 arg3
= static_cast< int >(val3
);
8712 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8713 if (!SWIG_IsOK(ecode4
)) {
8714 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8716 arg4
= static_cast< int >(val4
);
8718 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8721 resultobj
= SWIG_Py_Void();
8728 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
= 0;
8730 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8731 wxAlphaPixelData
*arg2
= 0 ;
8739 PyObject
* obj0
= 0 ;
8740 PyObject
* obj1
= 0 ;
8741 PyObject
* obj2
= 0 ;
8742 char * kwnames
[] = {
8743 (char *) "self",(char *) "data",(char *) "x", NULL
8746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8748 if (!SWIG_IsOK(res1
)) {
8749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8751 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8752 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8753 if (!SWIG_IsOK(res2
)) {
8754 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8757 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8759 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8760 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8761 if (!SWIG_IsOK(ecode3
)) {
8762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8764 arg3
= static_cast< int >(val3
);
8766 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8769 resultobj
= SWIG_Py_Void();
8776 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8777 PyObject
*resultobj
= 0;
8778 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8779 wxAlphaPixelData
*arg2
= 0 ;
8787 PyObject
* obj0
= 0 ;
8788 PyObject
* obj1
= 0 ;
8789 PyObject
* obj2
= 0 ;
8790 char * kwnames
[] = {
8791 (char *) "self",(char *) "data",(char *) "y", NULL
8794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8796 if (!SWIG_IsOK(res1
)) {
8797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8799 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8800 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8801 if (!SWIG_IsOK(res2
)) {
8802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8807 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8809 if (!SWIG_IsOK(ecode3
)) {
8810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8812 arg3
= static_cast< int >(val3
);
8814 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8817 resultobj
= SWIG_Py_Void();
8824 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8825 PyObject
*resultobj
= 0;
8826 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8827 wxAlphaPixelData
*arg2
= 0 ;
8838 PyObject
* obj0
= 0 ;
8839 PyObject
* obj1
= 0 ;
8840 PyObject
* obj2
= 0 ;
8841 PyObject
* obj3
= 0 ;
8842 char * kwnames
[] = {
8843 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8848 if (!SWIG_IsOK(res1
)) {
8849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8851 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8852 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8853 if (!SWIG_IsOK(res2
)) {
8854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8859 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8860 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8861 if (!SWIG_IsOK(ecode3
)) {
8862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8864 arg3
= static_cast< int >(val3
);
8865 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8866 if (!SWIG_IsOK(ecode4
)) {
8867 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8869 arg4
= static_cast< int >(val4
);
8871 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8872 if (PyErr_Occurred()) SWIG_fail
;
8874 resultobj
= SWIG_Py_Void();
8881 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8882 PyObject
*resultobj
= 0;
8883 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8890 unsigned char val2
;
8892 unsigned char val3
;
8894 unsigned char val4
;
8896 unsigned char val5
;
8898 PyObject
* obj0
= 0 ;
8899 PyObject
* obj1
= 0 ;
8900 PyObject
* obj2
= 0 ;
8901 PyObject
* obj3
= 0 ;
8902 PyObject
* obj4
= 0 ;
8903 char * kwnames
[] = {
8904 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8909 if (!SWIG_IsOK(res1
)) {
8910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8912 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8913 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8914 if (!SWIG_IsOK(ecode2
)) {
8915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8917 arg2
= static_cast< byte
>(val2
);
8918 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8919 if (!SWIG_IsOK(ecode3
)) {
8920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8922 arg3
= static_cast< byte
>(val3
);
8923 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8924 if (!SWIG_IsOK(ecode4
)) {
8925 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8927 arg4
= static_cast< byte
>(val4
);
8928 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8929 if (!SWIG_IsOK(ecode5
)) {
8930 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8932 arg5
= static_cast< byte
>(val5
);
8934 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8937 resultobj
= SWIG_Py_Void();
8944 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8945 PyObject
*resultobj
= 0;
8946 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8947 PyObject
*result
= 0 ;
8950 PyObject
*swig_obj
[1] ;
8952 if (!args
) SWIG_fail
;
8954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8955 if (!SWIG_IsOK(res1
)) {
8956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8958 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8960 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8970 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8972 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8973 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8974 return SWIG_Py_Void();
8977 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8978 return SWIG_Python_InitShadowInstance(args
);
8981 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8982 PyObject
*resultobj
= 0;
8983 wxBitmap
*arg1
= 0 ;
8984 wxColour
const &arg2_defvalue
= wxNullColour
;
8985 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8986 wxMask
*result
= 0 ;
8990 PyObject
* obj0
= 0 ;
8991 PyObject
* obj1
= 0 ;
8992 char * kwnames
[] = {
8993 (char *) "bitmap",(char *) "colour", NULL
8996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8997 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8998 if (!SWIG_IsOK(res1
)) {
8999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9002 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9004 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9008 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9012 if (!wxPyCheckForApp()) SWIG_fail
;
9013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9014 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9015 wxPyEndAllowThreads(__tstate
);
9016 if (PyErr_Occurred()) SWIG_fail
;
9018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9025 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9026 PyObject
*resultobj
= 0;
9027 wxMask
*arg1
= (wxMask
*) 0 ;
9030 PyObject
*swig_obj
[1] ;
9032 if (!args
) SWIG_fail
;
9034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9035 if (!SWIG_IsOK(res1
)) {
9036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9038 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9042 if (PyErr_Occurred()) SWIG_fail
;
9044 resultobj
= SWIG_Py_Void();
9051 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9054 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9055 return SWIG_Py_Void();
9058 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9059 return SWIG_Python_InitShadowInstance(args
);
9062 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9063 PyObject
*resultobj
= 0;
9064 wxString
*arg1
= 0 ;
9066 int arg3
= (int) -1 ;
9067 int arg4
= (int) -1 ;
9068 wxIcon
*result
= 0 ;
9069 bool temp1
= false ;
9076 PyObject
* obj0
= 0 ;
9077 PyObject
* obj1
= 0 ;
9078 PyObject
* obj2
= 0 ;
9079 PyObject
* obj3
= 0 ;
9080 char * kwnames
[] = {
9081 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9086 arg1
= wxString_in_helper(obj0
);
9087 if (arg1
== NULL
) SWIG_fail
;
9090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9091 if (!SWIG_IsOK(ecode2
)) {
9092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9094 arg2
= static_cast< wxBitmapType
>(val2
);
9096 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9097 if (!SWIG_IsOK(ecode3
)) {
9098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9100 arg3
= static_cast< int >(val3
);
9103 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9104 if (!SWIG_IsOK(ecode4
)) {
9105 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9107 arg4
= static_cast< int >(val4
);
9110 if (!wxPyCheckForApp()) SWIG_fail
;
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9113 wxPyEndAllowThreads(__tstate
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9131 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9132 PyObject
*resultobj
= 0;
9133 wxIcon
*arg1
= (wxIcon
*) 0 ;
9136 PyObject
*swig_obj
[1] ;
9138 if (!args
) SWIG_fail
;
9140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9141 if (!SWIG_IsOK(res1
)) {
9142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9144 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9152 resultobj
= SWIG_Py_Void();
9159 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9160 PyObject
*resultobj
= 0;
9161 wxIcon
*result
= 0 ;
9163 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9165 if (!wxPyCheckForApp()) SWIG_fail
;
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 result
= (wxIcon
*)new wxIcon();
9168 wxPyEndAllowThreads(__tstate
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9178 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9179 PyObject
*resultobj
= 0;
9180 wxIconLocation
*arg1
= 0 ;
9181 wxIcon
*result
= 0 ;
9184 PyObject
* obj0
= 0 ;
9185 char * kwnames
[] = {
9186 (char *) "loc", NULL
9189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9190 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9191 if (!SWIG_IsOK(res1
)) {
9192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9195 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9197 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9199 if (!wxPyCheckForApp()) SWIG_fail
;
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9202 wxPyEndAllowThreads(__tstate
);
9203 if (PyErr_Occurred()) SWIG_fail
;
9205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9212 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9213 PyObject
*resultobj
= 0;
9214 wxBitmap
*arg1
= 0 ;
9215 wxIcon
*result
= 0 ;
9218 PyObject
* obj0
= 0 ;
9219 char * kwnames
[] = {
9220 (char *) "bmp", NULL
9223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9224 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9225 if (!SWIG_IsOK(res1
)) {
9226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9231 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9233 if (!wxPyCheckForApp()) SWIG_fail
;
9234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9235 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9236 wxPyEndAllowThreads(__tstate
);
9237 if (PyErr_Occurred()) SWIG_fail
;
9239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9246 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
*resultobj
= 0;
9248 PyObject
*arg1
= (PyObject
*) 0 ;
9249 wxIcon
*result
= 0 ;
9250 PyObject
* obj0
= 0 ;
9251 char * kwnames
[] = {
9252 (char *) "listOfStrings", NULL
9255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9258 if (!wxPyCheckForApp()) SWIG_fail
;
9259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9260 result
= (wxIcon
*)new_wxIcon(arg1
);
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9271 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9272 PyObject
*resultobj
= 0;
9273 wxIcon
*arg1
= (wxIcon
*) 0 ;
9277 PyObject
*swig_obj
[1] ;
9279 if (!args
) SWIG_fail
;
9281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9282 if (!SWIG_IsOK(res1
)) {
9283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9285 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 result
= (bool)(arg1
)->IsOk();
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9301 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9302 PyObject
*resultobj
= 0;
9303 wxIcon
*arg1
= (wxIcon
*) 0 ;
9307 PyObject
*swig_obj
[1] ;
9309 if (!args
) SWIG_fail
;
9311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9312 if (!SWIG_IsOK(res1
)) {
9313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9315 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9318 result
= (int)(arg1
)->GetWidth();
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9322 resultobj
= SWIG_From_int(static_cast< int >(result
));
9329 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9330 PyObject
*resultobj
= 0;
9331 wxIcon
*arg1
= (wxIcon
*) 0 ;
9335 PyObject
*swig_obj
[1] ;
9337 if (!args
) SWIG_fail
;
9339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9340 if (!SWIG_IsOK(res1
)) {
9341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9343 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 result
= (int)(arg1
)->GetHeight();
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9350 resultobj
= SWIG_From_int(static_cast< int >(result
));
9357 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9358 PyObject
*resultobj
= 0;
9359 wxIcon
*arg1
= (wxIcon
*) 0 ;
9363 PyObject
*swig_obj
[1] ;
9365 if (!args
) SWIG_fail
;
9367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9368 if (!SWIG_IsOK(res1
)) {
9369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9371 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 result
= (int)(arg1
)->GetDepth();
9375 wxPyEndAllowThreads(__tstate
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9378 resultobj
= SWIG_From_int(static_cast< int >(result
));
9385 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9386 PyObject
*resultobj
= 0;
9387 wxIcon
*arg1
= (wxIcon
*) 0 ;
9393 PyObject
* obj0
= 0 ;
9394 PyObject
* obj1
= 0 ;
9395 char * kwnames
[] = {
9396 (char *) "self",(char *) "w", NULL
9399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9401 if (!SWIG_IsOK(res1
)) {
9402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9404 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9406 if (!SWIG_IsOK(ecode2
)) {
9407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9409 arg2
= static_cast< int >(val2
);
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 (arg1
)->SetWidth(arg2
);
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9416 resultobj
= SWIG_Py_Void();
9423 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9424 PyObject
*resultobj
= 0;
9425 wxIcon
*arg1
= (wxIcon
*) 0 ;
9431 PyObject
* obj0
= 0 ;
9432 PyObject
* obj1
= 0 ;
9433 char * kwnames
[] = {
9434 (char *) "self",(char *) "h", NULL
9437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9439 if (!SWIG_IsOK(res1
)) {
9440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9442 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9444 if (!SWIG_IsOK(ecode2
)) {
9445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9447 arg2
= static_cast< int >(val2
);
9449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9450 (arg1
)->SetHeight(arg2
);
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9454 resultobj
= SWIG_Py_Void();
9461 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9462 PyObject
*resultobj
= 0;
9463 wxIcon
*arg1
= (wxIcon
*) 0 ;
9469 PyObject
* obj0
= 0 ;
9470 PyObject
* obj1
= 0 ;
9471 char * kwnames
[] = {
9472 (char *) "self",(char *) "d", NULL
9475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9477 if (!SWIG_IsOK(res1
)) {
9478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9480 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9482 if (!SWIG_IsOK(ecode2
)) {
9483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9485 arg2
= static_cast< int >(val2
);
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 (arg1
)->SetDepth(arg2
);
9489 wxPyEndAllowThreads(__tstate
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9492 resultobj
= SWIG_Py_Void();
9499 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
*resultobj
= 0;
9501 wxIcon
*arg1
= (wxIcon
*) 0 ;
9502 wxBitmap
*arg2
= 0 ;
9507 PyObject
* obj0
= 0 ;
9508 PyObject
* obj1
= 0 ;
9509 char * kwnames
[] = {
9510 (char *) "self",(char *) "bmp", NULL
9513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9515 if (!SWIG_IsOK(res1
)) {
9516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9518 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9519 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9520 if (!SWIG_IsOK(res2
)) {
9521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9524 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9526 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9529 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9533 resultobj
= SWIG_Py_Void();
9540 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9542 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9543 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9544 return SWIG_Py_Void();
9547 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9548 return SWIG_Python_InitShadowInstance(args
);
9551 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9552 PyObject
*resultobj
= 0;
9553 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9554 int arg2
= (int) 0 ;
9555 wxIconLocation
*result
= 0 ;
9556 bool temp1
= false ;
9559 PyObject
* obj0
= 0 ;
9560 PyObject
* obj1
= 0 ;
9561 char * kwnames
[] = {
9562 (char *) "filename",(char *) "num", NULL
9565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9568 arg1
= wxString_in_helper(obj0
);
9569 if (arg1
== NULL
) SWIG_fail
;
9574 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9575 if (!SWIG_IsOK(ecode2
)) {
9576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9578 arg2
= static_cast< int >(val2
);
9581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9582 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9583 wxPyEndAllowThreads(__tstate
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9601 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9602 PyObject
*resultobj
= 0;
9603 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9606 PyObject
*swig_obj
[1] ;
9608 if (!args
) SWIG_fail
;
9610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9611 if (!SWIG_IsOK(res1
)) {
9612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9614 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9619 wxPyEndAllowThreads(__tstate
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9622 resultobj
= SWIG_Py_Void();
9629 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9630 PyObject
*resultobj
= 0;
9631 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9635 PyObject
*swig_obj
[1] ;
9637 if (!args
) SWIG_fail
;
9639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9640 if (!SWIG_IsOK(res1
)) {
9641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9643 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9659 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9660 PyObject
*resultobj
= 0;
9661 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9662 wxString
*arg2
= 0 ;
9665 bool temp2
= false ;
9666 PyObject
* obj0
= 0 ;
9667 PyObject
* obj1
= 0 ;
9668 char * kwnames
[] = {
9669 (char *) "self",(char *) "filename", NULL
9672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9674 if (!SWIG_IsOK(res1
)) {
9675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9677 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9679 arg2
= wxString_in_helper(obj1
);
9680 if (arg2
== NULL
) SWIG_fail
;
9684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9685 (arg1
)->SetFileName((wxString
const &)*arg2
);
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9689 resultobj
= SWIG_Py_Void();
9704 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9705 PyObject
*resultobj
= 0;
9706 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9707 wxString
*result
= 0 ;
9710 PyObject
*swig_obj
[1] ;
9712 if (!args
) SWIG_fail
;
9714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9715 if (!SWIG_IsOK(res1
)) {
9716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9718 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9722 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9723 result
= (wxString
*) &_result_ref
;
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9730 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9732 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9741 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9742 PyObject
*resultobj
= 0;
9743 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9749 PyObject
* obj0
= 0 ;
9750 PyObject
* obj1
= 0 ;
9751 char * kwnames
[] = {
9752 (char *) "self",(char *) "num", NULL
9755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9757 if (!SWIG_IsOK(res1
)) {
9758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9760 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9762 if (!SWIG_IsOK(ecode2
)) {
9763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9765 arg2
= static_cast< int >(val2
);
9767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9768 wxIconLocation_SetIndex(arg1
,arg2
);
9769 wxPyEndAllowThreads(__tstate
);
9770 if (PyErr_Occurred()) SWIG_fail
;
9772 resultobj
= SWIG_Py_Void();
9779 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9780 PyObject
*resultobj
= 0;
9781 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9785 PyObject
*swig_obj
[1] ;
9787 if (!args
) SWIG_fail
;
9789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9790 if (!SWIG_IsOK(res1
)) {
9791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9793 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9796 result
= (int)wxIconLocation_GetIndex(arg1
);
9797 wxPyEndAllowThreads(__tstate
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9800 resultobj
= SWIG_From_int(static_cast< int >(result
));
9807 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9809 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9810 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9811 return SWIG_Py_Void();
9814 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9815 return SWIG_Python_InitShadowInstance(args
);
9818 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9819 PyObject
*resultobj
= 0;
9820 wxIconBundle
*result
= 0 ;
9822 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9825 result
= (wxIconBundle
*)new wxIconBundle();
9826 wxPyEndAllowThreads(__tstate
);
9827 if (PyErr_Occurred()) SWIG_fail
;
9829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9836 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9837 PyObject
*resultobj
= 0;
9838 wxString
*arg1
= 0 ;
9840 wxIconBundle
*result
= 0 ;
9841 bool temp1
= false ;
9844 PyObject
* obj0
= 0 ;
9845 PyObject
* obj1
= 0 ;
9846 char * kwnames
[] = {
9847 (char *) "file",(char *) "type", NULL
9850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9852 arg1
= wxString_in_helper(obj0
);
9853 if (arg1
== NULL
) SWIG_fail
;
9856 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9857 if (!SWIG_IsOK(ecode2
)) {
9858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9860 arg2
= static_cast< long >(val2
);
9862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9863 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9882 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9883 PyObject
*resultobj
= 0;
9885 wxIconBundle
*result
= 0 ;
9888 PyObject
* obj0
= 0 ;
9889 char * kwnames
[] = {
9890 (char *) "icon", NULL
9893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9894 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9895 if (!SWIG_IsOK(res1
)) {
9896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9901 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9905 wxPyEndAllowThreads(__tstate
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9915 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9916 PyObject
*resultobj
= 0;
9917 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9920 PyObject
*swig_obj
[1] ;
9922 if (!args
) SWIG_fail
;
9924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9925 if (!SWIG_IsOK(res1
)) {
9926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9928 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9936 resultobj
= SWIG_Py_Void();
9943 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9944 PyObject
*resultobj
= 0;
9945 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9951 PyObject
* obj0
= 0 ;
9952 PyObject
* obj1
= 0 ;
9953 char * kwnames
[] = {
9954 (char *) "self",(char *) "icon", NULL
9957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9959 if (!SWIG_IsOK(res1
)) {
9960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9962 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9963 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9964 if (!SWIG_IsOK(res2
)) {
9965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9970 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9973 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9974 wxPyEndAllowThreads(__tstate
);
9975 if (PyErr_Occurred()) SWIG_fail
;
9977 resultobj
= SWIG_Py_Void();
9984 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9985 PyObject
*resultobj
= 0;
9986 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9987 wxString
*arg2
= 0 ;
9991 bool temp2
= false ;
9994 PyObject
* obj0
= 0 ;
9995 PyObject
* obj1
= 0 ;
9996 PyObject
* obj2
= 0 ;
9997 char * kwnames
[] = {
9998 (char *) "self",(char *) "file",(char *) "type", NULL
10001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10003 if (!SWIG_IsOK(res1
)) {
10004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10006 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10008 arg2
= wxString_in_helper(obj1
);
10009 if (arg2
== NULL
) SWIG_fail
;
10012 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10013 if (!SWIG_IsOK(ecode3
)) {
10014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10016 arg3
= static_cast< long >(val3
);
10018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10020 wxPyEndAllowThreads(__tstate
);
10021 if (PyErr_Occurred()) SWIG_fail
;
10023 resultobj
= SWIG_Py_Void();
10038 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
= 0;
10040 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10042 wxIcon
*result
= 0 ;
10046 PyObject
* obj0
= 0 ;
10047 PyObject
* obj1
= 0 ;
10048 char * kwnames
[] = {
10049 (char *) "self",(char *) "size", NULL
10052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10054 if (!SWIG_IsOK(res1
)) {
10055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10057 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10060 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10065 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10066 result
= (wxIcon
*) &_result_ref
;
10068 wxPyEndAllowThreads(__tstate
);
10069 if (PyErr_Occurred()) SWIG_fail
;
10072 wxIcon
* resultptr
= new wxIcon(*result
);
10073 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10081 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10083 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10084 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10085 return SWIG_Py_Void();
10088 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10089 return SWIG_Python_InitShadowInstance(args
);
10092 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10093 PyObject
*resultobj
= 0;
10094 wxString
*arg1
= 0 ;
10096 int arg3
= (int) 0 ;
10097 int arg4
= (int) 0 ;
10098 wxCursor
*result
= 0 ;
10099 bool temp1
= false ;
10106 PyObject
* obj0
= 0 ;
10107 PyObject
* obj1
= 0 ;
10108 PyObject
* obj2
= 0 ;
10109 PyObject
* obj3
= 0 ;
10110 char * kwnames
[] = {
10111 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10116 arg1
= wxString_in_helper(obj0
);
10117 if (arg1
== NULL
) SWIG_fail
;
10120 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10121 if (!SWIG_IsOK(ecode2
)) {
10122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10124 arg2
= static_cast< long >(val2
);
10126 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10127 if (!SWIG_IsOK(ecode3
)) {
10128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10130 arg3
= static_cast< int >(val3
);
10133 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10134 if (!SWIG_IsOK(ecode4
)) {
10135 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10137 arg4
= static_cast< int >(val4
);
10140 if (!wxPyCheckForApp()) SWIG_fail
;
10141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10142 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) SWIG_fail
;
10146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10161 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10162 PyObject
*resultobj
= 0;
10163 wxCursor
*arg1
= (wxCursor
*) 0 ;
10166 PyObject
*swig_obj
[1] ;
10168 if (!args
) SWIG_fail
;
10169 swig_obj
[0] = args
;
10170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10171 if (!SWIG_IsOK(res1
)) {
10172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10174 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10179 wxPyEndAllowThreads(__tstate
);
10180 if (PyErr_Occurred()) SWIG_fail
;
10182 resultobj
= SWIG_Py_Void();
10189 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10190 PyObject
*resultobj
= 0;
10192 wxCursor
*result
= 0 ;
10195 PyObject
* obj0
= 0 ;
10196 char * kwnames
[] = {
10197 (char *) "id", NULL
10200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10201 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10202 if (!SWIG_IsOK(ecode1
)) {
10203 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10205 arg1
= static_cast< int >(val1
);
10207 if (!wxPyCheckForApp()) SWIG_fail
;
10208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10209 result
= (wxCursor
*)new wxCursor(arg1
);
10210 wxPyEndAllowThreads(__tstate
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10220 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
*resultobj
= 0;
10222 wxImage
*arg1
= 0 ;
10223 wxCursor
*result
= 0 ;
10226 PyObject
* obj0
= 0 ;
10227 char * kwnames
[] = {
10228 (char *) "image", NULL
10231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10232 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10233 if (!SWIG_IsOK(res1
)) {
10234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10239 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10241 if (!wxPyCheckForApp()) SWIG_fail
;
10242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10243 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10244 wxPyEndAllowThreads(__tstate
);
10245 if (PyErr_Occurred()) SWIG_fail
;
10247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10254 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10255 PyObject
*resultobj
= 0;
10256 wxCursor
*arg1
= (wxCursor
*) 0 ;
10260 PyObject
*swig_obj
[1] ;
10262 if (!args
) SWIG_fail
;
10263 swig_obj
[0] = args
;
10264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10265 if (!SWIG_IsOK(res1
)) {
10266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10268 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10271 result
= (bool)(arg1
)->IsOk();
10272 wxPyEndAllowThreads(__tstate
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10284 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10286 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10287 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10288 return SWIG_Py_Void();
10291 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10292 return SWIG_Python_InitShadowInstance(args
);
10295 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
= 0;
10297 int arg1
= (int) 0 ;
10298 int arg2
= (int) 0 ;
10299 int arg3
= (int) 0 ;
10300 int arg4
= (int) 0 ;
10301 wxRegion
*result
= 0 ;
10310 PyObject
* obj0
= 0 ;
10311 PyObject
* obj1
= 0 ;
10312 PyObject
* obj2
= 0 ;
10313 PyObject
* obj3
= 0 ;
10314 char * kwnames
[] = {
10315 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10320 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10321 if (!SWIG_IsOK(ecode1
)) {
10322 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10324 arg1
= static_cast< int >(val1
);
10327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10328 if (!SWIG_IsOK(ecode2
)) {
10329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10331 arg2
= static_cast< int >(val2
);
10334 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10335 if (!SWIG_IsOK(ecode3
)) {
10336 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10338 arg3
= static_cast< int >(val3
);
10341 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10342 if (!SWIG_IsOK(ecode4
)) {
10343 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10345 arg4
= static_cast< int >(val4
);
10348 if (!wxPyCheckForApp()) SWIG_fail
;
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10351 wxPyEndAllowThreads(__tstate
);
10352 if (PyErr_Occurred()) SWIG_fail
;
10354 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10361 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10362 PyObject
*resultobj
= 0;
10363 wxBitmap
*arg1
= 0 ;
10364 wxRegion
*result
= 0 ;
10367 PyObject
* obj0
= 0 ;
10368 char * kwnames
[] = {
10369 (char *) "bmp", NULL
10372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10373 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10374 if (!SWIG_IsOK(res1
)) {
10375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10378 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10380 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10382 if (!wxPyCheckForApp()) SWIG_fail
;
10383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10384 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10385 wxPyEndAllowThreads(__tstate
);
10386 if (PyErr_Occurred()) SWIG_fail
;
10388 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10395 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10396 PyObject
*resultobj
= 0;
10397 wxBitmap
*arg1
= 0 ;
10398 wxColour
*arg2
= 0 ;
10399 int arg3
= (int) 0 ;
10400 wxRegion
*result
= 0 ;
10406 PyObject
* obj0
= 0 ;
10407 PyObject
* obj1
= 0 ;
10408 PyObject
* obj2
= 0 ;
10409 char * kwnames
[] = {
10410 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10414 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10415 if (!SWIG_IsOK(res1
)) {
10416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10419 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10421 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10424 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10427 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10428 if (!SWIG_IsOK(ecode3
)) {
10429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10431 arg3
= static_cast< int >(val3
);
10434 if (!wxPyCheckForApp()) SWIG_fail
;
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10447 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
= 0;
10450 wxPoint
*arg2
= (wxPoint
*) 0 ;
10451 int arg3
= (int) wxWINDING_RULE
;
10452 wxRegion
*result
= 0 ;
10455 PyObject
* obj0
= 0 ;
10456 PyObject
* obj1
= 0 ;
10457 char * kwnames
[] = {
10458 (char *) "points",(char *) "fillStyle", NULL
10461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10463 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10464 if (arg2
== NULL
) SWIG_fail
;
10467 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10468 if (!SWIG_IsOK(ecode3
)) {
10469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10471 arg3
= static_cast< int >(val3
);
10474 if (!wxPyCheckForApp()) SWIG_fail
;
10475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10476 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10477 wxPyEndAllowThreads(__tstate
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10482 if (arg2
) delete [] arg2
;
10487 if (arg2
) delete [] arg2
;
10493 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10494 PyObject
*resultobj
= 0;
10495 wxRegion
*arg1
= (wxRegion
*) 0 ;
10498 PyObject
*swig_obj
[1] ;
10500 if (!args
) SWIG_fail
;
10501 swig_obj
[0] = args
;
10502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10503 if (!SWIG_IsOK(res1
)) {
10504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10506 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 wxPyEndAllowThreads(__tstate
);
10512 if (PyErr_Occurred()) SWIG_fail
;
10514 resultobj
= SWIG_Py_Void();
10521 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10522 PyObject
*resultobj
= 0;
10523 wxRegion
*arg1
= (wxRegion
*) 0 ;
10526 PyObject
*swig_obj
[1] ;
10528 if (!args
) SWIG_fail
;
10529 swig_obj
[0] = args
;
10530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10531 if (!SWIG_IsOK(res1
)) {
10532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10534 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10538 wxPyEndAllowThreads(__tstate
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10541 resultobj
= SWIG_Py_Void();
10548 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10549 PyObject
*resultobj
= 0;
10550 wxRegion
*arg1
= (wxRegion
*) 0 ;
10560 PyObject
* obj0
= 0 ;
10561 PyObject
* obj1
= 0 ;
10562 PyObject
* obj2
= 0 ;
10563 char * kwnames
[] = {
10564 (char *) "self",(char *) "x",(char *) "y", NULL
10567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10569 if (!SWIG_IsOK(res1
)) {
10570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10572 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10574 if (!SWIG_IsOK(ecode2
)) {
10575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10577 arg2
= static_cast< int >(val2
);
10578 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10579 if (!SWIG_IsOK(ecode3
)) {
10580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10582 arg3
= static_cast< int >(val3
);
10584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10586 wxPyEndAllowThreads(__tstate
);
10587 if (PyErr_Occurred()) SWIG_fail
;
10590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10598 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10599 PyObject
*resultobj
= 0;
10600 wxRegion
*arg1
= (wxRegion
*) 0 ;
10603 wxRegionContain result
;
10610 PyObject
* obj0
= 0 ;
10611 PyObject
* obj1
= 0 ;
10612 PyObject
* obj2
= 0 ;
10613 char * kwnames
[] = {
10614 (char *) "self",(char *) "x",(char *) "y", NULL
10617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10619 if (!SWIG_IsOK(res1
)) {
10620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10622 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10624 if (!SWIG_IsOK(ecode2
)) {
10625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10627 arg2
= static_cast< int >(val2
);
10628 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10629 if (!SWIG_IsOK(ecode3
)) {
10630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10632 arg3
= static_cast< int >(val3
);
10634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10635 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10636 wxPyEndAllowThreads(__tstate
);
10637 if (PyErr_Occurred()) SWIG_fail
;
10639 resultobj
= SWIG_From_int(static_cast< int >(result
));
10646 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10647 PyObject
*resultobj
= 0;
10648 wxRegion
*arg1
= (wxRegion
*) 0 ;
10649 wxPoint
*arg2
= 0 ;
10650 wxRegionContain result
;
10654 PyObject
* obj0
= 0 ;
10655 PyObject
* obj1
= 0 ;
10656 char * kwnames
[] = {
10657 (char *) "self",(char *) "pt", NULL
10660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10662 if (!SWIG_IsOK(res1
)) {
10663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10665 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10668 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10672 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10676 resultobj
= SWIG_From_int(static_cast< int >(result
));
10683 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
*resultobj
= 0;
10685 wxRegion
*arg1
= (wxRegion
*) 0 ;
10687 wxRegionContain result
;
10691 PyObject
* obj0
= 0 ;
10692 PyObject
* obj1
= 0 ;
10693 char * kwnames
[] = {
10694 (char *) "self",(char *) "rect", NULL
10697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10699 if (!SWIG_IsOK(res1
)) {
10700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10702 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10705 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10709 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10710 wxPyEndAllowThreads(__tstate
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10713 resultobj
= SWIG_From_int(static_cast< int >(result
));
10720 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10721 PyObject
*resultobj
= 0;
10722 wxRegion
*arg1
= (wxRegion
*) 0 ;
10727 wxRegionContain result
;
10738 PyObject
* obj0
= 0 ;
10739 PyObject
* obj1
= 0 ;
10740 PyObject
* obj2
= 0 ;
10741 PyObject
* obj3
= 0 ;
10742 PyObject
* obj4
= 0 ;
10743 char * kwnames
[] = {
10744 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10749 if (!SWIG_IsOK(res1
)) {
10750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10752 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10754 if (!SWIG_IsOK(ecode2
)) {
10755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10757 arg2
= static_cast< int >(val2
);
10758 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10759 if (!SWIG_IsOK(ecode3
)) {
10760 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10762 arg3
= static_cast< int >(val3
);
10763 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10764 if (!SWIG_IsOK(ecode4
)) {
10765 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10767 arg4
= static_cast< int >(val4
);
10768 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10769 if (!SWIG_IsOK(ecode5
)) {
10770 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10772 arg5
= static_cast< int >(val5
);
10774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10775 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10776 wxPyEndAllowThreads(__tstate
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10779 resultobj
= SWIG_From_int(static_cast< int >(result
));
10786 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10787 PyObject
*resultobj
= 0;
10788 wxRegion
*arg1
= (wxRegion
*) 0 ;
10792 PyObject
*swig_obj
[1] ;
10794 if (!args
) SWIG_fail
;
10795 swig_obj
[0] = args
;
10796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10797 if (!SWIG_IsOK(res1
)) {
10798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10800 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 result
= (arg1
)->GetBox();
10804 wxPyEndAllowThreads(__tstate
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10807 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10814 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
*resultobj
= 0;
10816 wxRegion
*arg1
= (wxRegion
*) 0 ;
10832 PyObject
* obj0
= 0 ;
10833 PyObject
* obj1
= 0 ;
10834 PyObject
* obj2
= 0 ;
10835 PyObject
* obj3
= 0 ;
10836 PyObject
* obj4
= 0 ;
10837 char * kwnames
[] = {
10838 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10843 if (!SWIG_IsOK(res1
)) {
10844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10846 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10848 if (!SWIG_IsOK(ecode2
)) {
10849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10851 arg2
= static_cast< int >(val2
);
10852 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10853 if (!SWIG_IsOK(ecode3
)) {
10854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10856 arg3
= static_cast< int >(val3
);
10857 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10858 if (!SWIG_IsOK(ecode4
)) {
10859 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10861 arg4
= static_cast< int >(val4
);
10862 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10863 if (!SWIG_IsOK(ecode5
)) {
10864 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10866 arg5
= static_cast< int >(val5
);
10868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10869 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10870 wxPyEndAllowThreads(__tstate
);
10871 if (PyErr_Occurred()) SWIG_fail
;
10874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10882 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10883 PyObject
*resultobj
= 0;
10884 wxRegion
*arg1
= (wxRegion
*) 0 ;
10890 PyObject
* obj0
= 0 ;
10891 PyObject
* obj1
= 0 ;
10892 char * kwnames
[] = {
10893 (char *) "self",(char *) "rect", NULL
10896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10898 if (!SWIG_IsOK(res1
)) {
10899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10901 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10904 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10908 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10909 wxPyEndAllowThreads(__tstate
);
10910 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10921 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10922 PyObject
*resultobj
= 0;
10923 wxRegion
*arg1
= (wxRegion
*) 0 ;
10924 wxRegion
*arg2
= 0 ;
10930 PyObject
* obj0
= 0 ;
10931 PyObject
* obj1
= 0 ;
10932 char * kwnames
[] = {
10933 (char *) "self",(char *) "region", NULL
10936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10938 if (!SWIG_IsOK(res1
)) {
10939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10941 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10942 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10943 if (!SWIG_IsOK(res2
)) {
10944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10949 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10952 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10953 wxPyEndAllowThreads(__tstate
);
10954 if (PyErr_Occurred()) SWIG_fail
;
10957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10965 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10966 PyObject
*resultobj
= 0;
10967 wxRegion
*arg1
= (wxRegion
*) 0 ;
10971 PyObject
*swig_obj
[1] ;
10973 if (!args
) SWIG_fail
;
10974 swig_obj
[0] = args
;
10975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10976 if (!SWIG_IsOK(res1
)) {
10977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10979 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10982 result
= (bool)(arg1
)->IsEmpty();
10983 wxPyEndAllowThreads(__tstate
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10995 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10996 PyObject
*resultobj
= 0;
10997 wxRegion
*arg1
= (wxRegion
*) 0 ;
10998 wxRegion
*arg2
= 0 ;
11004 PyObject
* obj0
= 0 ;
11005 PyObject
* obj1
= 0 ;
11006 char * kwnames
[] = {
11007 (char *) "self",(char *) "region", NULL
11010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11012 if (!SWIG_IsOK(res1
)) {
11013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11015 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11016 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11017 if (!SWIG_IsOK(res2
)) {
11018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11023 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11026 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11027 wxPyEndAllowThreads(__tstate
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11039 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11040 PyObject
*resultobj
= 0;
11041 wxRegion
*arg1
= (wxRegion
*) 0 ;
11057 PyObject
* obj0
= 0 ;
11058 PyObject
* obj1
= 0 ;
11059 PyObject
* obj2
= 0 ;
11060 PyObject
* obj3
= 0 ;
11061 PyObject
* obj4
= 0 ;
11062 char * kwnames
[] = {
11063 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11068 if (!SWIG_IsOK(res1
)) {
11069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11071 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11073 if (!SWIG_IsOK(ecode2
)) {
11074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11076 arg2
= static_cast< int >(val2
);
11077 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11078 if (!SWIG_IsOK(ecode3
)) {
11079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11081 arg3
= static_cast< int >(val3
);
11082 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11083 if (!SWIG_IsOK(ecode4
)) {
11084 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11086 arg4
= static_cast< int >(val4
);
11087 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11088 if (!SWIG_IsOK(ecode5
)) {
11089 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11091 arg5
= static_cast< int >(val5
);
11093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11094 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11095 wxPyEndAllowThreads(__tstate
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11107 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11108 PyObject
*resultobj
= 0;
11109 wxRegion
*arg1
= (wxRegion
*) 0 ;
11115 PyObject
* obj0
= 0 ;
11116 PyObject
* obj1
= 0 ;
11117 char * kwnames
[] = {
11118 (char *) "self",(char *) "rect", NULL
11121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11123 if (!SWIG_IsOK(res1
)) {
11124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11126 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11129 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11133 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11134 wxPyEndAllowThreads(__tstate
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11146 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
= 0;
11148 wxRegion
*arg1
= (wxRegion
*) 0 ;
11149 wxRegion
*arg2
= 0 ;
11155 PyObject
* obj0
= 0 ;
11156 PyObject
* obj1
= 0 ;
11157 char * kwnames
[] = {
11158 (char *) "self",(char *) "region", NULL
11161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11163 if (!SWIG_IsOK(res1
)) {
11164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11166 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11167 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11168 if (!SWIG_IsOK(res2
)) {
11169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11174 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11177 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11178 wxPyEndAllowThreads(__tstate
);
11179 if (PyErr_Occurred()) SWIG_fail
;
11182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11190 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11191 PyObject
*resultobj
= 0;
11192 wxRegion
*arg1
= (wxRegion
*) 0 ;
11208 PyObject
* obj0
= 0 ;
11209 PyObject
* obj1
= 0 ;
11210 PyObject
* obj2
= 0 ;
11211 PyObject
* obj3
= 0 ;
11212 PyObject
* obj4
= 0 ;
11213 char * kwnames
[] = {
11214 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11219 if (!SWIG_IsOK(res1
)) {
11220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11222 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11224 if (!SWIG_IsOK(ecode2
)) {
11225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11227 arg2
= static_cast< int >(val2
);
11228 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11229 if (!SWIG_IsOK(ecode3
)) {
11230 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11232 arg3
= static_cast< int >(val3
);
11233 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11234 if (!SWIG_IsOK(ecode4
)) {
11235 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11237 arg4
= static_cast< int >(val4
);
11238 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11239 if (!SWIG_IsOK(ecode5
)) {
11240 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11242 arg5
= static_cast< int >(val5
);
11244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11245 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11246 wxPyEndAllowThreads(__tstate
);
11247 if (PyErr_Occurred()) SWIG_fail
;
11250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11258 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11259 PyObject
*resultobj
= 0;
11260 wxRegion
*arg1
= (wxRegion
*) 0 ;
11266 PyObject
* obj0
= 0 ;
11267 PyObject
* obj1
= 0 ;
11268 char * kwnames
[] = {
11269 (char *) "self",(char *) "rect", NULL
11272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11274 if (!SWIG_IsOK(res1
)) {
11275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11277 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11280 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11285 wxPyEndAllowThreads(__tstate
);
11286 if (PyErr_Occurred()) SWIG_fail
;
11289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11297 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
*resultobj
= 0;
11299 wxRegion
*arg1
= (wxRegion
*) 0 ;
11300 wxRegion
*arg2
= 0 ;
11306 PyObject
* obj0
= 0 ;
11307 PyObject
* obj1
= 0 ;
11308 char * kwnames
[] = {
11309 (char *) "self",(char *) "region", NULL
11312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11314 if (!SWIG_IsOK(res1
)) {
11315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11317 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11318 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11319 if (!SWIG_IsOK(res2
)) {
11320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11325 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11328 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11329 wxPyEndAllowThreads(__tstate
);
11330 if (PyErr_Occurred()) SWIG_fail
;
11333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11341 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11342 PyObject
*resultobj
= 0;
11343 wxRegion
*arg1
= (wxRegion
*) 0 ;
11359 PyObject
* obj0
= 0 ;
11360 PyObject
* obj1
= 0 ;
11361 PyObject
* obj2
= 0 ;
11362 PyObject
* obj3
= 0 ;
11363 PyObject
* obj4
= 0 ;
11364 char * kwnames
[] = {
11365 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11370 if (!SWIG_IsOK(res1
)) {
11371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11373 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11375 if (!SWIG_IsOK(ecode2
)) {
11376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11378 arg2
= static_cast< int >(val2
);
11379 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11380 if (!SWIG_IsOK(ecode3
)) {
11381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11383 arg3
= static_cast< int >(val3
);
11384 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11385 if (!SWIG_IsOK(ecode4
)) {
11386 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11388 arg4
= static_cast< int >(val4
);
11389 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11390 if (!SWIG_IsOK(ecode5
)) {
11391 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11393 arg5
= static_cast< int >(val5
);
11395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11396 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11397 wxPyEndAllowThreads(__tstate
);
11398 if (PyErr_Occurred()) SWIG_fail
;
11401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11409 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11410 PyObject
*resultobj
= 0;
11411 wxRegion
*arg1
= (wxRegion
*) 0 ;
11417 PyObject
* obj0
= 0 ;
11418 PyObject
* obj1
= 0 ;
11419 char * kwnames
[] = {
11420 (char *) "self",(char *) "rect", NULL
11423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11425 if (!SWIG_IsOK(res1
)) {
11426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11428 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11431 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11435 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11436 wxPyEndAllowThreads(__tstate
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11448 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11449 PyObject
*resultobj
= 0;
11450 wxRegion
*arg1
= (wxRegion
*) 0 ;
11451 wxRegion
*arg2
= 0 ;
11457 PyObject
* obj0
= 0 ;
11458 PyObject
* obj1
= 0 ;
11459 char * kwnames
[] = {
11460 (char *) "self",(char *) "region", NULL
11463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11465 if (!SWIG_IsOK(res1
)) {
11466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11468 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11469 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11470 if (!SWIG_IsOK(res2
)) {
11471 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11474 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11476 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11480 wxPyEndAllowThreads(__tstate
);
11481 if (PyErr_Occurred()) SWIG_fail
;
11484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11492 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11493 PyObject
*resultobj
= 0;
11494 wxRegion
*arg1
= (wxRegion
*) 0 ;
11495 SwigValueWrapper
<wxBitmap
> result
;
11498 PyObject
*swig_obj
[1] ;
11500 if (!args
) SWIG_fail
;
11501 swig_obj
[0] = args
;
11502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11503 if (!SWIG_IsOK(res1
)) {
11504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11506 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11509 result
= (arg1
)->ConvertToBitmap();
11510 wxPyEndAllowThreads(__tstate
);
11511 if (PyErr_Occurred()) SWIG_fail
;
11513 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11520 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11521 PyObject
*resultobj
= 0;
11522 wxRegion
*arg1
= (wxRegion
*) 0 ;
11523 wxBitmap
*arg2
= 0 ;
11529 PyObject
* obj0
= 0 ;
11530 PyObject
* obj1
= 0 ;
11531 char * kwnames
[] = {
11532 (char *) "self",(char *) "bmp", NULL
11535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11537 if (!SWIG_IsOK(res1
)) {
11538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11540 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11541 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11542 if (!SWIG_IsOK(res2
)) {
11543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11548 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11551 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11552 wxPyEndAllowThreads(__tstate
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11564 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11565 PyObject
*resultobj
= 0;
11566 wxRegion
*arg1
= (wxRegion
*) 0 ;
11567 wxBitmap
*arg2
= 0 ;
11568 wxColour
*arg3
= 0 ;
11569 int arg4
= (int) 0 ;
11578 PyObject
* obj0
= 0 ;
11579 PyObject
* obj1
= 0 ;
11580 PyObject
* obj2
= 0 ;
11581 PyObject
* obj3
= 0 ;
11582 char * kwnames
[] = {
11583 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11588 if (!SWIG_IsOK(res1
)) {
11589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11591 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11592 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11593 if (!SWIG_IsOK(res2
)) {
11594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11599 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11602 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11605 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11606 if (!SWIG_IsOK(ecode4
)) {
11607 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11609 arg4
= static_cast< int >(val4
);
11612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11613 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11614 wxPyEndAllowThreads(__tstate
);
11615 if (PyErr_Occurred()) SWIG_fail
;
11618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11626 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11628 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11629 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11630 return SWIG_Py_Void();
11633 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11634 return SWIG_Python_InitShadowInstance(args
);
11637 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11638 PyObject
*resultobj
= 0;
11639 wxRegion
*arg1
= 0 ;
11640 wxRegionIterator
*result
= 0 ;
11643 PyObject
* obj0
= 0 ;
11644 char * kwnames
[] = {
11645 (char *) "region", NULL
11648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11649 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11650 if (!SWIG_IsOK(res1
)) {
11651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11654 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11656 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11658 if (!wxPyCheckForApp()) SWIG_fail
;
11659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11660 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11664 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11671 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11672 PyObject
*resultobj
= 0;
11673 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11676 PyObject
*swig_obj
[1] ;
11678 if (!args
) SWIG_fail
;
11679 swig_obj
[0] = args
;
11680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11681 if (!SWIG_IsOK(res1
)) {
11682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11684 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11689 wxPyEndAllowThreads(__tstate
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11692 resultobj
= SWIG_Py_Void();
11699 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11700 PyObject
*resultobj
= 0;
11701 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11705 PyObject
*swig_obj
[1] ;
11707 if (!args
) SWIG_fail
;
11708 swig_obj
[0] = args
;
11709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11710 if (!SWIG_IsOK(res1
)) {
11711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11713 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11716 result
= (int)(arg1
)->GetX();
11717 wxPyEndAllowThreads(__tstate
);
11718 if (PyErr_Occurred()) SWIG_fail
;
11720 resultobj
= SWIG_From_int(static_cast< int >(result
));
11727 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11728 PyObject
*resultobj
= 0;
11729 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11733 PyObject
*swig_obj
[1] ;
11735 if (!args
) SWIG_fail
;
11736 swig_obj
[0] = args
;
11737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11738 if (!SWIG_IsOK(res1
)) {
11739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11741 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11744 result
= (int)(arg1
)->GetY();
11745 wxPyEndAllowThreads(__tstate
);
11746 if (PyErr_Occurred()) SWIG_fail
;
11748 resultobj
= SWIG_From_int(static_cast< int >(result
));
11755 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11756 PyObject
*resultobj
= 0;
11757 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11761 PyObject
*swig_obj
[1] ;
11763 if (!args
) SWIG_fail
;
11764 swig_obj
[0] = args
;
11765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11766 if (!SWIG_IsOK(res1
)) {
11767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11769 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11772 result
= (int)(arg1
)->GetW();
11773 wxPyEndAllowThreads(__tstate
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11776 resultobj
= SWIG_From_int(static_cast< int >(result
));
11783 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11784 PyObject
*resultobj
= 0;
11785 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11789 PyObject
*swig_obj
[1] ;
11791 if (!args
) SWIG_fail
;
11792 swig_obj
[0] = args
;
11793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11794 if (!SWIG_IsOK(res1
)) {
11795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11797 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11800 result
= (int)(arg1
)->GetWidth();
11801 wxPyEndAllowThreads(__tstate
);
11802 if (PyErr_Occurred()) SWIG_fail
;
11804 resultobj
= SWIG_From_int(static_cast< int >(result
));
11811 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11812 PyObject
*resultobj
= 0;
11813 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11817 PyObject
*swig_obj
[1] ;
11819 if (!args
) SWIG_fail
;
11820 swig_obj
[0] = args
;
11821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11822 if (!SWIG_IsOK(res1
)) {
11823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11825 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11828 result
= (int)(arg1
)->GetH();
11829 wxPyEndAllowThreads(__tstate
);
11830 if (PyErr_Occurred()) SWIG_fail
;
11832 resultobj
= SWIG_From_int(static_cast< int >(result
));
11839 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11840 PyObject
*resultobj
= 0;
11841 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11845 PyObject
*swig_obj
[1] ;
11847 if (!args
) SWIG_fail
;
11848 swig_obj
[0] = args
;
11849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11850 if (!SWIG_IsOK(res1
)) {
11851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11853 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11856 result
= (int)(arg1
)->GetHeight();
11857 wxPyEndAllowThreads(__tstate
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11860 resultobj
= SWIG_From_int(static_cast< int >(result
));
11867 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11868 PyObject
*resultobj
= 0;
11869 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11873 PyObject
*swig_obj
[1] ;
11875 if (!args
) SWIG_fail
;
11876 swig_obj
[0] = args
;
11877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11878 if (!SWIG_IsOK(res1
)) {
11879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11881 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11884 result
= (arg1
)->GetRect();
11885 wxPyEndAllowThreads(__tstate
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11888 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11895 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11896 PyObject
*resultobj
= 0;
11897 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11901 PyObject
*swig_obj
[1] ;
11903 if (!args
) SWIG_fail
;
11904 swig_obj
[0] = args
;
11905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11906 if (!SWIG_IsOK(res1
)) {
11907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11909 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 result
= (bool)(arg1
)->HaveRects();
11913 wxPyEndAllowThreads(__tstate
);
11914 if (PyErr_Occurred()) SWIG_fail
;
11917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11925 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11926 PyObject
*resultobj
= 0;
11927 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11930 PyObject
*swig_obj
[1] ;
11932 if (!args
) SWIG_fail
;
11933 swig_obj
[0] = args
;
11934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11935 if (!SWIG_IsOK(res1
)) {
11936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11938 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11942 wxPyEndAllowThreads(__tstate
);
11943 if (PyErr_Occurred()) SWIG_fail
;
11945 resultobj
= SWIG_Py_Void();
11952 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11953 PyObject
*resultobj
= 0;
11954 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11957 PyObject
*swig_obj
[1] ;
11959 if (!args
) SWIG_fail
;
11960 swig_obj
[0] = args
;
11961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11962 if (!SWIG_IsOK(res1
)) {
11963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11965 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 wxRegionIterator_Next(arg1
);
11969 wxPyEndAllowThreads(__tstate
);
11970 if (PyErr_Occurred()) SWIG_fail
;
11972 resultobj
= SWIG_Py_Void();
11979 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11980 PyObject
*resultobj
= 0;
11981 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11985 PyObject
*swig_obj
[1] ;
11987 if (!args
) SWIG_fail
;
11988 swig_obj
[0] = args
;
11989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11990 if (!SWIG_IsOK(res1
)) {
11991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11993 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11996 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11997 wxPyEndAllowThreads(__tstate
);
11998 if (PyErr_Occurred()) SWIG_fail
;
12001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12009 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12011 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12012 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12013 return SWIG_Py_Void();
12016 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12017 return SWIG_Python_InitShadowInstance(args
);
12020 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12021 PyObject
*resultobj
= 0;
12022 wxNativeFontInfo
*result
= 0 ;
12024 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12027 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12038 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12039 PyObject
*resultobj
= 0;
12040 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12043 PyObject
*swig_obj
[1] ;
12045 if (!args
) SWIG_fail
;
12046 swig_obj
[0] = args
;
12047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12048 if (!SWIG_IsOK(res1
)) {
12049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12051 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12056 wxPyEndAllowThreads(__tstate
);
12057 if (PyErr_Occurred()) SWIG_fail
;
12059 resultobj
= SWIG_Py_Void();
12066 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12067 PyObject
*resultobj
= 0;
12068 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12071 PyObject
*swig_obj
[1] ;
12073 if (!args
) SWIG_fail
;
12074 swig_obj
[0] = args
;
12075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12076 if (!SWIG_IsOK(res1
)) {
12077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12079 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12083 wxPyEndAllowThreads(__tstate
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12086 resultobj
= SWIG_Py_Void();
12093 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12094 PyObject
*resultobj
= 0;
12095 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12101 PyObject
* obj0
= 0 ;
12102 PyObject
* obj1
= 0 ;
12103 char * kwnames
[] = {
12104 (char *) "self",(char *) "font", NULL
12107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12109 if (!SWIG_IsOK(res1
)) {
12110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12112 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12113 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12114 if (!SWIG_IsOK(res2
)) {
12115 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12118 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12120 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12127 resultobj
= SWIG_Py_Void();
12134 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12135 PyObject
*resultobj
= 0;
12136 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12140 PyObject
*swig_obj
[1] ;
12142 if (!args
) SWIG_fail
;
12143 swig_obj
[0] = args
;
12144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12145 if (!SWIG_IsOK(res1
)) {
12146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12148 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12151 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12152 wxPyEndAllowThreads(__tstate
);
12153 if (PyErr_Occurred()) SWIG_fail
;
12155 resultobj
= SWIG_From_int(static_cast< int >(result
));
12162 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12163 PyObject
*resultobj
= 0;
12164 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12165 wxFontStyle result
;
12168 PyObject
*swig_obj
[1] ;
12170 if (!args
) SWIG_fail
;
12171 swig_obj
[0] = args
;
12172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12173 if (!SWIG_IsOK(res1
)) {
12174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12176 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12180 wxPyEndAllowThreads(__tstate
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12183 resultobj
= SWIG_From_int(static_cast< int >(result
));
12190 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12191 PyObject
*resultobj
= 0;
12192 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12193 wxFontWeight result
;
12196 PyObject
*swig_obj
[1] ;
12198 if (!args
) SWIG_fail
;
12199 swig_obj
[0] = args
;
12200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12201 if (!SWIG_IsOK(res1
)) {
12202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12204 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12207 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12208 wxPyEndAllowThreads(__tstate
);
12209 if (PyErr_Occurred()) SWIG_fail
;
12211 resultobj
= SWIG_From_int(static_cast< int >(result
));
12218 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12219 PyObject
*resultobj
= 0;
12220 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12224 PyObject
*swig_obj
[1] ;
12226 if (!args
) SWIG_fail
;
12227 swig_obj
[0] = args
;
12228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12229 if (!SWIG_IsOK(res1
)) {
12230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12232 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12235 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12236 wxPyEndAllowThreads(__tstate
);
12237 if (PyErr_Occurred()) SWIG_fail
;
12240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12248 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12249 PyObject
*resultobj
= 0;
12250 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12254 PyObject
*swig_obj
[1] ;
12256 if (!args
) SWIG_fail
;
12257 swig_obj
[0] = args
;
12258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12259 if (!SWIG_IsOK(res1
)) {
12260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12262 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12265 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12266 wxPyEndAllowThreads(__tstate
);
12267 if (PyErr_Occurred()) SWIG_fail
;
12271 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12273 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12282 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12283 PyObject
*resultobj
= 0;
12284 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12285 wxFontFamily result
;
12288 PyObject
*swig_obj
[1] ;
12290 if (!args
) SWIG_fail
;
12291 swig_obj
[0] = args
;
12292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12293 if (!SWIG_IsOK(res1
)) {
12294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12296 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12299 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12300 wxPyEndAllowThreads(__tstate
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12303 resultobj
= SWIG_From_int(static_cast< int >(result
));
12310 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12311 PyObject
*resultobj
= 0;
12312 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12313 wxFontEncoding result
;
12316 PyObject
*swig_obj
[1] ;
12318 if (!args
) SWIG_fail
;
12319 swig_obj
[0] = args
;
12320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12321 if (!SWIG_IsOK(res1
)) {
12322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12324 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12327 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12328 wxPyEndAllowThreads(__tstate
);
12329 if (PyErr_Occurred()) SWIG_fail
;
12331 resultobj
= SWIG_From_int(static_cast< int >(result
));
12338 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12339 PyObject
*resultobj
= 0;
12340 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12346 PyObject
* obj0
= 0 ;
12347 PyObject
* obj1
= 0 ;
12348 char * kwnames
[] = {
12349 (char *) "self",(char *) "pointsize", NULL
12352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12354 if (!SWIG_IsOK(res1
)) {
12355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12357 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12359 if (!SWIG_IsOK(ecode2
)) {
12360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12362 arg2
= static_cast< int >(val2
);
12364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12365 (arg1
)->SetPointSize(arg2
);
12366 wxPyEndAllowThreads(__tstate
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12369 resultobj
= SWIG_Py_Void();
12376 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12377 PyObject
*resultobj
= 0;
12378 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12384 PyObject
* obj0
= 0 ;
12385 PyObject
* obj1
= 0 ;
12386 char * kwnames
[] = {
12387 (char *) "self",(char *) "style", NULL
12390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12392 if (!SWIG_IsOK(res1
)) {
12393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12395 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12397 if (!SWIG_IsOK(ecode2
)) {
12398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12400 arg2
= static_cast< wxFontStyle
>(val2
);
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12403 (arg1
)->SetStyle(arg2
);
12404 wxPyEndAllowThreads(__tstate
);
12405 if (PyErr_Occurred()) SWIG_fail
;
12407 resultobj
= SWIG_Py_Void();
12414 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12415 PyObject
*resultobj
= 0;
12416 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12417 wxFontWeight arg2
;
12422 PyObject
* obj0
= 0 ;
12423 PyObject
* obj1
= 0 ;
12424 char * kwnames
[] = {
12425 (char *) "self",(char *) "weight", NULL
12428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12430 if (!SWIG_IsOK(res1
)) {
12431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12433 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12435 if (!SWIG_IsOK(ecode2
)) {
12436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12438 arg2
= static_cast< wxFontWeight
>(val2
);
12440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12441 (arg1
)->SetWeight(arg2
);
12442 wxPyEndAllowThreads(__tstate
);
12443 if (PyErr_Occurred()) SWIG_fail
;
12445 resultobj
= SWIG_Py_Void();
12452 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12453 PyObject
*resultobj
= 0;
12454 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12460 PyObject
* obj0
= 0 ;
12461 PyObject
* obj1
= 0 ;
12462 char * kwnames
[] = {
12463 (char *) "self",(char *) "underlined", NULL
12466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12468 if (!SWIG_IsOK(res1
)) {
12469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12471 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12472 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12473 if (!SWIG_IsOK(ecode2
)) {
12474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12476 arg2
= static_cast< bool >(val2
);
12478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12479 (arg1
)->SetUnderlined(arg2
);
12480 wxPyEndAllowThreads(__tstate
);
12481 if (PyErr_Occurred()) SWIG_fail
;
12483 resultobj
= SWIG_Py_Void();
12490 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12491 PyObject
*resultobj
= 0;
12492 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12497 PyObject
* obj0
= 0 ;
12498 PyObject
* obj1
= 0 ;
12499 char * kwnames
[] = {
12500 (char *) "self",(char *) "facename", NULL
12503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12505 if (!SWIG_IsOK(res1
)) {
12506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12508 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12510 wxString
* sptr
= wxString_in_helper(obj1
);
12511 if (sptr
== NULL
) SWIG_fail
;
12516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12517 result
= (bool)(arg1
)->SetFaceName(arg2
);
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12530 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12531 PyObject
*resultobj
= 0;
12532 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12533 wxFontFamily arg2
;
12538 PyObject
* obj0
= 0 ;
12539 PyObject
* obj1
= 0 ;
12540 char * kwnames
[] = {
12541 (char *) "self",(char *) "family", NULL
12544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12546 if (!SWIG_IsOK(res1
)) {
12547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12549 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12551 if (!SWIG_IsOK(ecode2
)) {
12552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12554 arg2
= static_cast< wxFontFamily
>(val2
);
12556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12557 (arg1
)->SetFamily(arg2
);
12558 wxPyEndAllowThreads(__tstate
);
12559 if (PyErr_Occurred()) SWIG_fail
;
12561 resultobj
= SWIG_Py_Void();
12568 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12569 PyObject
*resultobj
= 0;
12570 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12571 wxFontEncoding arg2
;
12576 PyObject
* obj0
= 0 ;
12577 PyObject
* obj1
= 0 ;
12578 char * kwnames
[] = {
12579 (char *) "self",(char *) "encoding", NULL
12582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12584 if (!SWIG_IsOK(res1
)) {
12585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12587 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12589 if (!SWIG_IsOK(ecode2
)) {
12590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12592 arg2
= static_cast< wxFontEncoding
>(val2
);
12594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12595 (arg1
)->SetEncoding(arg2
);
12596 wxPyEndAllowThreads(__tstate
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12599 resultobj
= SWIG_Py_Void();
12606 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12607 PyObject
*resultobj
= 0;
12608 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12609 wxString
*arg2
= 0 ;
12613 bool temp2
= false ;
12614 PyObject
* obj0
= 0 ;
12615 PyObject
* obj1
= 0 ;
12616 char * kwnames
[] = {
12617 (char *) "self",(char *) "s", NULL
12620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12622 if (!SWIG_IsOK(res1
)) {
12623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12625 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12627 arg2
= wxString_in_helper(obj1
);
12628 if (arg2
== NULL
) SWIG_fail
;
12632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12633 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12634 wxPyEndAllowThreads(__tstate
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12654 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12655 PyObject
*resultobj
= 0;
12656 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12660 PyObject
*swig_obj
[1] ;
12662 if (!args
) SWIG_fail
;
12663 swig_obj
[0] = args
;
12664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12665 if (!SWIG_IsOK(res1
)) {
12666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12668 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12671 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12672 wxPyEndAllowThreads(__tstate
);
12673 if (PyErr_Occurred()) SWIG_fail
;
12677 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12679 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12688 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12689 PyObject
*resultobj
= 0;
12690 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12694 PyObject
*swig_obj
[1] ;
12696 if (!args
) SWIG_fail
;
12697 swig_obj
[0] = args
;
12698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12699 if (!SWIG_IsOK(res1
)) {
12700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12702 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12705 result
= wxNativeFontInfo___str__(arg1
);
12706 wxPyEndAllowThreads(__tstate
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12711 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12713 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12722 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12723 PyObject
*resultobj
= 0;
12724 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12725 wxString
*arg2
= 0 ;
12729 bool temp2
= false ;
12730 PyObject
* obj0
= 0 ;
12731 PyObject
* obj1
= 0 ;
12732 char * kwnames
[] = {
12733 (char *) "self",(char *) "s", NULL
12736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12738 if (!SWIG_IsOK(res1
)) {
12739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12741 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12743 arg2
= wxString_in_helper(obj1
);
12744 if (arg2
== NULL
) SWIG_fail
;
12748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12749 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12750 wxPyEndAllowThreads(__tstate
);
12751 if (PyErr_Occurred()) SWIG_fail
;
12754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12770 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12771 PyObject
*resultobj
= 0;
12772 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12776 PyObject
*swig_obj
[1] ;
12778 if (!args
) SWIG_fail
;
12779 swig_obj
[0] = args
;
12780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12781 if (!SWIG_IsOK(res1
)) {
12782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12784 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12787 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12788 wxPyEndAllowThreads(__tstate
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12793 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12795 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12804 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12806 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12807 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12808 return SWIG_Py_Void();
12811 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12812 return SWIG_Python_InitShadowInstance(args
);
12815 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12816 PyObject
*resultobj
= 0;
12817 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12818 wxString
*arg2
= (wxString
*) 0 ;
12821 bool temp2
= false ;
12822 PyObject
*swig_obj
[2] ;
12824 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12826 if (!SWIG_IsOK(res1
)) {
12827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12829 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12831 arg2
= wxString_in_helper(swig_obj
[1]);
12832 if (arg2
== NULL
) SWIG_fail
;
12835 if (arg1
) (arg1
)->facename
= *arg2
;
12837 resultobj
= SWIG_Py_Void();
12852 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12853 PyObject
*resultobj
= 0;
12854 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12855 wxString
*result
= 0 ;
12858 PyObject
*swig_obj
[1] ;
12860 if (!args
) SWIG_fail
;
12861 swig_obj
[0] = args
;
12862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12863 if (!SWIG_IsOK(res1
)) {
12864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12866 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12867 result
= (wxString
*)& ((arg1
)->facename
);
12870 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12872 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12881 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12882 PyObject
*resultobj
= 0;
12883 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12884 wxFontEncoding arg2
;
12889 PyObject
*swig_obj
[2] ;
12891 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12893 if (!SWIG_IsOK(res1
)) {
12894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12896 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12897 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12898 if (!SWIG_IsOK(ecode2
)) {
12899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12901 arg2
= static_cast< wxFontEncoding
>(val2
);
12902 if (arg1
) (arg1
)->encoding
= arg2
;
12904 resultobj
= SWIG_Py_Void();
12911 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12912 PyObject
*resultobj
= 0;
12913 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12914 wxFontEncoding result
;
12917 PyObject
*swig_obj
[1] ;
12919 if (!args
) SWIG_fail
;
12920 swig_obj
[0] = args
;
12921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12922 if (!SWIG_IsOK(res1
)) {
12923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12925 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12926 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12927 resultobj
= SWIG_From_int(static_cast< int >(result
));
12934 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12935 PyObject
*resultobj
= 0;
12936 wxNativeEncodingInfo
*result
= 0 ;
12938 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12942 wxPyEndAllowThreads(__tstate
);
12943 if (PyErr_Occurred()) SWIG_fail
;
12945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12952 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12953 PyObject
*resultobj
= 0;
12954 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12957 PyObject
*swig_obj
[1] ;
12959 if (!args
) SWIG_fail
;
12960 swig_obj
[0] = args
;
12961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12962 if (!SWIG_IsOK(res1
)) {
12963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12965 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12970 wxPyEndAllowThreads(__tstate
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12973 resultobj
= SWIG_Py_Void();
12980 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12981 PyObject
*resultobj
= 0;
12982 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12983 wxString
*arg2
= 0 ;
12987 bool temp2
= false ;
12988 PyObject
* obj0
= 0 ;
12989 PyObject
* obj1
= 0 ;
12990 char * kwnames
[] = {
12991 (char *) "self",(char *) "s", NULL
12994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12996 if (!SWIG_IsOK(res1
)) {
12997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12999 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13001 arg2
= wxString_in_helper(obj1
);
13002 if (arg2
== NULL
) SWIG_fail
;
13006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13007 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13028 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13029 PyObject
*resultobj
= 0;
13030 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13034 PyObject
*swig_obj
[1] ;
13036 if (!args
) SWIG_fail
;
13037 swig_obj
[0] = args
;
13038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13039 if (!SWIG_IsOK(res1
)) {
13040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13042 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13045 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13046 wxPyEndAllowThreads(__tstate
);
13047 if (PyErr_Occurred()) SWIG_fail
;
13051 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13053 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13062 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13064 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13065 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13066 return SWIG_Py_Void();
13069 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13070 return SWIG_Python_InitShadowInstance(args
);
13073 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13074 PyObject
*resultobj
= 0;
13075 wxFontEncoding arg1
;
13076 wxNativeEncodingInfo
*result
= 0 ;
13079 PyObject
* obj0
= 0 ;
13080 char * kwnames
[] = {
13081 (char *) "encoding", NULL
13084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13085 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13086 if (!SWIG_IsOK(ecode1
)) {
13087 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13089 arg1
= static_cast< wxFontEncoding
>(val1
);
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13092 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13093 wxPyEndAllowThreads(__tstate
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13103 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13104 PyObject
*resultobj
= 0;
13105 wxNativeEncodingInfo
*arg1
= 0 ;
13109 PyObject
* obj0
= 0 ;
13110 char * kwnames
[] = {
13111 (char *) "info", NULL
13114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13115 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13116 if (!SWIG_IsOK(res1
)) {
13117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13122 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13126 wxPyEndAllowThreads(__tstate
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13138 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13139 PyObject
*resultobj
= 0;
13140 wxFontMapper
*result
= 0 ;
13142 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13145 result
= (wxFontMapper
*)new wxFontMapper();
13146 wxPyEndAllowThreads(__tstate
);
13147 if (PyErr_Occurred()) SWIG_fail
;
13149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13156 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13157 PyObject
*resultobj
= 0;
13158 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13161 PyObject
*swig_obj
[1] ;
13163 if (!args
) SWIG_fail
;
13164 swig_obj
[0] = args
;
13165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13166 if (!SWIG_IsOK(res1
)) {
13167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13169 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13177 resultobj
= SWIG_Py_Void();
13184 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13185 PyObject
*resultobj
= 0;
13186 wxFontMapper
*result
= 0 ;
13188 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13191 result
= (wxFontMapper
*)wxFontMapper::Get();
13192 wxPyEndAllowThreads(__tstate
);
13193 if (PyErr_Occurred()) SWIG_fail
;
13195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13202 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13203 PyObject
*resultobj
= 0;
13204 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13205 wxFontMapper
*result
= 0 ;
13208 PyObject
* obj0
= 0 ;
13209 char * kwnames
[] = {
13210 (char *) "mapper", NULL
13213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13215 if (!SWIG_IsOK(res1
)) {
13216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13218 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13221 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13222 wxPyEndAllowThreads(__tstate
);
13223 if (PyErr_Occurred()) SWIG_fail
;
13225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13232 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13233 PyObject
*resultobj
= 0;
13234 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13235 wxString
*arg2
= 0 ;
13236 bool arg3
= (bool) true ;
13237 wxFontEncoding result
;
13240 bool temp2
= false ;
13243 PyObject
* obj0
= 0 ;
13244 PyObject
* obj1
= 0 ;
13245 PyObject
* obj2
= 0 ;
13246 char * kwnames
[] = {
13247 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13252 if (!SWIG_IsOK(res1
)) {
13253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13255 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13257 arg2
= wxString_in_helper(obj1
);
13258 if (arg2
== NULL
) SWIG_fail
;
13262 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13263 if (!SWIG_IsOK(ecode3
)) {
13264 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13266 arg3
= static_cast< bool >(val3
);
13269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13270 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 resultobj
= SWIG_From_int(static_cast< int >(result
));
13289 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13290 PyObject
*resultobj
= 0;
13293 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13296 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13297 wxPyEndAllowThreads(__tstate
);
13298 if (PyErr_Occurred()) SWIG_fail
;
13300 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13307 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13308 PyObject
*resultobj
= 0;
13310 wxFontEncoding result
;
13313 PyObject
* obj0
= 0 ;
13314 char * kwnames
[] = {
13318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13319 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13320 if (!SWIG_IsOK(ecode1
)) {
13321 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13323 arg1
= static_cast< size_t >(val1
);
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13326 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13327 wxPyEndAllowThreads(__tstate
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13330 resultobj
= SWIG_From_int(static_cast< int >(result
));
13337 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13338 PyObject
*resultobj
= 0;
13339 wxFontEncoding arg1
;
13343 PyObject
* obj0
= 0 ;
13344 char * kwnames
[] = {
13345 (char *) "encoding", NULL
13348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13349 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13350 if (!SWIG_IsOK(ecode1
)) {
13351 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13353 arg1
= static_cast< wxFontEncoding
>(val1
);
13355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13356 result
= wxFontMapper::GetEncodingName(arg1
);
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13362 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13364 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13373 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13374 PyObject
*resultobj
= 0;
13375 wxFontEncoding arg1
;
13379 PyObject
* obj0
= 0 ;
13380 char * kwnames
[] = {
13381 (char *) "encoding", NULL
13384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13385 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13386 if (!SWIG_IsOK(ecode1
)) {
13387 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13389 arg1
= static_cast< wxFontEncoding
>(val1
);
13391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13392 result
= wxFontMapper::GetEncodingDescription(arg1
);
13393 wxPyEndAllowThreads(__tstate
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13398 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13400 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13409 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13410 PyObject
*resultobj
= 0;
13411 wxString
*arg1
= 0 ;
13412 wxFontEncoding result
;
13413 bool temp1
= false ;
13414 PyObject
* obj0
= 0 ;
13415 char * kwnames
[] = {
13416 (char *) "name", NULL
13419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13421 arg1
= wxString_in_helper(obj0
);
13422 if (arg1
== NULL
) SWIG_fail
;
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13427 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13428 wxPyEndAllowThreads(__tstate
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13431 resultobj
= SWIG_From_int(static_cast< int >(result
));
13446 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13447 PyObject
*resultobj
= 0;
13448 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13449 wxString
*arg2
= 0 ;
13452 bool temp2
= false ;
13453 PyObject
* obj0
= 0 ;
13454 PyObject
* obj1
= 0 ;
13455 char * kwnames
[] = {
13456 (char *) "self",(char *) "prefix", NULL
13459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13461 if (!SWIG_IsOK(res1
)) {
13462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13464 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13466 arg2
= wxString_in_helper(obj1
);
13467 if (arg2
== NULL
) SWIG_fail
;
13471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13472 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13473 wxPyEndAllowThreads(__tstate
);
13474 if (PyErr_Occurred()) SWIG_fail
;
13476 resultobj
= SWIG_Py_Void();
13491 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13492 PyObject
*resultobj
= 0;
13495 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 result
= wxFontMapper::GetDefaultConfigPath();
13499 wxPyEndAllowThreads(__tstate
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13504 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13506 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13515 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13516 PyObject
*resultobj
= 0;
13517 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13518 wxFontEncoding arg2
;
13519 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13520 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13521 bool arg4
= (bool) true ;
13522 PyObject
*result
= 0 ;
13527 bool temp3
= false ;
13530 PyObject
* obj0
= 0 ;
13531 PyObject
* obj1
= 0 ;
13532 PyObject
* obj2
= 0 ;
13533 PyObject
* obj3
= 0 ;
13534 char * kwnames
[] = {
13535 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13540 if (!SWIG_IsOK(res1
)) {
13541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13543 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13544 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13545 if (!SWIG_IsOK(ecode2
)) {
13546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13548 arg2
= static_cast< wxFontEncoding
>(val2
);
13551 arg3
= wxString_in_helper(obj2
);
13552 if (arg3
== NULL
) SWIG_fail
;
13557 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13558 if (!SWIG_IsOK(ecode4
)) {
13559 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13561 arg4
= static_cast< bool >(val4
);
13564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13565 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13566 wxPyEndAllowThreads(__tstate
);
13567 if (PyErr_Occurred()) SWIG_fail
;
13569 resultobj
= result
;
13584 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13585 PyObject
*resultobj
= 0;
13586 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13587 wxFontEncoding arg2
;
13588 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13589 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13595 bool temp3
= false ;
13596 PyObject
* obj0
= 0 ;
13597 PyObject
* obj1
= 0 ;
13598 PyObject
* obj2
= 0 ;
13599 char * kwnames
[] = {
13600 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13605 if (!SWIG_IsOK(res1
)) {
13606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13608 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13610 if (!SWIG_IsOK(ecode2
)) {
13611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13613 arg2
= static_cast< wxFontEncoding
>(val2
);
13616 arg3
= wxString_in_helper(obj2
);
13617 if (arg3
== NULL
) SWIG_fail
;
13622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13623 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13644 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13645 PyObject
*resultobj
= 0;
13646 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13647 wxWindow
*arg2
= (wxWindow
*) 0 ;
13652 PyObject
* obj0
= 0 ;
13653 PyObject
* obj1
= 0 ;
13654 char * kwnames
[] = {
13655 (char *) "self",(char *) "parent", NULL
13658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13660 if (!SWIG_IsOK(res1
)) {
13661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13663 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13664 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13665 if (!SWIG_IsOK(res2
)) {
13666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13668 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13671 (arg1
)->SetDialogParent(arg2
);
13672 wxPyEndAllowThreads(__tstate
);
13673 if (PyErr_Occurred()) SWIG_fail
;
13675 resultobj
= SWIG_Py_Void();
13682 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13683 PyObject
*resultobj
= 0;
13684 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13685 wxString
*arg2
= 0 ;
13688 bool temp2
= false ;
13689 PyObject
* obj0
= 0 ;
13690 PyObject
* obj1
= 0 ;
13691 char * kwnames
[] = {
13692 (char *) "self",(char *) "title", NULL
13695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13697 if (!SWIG_IsOK(res1
)) {
13698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13700 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13702 arg2
= wxString_in_helper(obj1
);
13703 if (arg2
== NULL
) SWIG_fail
;
13707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13708 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13709 wxPyEndAllowThreads(__tstate
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13712 resultobj
= SWIG_Py_Void();
13727 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13729 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13730 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13731 return SWIG_Py_Void();
13734 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13735 return SWIG_Python_InitShadowInstance(args
);
13738 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13739 PyObject
*resultobj
= 0;
13744 bool arg5
= (bool) false ;
13745 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13746 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13747 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13748 wxFont
*result
= 0 ;
13759 bool temp6
= false ;
13762 PyObject
* obj0
= 0 ;
13763 PyObject
* obj1
= 0 ;
13764 PyObject
* obj2
= 0 ;
13765 PyObject
* obj3
= 0 ;
13766 PyObject
* obj4
= 0 ;
13767 PyObject
* obj5
= 0 ;
13768 PyObject
* obj6
= 0 ;
13769 char * kwnames
[] = {
13770 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13774 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13775 if (!SWIG_IsOK(ecode1
)) {
13776 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13778 arg1
= static_cast< int >(val1
);
13779 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13780 if (!SWIG_IsOK(ecode2
)) {
13781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13783 arg2
= static_cast< int >(val2
);
13784 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13785 if (!SWIG_IsOK(ecode3
)) {
13786 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13788 arg3
= static_cast< int >(val3
);
13789 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13790 if (!SWIG_IsOK(ecode4
)) {
13791 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13793 arg4
= static_cast< int >(val4
);
13795 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13796 if (!SWIG_IsOK(ecode5
)) {
13797 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13799 arg5
= static_cast< bool >(val5
);
13803 arg6
= wxString_in_helper(obj5
);
13804 if (arg6
== NULL
) SWIG_fail
;
13809 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13810 if (!SWIG_IsOK(ecode7
)) {
13811 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13813 arg7
= static_cast< wxFontEncoding
>(val7
);
13816 if (!wxPyCheckForApp()) SWIG_fail
;
13817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13818 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13819 wxPyEndAllowThreads(__tstate
);
13820 if (PyErr_Occurred()) SWIG_fail
;
13822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13837 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13838 PyObject
*resultobj
= 0;
13839 wxFont
*arg1
= (wxFont
*) 0 ;
13842 PyObject
*swig_obj
[1] ;
13844 if (!args
) SWIG_fail
;
13845 swig_obj
[0] = args
;
13846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13847 if (!SWIG_IsOK(res1
)) {
13848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13850 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13855 wxPyEndAllowThreads(__tstate
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13858 resultobj
= SWIG_Py_Void();
13865 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13866 PyObject
*resultobj
= 0;
13867 wxNativeFontInfo
*arg1
= 0 ;
13868 wxFont
*result
= 0 ;
13871 PyObject
* obj0
= 0 ;
13872 char * kwnames
[] = {
13873 (char *) "info", NULL
13876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13877 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13878 if (!SWIG_IsOK(res1
)) {
13879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13884 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13886 if (!wxPyCheckForApp()) SWIG_fail
;
13887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13888 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13889 wxPyEndAllowThreads(__tstate
);
13890 if (PyErr_Occurred()) SWIG_fail
;
13892 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13899 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13900 PyObject
*resultobj
= 0;
13901 wxString
*arg1
= 0 ;
13902 wxFont
*result
= 0 ;
13903 bool temp1
= false ;
13904 PyObject
* obj0
= 0 ;
13905 char * kwnames
[] = {
13906 (char *) "info", NULL
13909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13911 arg1
= wxString_in_helper(obj0
);
13912 if (arg1
== NULL
) SWIG_fail
;
13916 if (!wxPyCheckForApp()) SWIG_fail
;
13917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13918 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13919 wxPyEndAllowThreads(__tstate
);
13920 if (PyErr_Occurred()) SWIG_fail
;
13922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13937 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13938 PyObject
*resultobj
= 0;
13940 wxFontFamily arg2
;
13941 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13942 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13943 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13944 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13945 wxFont
*result
= 0 ;
13952 bool temp4
= false ;
13955 PyObject
* obj0
= 0 ;
13956 PyObject
* obj1
= 0 ;
13957 PyObject
* obj2
= 0 ;
13958 PyObject
* obj3
= 0 ;
13959 PyObject
* obj4
= 0 ;
13960 char * kwnames
[] = {
13961 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13965 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13966 if (!SWIG_IsOK(ecode1
)) {
13967 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13969 arg1
= static_cast< int >(val1
);
13970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13971 if (!SWIG_IsOK(ecode2
)) {
13972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13974 arg2
= static_cast< wxFontFamily
>(val2
);
13976 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13977 if (!SWIG_IsOK(ecode3
)) {
13978 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13980 arg3
= static_cast< int >(val3
);
13984 arg4
= wxString_in_helper(obj3
);
13985 if (arg4
== NULL
) SWIG_fail
;
13990 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13991 if (!SWIG_IsOK(ecode5
)) {
13992 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13994 arg5
= static_cast< wxFontEncoding
>(val5
);
13997 if (!wxPyCheckForApp()) SWIG_fail
;
13998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13999 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14000 wxPyEndAllowThreads(__tstate
);
14001 if (PyErr_Occurred()) SWIG_fail
;
14003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14018 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14019 PyObject
*resultobj
= 0;
14024 bool arg5
= (bool) false ;
14025 wxString
const &arg6_defvalue
= wxEmptyString
;
14026 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14027 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14028 wxFont
*result
= 0 ;
14038 bool temp6
= false ;
14041 PyObject
* obj0
= 0 ;
14042 PyObject
* obj1
= 0 ;
14043 PyObject
* obj2
= 0 ;
14044 PyObject
* obj3
= 0 ;
14045 PyObject
* obj4
= 0 ;
14046 PyObject
* obj5
= 0 ;
14047 PyObject
* obj6
= 0 ;
14048 char * kwnames
[] = {
14049 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14055 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14058 if (!SWIG_IsOK(ecode2
)) {
14059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14061 arg2
= static_cast< int >(val2
);
14062 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14063 if (!SWIG_IsOK(ecode3
)) {
14064 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14066 arg3
= static_cast< int >(val3
);
14067 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14068 if (!SWIG_IsOK(ecode4
)) {
14069 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14071 arg4
= static_cast< int >(val4
);
14073 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14074 if (!SWIG_IsOK(ecode5
)) {
14075 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14077 arg5
= static_cast< bool >(val5
);
14081 arg6
= wxString_in_helper(obj5
);
14082 if (arg6
== NULL
) SWIG_fail
;
14087 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14088 if (!SWIG_IsOK(ecode7
)) {
14089 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14091 arg7
= static_cast< wxFontEncoding
>(val7
);
14094 if (!wxPyCheckForApp()) SWIG_fail
;
14095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14096 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14097 wxPyEndAllowThreads(__tstate
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14115 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14116 PyObject
*resultobj
= 0;
14118 wxFontFamily arg2
;
14119 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14120 wxString
const &arg4_defvalue
= wxEmptyString
;
14121 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14122 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14123 wxFont
*result
= 0 ;
14129 bool temp4
= false ;
14132 PyObject
* obj0
= 0 ;
14133 PyObject
* obj1
= 0 ;
14134 PyObject
* obj2
= 0 ;
14135 PyObject
* obj3
= 0 ;
14136 PyObject
* obj4
= 0 ;
14137 char * kwnames
[] = {
14138 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14144 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14147 if (!SWIG_IsOK(ecode2
)) {
14148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14150 arg2
= static_cast< wxFontFamily
>(val2
);
14152 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14153 if (!SWIG_IsOK(ecode3
)) {
14154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14156 arg3
= static_cast< int >(val3
);
14160 arg4
= wxString_in_helper(obj3
);
14161 if (arg4
== NULL
) SWIG_fail
;
14166 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14167 if (!SWIG_IsOK(ecode5
)) {
14168 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14170 arg5
= static_cast< wxFontEncoding
>(val5
);
14173 if (!wxPyCheckForApp()) SWIG_fail
;
14174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14175 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14176 wxPyEndAllowThreads(__tstate
);
14177 if (PyErr_Occurred()) SWIG_fail
;
14179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14194 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14195 PyObject
*resultobj
= 0;
14196 wxFont
*arg1
= (wxFont
*) 0 ;
14200 PyObject
*swig_obj
[1] ;
14202 if (!args
) SWIG_fail
;
14203 swig_obj
[0] = args
;
14204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14205 if (!SWIG_IsOK(res1
)) {
14206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14208 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14211 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14224 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
= 0;
14226 wxFont
*arg1
= (wxFont
*) 0 ;
14227 wxFont
*arg2
= (wxFont
*) 0 ;
14233 PyObject
* obj0
= 0 ;
14234 PyObject
* obj1
= 0 ;
14235 char * kwnames
[] = {
14236 (char *) "self",(char *) "other", NULL
14239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14241 if (!SWIG_IsOK(res1
)) {
14242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14244 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14245 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14246 if (!SWIG_IsOK(res2
)) {
14247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14249 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14252 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14253 wxPyEndAllowThreads(__tstate
);
14254 if (PyErr_Occurred()) SWIG_fail
;
14257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14265 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14266 PyObject
*resultobj
= 0;
14267 wxFont
*arg1
= (wxFont
*) 0 ;
14268 wxFont
*arg2
= (wxFont
*) 0 ;
14274 PyObject
* obj0
= 0 ;
14275 PyObject
* obj1
= 0 ;
14276 char * kwnames
[] = {
14277 (char *) "self",(char *) "other", NULL
14280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14282 if (!SWIG_IsOK(res1
)) {
14283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14285 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14286 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14287 if (!SWIG_IsOK(res2
)) {
14288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14290 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14293 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14294 wxPyEndAllowThreads(__tstate
);
14295 if (PyErr_Occurred()) SWIG_fail
;
14298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14306 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14307 PyObject
*resultobj
= 0;
14308 wxFont
*arg1
= (wxFont
*) 0 ;
14312 PyObject
*swig_obj
[1] ;
14314 if (!args
) SWIG_fail
;
14315 swig_obj
[0] = args
;
14316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14317 if (!SWIG_IsOK(res1
)) {
14318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14320 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14323 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14324 wxPyEndAllowThreads(__tstate
);
14325 if (PyErr_Occurred()) SWIG_fail
;
14327 resultobj
= SWIG_From_int(static_cast< int >(result
));
14334 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14335 PyObject
*resultobj
= 0;
14336 wxFont
*arg1
= (wxFont
*) 0 ;
14340 PyObject
*swig_obj
[1] ;
14342 if (!args
) SWIG_fail
;
14343 swig_obj
[0] = args
;
14344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14345 if (!SWIG_IsOK(res1
)) {
14346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14348 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14351 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14352 wxPyEndAllowThreads(__tstate
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14355 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14362 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14363 PyObject
*resultobj
= 0;
14364 wxFont
*arg1
= (wxFont
*) 0 ;
14368 PyObject
*swig_obj
[1] ;
14370 if (!args
) SWIG_fail
;
14371 swig_obj
[0] = args
;
14372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14373 if (!SWIG_IsOK(res1
)) {
14374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14376 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14379 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14380 wxPyEndAllowThreads(__tstate
);
14381 if (PyErr_Occurred()) SWIG_fail
;
14384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14392 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14393 PyObject
*resultobj
= 0;
14394 wxFont
*arg1
= (wxFont
*) 0 ;
14398 PyObject
*swig_obj
[1] ;
14400 if (!args
) SWIG_fail
;
14401 swig_obj
[0] = args
;
14402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14403 if (!SWIG_IsOK(res1
)) {
14404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14406 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14409 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14410 wxPyEndAllowThreads(__tstate
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14413 resultobj
= SWIG_From_int(static_cast< int >(result
));
14420 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14421 PyObject
*resultobj
= 0;
14422 wxFont
*arg1
= (wxFont
*) 0 ;
14426 PyObject
*swig_obj
[1] ;
14428 if (!args
) SWIG_fail
;
14429 swig_obj
[0] = args
;
14430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14431 if (!SWIG_IsOK(res1
)) {
14432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14434 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14437 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14438 wxPyEndAllowThreads(__tstate
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14441 resultobj
= SWIG_From_int(static_cast< int >(result
));
14448 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14449 PyObject
*resultobj
= 0;
14450 wxFont
*arg1
= (wxFont
*) 0 ;
14454 PyObject
*swig_obj
[1] ;
14456 if (!args
) SWIG_fail
;
14457 swig_obj
[0] = args
;
14458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14459 if (!SWIG_IsOK(res1
)) {
14460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14462 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14465 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14466 wxPyEndAllowThreads(__tstate
);
14467 if (PyErr_Occurred()) SWIG_fail
;
14469 resultobj
= SWIG_From_int(static_cast< int >(result
));
14476 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14477 PyObject
*resultobj
= 0;
14478 wxFont
*arg1
= (wxFont
*) 0 ;
14482 PyObject
*swig_obj
[1] ;
14484 if (!args
) SWIG_fail
;
14485 swig_obj
[0] = args
;
14486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14487 if (!SWIG_IsOK(res1
)) {
14488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14490 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14493 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14494 wxPyEndAllowThreads(__tstate
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14506 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14507 PyObject
*resultobj
= 0;
14508 wxFont
*arg1
= (wxFont
*) 0 ;
14512 PyObject
*swig_obj
[1] ;
14514 if (!args
) SWIG_fail
;
14515 swig_obj
[0] = args
;
14516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14517 if (!SWIG_IsOK(res1
)) {
14518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14520 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 result
= ((wxFont
const *)arg1
)->GetFaceName();
14524 wxPyEndAllowThreads(__tstate
);
14525 if (PyErr_Occurred()) SWIG_fail
;
14529 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14531 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14540 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14541 PyObject
*resultobj
= 0;
14542 wxFont
*arg1
= (wxFont
*) 0 ;
14543 wxFontEncoding result
;
14546 PyObject
*swig_obj
[1] ;
14548 if (!args
) SWIG_fail
;
14549 swig_obj
[0] = args
;
14550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14551 if (!SWIG_IsOK(res1
)) {
14552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14554 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14557 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14558 wxPyEndAllowThreads(__tstate
);
14559 if (PyErr_Occurred()) SWIG_fail
;
14561 resultobj
= SWIG_From_int(static_cast< int >(result
));
14568 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14569 PyObject
*resultobj
= 0;
14570 wxFont
*arg1
= (wxFont
*) 0 ;
14571 wxNativeFontInfo
*result
= 0 ;
14574 PyObject
*swig_obj
[1] ;
14576 if (!args
) SWIG_fail
;
14577 swig_obj
[0] = args
;
14578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14579 if (!SWIG_IsOK(res1
)) {
14580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14582 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14585 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14586 wxPyEndAllowThreads(__tstate
);
14587 if (PyErr_Occurred()) SWIG_fail
;
14589 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14596 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14597 PyObject
*resultobj
= 0;
14598 wxFont
*arg1
= (wxFont
*) 0 ;
14602 PyObject
*swig_obj
[1] ;
14604 if (!args
) SWIG_fail
;
14605 swig_obj
[0] = args
;
14606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14607 if (!SWIG_IsOK(res1
)) {
14608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14610 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14613 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14614 wxPyEndAllowThreads(__tstate
);
14615 if (PyErr_Occurred()) SWIG_fail
;
14618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14626 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14627 PyObject
*resultobj
= 0;
14628 wxFont
*arg1
= (wxFont
*) 0 ;
14632 PyObject
*swig_obj
[1] ;
14634 if (!args
) SWIG_fail
;
14635 swig_obj
[0] = args
;
14636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14637 if (!SWIG_IsOK(res1
)) {
14638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14640 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14643 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14644 wxPyEndAllowThreads(__tstate
);
14645 if (PyErr_Occurred()) SWIG_fail
;
14649 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14651 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14660 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14661 PyObject
*resultobj
= 0;
14662 wxFont
*arg1
= (wxFont
*) 0 ;
14666 PyObject
*swig_obj
[1] ;
14668 if (!args
) SWIG_fail
;
14669 swig_obj
[0] = args
;
14670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14671 if (!SWIG_IsOK(res1
)) {
14672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14674 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14677 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14678 wxPyEndAllowThreads(__tstate
);
14679 if (PyErr_Occurred()) SWIG_fail
;
14683 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14685 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14694 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14695 PyObject
*resultobj
= 0;
14696 wxFont
*arg1
= (wxFont
*) 0 ;
14702 PyObject
* obj0
= 0 ;
14703 PyObject
* obj1
= 0 ;
14704 char * kwnames
[] = {
14705 (char *) "self",(char *) "pointSize", NULL
14708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14710 if (!SWIG_IsOK(res1
)) {
14711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14713 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14715 if (!SWIG_IsOK(ecode2
)) {
14716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14718 arg2
= static_cast< int >(val2
);
14720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14721 (arg1
)->SetPointSize(arg2
);
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14725 resultobj
= SWIG_Py_Void();
14732 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14733 PyObject
*resultobj
= 0;
14734 wxFont
*arg1
= (wxFont
*) 0 ;
14739 PyObject
* obj0
= 0 ;
14740 PyObject
* obj1
= 0 ;
14741 char * kwnames
[] = {
14742 (char *) "self",(char *) "pixelSize", NULL
14745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14747 if (!SWIG_IsOK(res1
)) {
14748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14750 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14753 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14757 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14758 wxPyEndAllowThreads(__tstate
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14761 resultobj
= SWIG_Py_Void();
14768 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
= 0;
14770 wxFont
*arg1
= (wxFont
*) 0 ;
14776 PyObject
* obj0
= 0 ;
14777 PyObject
* obj1
= 0 ;
14778 char * kwnames
[] = {
14779 (char *) "self",(char *) "family", NULL
14782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14784 if (!SWIG_IsOK(res1
)) {
14785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14787 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14789 if (!SWIG_IsOK(ecode2
)) {
14790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14792 arg2
= static_cast< int >(val2
);
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 (arg1
)->SetFamily(arg2
);
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14799 resultobj
= SWIG_Py_Void();
14806 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14807 PyObject
*resultobj
= 0;
14808 wxFont
*arg1
= (wxFont
*) 0 ;
14814 PyObject
* obj0
= 0 ;
14815 PyObject
* obj1
= 0 ;
14816 char * kwnames
[] = {
14817 (char *) "self",(char *) "style", NULL
14820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14822 if (!SWIG_IsOK(res1
)) {
14823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14825 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14827 if (!SWIG_IsOK(ecode2
)) {
14828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14830 arg2
= static_cast< int >(val2
);
14832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14833 (arg1
)->SetStyle(arg2
);
14834 wxPyEndAllowThreads(__tstate
);
14835 if (PyErr_Occurred()) SWIG_fail
;
14837 resultobj
= SWIG_Py_Void();
14844 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14845 PyObject
*resultobj
= 0;
14846 wxFont
*arg1
= (wxFont
*) 0 ;
14852 PyObject
* obj0
= 0 ;
14853 PyObject
* obj1
= 0 ;
14854 char * kwnames
[] = {
14855 (char *) "self",(char *) "weight", NULL
14858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14860 if (!SWIG_IsOK(res1
)) {
14861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14863 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14865 if (!SWIG_IsOK(ecode2
)) {
14866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14868 arg2
= static_cast< int >(val2
);
14870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14871 (arg1
)->SetWeight(arg2
);
14872 wxPyEndAllowThreads(__tstate
);
14873 if (PyErr_Occurred()) SWIG_fail
;
14875 resultobj
= SWIG_Py_Void();
14882 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14883 PyObject
*resultobj
= 0;
14884 wxFont
*arg1
= (wxFont
*) 0 ;
14885 wxString
*arg2
= 0 ;
14889 bool temp2
= false ;
14890 PyObject
* obj0
= 0 ;
14891 PyObject
* obj1
= 0 ;
14892 char * kwnames
[] = {
14893 (char *) "self",(char *) "faceName", NULL
14896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14898 if (!SWIG_IsOK(res1
)) {
14899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14901 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14903 arg2
= wxString_in_helper(obj1
);
14904 if (arg2
== NULL
) SWIG_fail
;
14908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14909 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14910 wxPyEndAllowThreads(__tstate
);
14911 if (PyErr_Occurred()) SWIG_fail
;
14914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14930 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14931 PyObject
*resultobj
= 0;
14932 wxFont
*arg1
= (wxFont
*) 0 ;
14938 PyObject
* obj0
= 0 ;
14939 PyObject
* obj1
= 0 ;
14940 char * kwnames
[] = {
14941 (char *) "self",(char *) "underlined", NULL
14944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14946 if (!SWIG_IsOK(res1
)) {
14947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14949 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14950 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14951 if (!SWIG_IsOK(ecode2
)) {
14952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14954 arg2
= static_cast< bool >(val2
);
14956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14957 (arg1
)->SetUnderlined(arg2
);
14958 wxPyEndAllowThreads(__tstate
);
14959 if (PyErr_Occurred()) SWIG_fail
;
14961 resultobj
= SWIG_Py_Void();
14968 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14969 PyObject
*resultobj
= 0;
14970 wxFont
*arg1
= (wxFont
*) 0 ;
14971 wxFontEncoding arg2
;
14976 PyObject
* obj0
= 0 ;
14977 PyObject
* obj1
= 0 ;
14978 char * kwnames
[] = {
14979 (char *) "self",(char *) "encoding", NULL
14982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14984 if (!SWIG_IsOK(res1
)) {
14985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14987 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14989 if (!SWIG_IsOK(ecode2
)) {
14990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14992 arg2
= static_cast< wxFontEncoding
>(val2
);
14994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14995 (arg1
)->SetEncoding(arg2
);
14996 wxPyEndAllowThreads(__tstate
);
14997 if (PyErr_Occurred()) SWIG_fail
;
14999 resultobj
= SWIG_Py_Void();
15006 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15007 PyObject
*resultobj
= 0;
15008 wxFont
*arg1
= (wxFont
*) 0 ;
15009 wxNativeFontInfo
*arg2
= 0 ;
15014 PyObject
* obj0
= 0 ;
15015 PyObject
* obj1
= 0 ;
15016 char * kwnames
[] = {
15017 (char *) "self",(char *) "info", NULL
15020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15022 if (!SWIG_IsOK(res1
)) {
15023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15025 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15026 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15027 if (!SWIG_IsOK(res2
)) {
15028 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15031 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15033 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15036 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15037 wxPyEndAllowThreads(__tstate
);
15038 if (PyErr_Occurred()) SWIG_fail
;
15040 resultobj
= SWIG_Py_Void();
15047 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15048 PyObject
*resultobj
= 0;
15049 wxFont
*arg1
= (wxFont
*) 0 ;
15050 wxString
*arg2
= 0 ;
15054 bool temp2
= false ;
15055 PyObject
* obj0
= 0 ;
15056 PyObject
* obj1
= 0 ;
15057 char * kwnames
[] = {
15058 (char *) "self",(char *) "info", NULL
15061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15063 if (!SWIG_IsOK(res1
)) {
15064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15066 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15068 arg2
= wxString_in_helper(obj1
);
15069 if (arg2
== NULL
) SWIG_fail
;
15073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15074 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15075 wxPyEndAllowThreads(__tstate
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15095 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15096 PyObject
*resultobj
= 0;
15097 wxFont
*arg1
= (wxFont
*) 0 ;
15098 wxString
*arg2
= 0 ;
15102 bool temp2
= false ;
15103 PyObject
* obj0
= 0 ;
15104 PyObject
* obj1
= 0 ;
15105 char * kwnames
[] = {
15106 (char *) "self",(char *) "info", NULL
15109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15111 if (!SWIG_IsOK(res1
)) {
15112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15114 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15116 arg2
= wxString_in_helper(obj1
);
15117 if (arg2
== NULL
) SWIG_fail
;
15121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15122 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15123 wxPyEndAllowThreads(__tstate
);
15124 if (PyErr_Occurred()) SWIG_fail
;
15127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15143 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15144 PyObject
*resultobj
= 0;
15145 wxFont
*arg1
= (wxFont
*) 0 ;
15149 PyObject
*swig_obj
[1] ;
15151 if (!args
) SWIG_fail
;
15152 swig_obj
[0] = args
;
15153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15154 if (!SWIG_IsOK(res1
)) {
15155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15157 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15160 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15161 wxPyEndAllowThreads(__tstate
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15166 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15168 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15177 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15178 PyObject
*resultobj
= 0;
15179 wxFont
*arg1
= (wxFont
*) 0 ;
15183 PyObject
*swig_obj
[1] ;
15185 if (!args
) SWIG_fail
;
15186 swig_obj
[0] = args
;
15187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15188 if (!SWIG_IsOK(res1
)) {
15189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15191 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15194 result
= ((wxFont
const *)arg1
)->GetStyleString();
15195 wxPyEndAllowThreads(__tstate
);
15196 if (PyErr_Occurred()) SWIG_fail
;
15200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15211 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15212 PyObject
*resultobj
= 0;
15213 wxFont
*arg1
= (wxFont
*) 0 ;
15217 PyObject
*swig_obj
[1] ;
15219 if (!args
) SWIG_fail
;
15220 swig_obj
[0] = args
;
15221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15222 if (!SWIG_IsOK(res1
)) {
15223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15225 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15228 result
= ((wxFont
const *)arg1
)->GetWeightString();
15229 wxPyEndAllowThreads(__tstate
);
15230 if (PyErr_Occurred()) SWIG_fail
;
15234 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15236 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15245 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15246 PyObject
*resultobj
= 0;
15247 wxFont
*arg1
= (wxFont
*) 0 ;
15248 bool arg2
= (bool) true ;
15253 PyObject
* obj0
= 0 ;
15254 PyObject
* obj1
= 0 ;
15255 char * kwnames
[] = {
15256 (char *) "self",(char *) "no", NULL
15259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15261 if (!SWIG_IsOK(res1
)) {
15262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15264 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15266 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15267 if (!SWIG_IsOK(ecode2
)) {
15268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15270 arg2
= static_cast< bool >(val2
);
15273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15274 (arg1
)->SetNoAntiAliasing(arg2
);
15275 wxPyEndAllowThreads(__tstate
);
15276 if (PyErr_Occurred()) SWIG_fail
;
15278 resultobj
= SWIG_Py_Void();
15285 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15286 PyObject
*resultobj
= 0;
15287 wxFont
*arg1
= (wxFont
*) 0 ;
15291 PyObject
*swig_obj
[1] ;
15293 if (!args
) SWIG_fail
;
15294 swig_obj
[0] = args
;
15295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15296 if (!SWIG_IsOK(res1
)) {
15297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15299 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15302 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15303 wxPyEndAllowThreads(__tstate
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15315 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15316 PyObject
*resultobj
= 0;
15317 wxFontEncoding result
;
15319 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15321 if (!wxPyCheckForApp()) SWIG_fail
;
15322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15323 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15324 wxPyEndAllowThreads(__tstate
);
15325 if (PyErr_Occurred()) SWIG_fail
;
15327 resultobj
= SWIG_From_int(static_cast< int >(result
));
15334 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15335 PyObject
*resultobj
= 0;
15336 wxFontEncoding arg1
;
15339 PyObject
* obj0
= 0 ;
15340 char * kwnames
[] = {
15341 (char *) "encoding", NULL
15344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15345 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15346 if (!SWIG_IsOK(ecode1
)) {
15347 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15349 arg1
= static_cast< wxFontEncoding
>(val1
);
15351 if (!wxPyCheckForApp()) SWIG_fail
;
15352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15353 wxFont::SetDefaultEncoding(arg1
);
15354 wxPyEndAllowThreads(__tstate
);
15355 if (PyErr_Occurred()) SWIG_fail
;
15357 resultobj
= SWIG_Py_Void();
15364 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15366 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15367 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15368 return SWIG_Py_Void();
15371 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15372 return SWIG_Python_InitShadowInstance(args
);
15375 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15376 PyObject
*resultobj
= 0;
15377 wxPyFontEnumerator
*result
= 0 ;
15379 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15381 if (!wxPyCheckForApp()) SWIG_fail
;
15382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15383 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15384 wxPyEndAllowThreads(__tstate
);
15385 if (PyErr_Occurred()) SWIG_fail
;
15387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15394 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15395 PyObject
*resultobj
= 0;
15396 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15399 PyObject
*swig_obj
[1] ;
15401 if (!args
) SWIG_fail
;
15402 swig_obj
[0] = args
;
15403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15404 if (!SWIG_IsOK(res1
)) {
15405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15407 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15412 wxPyEndAllowThreads(__tstate
);
15413 if (PyErr_Occurred()) SWIG_fail
;
15415 resultobj
= SWIG_Py_Void();
15422 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15423 PyObject
*resultobj
= 0;
15424 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15425 PyObject
*arg2
= (PyObject
*) 0 ;
15426 PyObject
*arg3
= (PyObject
*) 0 ;
15432 PyObject
* obj0
= 0 ;
15433 PyObject
* obj1
= 0 ;
15434 PyObject
* obj2
= 0 ;
15435 PyObject
* obj3
= 0 ;
15436 char * kwnames
[] = {
15437 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15442 if (!SWIG_IsOK(res1
)) {
15443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15445 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15448 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15449 if (!SWIG_IsOK(ecode4
)) {
15450 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15452 arg4
= static_cast< bool >(val4
);
15454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15455 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15456 wxPyEndAllowThreads(__tstate
);
15457 if (PyErr_Occurred()) SWIG_fail
;
15459 resultobj
= SWIG_Py_Void();
15466 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15467 PyObject
*resultobj
= 0;
15468 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15469 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15470 bool arg3
= (bool) false ;
15478 PyObject
* obj0
= 0 ;
15479 PyObject
* obj1
= 0 ;
15480 PyObject
* obj2
= 0 ;
15481 char * kwnames
[] = {
15482 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15487 if (!SWIG_IsOK(res1
)) {
15488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15490 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15493 if (!SWIG_IsOK(ecode2
)) {
15494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15496 arg2
= static_cast< wxFontEncoding
>(val2
);
15499 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15500 if (!SWIG_IsOK(ecode3
)) {
15501 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15503 arg3
= static_cast< bool >(val3
);
15506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15507 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15508 wxPyEndAllowThreads(__tstate
);
15509 if (PyErr_Occurred()) SWIG_fail
;
15512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15520 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15521 PyObject
*resultobj
= 0;
15522 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15523 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15524 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15528 bool temp2
= false ;
15529 PyObject
* obj0
= 0 ;
15530 PyObject
* obj1
= 0 ;
15531 char * kwnames
[] = {
15532 (char *) "self",(char *) "facename", NULL
15535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15537 if (!SWIG_IsOK(res1
)) {
15538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15540 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15543 arg2
= wxString_in_helper(obj1
);
15544 if (arg2
== NULL
) SWIG_fail
;
15549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15550 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15571 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15572 PyObject
*resultobj
= 0;
15573 PyObject
*result
= 0 ;
15575 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15578 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15579 wxPyEndAllowThreads(__tstate
);
15580 if (PyErr_Occurred()) SWIG_fail
;
15582 resultobj
= result
;
15589 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15590 PyObject
*resultobj
= 0;
15591 PyObject
*result
= 0 ;
15593 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15596 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15597 wxPyEndAllowThreads(__tstate
);
15598 if (PyErr_Occurred()) SWIG_fail
;
15600 resultobj
= result
;
15607 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15608 PyObject
*resultobj
= 0;
15609 wxString
*arg1
= 0 ;
15611 bool temp1
= false ;
15612 PyObject
* obj0
= 0 ;
15613 char * kwnames
[] = {
15614 (char *) "str", NULL
15617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15619 arg1
= wxString_in_helper(obj0
);
15620 if (arg1
== NULL
) SWIG_fail
;
15624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15625 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15626 wxPyEndAllowThreads(__tstate
);
15627 if (PyErr_Occurred()) SWIG_fail
;
15630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15646 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15648 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15649 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15650 return SWIG_Py_Void();
15653 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15654 return SWIG_Python_InitShadowInstance(args
);
15657 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15658 PyObject
*resultobj
= 0;
15659 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15665 PyObject
*swig_obj
[2] ;
15667 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15669 if (!SWIG_IsOK(res1
)) {
15670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15672 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15673 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15674 if (!SWIG_IsOK(ecode2
)) {
15675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15677 arg2
= static_cast< int >(val2
);
15678 if (arg1
) (arg1
)->Language
= arg2
;
15680 resultobj
= SWIG_Py_Void();
15687 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15688 PyObject
*resultobj
= 0;
15689 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15693 PyObject
*swig_obj
[1] ;
15695 if (!args
) SWIG_fail
;
15696 swig_obj
[0] = args
;
15697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15698 if (!SWIG_IsOK(res1
)) {
15699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15701 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15702 result
= (int) ((arg1
)->Language
);
15703 resultobj
= SWIG_From_int(static_cast< int >(result
));
15710 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15711 PyObject
*resultobj
= 0;
15712 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15713 wxString
*arg2
= (wxString
*) 0 ;
15716 bool temp2
= false ;
15717 PyObject
*swig_obj
[2] ;
15719 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15721 if (!SWIG_IsOK(res1
)) {
15722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15724 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15726 arg2
= wxString_in_helper(swig_obj
[1]);
15727 if (arg2
== NULL
) SWIG_fail
;
15730 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15732 resultobj
= SWIG_Py_Void();
15747 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15748 PyObject
*resultobj
= 0;
15749 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15750 wxString
*result
= 0 ;
15753 PyObject
*swig_obj
[1] ;
15755 if (!args
) SWIG_fail
;
15756 swig_obj
[0] = args
;
15757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15758 if (!SWIG_IsOK(res1
)) {
15759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15761 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15762 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15765 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15767 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15776 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15777 PyObject
*resultobj
= 0;
15778 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15779 wxString
*arg2
= (wxString
*) 0 ;
15782 bool temp2
= false ;
15783 PyObject
*swig_obj
[2] ;
15785 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15787 if (!SWIG_IsOK(res1
)) {
15788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15790 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15792 arg2
= wxString_in_helper(swig_obj
[1]);
15793 if (arg2
== NULL
) SWIG_fail
;
15796 if (arg1
) (arg1
)->Description
= *arg2
;
15798 resultobj
= SWIG_Py_Void();
15813 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15814 PyObject
*resultobj
= 0;
15815 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15816 wxString
*result
= 0 ;
15819 PyObject
*swig_obj
[1] ;
15821 if (!args
) SWIG_fail
;
15822 swig_obj
[0] = args
;
15823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15824 if (!SWIG_IsOK(res1
)) {
15825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15827 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15828 result
= (wxString
*)& ((arg1
)->Description
);
15831 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15833 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15842 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15844 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15845 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15846 return SWIG_Py_Void();
15849 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15850 PyObject
*resultobj
= 0;
15851 int arg1
= (int) -1 ;
15852 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15853 wxLocale
*result
= 0 ;
15858 PyObject
* obj0
= 0 ;
15859 PyObject
* obj1
= 0 ;
15860 char * kwnames
[] = {
15861 (char *) "language",(char *) "flags", NULL
15864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15866 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15867 if (!SWIG_IsOK(ecode1
)) {
15868 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15870 arg1
= static_cast< int >(val1
);
15873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15874 if (!SWIG_IsOK(ecode2
)) {
15875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15877 arg2
= static_cast< int >(val2
);
15880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15881 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15882 wxPyEndAllowThreads(__tstate
);
15883 if (PyErr_Occurred()) SWIG_fail
;
15885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15892 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15893 PyObject
*resultobj
= 0;
15894 wxLocale
*arg1
= (wxLocale
*) 0 ;
15897 PyObject
*swig_obj
[1] ;
15899 if (!args
) SWIG_fail
;
15900 swig_obj
[0] = args
;
15901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15902 if (!SWIG_IsOK(res1
)) {
15903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15905 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15910 wxPyEndAllowThreads(__tstate
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15913 resultobj
= SWIG_Py_Void();
15920 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15921 PyObject
*resultobj
= 0;
15922 wxLocale
*arg1
= (wxLocale
*) 0 ;
15923 wxString
*arg2
= 0 ;
15924 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15925 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15926 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15927 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15928 bool arg5
= (bool) true ;
15929 bool arg6
= (bool) false ;
15933 bool temp2
= false ;
15934 bool temp3
= false ;
15935 bool temp4
= false ;
15940 PyObject
* obj0
= 0 ;
15941 PyObject
* obj1
= 0 ;
15942 PyObject
* obj2
= 0 ;
15943 PyObject
* obj3
= 0 ;
15944 PyObject
* obj4
= 0 ;
15945 PyObject
* obj5
= 0 ;
15946 char * kwnames
[] = {
15947 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15952 if (!SWIG_IsOK(res1
)) {
15953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15955 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15957 arg2
= wxString_in_helper(obj1
);
15958 if (arg2
== NULL
) SWIG_fail
;
15963 arg3
= wxString_in_helper(obj2
);
15964 if (arg3
== NULL
) SWIG_fail
;
15970 arg4
= wxString_in_helper(obj3
);
15971 if (arg4
== NULL
) SWIG_fail
;
15976 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15977 if (!SWIG_IsOK(ecode5
)) {
15978 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15980 arg5
= static_cast< bool >(val5
);
15983 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15984 if (!SWIG_IsOK(ecode6
)) {
15985 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15987 arg6
= static_cast< bool >(val6
);
15990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15991 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15992 wxPyEndAllowThreads(__tstate
);
15993 if (PyErr_Occurred()) SWIG_fail
;
15996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16028 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16029 PyObject
*resultobj
= 0;
16030 wxLocale
*arg1
= (wxLocale
*) 0 ;
16031 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16032 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16040 PyObject
* obj0
= 0 ;
16041 PyObject
* obj1
= 0 ;
16042 PyObject
* obj2
= 0 ;
16043 char * kwnames
[] = {
16044 (char *) "self",(char *) "language",(char *) "flags", NULL
16047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16049 if (!SWIG_IsOK(res1
)) {
16050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16052 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16055 if (!SWIG_IsOK(ecode2
)) {
16056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16058 arg2
= static_cast< int >(val2
);
16061 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16062 if (!SWIG_IsOK(ecode3
)) {
16063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16065 arg3
= static_cast< int >(val3
);
16068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16069 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16070 wxPyEndAllowThreads(__tstate
);
16071 if (PyErr_Occurred()) SWIG_fail
;
16074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16082 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16083 PyObject
*resultobj
= 0;
16086 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16089 result
= (int)wxLocale::GetSystemLanguage();
16090 wxPyEndAllowThreads(__tstate
);
16091 if (PyErr_Occurred()) SWIG_fail
;
16093 resultobj
= SWIG_From_int(static_cast< int >(result
));
16100 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16101 PyObject
*resultobj
= 0;
16102 wxFontEncoding result
;
16104 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16107 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16111 resultobj
= SWIG_From_int(static_cast< int >(result
));
16118 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16119 PyObject
*resultobj
= 0;
16122 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16125 result
= wxLocale::GetSystemEncodingName();
16126 wxPyEndAllowThreads(__tstate
);
16127 if (PyErr_Occurred()) SWIG_fail
;
16131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16142 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16143 PyObject
*resultobj
= 0;
16144 wxLocale
*arg1
= (wxLocale
*) 0 ;
16148 PyObject
*swig_obj
[1] ;
16150 if (!args
) SWIG_fail
;
16151 swig_obj
[0] = args
;
16152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16153 if (!SWIG_IsOK(res1
)) {
16154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16156 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16159 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16160 wxPyEndAllowThreads(__tstate
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16172 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16173 PyObject
*resultobj
= 0;
16174 wxLocale
*arg1
= (wxLocale
*) 0 ;
16178 PyObject
*swig_obj
[1] ;
16180 if (!args
) SWIG_fail
;
16181 swig_obj
[0] = args
;
16182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16183 if (!SWIG_IsOK(res1
)) {
16184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16186 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16189 result
= ((wxLocale
const *)arg1
)->GetLocale();
16190 wxPyEndAllowThreads(__tstate
);
16191 if (PyErr_Occurred()) SWIG_fail
;
16195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16206 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16207 PyObject
*resultobj
= 0;
16208 wxLocale
*arg1
= (wxLocale
*) 0 ;
16212 PyObject
*swig_obj
[1] ;
16214 if (!args
) SWIG_fail
;
16215 swig_obj
[0] = args
;
16216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16217 if (!SWIG_IsOK(res1
)) {
16218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16220 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16223 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16224 wxPyEndAllowThreads(__tstate
);
16225 if (PyErr_Occurred()) SWIG_fail
;
16227 resultobj
= SWIG_From_int(static_cast< int >(result
));
16234 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16235 PyObject
*resultobj
= 0;
16236 wxLocale
*arg1
= (wxLocale
*) 0 ;
16240 PyObject
*swig_obj
[1] ;
16242 if (!args
) SWIG_fail
;
16243 swig_obj
[0] = args
;
16244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16245 if (!SWIG_IsOK(res1
)) {
16246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16248 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16251 result
= ((wxLocale
const *)arg1
)->GetSysName();
16252 wxPyEndAllowThreads(__tstate
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16268 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16269 PyObject
*resultobj
= 0;
16270 wxLocale
*arg1
= (wxLocale
*) 0 ;
16274 PyObject
*swig_obj
[1] ;
16276 if (!args
) SWIG_fail
;
16277 swig_obj
[0] = args
;
16278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16279 if (!SWIG_IsOK(res1
)) {
16280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16282 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16285 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16286 wxPyEndAllowThreads(__tstate
);
16287 if (PyErr_Occurred()) SWIG_fail
;
16291 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16293 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16302 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16303 PyObject
*resultobj
= 0;
16304 wxString
*arg1
= 0 ;
16305 bool temp1
= false ;
16306 PyObject
* obj0
= 0 ;
16307 char * kwnames
[] = {
16308 (char *) "prefix", NULL
16311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16313 arg1
= wxString_in_helper(obj0
);
16314 if (arg1
== NULL
) SWIG_fail
;
16318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16319 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16320 wxPyEndAllowThreads(__tstate
);
16321 if (PyErr_Occurred()) SWIG_fail
;
16323 resultobj
= SWIG_Py_Void();
16338 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16339 PyObject
*resultobj
= 0;
16340 wxLocale
*arg1
= (wxLocale
*) 0 ;
16341 wxString
*arg2
= 0 ;
16345 bool temp2
= false ;
16346 PyObject
* obj0
= 0 ;
16347 PyObject
* obj1
= 0 ;
16348 char * kwnames
[] = {
16349 (char *) "self",(char *) "szDomain", NULL
16352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16354 if (!SWIG_IsOK(res1
)) {
16355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16357 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16359 arg2
= wxString_in_helper(obj1
);
16360 if (arg2
== NULL
) SWIG_fail
;
16364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16365 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16366 wxPyEndAllowThreads(__tstate
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16386 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16387 PyObject
*resultobj
= 0;
16392 PyObject
* obj0
= 0 ;
16393 char * kwnames
[] = {
16394 (char *) "lang", NULL
16397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16398 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16399 if (!SWIG_IsOK(ecode1
)) {
16400 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16402 arg1
= static_cast< int >(val1
);
16404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16405 result
= (bool)wxLocale::IsAvailable(arg1
);
16406 wxPyEndAllowThreads(__tstate
);
16407 if (PyErr_Occurred()) SWIG_fail
;
16410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16418 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16419 PyObject
*resultobj
= 0;
16420 wxLocale
*arg1
= (wxLocale
*) 0 ;
16421 wxString
*arg2
= 0 ;
16425 bool temp2
= false ;
16426 PyObject
* obj0
= 0 ;
16427 PyObject
* obj1
= 0 ;
16428 char * kwnames
[] = {
16429 (char *) "self",(char *) "szDomain", NULL
16432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16434 if (!SWIG_IsOK(res1
)) {
16435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16437 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16439 arg2
= wxString_in_helper(obj1
);
16440 if (arg2
== NULL
) SWIG_fail
;
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16445 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16446 wxPyEndAllowThreads(__tstate
);
16447 if (PyErr_Occurred()) SWIG_fail
;
16450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16466 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16467 PyObject
*resultobj
= 0;
16469 wxLanguageInfo
*result
= 0 ;
16472 PyObject
* obj0
= 0 ;
16473 char * kwnames
[] = {
16474 (char *) "lang", NULL
16477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16478 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16479 if (!SWIG_IsOK(ecode1
)) {
16480 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16482 arg1
= static_cast< int >(val1
);
16484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16485 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16486 wxPyEndAllowThreads(__tstate
);
16487 if (PyErr_Occurred()) SWIG_fail
;
16489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16496 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16497 PyObject
*resultobj
= 0;
16502 PyObject
* obj0
= 0 ;
16503 char * kwnames
[] = {
16504 (char *) "lang", NULL
16507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16508 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16509 if (!SWIG_IsOK(ecode1
)) {
16510 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16512 arg1
= static_cast< int >(val1
);
16514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16515 result
= wxLocale::GetLanguageName(arg1
);
16516 wxPyEndAllowThreads(__tstate
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16521 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16523 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16532 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16533 PyObject
*resultobj
= 0;
16534 wxString
*arg1
= 0 ;
16535 wxLanguageInfo
*result
= 0 ;
16536 bool temp1
= false ;
16537 PyObject
* obj0
= 0 ;
16538 char * kwnames
[] = {
16539 (char *) "locale", NULL
16542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16544 arg1
= wxString_in_helper(obj0
);
16545 if (arg1
== NULL
) SWIG_fail
;
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16550 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16551 wxPyEndAllowThreads(__tstate
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16569 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16570 PyObject
*resultobj
= 0;
16571 wxLanguageInfo
*arg1
= 0 ;
16574 PyObject
* obj0
= 0 ;
16575 char * kwnames
[] = {
16576 (char *) "info", NULL
16579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16580 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16581 if (!SWIG_IsOK(res1
)) {
16582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16587 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16590 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16591 wxPyEndAllowThreads(__tstate
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16594 resultobj
= SWIG_Py_Void();
16601 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16602 PyObject
*resultobj
= 0;
16603 wxLocale
*arg1
= (wxLocale
*) 0 ;
16604 wxString
*arg2
= 0 ;
16605 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16606 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16610 bool temp2
= false ;
16611 bool temp3
= false ;
16612 PyObject
* obj0
= 0 ;
16613 PyObject
* obj1
= 0 ;
16614 PyObject
* obj2
= 0 ;
16615 char * kwnames
[] = {
16616 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16621 if (!SWIG_IsOK(res1
)) {
16622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16624 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16626 arg2
= wxString_in_helper(obj1
);
16627 if (arg2
== NULL
) SWIG_fail
;
16632 arg3
= wxString_in_helper(obj2
);
16633 if (arg3
== NULL
) SWIG_fail
;
16638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16639 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16640 wxPyEndAllowThreads(__tstate
);
16641 if (PyErr_Occurred()) SWIG_fail
;
16645 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16647 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16672 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16673 PyObject
*resultobj
= 0;
16674 wxLocale
*arg1
= (wxLocale
*) 0 ;
16675 wxString
*result
= 0 ;
16678 PyObject
*swig_obj
[1] ;
16680 if (!args
) SWIG_fail
;
16681 swig_obj
[0] = args
;
16682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16683 if (!SWIG_IsOK(res1
)) {
16684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16686 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16690 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16691 result
= (wxString
*) &_result_ref
;
16693 wxPyEndAllowThreads(__tstate
);
16694 if (PyErr_Occurred()) SWIG_fail
;
16698 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16700 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16709 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16711 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16712 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16713 return SWIG_Py_Void();
16716 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16717 return SWIG_Python_InitShadowInstance(args
);
16720 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16721 PyObject
*resultobj
= 0;
16722 int arg1
= (int) -1 ;
16723 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16724 wxPyLocale
*result
= 0 ;
16729 PyObject
* obj0
= 0 ;
16730 PyObject
* obj1
= 0 ;
16731 char * kwnames
[] = {
16732 (char *) "language",(char *) "flags", NULL
16735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16737 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16738 if (!SWIG_IsOK(ecode1
)) {
16739 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16741 arg1
= static_cast< int >(val1
);
16744 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16745 if (!SWIG_IsOK(ecode2
)) {
16746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16748 arg2
= static_cast< int >(val2
);
16751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16752 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16753 wxPyEndAllowThreads(__tstate
);
16754 if (PyErr_Occurred()) SWIG_fail
;
16756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16763 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16764 PyObject
*resultobj
= 0;
16765 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16768 PyObject
*swig_obj
[1] ;
16770 if (!args
) SWIG_fail
;
16771 swig_obj
[0] = args
;
16772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16773 if (!SWIG_IsOK(res1
)) {
16774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16776 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16781 wxPyEndAllowThreads(__tstate
);
16782 if (PyErr_Occurred()) SWIG_fail
;
16784 resultobj
= SWIG_Py_Void();
16791 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16792 PyObject
*resultobj
= 0;
16793 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16794 PyObject
*arg2
= (PyObject
*) 0 ;
16795 PyObject
*arg3
= (PyObject
*) 0 ;
16798 PyObject
* obj0
= 0 ;
16799 PyObject
* obj1
= 0 ;
16800 PyObject
* obj2
= 0 ;
16801 char * kwnames
[] = {
16802 (char *) "self",(char *) "self",(char *) "_class", NULL
16805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16807 if (!SWIG_IsOK(res1
)) {
16808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16810 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16815 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16816 wxPyEndAllowThreads(__tstate
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16819 resultobj
= SWIG_Py_Void();
16826 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16827 PyObject
*resultobj
= 0;
16828 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16829 wxChar
*arg2
= (wxChar
*) 0 ;
16830 wxChar
*arg3
= (wxChar
*) NULL
;
16831 wxChar
*result
= 0 ;
16838 PyObject
* obj0
= 0 ;
16839 PyObject
* obj1
= 0 ;
16840 PyObject
* obj2
= 0 ;
16841 char * kwnames
[] = {
16842 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16847 if (!SWIG_IsOK(res1
)) {
16848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16850 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16851 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16852 if (!SWIG_IsOK(res2
)) {
16853 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16855 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16857 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16858 if (!SWIG_IsOK(res3
)) {
16859 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16861 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16865 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16866 wxPyEndAllowThreads(__tstate
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16876 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16877 PyObject
*resultobj
= 0;
16878 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16879 wxChar
*arg2
= (wxChar
*) 0 ;
16880 wxChar
*arg3
= (wxChar
*) 0 ;
16882 wxChar
*arg5
= (wxChar
*) NULL
;
16883 wxChar
*result
= 0 ;
16894 PyObject
* obj0
= 0 ;
16895 PyObject
* obj1
= 0 ;
16896 PyObject
* obj2
= 0 ;
16897 PyObject
* obj3
= 0 ;
16898 PyObject
* obj4
= 0 ;
16899 char * kwnames
[] = {
16900 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16905 if (!SWIG_IsOK(res1
)) {
16906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16908 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16909 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16910 if (!SWIG_IsOK(res2
)) {
16911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16913 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16914 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16915 if (!SWIG_IsOK(res3
)) {
16916 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16918 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16919 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16920 if (!SWIG_IsOK(ecode4
)) {
16921 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16923 arg4
= static_cast< size_t >(val4
);
16925 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16926 if (!SWIG_IsOK(res5
)) {
16927 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16929 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16933 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16934 wxPyEndAllowThreads(__tstate
);
16935 if (PyErr_Occurred()) SWIG_fail
;
16937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16944 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16946 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16947 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16948 return SWIG_Py_Void();
16951 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16952 return SWIG_Python_InitShadowInstance(args
);
16955 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16956 PyObject
*resultobj
= 0;
16957 wxLocale
*result
= 0 ;
16959 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16962 result
= (wxLocale
*)wxGetLocale();
16963 wxPyEndAllowThreads(__tstate
);
16964 if (PyErr_Occurred()) SWIG_fail
;
16966 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16973 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16974 PyObject
*resultobj
= 0;
16975 wxString
*arg1
= 0 ;
16977 bool temp1
= false ;
16979 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16981 arg1
= wxString_in_helper(swig_obj
[0]);
16982 if (arg1
== NULL
) SWIG_fail
;
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 result
= wxGetTranslation((wxString
const &)*arg1
);
16988 wxPyEndAllowThreads(__tstate
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17012 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17013 PyObject
*resultobj
= 0;
17014 wxString
*arg1
= 0 ;
17015 wxString
*arg2
= 0 ;
17017 bool temp1
= false ;
17018 bool temp2
= false ;
17020 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17022 arg1
= wxString_in_helper(swig_obj
[0]);
17023 if (arg1
== NULL
) SWIG_fail
;
17027 arg2
= wxString_in_helper(swig_obj
[1]);
17028 if (arg2
== NULL
) SWIG_fail
;
17032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17033 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17034 wxPyEndAllowThreads(__tstate
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17066 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17067 PyObject
*resultobj
= 0;
17068 wxString
*arg1
= 0 ;
17069 wxString
*arg2
= 0 ;
17072 bool temp1
= false ;
17073 bool temp2
= false ;
17077 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17079 arg1
= wxString_in_helper(swig_obj
[0]);
17080 if (arg1
== NULL
) SWIG_fail
;
17084 arg2
= wxString_in_helper(swig_obj
[1]);
17085 if (arg2
== NULL
) SWIG_fail
;
17088 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17089 if (!SWIG_IsOK(ecode3
)) {
17090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17092 arg3
= static_cast< size_t >(val3
);
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17096 wxPyEndAllowThreads(__tstate
);
17097 if (PyErr_Occurred()) SWIG_fail
;
17101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17128 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17129 PyObject
*resultobj
= 0;
17130 wxString
*arg1
= 0 ;
17131 wxString
*arg2
= 0 ;
17133 wxString
*arg4
= 0 ;
17135 bool temp1
= false ;
17136 bool temp2
= false ;
17139 bool temp4
= false ;
17141 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17143 arg1
= wxString_in_helper(swig_obj
[0]);
17144 if (arg1
== NULL
) SWIG_fail
;
17148 arg2
= wxString_in_helper(swig_obj
[1]);
17149 if (arg2
== NULL
) SWIG_fail
;
17152 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17153 if (!SWIG_IsOK(ecode3
)) {
17154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17156 arg3
= static_cast< size_t >(val3
);
17158 arg4
= wxString_in_helper(swig_obj
[3]);
17159 if (arg4
== NULL
) SWIG_fail
;
17163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17165 wxPyEndAllowThreads(__tstate
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17170 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17172 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17205 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17209 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17212 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17215 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17218 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17221 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17225 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17230 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17231 PyObject
*resultobj
= 0;
17232 wxEncodingConverter
*result
= 0 ;
17234 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17237 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17238 wxPyEndAllowThreads(__tstate
);
17239 if (PyErr_Occurred()) SWIG_fail
;
17241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17248 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17249 PyObject
*resultobj
= 0;
17250 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17253 PyObject
*swig_obj
[1] ;
17255 if (!args
) SWIG_fail
;
17256 swig_obj
[0] = args
;
17257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17258 if (!SWIG_IsOK(res1
)) {
17259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17261 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17266 wxPyEndAllowThreads(__tstate
);
17267 if (PyErr_Occurred()) SWIG_fail
;
17269 resultobj
= SWIG_Py_Void();
17276 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17277 PyObject
*resultobj
= 0;
17278 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17279 wxFontEncoding arg2
;
17280 wxFontEncoding arg3
;
17281 int arg4
= (int) wxCONVERT_STRICT
;
17291 PyObject
* obj0
= 0 ;
17292 PyObject
* obj1
= 0 ;
17293 PyObject
* obj2
= 0 ;
17294 PyObject
* obj3
= 0 ;
17295 char * kwnames
[] = {
17296 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17301 if (!SWIG_IsOK(res1
)) {
17302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17304 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17306 if (!SWIG_IsOK(ecode2
)) {
17307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17309 arg2
= static_cast< wxFontEncoding
>(val2
);
17310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17311 if (!SWIG_IsOK(ecode3
)) {
17312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17314 arg3
= static_cast< wxFontEncoding
>(val3
);
17316 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17317 if (!SWIG_IsOK(ecode4
)) {
17318 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17320 arg4
= static_cast< int >(val4
);
17323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17324 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17325 wxPyEndAllowThreads(__tstate
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17337 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17338 PyObject
*resultobj
= 0;
17339 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17340 wxString
*arg2
= 0 ;
17344 bool temp2
= false ;
17345 PyObject
* obj0
= 0 ;
17346 PyObject
* obj1
= 0 ;
17347 char * kwnames
[] = {
17348 (char *) "self",(char *) "input", NULL
17351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17353 if (!SWIG_IsOK(res1
)) {
17354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17356 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17358 arg2
= wxString_in_helper(obj1
);
17359 if (arg2
== NULL
) SWIG_fail
;
17363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17364 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17365 wxPyEndAllowThreads(__tstate
);
17366 if (PyErr_Occurred()) SWIG_fail
;
17370 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17372 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17389 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17390 PyObject
*resultobj
= 0;
17391 wxFontEncoding arg1
;
17392 int arg2
= (int) wxPLATFORM_CURRENT
;
17393 wxFontEncodingArray result
;
17398 PyObject
* obj0
= 0 ;
17399 PyObject
* obj1
= 0 ;
17400 char * kwnames
[] = {
17401 (char *) "enc",(char *) "platform", NULL
17404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17405 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17406 if (!SWIG_IsOK(ecode1
)) {
17407 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17409 arg1
= static_cast< wxFontEncoding
>(val1
);
17411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17412 if (!SWIG_IsOK(ecode2
)) {
17413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17415 arg2
= static_cast< int >(val2
);
17418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17419 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17420 wxPyEndAllowThreads(__tstate
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17424 resultobj
= PyList_New(0);
17425 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17426 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17427 PyList_Append(resultobj
, number
);
17437 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17438 PyObject
*resultobj
= 0;
17439 wxFontEncoding arg1
;
17440 wxFontEncodingArray result
;
17443 PyObject
* obj0
= 0 ;
17444 char * kwnames
[] = {
17445 (char *) "enc", NULL
17448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17449 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17450 if (!SWIG_IsOK(ecode1
)) {
17451 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17453 arg1
= static_cast< wxFontEncoding
>(val1
);
17455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17456 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17457 wxPyEndAllowThreads(__tstate
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17461 resultobj
= PyList_New(0);
17462 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17463 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17464 PyList_Append(resultobj
, number
);
17474 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17475 PyObject
*resultobj
= 0;
17476 wxFontEncoding arg1
;
17477 wxFontEncoding arg2
;
17483 PyObject
* obj0
= 0 ;
17484 PyObject
* obj1
= 0 ;
17485 char * kwnames
[] = {
17486 (char *) "encIn",(char *) "encOut", NULL
17489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17490 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17491 if (!SWIG_IsOK(ecode1
)) {
17492 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17494 arg1
= static_cast< wxFontEncoding
>(val1
);
17495 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17496 if (!SWIG_IsOK(ecode2
)) {
17497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17499 arg2
= static_cast< wxFontEncoding
>(val2
);
17501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17502 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17503 wxPyEndAllowThreads(__tstate
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17515 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17517 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17518 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17519 return SWIG_Py_Void();
17522 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17523 return SWIG_Python_InitShadowInstance(args
);
17526 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17527 PyObject
*resultobj
= 0;
17528 wxDC
*arg1
= (wxDC
*) 0 ;
17531 PyObject
*swig_obj
[1] ;
17533 if (!args
) SWIG_fail
;
17534 swig_obj
[0] = args
;
17535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17536 if (!SWIG_IsOK(res1
)) {
17537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17539 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17544 wxPyEndAllowThreads(__tstate
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17547 resultobj
= SWIG_Py_Void();
17554 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17555 PyObject
*resultobj
= 0;
17556 wxDC
*arg1
= (wxDC
*) 0 ;
17559 wxColour
*arg4
= 0 ;
17560 int arg5
= (int) wxFLOOD_SURFACE
;
17571 PyObject
* obj0
= 0 ;
17572 PyObject
* obj1
= 0 ;
17573 PyObject
* obj2
= 0 ;
17574 PyObject
* obj3
= 0 ;
17575 PyObject
* obj4
= 0 ;
17576 char * kwnames
[] = {
17577 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17582 if (!SWIG_IsOK(res1
)) {
17583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17585 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17587 if (!SWIG_IsOK(ecode2
)) {
17588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17590 arg2
= static_cast< int >(val2
);
17591 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17592 if (!SWIG_IsOK(ecode3
)) {
17593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17595 arg3
= static_cast< int >(val3
);
17598 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17601 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17602 if (!SWIG_IsOK(ecode5
)) {
17603 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17605 arg5
= static_cast< int >(val5
);
17608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17609 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17610 wxPyEndAllowThreads(__tstate
);
17611 if (PyErr_Occurred()) SWIG_fail
;
17614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17622 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17623 PyObject
*resultobj
= 0;
17624 wxDC
*arg1
= (wxDC
*) 0 ;
17625 wxPoint
*arg2
= 0 ;
17626 wxColour
*arg3
= 0 ;
17627 int arg4
= (int) wxFLOOD_SURFACE
;
17635 PyObject
* obj0
= 0 ;
17636 PyObject
* obj1
= 0 ;
17637 PyObject
* obj2
= 0 ;
17638 PyObject
* obj3
= 0 ;
17639 char * kwnames
[] = {
17640 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17645 if (!SWIG_IsOK(res1
)) {
17646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17648 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17651 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17655 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17658 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17659 if (!SWIG_IsOK(ecode4
)) {
17660 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17662 arg4
= static_cast< int >(val4
);
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17667 wxPyEndAllowThreads(__tstate
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17679 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17680 PyObject
*resultobj
= 0;
17681 wxDC
*arg1
= (wxDC
*) 0 ;
17683 wxColour
*arg3
= 0 ;
17684 wxColour
*arg4
= 0 ;
17685 wxPoint
*arg5
= 0 ;
17692 PyObject
* obj0
= 0 ;
17693 PyObject
* obj1
= 0 ;
17694 PyObject
* obj2
= 0 ;
17695 PyObject
* obj3
= 0 ;
17696 PyObject
* obj4
= 0 ;
17697 char * kwnames
[] = {
17698 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17703 if (!SWIG_IsOK(res1
)) {
17704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17706 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17709 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17713 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17717 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17721 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17725 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17726 wxPyEndAllowThreads(__tstate
);
17727 if (PyErr_Occurred()) SWIG_fail
;
17729 resultobj
= SWIG_Py_Void();
17736 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17737 PyObject
*resultobj
= 0;
17738 wxDC
*arg1
= (wxDC
*) 0 ;
17740 wxColour
*arg3
= 0 ;
17741 wxColour
*arg4
= 0 ;
17742 wxDirection arg5
= (wxDirection
) wxEAST
;
17750 PyObject
* obj0
= 0 ;
17751 PyObject
* obj1
= 0 ;
17752 PyObject
* obj2
= 0 ;
17753 PyObject
* obj3
= 0 ;
17754 PyObject
* obj4
= 0 ;
17755 char * kwnames
[] = {
17756 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17761 if (!SWIG_IsOK(res1
)) {
17762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17764 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17767 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17771 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17775 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17778 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17779 if (!SWIG_IsOK(ecode5
)) {
17780 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17782 arg5
= static_cast< wxDirection
>(val5
);
17785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17786 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17787 wxPyEndAllowThreads(__tstate
);
17788 if (PyErr_Occurred()) SWIG_fail
;
17790 resultobj
= SWIG_Py_Void();
17797 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17798 PyObject
*resultobj
= 0;
17799 wxDC
*arg1
= (wxDC
*) 0 ;
17809 PyObject
* obj0
= 0 ;
17810 PyObject
* obj1
= 0 ;
17811 PyObject
* obj2
= 0 ;
17812 char * kwnames
[] = {
17813 (char *) "self",(char *) "x",(char *) "y", NULL
17816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17818 if (!SWIG_IsOK(res1
)) {
17819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17821 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17823 if (!SWIG_IsOK(ecode2
)) {
17824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17826 arg2
= static_cast< int >(val2
);
17827 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17828 if (!SWIG_IsOK(ecode3
)) {
17829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17831 arg3
= static_cast< int >(val3
);
17833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17834 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17835 wxPyEndAllowThreads(__tstate
);
17836 if (PyErr_Occurred()) SWIG_fail
;
17838 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17845 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17846 PyObject
*resultobj
= 0;
17847 wxDC
*arg1
= (wxDC
*) 0 ;
17848 wxPoint
*arg2
= 0 ;
17853 PyObject
* obj0
= 0 ;
17854 PyObject
* obj1
= 0 ;
17855 char * kwnames
[] = {
17856 (char *) "self",(char *) "pt", NULL
17859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17861 if (!SWIG_IsOK(res1
)) {
17862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17864 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17867 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17871 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17872 wxPyEndAllowThreads(__tstate
);
17873 if (PyErr_Occurred()) SWIG_fail
;
17875 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17882 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17883 PyObject
*resultobj
= 0;
17884 wxDC
*arg1
= (wxDC
*) 0 ;
17899 PyObject
* obj0
= 0 ;
17900 PyObject
* obj1
= 0 ;
17901 PyObject
* obj2
= 0 ;
17902 PyObject
* obj3
= 0 ;
17903 PyObject
* obj4
= 0 ;
17904 char * kwnames
[] = {
17905 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17910 if (!SWIG_IsOK(res1
)) {
17911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17913 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17915 if (!SWIG_IsOK(ecode2
)) {
17916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17918 arg2
= static_cast< int >(val2
);
17919 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17920 if (!SWIG_IsOK(ecode3
)) {
17921 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17923 arg3
= static_cast< int >(val3
);
17924 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17925 if (!SWIG_IsOK(ecode4
)) {
17926 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17928 arg4
= static_cast< int >(val4
);
17929 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17930 if (!SWIG_IsOK(ecode5
)) {
17931 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17933 arg5
= static_cast< int >(val5
);
17935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17936 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17937 wxPyEndAllowThreads(__tstate
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17940 resultobj
= SWIG_Py_Void();
17947 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17948 PyObject
*resultobj
= 0;
17949 wxDC
*arg1
= (wxDC
*) 0 ;
17950 wxPoint
*arg2
= 0 ;
17951 wxPoint
*arg3
= 0 ;
17956 PyObject
* obj0
= 0 ;
17957 PyObject
* obj1
= 0 ;
17958 PyObject
* obj2
= 0 ;
17959 char * kwnames
[] = {
17960 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17965 if (!SWIG_IsOK(res1
)) {
17966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17968 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17971 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17975 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17979 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17980 wxPyEndAllowThreads(__tstate
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17983 resultobj
= SWIG_Py_Void();
17990 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17991 PyObject
*resultobj
= 0;
17992 wxDC
*arg1
= (wxDC
*) 0 ;
18001 PyObject
* obj0
= 0 ;
18002 PyObject
* obj1
= 0 ;
18003 PyObject
* obj2
= 0 ;
18004 char * kwnames
[] = {
18005 (char *) "self",(char *) "x",(char *) "y", NULL
18008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18010 if (!SWIG_IsOK(res1
)) {
18011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18013 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18015 if (!SWIG_IsOK(ecode2
)) {
18016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18018 arg2
= static_cast< int >(val2
);
18019 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18020 if (!SWIG_IsOK(ecode3
)) {
18021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18023 arg3
= static_cast< int >(val3
);
18025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18026 (arg1
)->CrossHair(arg2
,arg3
);
18027 wxPyEndAllowThreads(__tstate
);
18028 if (PyErr_Occurred()) SWIG_fail
;
18030 resultobj
= SWIG_Py_Void();
18037 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18038 PyObject
*resultobj
= 0;
18039 wxDC
*arg1
= (wxDC
*) 0 ;
18040 wxPoint
*arg2
= 0 ;
18044 PyObject
* obj0
= 0 ;
18045 PyObject
* obj1
= 0 ;
18046 char * kwnames
[] = {
18047 (char *) "self",(char *) "pt", NULL
18050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18052 if (!SWIG_IsOK(res1
)) {
18053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18055 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18058 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18062 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18063 wxPyEndAllowThreads(__tstate
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18066 resultobj
= SWIG_Py_Void();
18073 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18074 PyObject
*resultobj
= 0;
18075 wxDC
*arg1
= (wxDC
*) 0 ;
18096 PyObject
* obj0
= 0 ;
18097 PyObject
* obj1
= 0 ;
18098 PyObject
* obj2
= 0 ;
18099 PyObject
* obj3
= 0 ;
18100 PyObject
* obj4
= 0 ;
18101 PyObject
* obj5
= 0 ;
18102 PyObject
* obj6
= 0 ;
18103 char * kwnames
[] = {
18104 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18109 if (!SWIG_IsOK(res1
)) {
18110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18112 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18114 if (!SWIG_IsOK(ecode2
)) {
18115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18117 arg2
= static_cast< int >(val2
);
18118 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18119 if (!SWIG_IsOK(ecode3
)) {
18120 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18122 arg3
= static_cast< int >(val3
);
18123 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18124 if (!SWIG_IsOK(ecode4
)) {
18125 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18127 arg4
= static_cast< int >(val4
);
18128 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18129 if (!SWIG_IsOK(ecode5
)) {
18130 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18132 arg5
= static_cast< int >(val5
);
18133 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18134 if (!SWIG_IsOK(ecode6
)) {
18135 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18137 arg6
= static_cast< int >(val6
);
18138 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18139 if (!SWIG_IsOK(ecode7
)) {
18140 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18142 arg7
= static_cast< int >(val7
);
18144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18145 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18146 wxPyEndAllowThreads(__tstate
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18149 resultobj
= SWIG_Py_Void();
18156 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18157 PyObject
*resultobj
= 0;
18158 wxDC
*arg1
= (wxDC
*) 0 ;
18159 wxPoint
*arg2
= 0 ;
18160 wxPoint
*arg3
= 0 ;
18161 wxPoint
*arg4
= 0 ;
18167 PyObject
* obj0
= 0 ;
18168 PyObject
* obj1
= 0 ;
18169 PyObject
* obj2
= 0 ;
18170 PyObject
* obj3
= 0 ;
18171 char * kwnames
[] = {
18172 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18177 if (!SWIG_IsOK(res1
)) {
18178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18180 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18183 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18187 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18191 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18195 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18196 wxPyEndAllowThreads(__tstate
);
18197 if (PyErr_Occurred()) SWIG_fail
;
18199 resultobj
= SWIG_Py_Void();
18206 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18207 PyObject
*resultobj
= 0;
18208 wxDC
*arg1
= (wxDC
*) 0 ;
18223 PyObject
* obj0
= 0 ;
18224 PyObject
* obj1
= 0 ;
18225 PyObject
* obj2
= 0 ;
18226 PyObject
* obj3
= 0 ;
18227 PyObject
* obj4
= 0 ;
18228 char * kwnames
[] = {
18229 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18234 if (!SWIG_IsOK(res1
)) {
18235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18237 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18239 if (!SWIG_IsOK(ecode2
)) {
18240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18242 arg2
= static_cast< int >(val2
);
18243 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18244 if (!SWIG_IsOK(ecode3
)) {
18245 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18247 arg3
= static_cast< int >(val3
);
18248 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18249 if (!SWIG_IsOK(ecode4
)) {
18250 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18252 arg4
= static_cast< int >(val4
);
18253 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18254 if (!SWIG_IsOK(ecode5
)) {
18255 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18257 arg5
= static_cast< int >(val5
);
18259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18260 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18261 wxPyEndAllowThreads(__tstate
);
18262 if (PyErr_Occurred()) SWIG_fail
;
18264 resultobj
= SWIG_Py_Void();
18271 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18272 PyObject
*resultobj
= 0;
18273 wxDC
*arg1
= (wxDC
*) 0 ;
18278 PyObject
* obj0
= 0 ;
18279 PyObject
* obj1
= 0 ;
18280 char * kwnames
[] = {
18281 (char *) "self",(char *) "rect", NULL
18284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18286 if (!SWIG_IsOK(res1
)) {
18287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18289 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18292 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18297 wxPyEndAllowThreads(__tstate
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18300 resultobj
= SWIG_Py_Void();
18307 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18308 PyObject
*resultobj
= 0;
18309 wxDC
*arg1
= (wxDC
*) 0 ;
18330 PyObject
* obj0
= 0 ;
18331 PyObject
* obj1
= 0 ;
18332 PyObject
* obj2
= 0 ;
18333 PyObject
* obj3
= 0 ;
18334 PyObject
* obj4
= 0 ;
18335 PyObject
* obj5
= 0 ;
18336 PyObject
* obj6
= 0 ;
18337 char * kwnames
[] = {
18338 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18343 if (!SWIG_IsOK(res1
)) {
18344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18346 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18348 if (!SWIG_IsOK(ecode2
)) {
18349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18351 arg2
= static_cast< int >(val2
);
18352 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18353 if (!SWIG_IsOK(ecode3
)) {
18354 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18356 arg3
= static_cast< int >(val3
);
18357 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18358 if (!SWIG_IsOK(ecode4
)) {
18359 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18361 arg4
= static_cast< int >(val4
);
18362 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18363 if (!SWIG_IsOK(ecode5
)) {
18364 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18366 arg5
= static_cast< int >(val5
);
18367 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18368 if (!SWIG_IsOK(ecode6
)) {
18369 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18371 arg6
= static_cast< double >(val6
);
18372 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18373 if (!SWIG_IsOK(ecode7
)) {
18374 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18376 arg7
= static_cast< double >(val7
);
18378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18379 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18380 wxPyEndAllowThreads(__tstate
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18383 resultobj
= SWIG_Py_Void();
18390 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18391 PyObject
*resultobj
= 0;
18392 wxDC
*arg1
= (wxDC
*) 0 ;
18393 wxPoint
*arg2
= 0 ;
18405 PyObject
* obj0
= 0 ;
18406 PyObject
* obj1
= 0 ;
18407 PyObject
* obj2
= 0 ;
18408 PyObject
* obj3
= 0 ;
18409 PyObject
* obj4
= 0 ;
18410 char * kwnames
[] = {
18411 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18416 if (!SWIG_IsOK(res1
)) {
18417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18419 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18422 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18426 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18428 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18429 if (!SWIG_IsOK(ecode4
)) {
18430 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18432 arg4
= static_cast< double >(val4
);
18433 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18434 if (!SWIG_IsOK(ecode5
)) {
18435 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18437 arg5
= static_cast< double >(val5
);
18439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18440 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18441 wxPyEndAllowThreads(__tstate
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18444 resultobj
= SWIG_Py_Void();
18451 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18452 PyObject
*resultobj
= 0;
18453 wxDC
*arg1
= (wxDC
*) 0 ;
18462 PyObject
* obj0
= 0 ;
18463 PyObject
* obj1
= 0 ;
18464 PyObject
* obj2
= 0 ;
18465 char * kwnames
[] = {
18466 (char *) "self",(char *) "x",(char *) "y", NULL
18469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18471 if (!SWIG_IsOK(res1
)) {
18472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18474 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18476 if (!SWIG_IsOK(ecode2
)) {
18477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18479 arg2
= static_cast< int >(val2
);
18480 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18481 if (!SWIG_IsOK(ecode3
)) {
18482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18484 arg3
= static_cast< int >(val3
);
18486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18487 (arg1
)->DrawPoint(arg2
,arg3
);
18488 wxPyEndAllowThreads(__tstate
);
18489 if (PyErr_Occurred()) SWIG_fail
;
18491 resultobj
= SWIG_Py_Void();
18498 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18499 PyObject
*resultobj
= 0;
18500 wxDC
*arg1
= (wxDC
*) 0 ;
18501 wxPoint
*arg2
= 0 ;
18505 PyObject
* obj0
= 0 ;
18506 PyObject
* obj1
= 0 ;
18507 char * kwnames
[] = {
18508 (char *) "self",(char *) "pt", NULL
18511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18513 if (!SWIG_IsOK(res1
)) {
18514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18516 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18519 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18523 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18524 wxPyEndAllowThreads(__tstate
);
18525 if (PyErr_Occurred()) SWIG_fail
;
18527 resultobj
= SWIG_Py_Void();
18534 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18535 PyObject
*resultobj
= 0;
18536 wxDC
*arg1
= (wxDC
*) 0 ;
18551 PyObject
* obj0
= 0 ;
18552 PyObject
* obj1
= 0 ;
18553 PyObject
* obj2
= 0 ;
18554 PyObject
* obj3
= 0 ;
18555 PyObject
* obj4
= 0 ;
18556 char * kwnames
[] = {
18557 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18562 if (!SWIG_IsOK(res1
)) {
18563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18565 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18567 if (!SWIG_IsOK(ecode2
)) {
18568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18570 arg2
= static_cast< int >(val2
);
18571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18572 if (!SWIG_IsOK(ecode3
)) {
18573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18575 arg3
= static_cast< int >(val3
);
18576 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18577 if (!SWIG_IsOK(ecode4
)) {
18578 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18580 arg4
= static_cast< int >(val4
);
18581 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18582 if (!SWIG_IsOK(ecode5
)) {
18583 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18585 arg5
= static_cast< int >(val5
);
18587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18588 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18589 wxPyEndAllowThreads(__tstate
);
18590 if (PyErr_Occurred()) SWIG_fail
;
18592 resultobj
= SWIG_Py_Void();
18599 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18600 PyObject
*resultobj
= 0;
18601 wxDC
*arg1
= (wxDC
*) 0 ;
18606 PyObject
* obj0
= 0 ;
18607 PyObject
* obj1
= 0 ;
18608 char * kwnames
[] = {
18609 (char *) "self",(char *) "rect", NULL
18612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18614 if (!SWIG_IsOK(res1
)) {
18615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18617 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18620 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18624 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18625 wxPyEndAllowThreads(__tstate
);
18626 if (PyErr_Occurred()) SWIG_fail
;
18628 resultobj
= SWIG_Py_Void();
18635 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18636 PyObject
*resultobj
= 0;
18637 wxDC
*arg1
= (wxDC
*) 0 ;
18638 wxPoint
*arg2
= 0 ;
18644 PyObject
* obj0
= 0 ;
18645 PyObject
* obj1
= 0 ;
18646 PyObject
* obj2
= 0 ;
18647 char * kwnames
[] = {
18648 (char *) "self",(char *) "pt",(char *) "sz", NULL
18651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18653 if (!SWIG_IsOK(res1
)) {
18654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18656 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18659 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18663 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18667 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18668 wxPyEndAllowThreads(__tstate
);
18669 if (PyErr_Occurred()) SWIG_fail
;
18671 resultobj
= SWIG_Py_Void();
18678 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18679 PyObject
*resultobj
= 0;
18680 wxDC
*arg1
= (wxDC
*) 0 ;
18698 PyObject
* obj0
= 0 ;
18699 PyObject
* obj1
= 0 ;
18700 PyObject
* obj2
= 0 ;
18701 PyObject
* obj3
= 0 ;
18702 PyObject
* obj4
= 0 ;
18703 PyObject
* obj5
= 0 ;
18704 char * kwnames
[] = {
18705 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18710 if (!SWIG_IsOK(res1
)) {
18711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18713 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18715 if (!SWIG_IsOK(ecode2
)) {
18716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18718 arg2
= static_cast< int >(val2
);
18719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18720 if (!SWIG_IsOK(ecode3
)) {
18721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18723 arg3
= static_cast< int >(val3
);
18724 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18725 if (!SWIG_IsOK(ecode4
)) {
18726 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18728 arg4
= static_cast< int >(val4
);
18729 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18730 if (!SWIG_IsOK(ecode5
)) {
18731 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18733 arg5
= static_cast< int >(val5
);
18734 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18735 if (!SWIG_IsOK(ecode6
)) {
18736 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18738 arg6
= static_cast< double >(val6
);
18740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18741 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18742 wxPyEndAllowThreads(__tstate
);
18743 if (PyErr_Occurred()) SWIG_fail
;
18745 resultobj
= SWIG_Py_Void();
18752 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18753 PyObject
*resultobj
= 0;
18754 wxDC
*arg1
= (wxDC
*) 0 ;
18762 PyObject
* obj0
= 0 ;
18763 PyObject
* obj1
= 0 ;
18764 PyObject
* obj2
= 0 ;
18765 char * kwnames
[] = {
18766 (char *) "self",(char *) "r",(char *) "radius", NULL
18769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18771 if (!SWIG_IsOK(res1
)) {
18772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18774 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18777 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18779 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18780 if (!SWIG_IsOK(ecode3
)) {
18781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18783 arg3
= static_cast< double >(val3
);
18785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18786 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18787 wxPyEndAllowThreads(__tstate
);
18788 if (PyErr_Occurred()) SWIG_fail
;
18790 resultobj
= SWIG_Py_Void();
18797 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18798 PyObject
*resultobj
= 0;
18799 wxDC
*arg1
= (wxDC
*) 0 ;
18800 wxPoint
*arg2
= 0 ;
18809 PyObject
* obj0
= 0 ;
18810 PyObject
* obj1
= 0 ;
18811 PyObject
* obj2
= 0 ;
18812 PyObject
* obj3
= 0 ;
18813 char * kwnames
[] = {
18814 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18819 if (!SWIG_IsOK(res1
)) {
18820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18822 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18825 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18829 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18831 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18832 if (!SWIG_IsOK(ecode4
)) {
18833 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18835 arg4
= static_cast< double >(val4
);
18837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18838 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18839 wxPyEndAllowThreads(__tstate
);
18840 if (PyErr_Occurred()) SWIG_fail
;
18842 resultobj
= SWIG_Py_Void();
18849 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18850 PyObject
*resultobj
= 0;
18851 wxDC
*arg1
= (wxDC
*) 0 ;
18863 PyObject
* obj0
= 0 ;
18864 PyObject
* obj1
= 0 ;
18865 PyObject
* obj2
= 0 ;
18866 PyObject
* obj3
= 0 ;
18867 char * kwnames
[] = {
18868 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18873 if (!SWIG_IsOK(res1
)) {
18874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18876 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18877 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18878 if (!SWIG_IsOK(ecode2
)) {
18879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18881 arg2
= static_cast< int >(val2
);
18882 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18883 if (!SWIG_IsOK(ecode3
)) {
18884 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18886 arg3
= static_cast< int >(val3
);
18887 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18888 if (!SWIG_IsOK(ecode4
)) {
18889 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18891 arg4
= static_cast< int >(val4
);
18893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18894 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18895 wxPyEndAllowThreads(__tstate
);
18896 if (PyErr_Occurred()) SWIG_fail
;
18898 resultobj
= SWIG_Py_Void();
18905 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18906 PyObject
*resultobj
= 0;
18907 wxDC
*arg1
= (wxDC
*) 0 ;
18908 wxPoint
*arg2
= 0 ;
18915 PyObject
* obj0
= 0 ;
18916 PyObject
* obj1
= 0 ;
18917 PyObject
* obj2
= 0 ;
18918 char * kwnames
[] = {
18919 (char *) "self",(char *) "pt",(char *) "radius", NULL
18922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18924 if (!SWIG_IsOK(res1
)) {
18925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18927 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18930 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18932 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18933 if (!SWIG_IsOK(ecode3
)) {
18934 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18936 arg3
= static_cast< int >(val3
);
18938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18939 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18940 wxPyEndAllowThreads(__tstate
);
18941 if (PyErr_Occurred()) SWIG_fail
;
18943 resultobj
= SWIG_Py_Void();
18950 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18951 PyObject
*resultobj
= 0;
18952 wxDC
*arg1
= (wxDC
*) 0 ;
18967 PyObject
* obj0
= 0 ;
18968 PyObject
* obj1
= 0 ;
18969 PyObject
* obj2
= 0 ;
18970 PyObject
* obj3
= 0 ;
18971 PyObject
* obj4
= 0 ;
18972 char * kwnames
[] = {
18973 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18978 if (!SWIG_IsOK(res1
)) {
18979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18981 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18983 if (!SWIG_IsOK(ecode2
)) {
18984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18986 arg2
= static_cast< int >(val2
);
18987 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18988 if (!SWIG_IsOK(ecode3
)) {
18989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18991 arg3
= static_cast< int >(val3
);
18992 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18993 if (!SWIG_IsOK(ecode4
)) {
18994 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18996 arg4
= static_cast< int >(val4
);
18997 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18998 if (!SWIG_IsOK(ecode5
)) {
18999 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19001 arg5
= static_cast< int >(val5
);
19003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19004 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19005 wxPyEndAllowThreads(__tstate
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19008 resultobj
= SWIG_Py_Void();
19015 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19016 PyObject
*resultobj
= 0;
19017 wxDC
*arg1
= (wxDC
*) 0 ;
19022 PyObject
* obj0
= 0 ;
19023 PyObject
* obj1
= 0 ;
19024 char * kwnames
[] = {
19025 (char *) "self",(char *) "rect", NULL
19028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19030 if (!SWIG_IsOK(res1
)) {
19031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19033 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19036 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19040 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19041 wxPyEndAllowThreads(__tstate
);
19042 if (PyErr_Occurred()) SWIG_fail
;
19044 resultobj
= SWIG_Py_Void();
19051 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19052 PyObject
*resultobj
= 0;
19053 wxDC
*arg1
= (wxDC
*) 0 ;
19054 wxPoint
*arg2
= 0 ;
19060 PyObject
* obj0
= 0 ;
19061 PyObject
* obj1
= 0 ;
19062 PyObject
* obj2
= 0 ;
19063 char * kwnames
[] = {
19064 (char *) "self",(char *) "pt",(char *) "sz", NULL
19067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19069 if (!SWIG_IsOK(res1
)) {
19070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19072 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19075 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19079 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19083 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19084 wxPyEndAllowThreads(__tstate
);
19085 if (PyErr_Occurred()) SWIG_fail
;
19087 resultobj
= SWIG_Py_Void();
19094 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19095 PyObject
*resultobj
= 0;
19096 wxDC
*arg1
= (wxDC
*) 0 ;
19108 PyObject
* obj0
= 0 ;
19109 PyObject
* obj1
= 0 ;
19110 PyObject
* obj2
= 0 ;
19111 PyObject
* obj3
= 0 ;
19112 char * kwnames
[] = {
19113 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19118 if (!SWIG_IsOK(res1
)) {
19119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19121 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19122 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19123 if (!SWIG_IsOK(res2
)) {
19124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19127 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19129 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19130 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19131 if (!SWIG_IsOK(ecode3
)) {
19132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19134 arg3
= static_cast< int >(val3
);
19135 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19136 if (!SWIG_IsOK(ecode4
)) {
19137 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19139 arg4
= static_cast< int >(val4
);
19141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19142 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19143 wxPyEndAllowThreads(__tstate
);
19144 if (PyErr_Occurred()) SWIG_fail
;
19146 resultobj
= SWIG_Py_Void();
19153 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19154 PyObject
*resultobj
= 0;
19155 wxDC
*arg1
= (wxDC
*) 0 ;
19157 wxPoint
*arg3
= 0 ;
19163 PyObject
* obj0
= 0 ;
19164 PyObject
* obj1
= 0 ;
19165 PyObject
* obj2
= 0 ;
19166 char * kwnames
[] = {
19167 (char *) "self",(char *) "icon",(char *) "pt", NULL
19170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19172 if (!SWIG_IsOK(res1
)) {
19173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19175 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19176 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19177 if (!SWIG_IsOK(res2
)) {
19178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19183 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19186 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19190 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19191 wxPyEndAllowThreads(__tstate
);
19192 if (PyErr_Occurred()) SWIG_fail
;
19194 resultobj
= SWIG_Py_Void();
19201 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19202 PyObject
*resultobj
= 0;
19203 wxDC
*arg1
= (wxDC
*) 0 ;
19204 wxBitmap
*arg2
= 0 ;
19207 bool arg5
= (bool) false ;
19218 PyObject
* obj0
= 0 ;
19219 PyObject
* obj1
= 0 ;
19220 PyObject
* obj2
= 0 ;
19221 PyObject
* obj3
= 0 ;
19222 PyObject
* obj4
= 0 ;
19223 char * kwnames
[] = {
19224 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19229 if (!SWIG_IsOK(res1
)) {
19230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19232 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19233 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19234 if (!SWIG_IsOK(res2
)) {
19235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19238 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19240 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19241 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19242 if (!SWIG_IsOK(ecode3
)) {
19243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19245 arg3
= static_cast< int >(val3
);
19246 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19247 if (!SWIG_IsOK(ecode4
)) {
19248 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19250 arg4
= static_cast< int >(val4
);
19252 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19253 if (!SWIG_IsOK(ecode5
)) {
19254 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19256 arg5
= static_cast< bool >(val5
);
19259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19260 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19261 wxPyEndAllowThreads(__tstate
);
19262 if (PyErr_Occurred()) SWIG_fail
;
19264 resultobj
= SWIG_Py_Void();
19271 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19272 PyObject
*resultobj
= 0;
19273 wxDC
*arg1
= (wxDC
*) 0 ;
19274 wxBitmap
*arg2
= 0 ;
19275 wxPoint
*arg3
= 0 ;
19276 bool arg4
= (bool) false ;
19284 PyObject
* obj0
= 0 ;
19285 PyObject
* obj1
= 0 ;
19286 PyObject
* obj2
= 0 ;
19287 PyObject
* obj3
= 0 ;
19288 char * kwnames
[] = {
19289 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19294 if (!SWIG_IsOK(res1
)) {
19295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19297 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19298 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19299 if (!SWIG_IsOK(res2
)) {
19300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19305 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19308 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19311 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19312 if (!SWIG_IsOK(ecode4
)) {
19313 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19315 arg4
= static_cast< bool >(val4
);
19318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19319 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19320 wxPyEndAllowThreads(__tstate
);
19321 if (PyErr_Occurred()) SWIG_fail
;
19323 resultobj
= SWIG_Py_Void();
19330 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19331 PyObject
*resultobj
= 0;
19332 wxDC
*arg1
= (wxDC
*) 0 ;
19333 wxString
*arg2
= 0 ;
19338 bool temp2
= false ;
19343 PyObject
* obj0
= 0 ;
19344 PyObject
* obj1
= 0 ;
19345 PyObject
* obj2
= 0 ;
19346 PyObject
* obj3
= 0 ;
19347 char * kwnames
[] = {
19348 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19353 if (!SWIG_IsOK(res1
)) {
19354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19356 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19358 arg2
= wxString_in_helper(obj1
);
19359 if (arg2
== NULL
) SWIG_fail
;
19362 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19363 if (!SWIG_IsOK(ecode3
)) {
19364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19366 arg3
= static_cast< int >(val3
);
19367 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19368 if (!SWIG_IsOK(ecode4
)) {
19369 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19371 arg4
= static_cast< int >(val4
);
19373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19374 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19375 wxPyEndAllowThreads(__tstate
);
19376 if (PyErr_Occurred()) SWIG_fail
;
19378 resultobj
= SWIG_Py_Void();
19393 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19394 PyObject
*resultobj
= 0;
19395 wxDC
*arg1
= (wxDC
*) 0 ;
19396 wxString
*arg2
= 0 ;
19397 wxPoint
*arg3
= 0 ;
19400 bool temp2
= false ;
19402 PyObject
* obj0
= 0 ;
19403 PyObject
* obj1
= 0 ;
19404 PyObject
* obj2
= 0 ;
19405 char * kwnames
[] = {
19406 (char *) "self",(char *) "text",(char *) "pt", NULL
19409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19411 if (!SWIG_IsOK(res1
)) {
19412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19414 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19416 arg2
= wxString_in_helper(obj1
);
19417 if (arg2
== NULL
) SWIG_fail
;
19422 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19426 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19427 wxPyEndAllowThreads(__tstate
);
19428 if (PyErr_Occurred()) SWIG_fail
;
19430 resultobj
= SWIG_Py_Void();
19445 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19446 PyObject
*resultobj
= 0;
19447 wxDC
*arg1
= (wxDC
*) 0 ;
19448 wxString
*arg2
= 0 ;
19454 bool temp2
= false ;
19461 PyObject
* obj0
= 0 ;
19462 PyObject
* obj1
= 0 ;
19463 PyObject
* obj2
= 0 ;
19464 PyObject
* obj3
= 0 ;
19465 PyObject
* obj4
= 0 ;
19466 char * kwnames
[] = {
19467 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19472 if (!SWIG_IsOK(res1
)) {
19473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19475 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19477 arg2
= wxString_in_helper(obj1
);
19478 if (arg2
== NULL
) SWIG_fail
;
19481 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19482 if (!SWIG_IsOK(ecode3
)) {
19483 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19485 arg3
= static_cast< int >(val3
);
19486 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19487 if (!SWIG_IsOK(ecode4
)) {
19488 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19490 arg4
= static_cast< int >(val4
);
19491 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19492 if (!SWIG_IsOK(ecode5
)) {
19493 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19495 arg5
= static_cast< double >(val5
);
19497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19498 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19499 wxPyEndAllowThreads(__tstate
);
19500 if (PyErr_Occurred()) SWIG_fail
;
19502 resultobj
= SWIG_Py_Void();
19517 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19518 PyObject
*resultobj
= 0;
19519 wxDC
*arg1
= (wxDC
*) 0 ;
19520 wxString
*arg2
= 0 ;
19521 wxPoint
*arg3
= 0 ;
19525 bool temp2
= false ;
19529 PyObject
* obj0
= 0 ;
19530 PyObject
* obj1
= 0 ;
19531 PyObject
* obj2
= 0 ;
19532 PyObject
* obj3
= 0 ;
19533 char * kwnames
[] = {
19534 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19539 if (!SWIG_IsOK(res1
)) {
19540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19542 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19544 arg2
= wxString_in_helper(obj1
);
19545 if (arg2
== NULL
) SWIG_fail
;
19550 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19552 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19553 if (!SWIG_IsOK(ecode4
)) {
19554 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19556 arg4
= static_cast< double >(val4
);
19558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19559 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19560 wxPyEndAllowThreads(__tstate
);
19561 if (PyErr_Occurred()) SWIG_fail
;
19563 resultobj
= SWIG_Py_Void();
19578 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19579 PyObject
*resultobj
= 0;
19580 wxDC
*arg1
= (wxDC
*) 0 ;
19585 wxDC
*arg6
= (wxDC
*) 0 ;
19588 int arg9
= (int) wxCOPY
;
19589 bool arg10
= (bool) false ;
19590 int arg11
= (int) -1 ;
19591 int arg12
= (int) -1 ;
19617 PyObject
* obj0
= 0 ;
19618 PyObject
* obj1
= 0 ;
19619 PyObject
* obj2
= 0 ;
19620 PyObject
* obj3
= 0 ;
19621 PyObject
* obj4
= 0 ;
19622 PyObject
* obj5
= 0 ;
19623 PyObject
* obj6
= 0 ;
19624 PyObject
* obj7
= 0 ;
19625 PyObject
* obj8
= 0 ;
19626 PyObject
* obj9
= 0 ;
19627 PyObject
* obj10
= 0 ;
19628 PyObject
* obj11
= 0 ;
19629 char * kwnames
[] = {
19630 (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
19633 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
;
19634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19635 if (!SWIG_IsOK(res1
)) {
19636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19638 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19640 if (!SWIG_IsOK(ecode2
)) {
19641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19643 arg2
= static_cast< int >(val2
);
19644 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19645 if (!SWIG_IsOK(ecode3
)) {
19646 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19648 arg3
= static_cast< int >(val3
);
19649 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19650 if (!SWIG_IsOK(ecode4
)) {
19651 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19653 arg4
= static_cast< int >(val4
);
19654 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19655 if (!SWIG_IsOK(ecode5
)) {
19656 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19658 arg5
= static_cast< int >(val5
);
19659 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19660 if (!SWIG_IsOK(res6
)) {
19661 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19663 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19664 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19665 if (!SWIG_IsOK(ecode7
)) {
19666 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19668 arg7
= static_cast< int >(val7
);
19669 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19670 if (!SWIG_IsOK(ecode8
)) {
19671 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19673 arg8
= static_cast< int >(val8
);
19675 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19676 if (!SWIG_IsOK(ecode9
)) {
19677 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19679 arg9
= static_cast< int >(val9
);
19682 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19683 if (!SWIG_IsOK(ecode10
)) {
19684 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19686 arg10
= static_cast< bool >(val10
);
19689 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19690 if (!SWIG_IsOK(ecode11
)) {
19691 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19693 arg11
= static_cast< int >(val11
);
19696 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19697 if (!SWIG_IsOK(ecode12
)) {
19698 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19700 arg12
= static_cast< int >(val12
);
19703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19704 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19705 wxPyEndAllowThreads(__tstate
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19717 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19718 PyObject
*resultobj
= 0;
19719 wxDC
*arg1
= (wxDC
*) 0 ;
19720 wxPoint
*arg2
= 0 ;
19722 wxDC
*arg4
= (wxDC
*) 0 ;
19723 wxPoint
*arg5
= 0 ;
19724 int arg6
= (int) wxCOPY
;
19725 bool arg7
= (bool) false ;
19726 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19727 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19741 PyObject
* obj0
= 0 ;
19742 PyObject
* obj1
= 0 ;
19743 PyObject
* obj2
= 0 ;
19744 PyObject
* obj3
= 0 ;
19745 PyObject
* obj4
= 0 ;
19746 PyObject
* obj5
= 0 ;
19747 PyObject
* obj6
= 0 ;
19748 PyObject
* obj7
= 0 ;
19749 char * kwnames
[] = {
19750 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19755 if (!SWIG_IsOK(res1
)) {
19756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19758 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19761 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19765 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19767 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19768 if (!SWIG_IsOK(res4
)) {
19769 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19771 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19774 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19777 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19778 if (!SWIG_IsOK(ecode6
)) {
19779 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19781 arg6
= static_cast< int >(val6
);
19784 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19785 if (!SWIG_IsOK(ecode7
)) {
19786 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19788 arg7
= static_cast< bool >(val7
);
19793 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19798 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19799 wxPyEndAllowThreads(__tstate
);
19800 if (PyErr_Occurred()) SWIG_fail
;
19803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19811 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19812 PyObject
*resultobj
= 0;
19813 wxDC
*arg1
= (wxDC
*) 0 ;
19814 wxRect
*arg2
= (wxRect
*) NULL
;
19815 SwigValueWrapper
<wxBitmap
> result
;
19820 PyObject
* obj0
= 0 ;
19821 PyObject
* obj1
= 0 ;
19822 char * kwnames
[] = {
19823 (char *) "self",(char *) "subrect", NULL
19826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19828 if (!SWIG_IsOK(res1
)) {
19829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19831 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19833 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
19834 if (!SWIG_IsOK(res2
)) {
19835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
19837 arg2
= reinterpret_cast< wxRect
* >(argp2
);
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19841 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
19842 wxPyEndAllowThreads(__tstate
);
19843 if (PyErr_Occurred()) SWIG_fail
;
19845 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19852 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19853 PyObject
*resultobj
= 0;
19854 wxDC
*arg1
= (wxDC
*) 0 ;
19869 PyObject
* obj0
= 0 ;
19870 PyObject
* obj1
= 0 ;
19871 PyObject
* obj2
= 0 ;
19872 PyObject
* obj3
= 0 ;
19873 PyObject
* obj4
= 0 ;
19874 char * kwnames
[] = {
19875 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19880 if (!SWIG_IsOK(res1
)) {
19881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19883 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19885 if (!SWIG_IsOK(ecode2
)) {
19886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19888 arg2
= static_cast< int >(val2
);
19889 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19890 if (!SWIG_IsOK(ecode3
)) {
19891 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19893 arg3
= static_cast< int >(val3
);
19894 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19895 if (!SWIG_IsOK(ecode4
)) {
19896 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19898 arg4
= static_cast< int >(val4
);
19899 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19900 if (!SWIG_IsOK(ecode5
)) {
19901 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19903 arg5
= static_cast< int >(val5
);
19905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19906 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19907 wxPyEndAllowThreads(__tstate
);
19908 if (PyErr_Occurred()) SWIG_fail
;
19910 resultobj
= SWIG_Py_Void();
19917 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19918 PyObject
*resultobj
= 0;
19919 wxDC
*arg1
= (wxDC
*) 0 ;
19920 wxPoint
*arg2
= 0 ;
19926 PyObject
* obj0
= 0 ;
19927 PyObject
* obj1
= 0 ;
19928 PyObject
* obj2
= 0 ;
19929 char * kwnames
[] = {
19930 (char *) "self",(char *) "pt",(char *) "sz", NULL
19933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19935 if (!SWIG_IsOK(res1
)) {
19936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19938 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19941 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19945 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19949 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19950 wxPyEndAllowThreads(__tstate
);
19951 if (PyErr_Occurred()) SWIG_fail
;
19953 resultobj
= SWIG_Py_Void();
19960 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19961 PyObject
*resultobj
= 0;
19962 wxDC
*arg1
= (wxDC
*) 0 ;
19963 wxRegion
*arg2
= 0 ;
19968 PyObject
* obj0
= 0 ;
19969 PyObject
* obj1
= 0 ;
19970 char * kwnames
[] = {
19971 (char *) "self",(char *) "region", NULL
19974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19976 if (!SWIG_IsOK(res1
)) {
19977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19979 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19980 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19981 if (!SWIG_IsOK(res2
)) {
19982 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19987 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19990 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19991 wxPyEndAllowThreads(__tstate
);
19992 if (PyErr_Occurred()) SWIG_fail
;
19994 resultobj
= SWIG_Py_Void();
20001 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20002 PyObject
*resultobj
= 0;
20003 wxDC
*arg1
= (wxDC
*) 0 ;
20008 PyObject
* obj0
= 0 ;
20009 PyObject
* obj1
= 0 ;
20010 char * kwnames
[] = {
20011 (char *) "self",(char *) "rect", NULL
20014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20016 if (!SWIG_IsOK(res1
)) {
20017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20019 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20022 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20026 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20027 wxPyEndAllowThreads(__tstate
);
20028 if (PyErr_Occurred()) SWIG_fail
;
20030 resultobj
= SWIG_Py_Void();
20037 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20038 PyObject
*resultobj
= 0;
20039 wxDC
*arg1
= (wxDC
*) 0 ;
20041 wxPoint
*arg3
= (wxPoint
*) 0 ;
20042 int arg4
= (int) 0 ;
20043 int arg5
= (int) 0 ;
20050 PyObject
* obj0
= 0 ;
20051 PyObject
* obj1
= 0 ;
20052 PyObject
* obj2
= 0 ;
20053 PyObject
* obj3
= 0 ;
20054 char * kwnames
[] = {
20055 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20060 if (!SWIG_IsOK(res1
)) {
20061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20063 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20065 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20066 if (arg3
== NULL
) SWIG_fail
;
20069 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20070 if (!SWIG_IsOK(ecode4
)) {
20071 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20073 arg4
= static_cast< int >(val4
);
20076 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20077 if (!SWIG_IsOK(ecode5
)) {
20078 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20080 arg5
= static_cast< int >(val5
);
20083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20084 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20085 wxPyEndAllowThreads(__tstate
);
20086 if (PyErr_Occurred()) SWIG_fail
;
20088 resultobj
= SWIG_Py_Void();
20090 if (arg3
) delete [] arg3
;
20095 if (arg3
) delete [] arg3
;
20101 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20102 PyObject
*resultobj
= 0;
20103 wxDC
*arg1
= (wxDC
*) 0 ;
20105 wxPoint
*arg3
= (wxPoint
*) 0 ;
20106 int arg4
= (int) 0 ;
20107 int arg5
= (int) 0 ;
20108 int arg6
= (int) wxODDEVEN_RULE
;
20117 PyObject
* obj0
= 0 ;
20118 PyObject
* obj1
= 0 ;
20119 PyObject
* obj2
= 0 ;
20120 PyObject
* obj3
= 0 ;
20121 PyObject
* obj4
= 0 ;
20122 char * kwnames
[] = {
20123 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20128 if (!SWIG_IsOK(res1
)) {
20129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20131 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20133 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20134 if (arg3
== NULL
) SWIG_fail
;
20137 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20138 if (!SWIG_IsOK(ecode4
)) {
20139 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20141 arg4
= static_cast< int >(val4
);
20144 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20145 if (!SWIG_IsOK(ecode5
)) {
20146 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20148 arg5
= static_cast< int >(val5
);
20151 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20152 if (!SWIG_IsOK(ecode6
)) {
20153 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20155 arg6
= static_cast< int >(val6
);
20158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20159 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20160 wxPyEndAllowThreads(__tstate
);
20161 if (PyErr_Occurred()) SWIG_fail
;
20163 resultobj
= SWIG_Py_Void();
20165 if (arg3
) delete [] arg3
;
20170 if (arg3
) delete [] arg3
;
20176 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20177 PyObject
*resultobj
= 0;
20178 wxDC
*arg1
= (wxDC
*) 0 ;
20179 wxString
*arg2
= 0 ;
20181 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20182 int arg5
= (int) -1 ;
20185 bool temp2
= false ;
20191 PyObject
* obj0
= 0 ;
20192 PyObject
* obj1
= 0 ;
20193 PyObject
* obj2
= 0 ;
20194 PyObject
* obj3
= 0 ;
20195 PyObject
* obj4
= 0 ;
20196 char * kwnames
[] = {
20197 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20202 if (!SWIG_IsOK(res1
)) {
20203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20205 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20207 arg2
= wxString_in_helper(obj1
);
20208 if (arg2
== NULL
) SWIG_fail
;
20213 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20216 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20217 if (!SWIG_IsOK(ecode4
)) {
20218 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20220 arg4
= static_cast< int >(val4
);
20223 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20224 if (!SWIG_IsOK(ecode5
)) {
20225 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20227 arg5
= static_cast< int >(val5
);
20230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20231 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20232 wxPyEndAllowThreads(__tstate
);
20233 if (PyErr_Occurred()) SWIG_fail
;
20235 resultobj
= SWIG_Py_Void();
20250 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20251 PyObject
*resultobj
= 0;
20252 wxDC
*arg1
= (wxDC
*) 0 ;
20253 wxString
*arg2
= 0 ;
20254 wxBitmap
*arg3
= 0 ;
20256 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20257 int arg6
= (int) -1 ;
20261 bool temp2
= false ;
20269 PyObject
* obj0
= 0 ;
20270 PyObject
* obj1
= 0 ;
20271 PyObject
* obj2
= 0 ;
20272 PyObject
* obj3
= 0 ;
20273 PyObject
* obj4
= 0 ;
20274 PyObject
* obj5
= 0 ;
20275 char * kwnames
[] = {
20276 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20281 if (!SWIG_IsOK(res1
)) {
20282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20284 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20286 arg2
= wxString_in_helper(obj1
);
20287 if (arg2
== NULL
) SWIG_fail
;
20290 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20291 if (!SWIG_IsOK(res3
)) {
20292 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20295 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20297 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20300 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20303 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20304 if (!SWIG_IsOK(ecode5
)) {
20305 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20307 arg5
= static_cast< int >(val5
);
20310 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20311 if (!SWIG_IsOK(ecode6
)) {
20312 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20314 arg6
= static_cast< int >(val6
);
20317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20318 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20319 wxPyEndAllowThreads(__tstate
);
20320 if (PyErr_Occurred()) SWIG_fail
;
20322 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20337 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20338 PyObject
*resultobj
= 0;
20339 wxDC
*arg1
= (wxDC
*) 0 ;
20341 wxPoint
*arg3
= (wxPoint
*) 0 ;
20344 PyObject
* obj0
= 0 ;
20345 PyObject
* obj1
= 0 ;
20346 char * kwnames
[] = {
20347 (char *) "self",(char *) "points", NULL
20350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20352 if (!SWIG_IsOK(res1
)) {
20353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20355 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20357 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20358 if (arg3
== NULL
) SWIG_fail
;
20361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20362 (arg1
)->DrawSpline(arg2
,arg3
);
20363 wxPyEndAllowThreads(__tstate
);
20364 if (PyErr_Occurred()) SWIG_fail
;
20366 resultobj
= SWIG_Py_Void();
20368 if (arg3
) delete [] arg3
;
20373 if (arg3
) delete [] arg3
;
20379 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20380 PyObject
*resultobj
= 0;
20381 wxDC
*arg1
= (wxDC
*) 0 ;
20384 PyObject
*swig_obj
[1] ;
20386 if (!args
) SWIG_fail
;
20387 swig_obj
[0] = args
;
20388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20389 if (!SWIG_IsOK(res1
)) {
20390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20392 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20396 wxPyEndAllowThreads(__tstate
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20399 resultobj
= SWIG_Py_Void();
20406 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20407 PyObject
*resultobj
= 0;
20408 wxDC
*arg1
= (wxDC
*) 0 ;
20409 wxString
*arg2
= 0 ;
20413 bool temp2
= false ;
20414 PyObject
* obj0
= 0 ;
20415 PyObject
* obj1
= 0 ;
20416 char * kwnames
[] = {
20417 (char *) "self",(char *) "message", NULL
20420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20422 if (!SWIG_IsOK(res1
)) {
20423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20425 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20427 arg2
= wxString_in_helper(obj1
);
20428 if (arg2
== NULL
) SWIG_fail
;
20432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20433 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20434 wxPyEndAllowThreads(__tstate
);
20435 if (PyErr_Occurred()) SWIG_fail
;
20438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20454 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20455 PyObject
*resultobj
= 0;
20456 wxDC
*arg1
= (wxDC
*) 0 ;
20459 PyObject
*swig_obj
[1] ;
20461 if (!args
) SWIG_fail
;
20462 swig_obj
[0] = args
;
20463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20464 if (!SWIG_IsOK(res1
)) {
20465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20467 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20471 wxPyEndAllowThreads(__tstate
);
20472 if (PyErr_Occurred()) SWIG_fail
;
20474 resultobj
= SWIG_Py_Void();
20481 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20482 PyObject
*resultobj
= 0;
20483 wxDC
*arg1
= (wxDC
*) 0 ;
20486 PyObject
*swig_obj
[1] ;
20488 if (!args
) SWIG_fail
;
20489 swig_obj
[0] = args
;
20490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20491 if (!SWIG_IsOK(res1
)) {
20492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20494 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20497 (arg1
)->StartPage();
20498 wxPyEndAllowThreads(__tstate
);
20499 if (PyErr_Occurred()) SWIG_fail
;
20501 resultobj
= SWIG_Py_Void();
20508 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20509 PyObject
*resultobj
= 0;
20510 wxDC
*arg1
= (wxDC
*) 0 ;
20513 PyObject
*swig_obj
[1] ;
20515 if (!args
) SWIG_fail
;
20516 swig_obj
[0] = args
;
20517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20518 if (!SWIG_IsOK(res1
)) {
20519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20521 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 wxPyEndAllowThreads(__tstate
);
20526 if (PyErr_Occurred()) SWIG_fail
;
20528 resultobj
= SWIG_Py_Void();
20535 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20536 PyObject
*resultobj
= 0;
20537 wxDC
*arg1
= (wxDC
*) 0 ;
20543 PyObject
* obj0
= 0 ;
20544 PyObject
* obj1
= 0 ;
20545 char * kwnames
[] = {
20546 (char *) "self",(char *) "font", NULL
20549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20551 if (!SWIG_IsOK(res1
)) {
20552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20554 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20555 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20556 if (!SWIG_IsOK(res2
)) {
20557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20560 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20562 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20565 (arg1
)->SetFont((wxFont
const &)*arg2
);
20566 wxPyEndAllowThreads(__tstate
);
20567 if (PyErr_Occurred()) SWIG_fail
;
20569 resultobj
= SWIG_Py_Void();
20576 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20577 PyObject
*resultobj
= 0;
20578 wxDC
*arg1
= (wxDC
*) 0 ;
20584 PyObject
* obj0
= 0 ;
20585 PyObject
* obj1
= 0 ;
20586 char * kwnames
[] = {
20587 (char *) "self",(char *) "pen", NULL
20590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20592 if (!SWIG_IsOK(res1
)) {
20593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20595 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20596 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20597 if (!SWIG_IsOK(res2
)) {
20598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20603 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20606 (arg1
)->SetPen((wxPen
const &)*arg2
);
20607 wxPyEndAllowThreads(__tstate
);
20608 if (PyErr_Occurred()) SWIG_fail
;
20610 resultobj
= SWIG_Py_Void();
20617 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20618 PyObject
*resultobj
= 0;
20619 wxDC
*arg1
= (wxDC
*) 0 ;
20620 wxBrush
*arg2
= 0 ;
20625 PyObject
* obj0
= 0 ;
20626 PyObject
* obj1
= 0 ;
20627 char * kwnames
[] = {
20628 (char *) "self",(char *) "brush", NULL
20631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20633 if (!SWIG_IsOK(res1
)) {
20634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20636 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20637 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20638 if (!SWIG_IsOK(res2
)) {
20639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20642 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20644 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20647 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20648 wxPyEndAllowThreads(__tstate
);
20649 if (PyErr_Occurred()) SWIG_fail
;
20651 resultobj
= SWIG_Py_Void();
20658 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20659 PyObject
*resultobj
= 0;
20660 wxDC
*arg1
= (wxDC
*) 0 ;
20661 wxBrush
*arg2
= 0 ;
20666 PyObject
* obj0
= 0 ;
20667 PyObject
* obj1
= 0 ;
20668 char * kwnames
[] = {
20669 (char *) "self",(char *) "brush", NULL
20672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20674 if (!SWIG_IsOK(res1
)) {
20675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20677 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20678 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20679 if (!SWIG_IsOK(res2
)) {
20680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20685 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20688 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20692 resultobj
= SWIG_Py_Void();
20699 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
= 0;
20701 wxDC
*arg1
= (wxDC
*) 0 ;
20707 PyObject
* obj0
= 0 ;
20708 PyObject
* obj1
= 0 ;
20709 char * kwnames
[] = {
20710 (char *) "self",(char *) "mode", NULL
20713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20715 if (!SWIG_IsOK(res1
)) {
20716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20718 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20720 if (!SWIG_IsOK(ecode2
)) {
20721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20723 arg2
= static_cast< int >(val2
);
20725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20726 (arg1
)->SetBackgroundMode(arg2
);
20727 wxPyEndAllowThreads(__tstate
);
20728 if (PyErr_Occurred()) SWIG_fail
;
20730 resultobj
= SWIG_Py_Void();
20737 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20738 PyObject
*resultobj
= 0;
20739 wxDC
*arg1
= (wxDC
*) 0 ;
20740 wxPalette
*arg2
= 0 ;
20745 PyObject
* obj0
= 0 ;
20746 PyObject
* obj1
= 0 ;
20747 char * kwnames
[] = {
20748 (char *) "self",(char *) "palette", NULL
20751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20753 if (!SWIG_IsOK(res1
)) {
20754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20756 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20757 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20758 if (!SWIG_IsOK(res2
)) {
20759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20764 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20767 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20768 wxPyEndAllowThreads(__tstate
);
20769 if (PyErr_Occurred()) SWIG_fail
;
20771 resultobj
= SWIG_Py_Void();
20778 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20779 PyObject
*resultobj
= 0;
20780 wxDC
*arg1
= (wxDC
*) 0 ;
20783 PyObject
*swig_obj
[1] ;
20785 if (!args
) SWIG_fail
;
20786 swig_obj
[0] = args
;
20787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20788 if (!SWIG_IsOK(res1
)) {
20789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20791 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20794 (arg1
)->DestroyClippingRegion();
20795 wxPyEndAllowThreads(__tstate
);
20796 if (PyErr_Occurred()) SWIG_fail
;
20798 resultobj
= SWIG_Py_Void();
20805 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20806 PyObject
*resultobj
= 0;
20807 wxDC
*arg1
= (wxDC
*) 0 ;
20808 int *arg2
= (int *) 0 ;
20809 int *arg3
= (int *) 0 ;
20810 int *arg4
= (int *) 0 ;
20811 int *arg5
= (int *) 0 ;
20815 int res2
= SWIG_TMPOBJ
;
20817 int res3
= SWIG_TMPOBJ
;
20819 int res4
= SWIG_TMPOBJ
;
20821 int res5
= SWIG_TMPOBJ
;
20822 PyObject
*swig_obj
[1] ;
20828 if (!args
) SWIG_fail
;
20829 swig_obj
[0] = args
;
20830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20831 if (!SWIG_IsOK(res1
)) {
20832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20834 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20837 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20838 wxPyEndAllowThreads(__tstate
);
20839 if (PyErr_Occurred()) SWIG_fail
;
20841 resultobj
= SWIG_Py_Void();
20842 if (SWIG_IsTmpObj(res2
)) {
20843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20845 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20848 if (SWIG_IsTmpObj(res3
)) {
20849 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20851 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20852 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20854 if (SWIG_IsTmpObj(res4
)) {
20855 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20857 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20858 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20860 if (SWIG_IsTmpObj(res5
)) {
20861 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20863 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20872 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20873 PyObject
*resultobj
= 0;
20874 wxDC
*arg1
= (wxDC
*) 0 ;
20878 PyObject
*swig_obj
[1] ;
20880 if (!args
) SWIG_fail
;
20881 swig_obj
[0] = args
;
20882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20883 if (!SWIG_IsOK(res1
)) {
20884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20886 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20889 result
= wxDC_GetClippingRect(arg1
);
20890 wxPyEndAllowThreads(__tstate
);
20891 if (PyErr_Occurred()) SWIG_fail
;
20893 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20900 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20901 PyObject
*resultobj
= 0;
20902 wxDC
*arg1
= (wxDC
*) 0 ;
20906 PyObject
*swig_obj
[1] ;
20908 if (!args
) SWIG_fail
;
20909 swig_obj
[0] = args
;
20910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20911 if (!SWIG_IsOK(res1
)) {
20912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20914 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20917 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20918 wxPyEndAllowThreads(__tstate
);
20919 if (PyErr_Occurred()) SWIG_fail
;
20921 resultobj
= SWIG_From_int(static_cast< int >(result
));
20928 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20929 PyObject
*resultobj
= 0;
20930 wxDC
*arg1
= (wxDC
*) 0 ;
20934 PyObject
*swig_obj
[1] ;
20936 if (!args
) SWIG_fail
;
20937 swig_obj
[0] = args
;
20938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20939 if (!SWIG_IsOK(res1
)) {
20940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20942 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20945 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20946 wxPyEndAllowThreads(__tstate
);
20947 if (PyErr_Occurred()) SWIG_fail
;
20949 resultobj
= SWIG_From_int(static_cast< int >(result
));
20956 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20957 PyObject
*resultobj
= 0;
20958 wxDC
*arg1
= (wxDC
*) 0 ;
20959 wxString
*arg2
= 0 ;
20960 int *arg3
= (int *) 0 ;
20961 int *arg4
= (int *) 0 ;
20964 bool temp2
= false ;
20966 int res3
= SWIG_TMPOBJ
;
20968 int res4
= SWIG_TMPOBJ
;
20969 PyObject
* obj0
= 0 ;
20970 PyObject
* obj1
= 0 ;
20971 char * kwnames
[] = {
20972 (char *) "self",(char *) "string", NULL
20977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20979 if (!SWIG_IsOK(res1
)) {
20980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20982 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20984 arg2
= wxString_in_helper(obj1
);
20985 if (arg2
== NULL
) SWIG_fail
;
20989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20990 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20991 wxPyEndAllowThreads(__tstate
);
20992 if (PyErr_Occurred()) SWIG_fail
;
20994 resultobj
= SWIG_Py_Void();
20995 if (SWIG_IsTmpObj(res3
)) {
20996 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20998 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20999 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21001 if (SWIG_IsTmpObj(res4
)) {
21002 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21004 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21005 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21021 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21022 PyObject
*resultobj
= 0;
21023 wxDC
*arg1
= (wxDC
*) 0 ;
21024 wxString
*arg2
= 0 ;
21025 int *arg3
= (int *) 0 ;
21026 int *arg4
= (int *) 0 ;
21027 int *arg5
= (int *) 0 ;
21028 int *arg6
= (int *) 0 ;
21029 wxFont
*arg7
= (wxFont
*) NULL
;
21032 bool temp2
= false ;
21034 int res3
= SWIG_TMPOBJ
;
21036 int res4
= SWIG_TMPOBJ
;
21038 int res5
= SWIG_TMPOBJ
;
21040 int res6
= SWIG_TMPOBJ
;
21043 PyObject
* obj0
= 0 ;
21044 PyObject
* obj1
= 0 ;
21045 PyObject
* obj2
= 0 ;
21046 char * kwnames
[] = {
21047 (char *) "self",(char *) "string",(char *) "font", NULL
21054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21056 if (!SWIG_IsOK(res1
)) {
21057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21059 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21061 arg2
= wxString_in_helper(obj1
);
21062 if (arg2
== NULL
) SWIG_fail
;
21066 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21067 if (!SWIG_IsOK(res7
)) {
21068 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21070 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21074 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21075 wxPyEndAllowThreads(__tstate
);
21076 if (PyErr_Occurred()) SWIG_fail
;
21078 resultobj
= SWIG_Py_Void();
21079 if (SWIG_IsTmpObj(res3
)) {
21080 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21082 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21083 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21085 if (SWIG_IsTmpObj(res4
)) {
21086 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21088 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21089 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21091 if (SWIG_IsTmpObj(res5
)) {
21092 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21094 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21095 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21097 if (SWIG_IsTmpObj(res6
)) {
21098 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21100 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21101 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21117 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21118 PyObject
*resultobj
= 0;
21119 wxDC
*arg1
= (wxDC
*) 0 ;
21120 wxString
*arg2
= 0 ;
21121 int *arg3
= (int *) 0 ;
21122 int *arg4
= (int *) 0 ;
21123 int *arg5
= (int *) 0 ;
21124 wxFont
*arg6
= (wxFont
*) NULL
;
21127 bool temp2
= false ;
21129 int res3
= SWIG_TMPOBJ
;
21131 int res4
= SWIG_TMPOBJ
;
21133 int res5
= SWIG_TMPOBJ
;
21136 PyObject
* obj0
= 0 ;
21137 PyObject
* obj1
= 0 ;
21138 PyObject
* obj2
= 0 ;
21139 char * kwnames
[] = {
21140 (char *) "self",(char *) "text",(char *) "font", NULL
21146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21148 if (!SWIG_IsOK(res1
)) {
21149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21151 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21153 arg2
= wxString_in_helper(obj1
);
21154 if (arg2
== NULL
) SWIG_fail
;
21158 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21159 if (!SWIG_IsOK(res6
)) {
21160 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21162 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21166 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21167 wxPyEndAllowThreads(__tstate
);
21168 if (PyErr_Occurred()) SWIG_fail
;
21170 resultobj
= SWIG_Py_Void();
21171 if (SWIG_IsTmpObj(res3
)) {
21172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21174 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21175 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21177 if (SWIG_IsTmpObj(res4
)) {
21178 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21180 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21183 if (SWIG_IsTmpObj(res5
)) {
21184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21186 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21203 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21204 PyObject
*resultobj
= 0;
21205 wxDC
*arg1
= (wxDC
*) 0 ;
21206 wxString
*arg2
= 0 ;
21210 bool temp2
= false ;
21211 PyObject
* obj0
= 0 ;
21212 PyObject
* obj1
= 0 ;
21213 char * kwnames
[] = {
21214 (char *) "self",(char *) "text", NULL
21217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21219 if (!SWIG_IsOK(res1
)) {
21220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21222 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21224 arg2
= wxString_in_helper(obj1
);
21225 if (arg2
== NULL
) SWIG_fail
;
21229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21230 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21231 wxPyEndAllowThreads(__tstate
);
21232 if (PyErr_Occurred()) SWIG_fail
;
21235 resultobj
= wxArrayInt2PyList_helper(result
);
21251 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21252 PyObject
*resultobj
= 0;
21253 wxDC
*arg1
= (wxDC
*) 0 ;
21257 PyObject
*swig_obj
[1] ;
21259 if (!args
) SWIG_fail
;
21260 swig_obj
[0] = args
;
21261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21262 if (!SWIG_IsOK(res1
)) {
21263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21265 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21268 result
= (arg1
)->GetSize();
21269 wxPyEndAllowThreads(__tstate
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21272 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21279 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21280 PyObject
*resultobj
= 0;
21281 wxDC
*arg1
= (wxDC
*) 0 ;
21282 int *arg2
= (int *) 0 ;
21283 int *arg3
= (int *) 0 ;
21287 int res2
= SWIG_TMPOBJ
;
21289 int res3
= SWIG_TMPOBJ
;
21290 PyObject
*swig_obj
[1] ;
21294 if (!args
) SWIG_fail
;
21295 swig_obj
[0] = args
;
21296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21297 if (!SWIG_IsOK(res1
)) {
21298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21300 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21303 (arg1
)->GetSize(arg2
,arg3
);
21304 wxPyEndAllowThreads(__tstate
);
21305 if (PyErr_Occurred()) SWIG_fail
;
21307 resultobj
= SWIG_Py_Void();
21308 if (SWIG_IsTmpObj(res2
)) {
21309 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21311 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21312 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21314 if (SWIG_IsTmpObj(res3
)) {
21315 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21317 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21318 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21326 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21327 PyObject
*resultobj
= 0;
21328 wxDC
*arg1
= (wxDC
*) 0 ;
21332 PyObject
*swig_obj
[1] ;
21334 if (!args
) SWIG_fail
;
21335 swig_obj
[0] = args
;
21336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21337 if (!SWIG_IsOK(res1
)) {
21338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21340 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21343 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21344 wxPyEndAllowThreads(__tstate
);
21345 if (PyErr_Occurred()) SWIG_fail
;
21347 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21354 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21355 PyObject
*resultobj
= 0;
21356 wxDC
*arg1
= (wxDC
*) 0 ;
21357 int *arg2
= (int *) 0 ;
21358 int *arg3
= (int *) 0 ;
21362 int res2
= SWIG_TMPOBJ
;
21364 int res3
= SWIG_TMPOBJ
;
21365 PyObject
*swig_obj
[1] ;
21369 if (!args
) SWIG_fail
;
21370 swig_obj
[0] = args
;
21371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21372 if (!SWIG_IsOK(res1
)) {
21373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21375 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21378 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21379 wxPyEndAllowThreads(__tstate
);
21380 if (PyErr_Occurred()) SWIG_fail
;
21382 resultobj
= SWIG_Py_Void();
21383 if (SWIG_IsTmpObj(res2
)) {
21384 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21386 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21387 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21389 if (SWIG_IsTmpObj(res3
)) {
21390 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21392 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21393 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21401 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21402 PyObject
*resultobj
= 0;
21403 wxDC
*arg1
= (wxDC
*) 0 ;
21410 PyObject
* obj0
= 0 ;
21411 PyObject
* obj1
= 0 ;
21412 char * kwnames
[] = {
21413 (char *) "self",(char *) "x", NULL
21416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21418 if (!SWIG_IsOK(res1
)) {
21419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21421 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21423 if (!SWIG_IsOK(ecode2
)) {
21424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21426 arg2
= static_cast< int >(val2
);
21428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21429 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21430 wxPyEndAllowThreads(__tstate
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21433 resultobj
= SWIG_From_int(static_cast< int >(result
));
21440 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21441 PyObject
*resultobj
= 0;
21442 wxDC
*arg1
= (wxDC
*) 0 ;
21449 PyObject
* obj0
= 0 ;
21450 PyObject
* obj1
= 0 ;
21451 char * kwnames
[] = {
21452 (char *) "self",(char *) "y", NULL
21455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21457 if (!SWIG_IsOK(res1
)) {
21458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21460 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21462 if (!SWIG_IsOK(ecode2
)) {
21463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21465 arg2
= static_cast< int >(val2
);
21467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21468 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21469 wxPyEndAllowThreads(__tstate
);
21470 if (PyErr_Occurred()) SWIG_fail
;
21472 resultobj
= SWIG_From_int(static_cast< int >(result
));
21479 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21480 PyObject
*resultobj
= 0;
21481 wxDC
*arg1
= (wxDC
*) 0 ;
21488 PyObject
* obj0
= 0 ;
21489 PyObject
* obj1
= 0 ;
21490 char * kwnames
[] = {
21491 (char *) "self",(char *) "x", NULL
21494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21496 if (!SWIG_IsOK(res1
)) {
21497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21499 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21501 if (!SWIG_IsOK(ecode2
)) {
21502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21504 arg2
= static_cast< int >(val2
);
21506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21507 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21508 wxPyEndAllowThreads(__tstate
);
21509 if (PyErr_Occurred()) SWIG_fail
;
21511 resultobj
= SWIG_From_int(static_cast< int >(result
));
21518 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21519 PyObject
*resultobj
= 0;
21520 wxDC
*arg1
= (wxDC
*) 0 ;
21527 PyObject
* obj0
= 0 ;
21528 PyObject
* obj1
= 0 ;
21529 char * kwnames
[] = {
21530 (char *) "self",(char *) "y", NULL
21533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21535 if (!SWIG_IsOK(res1
)) {
21536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21538 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21540 if (!SWIG_IsOK(ecode2
)) {
21541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21543 arg2
= static_cast< int >(val2
);
21545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21546 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21547 wxPyEndAllowThreads(__tstate
);
21548 if (PyErr_Occurred()) SWIG_fail
;
21550 resultobj
= SWIG_From_int(static_cast< int >(result
));
21557 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21558 PyObject
*resultobj
= 0;
21559 wxDC
*arg1
= (wxDC
*) 0 ;
21566 PyObject
* obj0
= 0 ;
21567 PyObject
* obj1
= 0 ;
21568 char * kwnames
[] = {
21569 (char *) "self",(char *) "x", NULL
21572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21574 if (!SWIG_IsOK(res1
)) {
21575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21577 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21579 if (!SWIG_IsOK(ecode2
)) {
21580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21582 arg2
= static_cast< int >(val2
);
21584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21585 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21586 wxPyEndAllowThreads(__tstate
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21589 resultobj
= SWIG_From_int(static_cast< int >(result
));
21596 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21597 PyObject
*resultobj
= 0;
21598 wxDC
*arg1
= (wxDC
*) 0 ;
21605 PyObject
* obj0
= 0 ;
21606 PyObject
* obj1
= 0 ;
21607 char * kwnames
[] = {
21608 (char *) "self",(char *) "y", NULL
21611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21613 if (!SWIG_IsOK(res1
)) {
21614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21616 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21618 if (!SWIG_IsOK(ecode2
)) {
21619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21621 arg2
= static_cast< int >(val2
);
21623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21624 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21625 wxPyEndAllowThreads(__tstate
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21628 resultobj
= SWIG_From_int(static_cast< int >(result
));
21635 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21636 PyObject
*resultobj
= 0;
21637 wxDC
*arg1
= (wxDC
*) 0 ;
21644 PyObject
* obj0
= 0 ;
21645 PyObject
* obj1
= 0 ;
21646 char * kwnames
[] = {
21647 (char *) "self",(char *) "x", NULL
21650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21652 if (!SWIG_IsOK(res1
)) {
21653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21655 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21657 if (!SWIG_IsOK(ecode2
)) {
21658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21660 arg2
= static_cast< int >(val2
);
21662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21663 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21664 wxPyEndAllowThreads(__tstate
);
21665 if (PyErr_Occurred()) SWIG_fail
;
21667 resultobj
= SWIG_From_int(static_cast< int >(result
));
21674 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21675 PyObject
*resultobj
= 0;
21676 wxDC
*arg1
= (wxDC
*) 0 ;
21683 PyObject
* obj0
= 0 ;
21684 PyObject
* obj1
= 0 ;
21685 char * kwnames
[] = {
21686 (char *) "self",(char *) "y", NULL
21689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21691 if (!SWIG_IsOK(res1
)) {
21692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21694 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21696 if (!SWIG_IsOK(ecode2
)) {
21697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21699 arg2
= static_cast< int >(val2
);
21701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21702 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21703 wxPyEndAllowThreads(__tstate
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21706 resultobj
= SWIG_From_int(static_cast< int >(result
));
21713 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21714 PyObject
*resultobj
= 0;
21715 wxDC
*arg1
= (wxDC
*) 0 ;
21719 PyObject
*swig_obj
[1] ;
21721 if (!args
) SWIG_fail
;
21722 swig_obj
[0] = args
;
21723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21724 if (!SWIG_IsOK(res1
)) {
21725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21727 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21731 wxPyEndAllowThreads(__tstate
);
21732 if (PyErr_Occurred()) SWIG_fail
;
21735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21743 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21744 PyObject
*resultobj
= 0;
21745 wxDC
*arg1
= (wxDC
*) 0 ;
21749 PyObject
*swig_obj
[1] ;
21751 if (!args
) SWIG_fail
;
21752 swig_obj
[0] = args
;
21753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21754 if (!SWIG_IsOK(res1
)) {
21755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21757 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21760 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21761 wxPyEndAllowThreads(__tstate
);
21762 if (PyErr_Occurred()) SWIG_fail
;
21765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21773 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21774 PyObject
*resultobj
= 0;
21775 wxDC
*arg1
= (wxDC
*) 0 ;
21779 PyObject
*swig_obj
[1] ;
21781 if (!args
) SWIG_fail
;
21782 swig_obj
[0] = args
;
21783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21784 if (!SWIG_IsOK(res1
)) {
21785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21787 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21790 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21791 wxPyEndAllowThreads(__tstate
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21794 resultobj
= SWIG_From_int(static_cast< int >(result
));
21801 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21802 PyObject
*resultobj
= 0;
21803 wxDC
*arg1
= (wxDC
*) 0 ;
21807 PyObject
*swig_obj
[1] ;
21809 if (!args
) SWIG_fail
;
21810 swig_obj
[0] = args
;
21811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21812 if (!SWIG_IsOK(res1
)) {
21813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21815 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21818 result
= ((wxDC
const *)arg1
)->GetPPI();
21819 wxPyEndAllowThreads(__tstate
);
21820 if (PyErr_Occurred()) SWIG_fail
;
21822 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21829 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21830 PyObject
*resultobj
= 0;
21831 wxDC
*arg1
= (wxDC
*) 0 ;
21835 PyObject
*swig_obj
[1] ;
21837 if (!args
) SWIG_fail
;
21838 swig_obj
[0] = args
;
21839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21840 if (!SWIG_IsOK(res1
)) {
21841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21843 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21846 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21847 wxPyEndAllowThreads(__tstate
);
21848 if (PyErr_Occurred()) SWIG_fail
;
21851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21859 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21860 PyObject
*resultobj
= 0;
21861 wxDC
*arg1
= (wxDC
*) 0 ;
21865 PyObject
*swig_obj
[1] ;
21867 if (!args
) SWIG_fail
;
21868 swig_obj
[0] = args
;
21869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21870 if (!SWIG_IsOK(res1
)) {
21871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21873 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21876 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21877 wxPyEndAllowThreads(__tstate
);
21878 if (PyErr_Occurred()) SWIG_fail
;
21880 resultobj
= SWIG_From_int(static_cast< int >(result
));
21887 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21888 PyObject
*resultobj
= 0;
21889 wxDC
*arg1
= (wxDC
*) 0 ;
21890 wxBrush
*result
= 0 ;
21893 PyObject
*swig_obj
[1] ;
21895 if (!args
) SWIG_fail
;
21896 swig_obj
[0] = args
;
21897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21898 if (!SWIG_IsOK(res1
)) {
21899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21901 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21905 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21906 result
= (wxBrush
*) &_result_ref
;
21908 wxPyEndAllowThreads(__tstate
);
21909 if (PyErr_Occurred()) SWIG_fail
;
21912 wxBrush
* resultptr
= new wxBrush(*result
);
21913 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21921 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21922 PyObject
*resultobj
= 0;
21923 wxDC
*arg1
= (wxDC
*) 0 ;
21924 wxBrush
*result
= 0 ;
21927 PyObject
*swig_obj
[1] ;
21929 if (!args
) SWIG_fail
;
21930 swig_obj
[0] = args
;
21931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21932 if (!SWIG_IsOK(res1
)) {
21933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21935 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21939 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21940 result
= (wxBrush
*) &_result_ref
;
21942 wxPyEndAllowThreads(__tstate
);
21943 if (PyErr_Occurred()) SWIG_fail
;
21946 wxBrush
* resultptr
= new wxBrush(*result
);
21947 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21955 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21956 PyObject
*resultobj
= 0;
21957 wxDC
*arg1
= (wxDC
*) 0 ;
21958 wxFont
*result
= 0 ;
21961 PyObject
*swig_obj
[1] ;
21963 if (!args
) SWIG_fail
;
21964 swig_obj
[0] = args
;
21965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21966 if (!SWIG_IsOK(res1
)) {
21967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21969 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21973 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21974 result
= (wxFont
*) &_result_ref
;
21976 wxPyEndAllowThreads(__tstate
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21980 wxFont
* resultptr
= new wxFont(*result
);
21981 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21989 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21990 PyObject
*resultobj
= 0;
21991 wxDC
*arg1
= (wxDC
*) 0 ;
21992 wxPen
*result
= 0 ;
21995 PyObject
*swig_obj
[1] ;
21997 if (!args
) SWIG_fail
;
21998 swig_obj
[0] = args
;
21999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22000 if (!SWIG_IsOK(res1
)) {
22001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22003 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22007 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22008 result
= (wxPen
*) &_result_ref
;
22010 wxPyEndAllowThreads(__tstate
);
22011 if (PyErr_Occurred()) SWIG_fail
;
22014 wxPen
* resultptr
= new wxPen(*result
);
22015 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22023 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22024 PyObject
*resultobj
= 0;
22025 wxDC
*arg1
= (wxDC
*) 0 ;
22026 wxColour
*result
= 0 ;
22029 PyObject
*swig_obj
[1] ;
22031 if (!args
) SWIG_fail
;
22032 swig_obj
[0] = args
;
22033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22034 if (!SWIG_IsOK(res1
)) {
22035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22037 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22041 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22042 result
= (wxColour
*) &_result_ref
;
22044 wxPyEndAllowThreads(__tstate
);
22045 if (PyErr_Occurred()) SWIG_fail
;
22047 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22054 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22055 PyObject
*resultobj
= 0;
22056 wxDC
*arg1
= (wxDC
*) 0 ;
22057 wxColour
*result
= 0 ;
22060 PyObject
*swig_obj
[1] ;
22062 if (!args
) SWIG_fail
;
22063 swig_obj
[0] = args
;
22064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22065 if (!SWIG_IsOK(res1
)) {
22066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22068 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22072 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22073 result
= (wxColour
*) &_result_ref
;
22075 wxPyEndAllowThreads(__tstate
);
22076 if (PyErr_Occurred()) SWIG_fail
;
22078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22085 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22086 PyObject
*resultobj
= 0;
22087 wxDC
*arg1
= (wxDC
*) 0 ;
22088 wxColour
*arg2
= 0 ;
22092 PyObject
* obj0
= 0 ;
22093 PyObject
* obj1
= 0 ;
22094 char * kwnames
[] = {
22095 (char *) "self",(char *) "colour", NULL
22098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22100 if (!SWIG_IsOK(res1
)) {
22101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22103 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22106 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22110 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22111 wxPyEndAllowThreads(__tstate
);
22112 if (PyErr_Occurred()) SWIG_fail
;
22114 resultobj
= SWIG_Py_Void();
22121 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22122 PyObject
*resultobj
= 0;
22123 wxDC
*arg1
= (wxDC
*) 0 ;
22124 wxColour
*arg2
= 0 ;
22128 PyObject
* obj0
= 0 ;
22129 PyObject
* obj1
= 0 ;
22130 char * kwnames
[] = {
22131 (char *) "self",(char *) "colour", NULL
22134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22136 if (!SWIG_IsOK(res1
)) {
22137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22139 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22142 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22146 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22147 wxPyEndAllowThreads(__tstate
);
22148 if (PyErr_Occurred()) SWIG_fail
;
22150 resultobj
= SWIG_Py_Void();
22157 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22158 PyObject
*resultobj
= 0;
22159 wxDC
*arg1
= (wxDC
*) 0 ;
22163 PyObject
*swig_obj
[1] ;
22165 if (!args
) SWIG_fail
;
22166 swig_obj
[0] = args
;
22167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22168 if (!SWIG_IsOK(res1
)) {
22169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22171 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22174 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22175 wxPyEndAllowThreads(__tstate
);
22176 if (PyErr_Occurred()) SWIG_fail
;
22178 resultobj
= SWIG_From_int(static_cast< int >(result
));
22185 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22186 PyObject
*resultobj
= 0;
22187 wxDC
*arg1
= (wxDC
*) 0 ;
22193 PyObject
* obj0
= 0 ;
22194 PyObject
* obj1
= 0 ;
22195 char * kwnames
[] = {
22196 (char *) "self",(char *) "mode", NULL
22199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22201 if (!SWIG_IsOK(res1
)) {
22202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22204 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22206 if (!SWIG_IsOK(ecode2
)) {
22207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22209 arg2
= static_cast< int >(val2
);
22211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22212 (arg1
)->SetMapMode(arg2
);
22213 wxPyEndAllowThreads(__tstate
);
22214 if (PyErr_Occurred()) SWIG_fail
;
22216 resultobj
= SWIG_Py_Void();
22223 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22224 PyObject
*resultobj
= 0;
22225 wxDC
*arg1
= (wxDC
*) 0 ;
22226 double *arg2
= (double *) 0 ;
22227 double *arg3
= (double *) 0 ;
22231 int res2
= SWIG_TMPOBJ
;
22233 int res3
= SWIG_TMPOBJ
;
22234 PyObject
*swig_obj
[1] ;
22238 if (!args
) SWIG_fail
;
22239 swig_obj
[0] = args
;
22240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22241 if (!SWIG_IsOK(res1
)) {
22242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22244 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22247 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22248 wxPyEndAllowThreads(__tstate
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22251 resultobj
= SWIG_Py_Void();
22252 if (SWIG_IsTmpObj(res2
)) {
22253 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22255 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22256 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22258 if (SWIG_IsTmpObj(res3
)) {
22259 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22261 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22262 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22270 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22271 PyObject
*resultobj
= 0;
22272 wxDC
*arg1
= (wxDC
*) 0 ;
22281 PyObject
* obj0
= 0 ;
22282 PyObject
* obj1
= 0 ;
22283 PyObject
* obj2
= 0 ;
22284 char * kwnames
[] = {
22285 (char *) "self",(char *) "x",(char *) "y", NULL
22288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22290 if (!SWIG_IsOK(res1
)) {
22291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22293 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22294 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22295 if (!SWIG_IsOK(ecode2
)) {
22296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22298 arg2
= static_cast< double >(val2
);
22299 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22300 if (!SWIG_IsOK(ecode3
)) {
22301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22303 arg3
= static_cast< double >(val3
);
22305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22306 (arg1
)->SetUserScale(arg2
,arg3
);
22307 wxPyEndAllowThreads(__tstate
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22310 resultobj
= SWIG_Py_Void();
22317 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22318 PyObject
*resultobj
= 0;
22319 wxDC
*arg1
= (wxDC
*) 0 ;
22320 double *arg2
= (double *) 0 ;
22321 double *arg3
= (double *) 0 ;
22325 int res2
= SWIG_TMPOBJ
;
22327 int res3
= SWIG_TMPOBJ
;
22328 PyObject
*swig_obj
[1] ;
22332 if (!args
) SWIG_fail
;
22333 swig_obj
[0] = args
;
22334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22335 if (!SWIG_IsOK(res1
)) {
22336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22338 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22341 (arg1
)->GetLogicalScale(arg2
,arg3
);
22342 wxPyEndAllowThreads(__tstate
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22345 resultobj
= SWIG_Py_Void();
22346 if (SWIG_IsTmpObj(res2
)) {
22347 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22349 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22350 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22352 if (SWIG_IsTmpObj(res3
)) {
22353 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22355 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22356 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22364 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22365 PyObject
*resultobj
= 0;
22366 wxDC
*arg1
= (wxDC
*) 0 ;
22375 PyObject
* obj0
= 0 ;
22376 PyObject
* obj1
= 0 ;
22377 PyObject
* obj2
= 0 ;
22378 char * kwnames
[] = {
22379 (char *) "self",(char *) "x",(char *) "y", NULL
22382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22384 if (!SWIG_IsOK(res1
)) {
22385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22387 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22388 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22389 if (!SWIG_IsOK(ecode2
)) {
22390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22392 arg2
= static_cast< double >(val2
);
22393 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22394 if (!SWIG_IsOK(ecode3
)) {
22395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22397 arg3
= static_cast< double >(val3
);
22399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22400 (arg1
)->SetLogicalScale(arg2
,arg3
);
22401 wxPyEndAllowThreads(__tstate
);
22402 if (PyErr_Occurred()) SWIG_fail
;
22404 resultobj
= SWIG_Py_Void();
22411 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22412 PyObject
*resultobj
= 0;
22413 wxDC
*arg1
= (wxDC
*) 0 ;
22417 PyObject
*swig_obj
[1] ;
22419 if (!args
) SWIG_fail
;
22420 swig_obj
[0] = args
;
22421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22422 if (!SWIG_IsOK(res1
)) {
22423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22425 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22428 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22429 wxPyEndAllowThreads(__tstate
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22432 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22439 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22440 PyObject
*resultobj
= 0;
22441 wxDC
*arg1
= (wxDC
*) 0 ;
22442 int *arg2
= (int *) 0 ;
22443 int *arg3
= (int *) 0 ;
22447 int res2
= SWIG_TMPOBJ
;
22449 int res3
= SWIG_TMPOBJ
;
22450 PyObject
*swig_obj
[1] ;
22454 if (!args
) SWIG_fail
;
22455 swig_obj
[0] = args
;
22456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22457 if (!SWIG_IsOK(res1
)) {
22458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22460 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22463 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22464 wxPyEndAllowThreads(__tstate
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22467 resultobj
= SWIG_Py_Void();
22468 if (SWIG_IsTmpObj(res2
)) {
22469 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22471 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22472 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22474 if (SWIG_IsTmpObj(res3
)) {
22475 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22477 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22478 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22486 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22487 PyObject
*resultobj
= 0;
22488 wxDC
*arg1
= (wxDC
*) 0 ;
22497 PyObject
* obj0
= 0 ;
22498 PyObject
* obj1
= 0 ;
22499 PyObject
* obj2
= 0 ;
22500 char * kwnames
[] = {
22501 (char *) "self",(char *) "x",(char *) "y", NULL
22504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22506 if (!SWIG_IsOK(res1
)) {
22507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22509 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22511 if (!SWIG_IsOK(ecode2
)) {
22512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22514 arg2
= static_cast< int >(val2
);
22515 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22516 if (!SWIG_IsOK(ecode3
)) {
22517 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22519 arg3
= static_cast< int >(val3
);
22521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22522 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22523 wxPyEndAllowThreads(__tstate
);
22524 if (PyErr_Occurred()) SWIG_fail
;
22526 resultobj
= SWIG_Py_Void();
22533 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22534 PyObject
*resultobj
= 0;
22535 wxDC
*arg1
= (wxDC
*) 0 ;
22536 wxPoint
*arg2
= 0 ;
22540 PyObject
* obj0
= 0 ;
22541 PyObject
* obj1
= 0 ;
22542 char * kwnames
[] = {
22543 (char *) "self",(char *) "point", NULL
22546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22548 if (!SWIG_IsOK(res1
)) {
22549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22551 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22554 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22558 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22559 wxPyEndAllowThreads(__tstate
);
22560 if (PyErr_Occurred()) SWIG_fail
;
22562 resultobj
= SWIG_Py_Void();
22569 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22570 PyObject
*resultobj
= 0;
22571 wxDC
*arg1
= (wxDC
*) 0 ;
22575 PyObject
*swig_obj
[1] ;
22577 if (!args
) SWIG_fail
;
22578 swig_obj
[0] = args
;
22579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22580 if (!SWIG_IsOK(res1
)) {
22581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22583 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22586 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22587 wxPyEndAllowThreads(__tstate
);
22588 if (PyErr_Occurred()) SWIG_fail
;
22590 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22597 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22598 PyObject
*resultobj
= 0;
22599 wxDC
*arg1
= (wxDC
*) 0 ;
22600 int *arg2
= (int *) 0 ;
22601 int *arg3
= (int *) 0 ;
22605 int res2
= SWIG_TMPOBJ
;
22607 int res3
= SWIG_TMPOBJ
;
22608 PyObject
*swig_obj
[1] ;
22612 if (!args
) SWIG_fail
;
22613 swig_obj
[0] = args
;
22614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22615 if (!SWIG_IsOK(res1
)) {
22616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22618 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22621 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22622 wxPyEndAllowThreads(__tstate
);
22623 if (PyErr_Occurred()) SWIG_fail
;
22625 resultobj
= SWIG_Py_Void();
22626 if (SWIG_IsTmpObj(res2
)) {
22627 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22629 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22630 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22632 if (SWIG_IsTmpObj(res3
)) {
22633 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22635 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22636 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22644 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22645 PyObject
*resultobj
= 0;
22646 wxDC
*arg1
= (wxDC
*) 0 ;
22655 PyObject
* obj0
= 0 ;
22656 PyObject
* obj1
= 0 ;
22657 PyObject
* obj2
= 0 ;
22658 char * kwnames
[] = {
22659 (char *) "self",(char *) "x",(char *) "y", NULL
22662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22664 if (!SWIG_IsOK(res1
)) {
22665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22667 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22668 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22669 if (!SWIG_IsOK(ecode2
)) {
22670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22672 arg2
= static_cast< int >(val2
);
22673 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22674 if (!SWIG_IsOK(ecode3
)) {
22675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22677 arg3
= static_cast< int >(val3
);
22679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22680 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22681 wxPyEndAllowThreads(__tstate
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22684 resultobj
= SWIG_Py_Void();
22691 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22692 PyObject
*resultobj
= 0;
22693 wxDC
*arg1
= (wxDC
*) 0 ;
22694 wxPoint
*arg2
= 0 ;
22698 PyObject
* obj0
= 0 ;
22699 PyObject
* obj1
= 0 ;
22700 char * kwnames
[] = {
22701 (char *) "self",(char *) "point", NULL
22704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22706 if (!SWIG_IsOK(res1
)) {
22707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22709 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22712 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22716 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22717 wxPyEndAllowThreads(__tstate
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22720 resultobj
= SWIG_Py_Void();
22727 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22728 PyObject
*resultobj
= 0;
22729 wxDC
*arg1
= (wxDC
*) 0 ;
22738 PyObject
* obj0
= 0 ;
22739 PyObject
* obj1
= 0 ;
22740 PyObject
* obj2
= 0 ;
22741 char * kwnames
[] = {
22742 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22747 if (!SWIG_IsOK(res1
)) {
22748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22750 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22751 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22752 if (!SWIG_IsOK(ecode2
)) {
22753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22755 arg2
= static_cast< bool >(val2
);
22756 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22757 if (!SWIG_IsOK(ecode3
)) {
22758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22760 arg3
= static_cast< bool >(val3
);
22762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22763 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22764 wxPyEndAllowThreads(__tstate
);
22765 if (PyErr_Occurred()) SWIG_fail
;
22767 resultobj
= SWIG_Py_Void();
22774 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22775 PyObject
*resultobj
= 0;
22776 wxDC
*arg1
= (wxDC
*) 0 ;
22780 PyObject
*swig_obj
[1] ;
22782 if (!args
) SWIG_fail
;
22783 swig_obj
[0] = args
;
22784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22785 if (!SWIG_IsOK(res1
)) {
22786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22788 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22791 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22792 wxPyEndAllowThreads(__tstate
);
22793 if (PyErr_Occurred()) SWIG_fail
;
22795 resultobj
= SWIG_From_int(static_cast< int >(result
));
22802 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22803 PyObject
*resultobj
= 0;
22804 wxDC
*arg1
= (wxDC
*) 0 ;
22810 PyObject
* obj0
= 0 ;
22811 PyObject
* obj1
= 0 ;
22812 char * kwnames
[] = {
22813 (char *) "self",(char *) "function", NULL
22816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22818 if (!SWIG_IsOK(res1
)) {
22819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22821 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22823 if (!SWIG_IsOK(ecode2
)) {
22824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22826 arg2
= static_cast< int >(val2
);
22828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22829 (arg1
)->SetLogicalFunction(arg2
);
22830 wxPyEndAllowThreads(__tstate
);
22831 if (PyErr_Occurred()) SWIG_fail
;
22833 resultobj
= SWIG_Py_Void();
22840 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22841 PyObject
*resultobj
= 0;
22842 wxDC
*arg1
= (wxDC
*) 0 ;
22845 PyObject
*swig_obj
[1] ;
22847 if (!args
) SWIG_fail
;
22848 swig_obj
[0] = args
;
22849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22850 if (!SWIG_IsOK(res1
)) {
22851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22853 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22856 (arg1
)->ComputeScaleAndOrigin();
22857 wxPyEndAllowThreads(__tstate
);
22858 if (PyErr_Occurred()) SWIG_fail
;
22860 resultobj
= SWIG_Py_Void();
22867 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22868 PyObject
*resultobj
= 0;
22869 wxDC
*arg1
= (wxDC
*) 0 ;
22878 PyObject
* obj0
= 0 ;
22879 PyObject
* obj1
= 0 ;
22880 PyObject
* obj2
= 0 ;
22881 char * kwnames
[] = {
22882 (char *) "self",(char *) "x",(char *) "y", NULL
22885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22887 if (!SWIG_IsOK(res1
)) {
22888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22890 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22892 if (!SWIG_IsOK(ecode2
)) {
22893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22895 arg2
= static_cast< int >(val2
);
22896 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22897 if (!SWIG_IsOK(ecode3
)) {
22898 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22900 arg3
= static_cast< int >(val3
);
22902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22903 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22904 wxPyEndAllowThreads(__tstate
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22907 resultobj
= SWIG_Py_Void();
22914 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22915 PyObject
*resultobj
= 0;
22916 wxDC
*arg1
= (wxDC
*) 0 ;
22917 wxPoint
*arg2
= 0 ;
22921 PyObject
* obj0
= 0 ;
22922 PyObject
* obj1
= 0 ;
22923 char * kwnames
[] = {
22924 (char *) "self",(char *) "point", NULL
22927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22929 if (!SWIG_IsOK(res1
)) {
22930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22932 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22935 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22939 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22940 wxPyEndAllowThreads(__tstate
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22943 resultobj
= SWIG_Py_Void();
22950 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22951 PyObject
*resultobj
= 0;
22952 wxDC
*arg1
= (wxDC
*) 0 ;
22955 PyObject
*swig_obj
[1] ;
22957 if (!args
) SWIG_fail
;
22958 swig_obj
[0] = args
;
22959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22960 if (!SWIG_IsOK(res1
)) {
22961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22963 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22966 (arg1
)->ResetBoundingBox();
22967 wxPyEndAllowThreads(__tstate
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22970 resultobj
= SWIG_Py_Void();
22977 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22978 PyObject
*resultobj
= 0;
22979 wxDC
*arg1
= (wxDC
*) 0 ;
22983 PyObject
*swig_obj
[1] ;
22985 if (!args
) SWIG_fail
;
22986 swig_obj
[0] = args
;
22987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22988 if (!SWIG_IsOK(res1
)) {
22989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22991 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22994 result
= (int)((wxDC
const *)arg1
)->MinX();
22995 wxPyEndAllowThreads(__tstate
);
22996 if (PyErr_Occurred()) SWIG_fail
;
22998 resultobj
= SWIG_From_int(static_cast< int >(result
));
23005 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23006 PyObject
*resultobj
= 0;
23007 wxDC
*arg1
= (wxDC
*) 0 ;
23011 PyObject
*swig_obj
[1] ;
23013 if (!args
) SWIG_fail
;
23014 swig_obj
[0] = args
;
23015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23016 if (!SWIG_IsOK(res1
)) {
23017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23019 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23022 result
= (int)((wxDC
const *)arg1
)->MaxX();
23023 wxPyEndAllowThreads(__tstate
);
23024 if (PyErr_Occurred()) SWIG_fail
;
23026 resultobj
= SWIG_From_int(static_cast< int >(result
));
23033 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23034 PyObject
*resultobj
= 0;
23035 wxDC
*arg1
= (wxDC
*) 0 ;
23039 PyObject
*swig_obj
[1] ;
23041 if (!args
) SWIG_fail
;
23042 swig_obj
[0] = args
;
23043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23044 if (!SWIG_IsOK(res1
)) {
23045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23047 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23050 result
= (int)((wxDC
const *)arg1
)->MinY();
23051 wxPyEndAllowThreads(__tstate
);
23052 if (PyErr_Occurred()) SWIG_fail
;
23054 resultobj
= SWIG_From_int(static_cast< int >(result
));
23061 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23062 PyObject
*resultobj
= 0;
23063 wxDC
*arg1
= (wxDC
*) 0 ;
23067 PyObject
*swig_obj
[1] ;
23069 if (!args
) SWIG_fail
;
23070 swig_obj
[0] = args
;
23071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23072 if (!SWIG_IsOK(res1
)) {
23073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23075 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23078 result
= (int)((wxDC
const *)arg1
)->MaxY();
23079 wxPyEndAllowThreads(__tstate
);
23080 if (PyErr_Occurred()) SWIG_fail
;
23082 resultobj
= SWIG_From_int(static_cast< int >(result
));
23089 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23090 PyObject
*resultobj
= 0;
23091 wxDC
*arg1
= (wxDC
*) 0 ;
23092 int *arg2
= (int *) 0 ;
23093 int *arg3
= (int *) 0 ;
23094 int *arg4
= (int *) 0 ;
23095 int *arg5
= (int *) 0 ;
23099 int res2
= SWIG_TMPOBJ
;
23101 int res3
= SWIG_TMPOBJ
;
23103 int res4
= SWIG_TMPOBJ
;
23105 int res5
= SWIG_TMPOBJ
;
23106 PyObject
*swig_obj
[1] ;
23112 if (!args
) SWIG_fail
;
23113 swig_obj
[0] = args
;
23114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23115 if (!SWIG_IsOK(res1
)) {
23116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23118 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23121 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23125 resultobj
= SWIG_Py_Void();
23126 if (SWIG_IsTmpObj(res2
)) {
23127 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23129 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23130 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23132 if (SWIG_IsTmpObj(res3
)) {
23133 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23135 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23136 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23138 if (SWIG_IsTmpObj(res4
)) {
23139 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23141 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23142 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23144 if (SWIG_IsTmpObj(res5
)) {
23145 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23147 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23148 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23156 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23157 PyObject
*resultobj
= 0;
23158 wxDC
*arg1
= (wxDC
*) 0 ;
23159 wxLayoutDirection result
;
23162 PyObject
*swig_obj
[1] ;
23164 if (!args
) SWIG_fail
;
23165 swig_obj
[0] = args
;
23166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23167 if (!SWIG_IsOK(res1
)) {
23168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23170 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23173 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23174 wxPyEndAllowThreads(__tstate
);
23175 if (PyErr_Occurred()) SWIG_fail
;
23177 resultobj
= SWIG_From_int(static_cast< int >(result
));
23184 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23185 PyObject
*resultobj
= 0;
23186 wxDC
*arg1
= (wxDC
*) 0 ;
23187 wxLayoutDirection arg2
;
23192 PyObject
* obj0
= 0 ;
23193 PyObject
* obj1
= 0 ;
23194 char * kwnames
[] = {
23195 (char *) "self",(char *) "dir", NULL
23198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23200 if (!SWIG_IsOK(res1
)) {
23201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23203 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23205 if (!SWIG_IsOK(ecode2
)) {
23206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23208 arg2
= static_cast< wxLayoutDirection
>(val2
);
23210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23211 (arg1
)->SetLayoutDirection(arg2
);
23212 wxPyEndAllowThreads(__tstate
);
23213 if (PyErr_Occurred()) SWIG_fail
;
23215 resultobj
= SWIG_Py_Void();
23222 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23223 PyObject
*resultobj
= 0;
23224 wxDC
*arg1
= (wxDC
*) 0 ;
23225 PyObject
*arg2
= (PyObject
*) 0 ;
23226 PyObject
*arg3
= (PyObject
*) 0 ;
23227 PyObject
*arg4
= (PyObject
*) 0 ;
23228 PyObject
*result
= 0 ;
23231 PyObject
* obj0
= 0 ;
23232 PyObject
* obj1
= 0 ;
23233 PyObject
* obj2
= 0 ;
23234 PyObject
* obj3
= 0 ;
23235 char * kwnames
[] = {
23236 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23241 if (!SWIG_IsOK(res1
)) {
23242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23244 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23250 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23251 wxPyEndAllowThreads(__tstate
);
23252 if (PyErr_Occurred()) SWIG_fail
;
23254 resultobj
= result
;
23261 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23262 PyObject
*resultobj
= 0;
23263 wxDC
*arg1
= (wxDC
*) 0 ;
23264 PyObject
*arg2
= (PyObject
*) 0 ;
23265 PyObject
*arg3
= (PyObject
*) 0 ;
23266 PyObject
*arg4
= (PyObject
*) 0 ;
23267 PyObject
*result
= 0 ;
23270 PyObject
* obj0
= 0 ;
23271 PyObject
* obj1
= 0 ;
23272 PyObject
* obj2
= 0 ;
23273 PyObject
* obj3
= 0 ;
23274 char * kwnames
[] = {
23275 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23280 if (!SWIG_IsOK(res1
)) {
23281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23283 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23289 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23290 wxPyEndAllowThreads(__tstate
);
23291 if (PyErr_Occurred()) SWIG_fail
;
23293 resultobj
= result
;
23300 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23301 PyObject
*resultobj
= 0;
23302 wxDC
*arg1
= (wxDC
*) 0 ;
23303 PyObject
*arg2
= (PyObject
*) 0 ;
23304 PyObject
*arg3
= (PyObject
*) 0 ;
23305 PyObject
*arg4
= (PyObject
*) 0 ;
23306 PyObject
*result
= 0 ;
23309 PyObject
* obj0
= 0 ;
23310 PyObject
* obj1
= 0 ;
23311 PyObject
* obj2
= 0 ;
23312 PyObject
* obj3
= 0 ;
23313 char * kwnames
[] = {
23314 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23319 if (!SWIG_IsOK(res1
)) {
23320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23322 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23328 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23329 wxPyEndAllowThreads(__tstate
);
23330 if (PyErr_Occurred()) SWIG_fail
;
23332 resultobj
= result
;
23339 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23340 PyObject
*resultobj
= 0;
23341 wxDC
*arg1
= (wxDC
*) 0 ;
23342 PyObject
*arg2
= (PyObject
*) 0 ;
23343 PyObject
*arg3
= (PyObject
*) 0 ;
23344 PyObject
*arg4
= (PyObject
*) 0 ;
23345 PyObject
*result
= 0 ;
23348 PyObject
* obj0
= 0 ;
23349 PyObject
* obj1
= 0 ;
23350 PyObject
* obj2
= 0 ;
23351 PyObject
* obj3
= 0 ;
23352 char * kwnames
[] = {
23353 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23358 if (!SWIG_IsOK(res1
)) {
23359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23361 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23367 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23368 wxPyEndAllowThreads(__tstate
);
23369 if (PyErr_Occurred()) SWIG_fail
;
23371 resultobj
= result
;
23378 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23379 PyObject
*resultobj
= 0;
23380 wxDC
*arg1
= (wxDC
*) 0 ;
23381 PyObject
*arg2
= (PyObject
*) 0 ;
23382 PyObject
*arg3
= (PyObject
*) 0 ;
23383 PyObject
*arg4
= (PyObject
*) 0 ;
23384 PyObject
*result
= 0 ;
23387 PyObject
* obj0
= 0 ;
23388 PyObject
* obj1
= 0 ;
23389 PyObject
* obj2
= 0 ;
23390 PyObject
* obj3
= 0 ;
23391 char * kwnames
[] = {
23392 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23397 if (!SWIG_IsOK(res1
)) {
23398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23400 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23406 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23410 resultobj
= result
;
23417 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23418 PyObject
*resultobj
= 0;
23419 wxDC
*arg1
= (wxDC
*) 0 ;
23420 PyObject
*arg2
= (PyObject
*) 0 ;
23421 PyObject
*arg3
= (PyObject
*) 0 ;
23422 PyObject
*arg4
= (PyObject
*) 0 ;
23423 PyObject
*arg5
= (PyObject
*) 0 ;
23424 PyObject
*result
= 0 ;
23427 PyObject
* obj0
= 0 ;
23428 PyObject
* obj1
= 0 ;
23429 PyObject
* obj2
= 0 ;
23430 PyObject
* obj3
= 0 ;
23431 PyObject
* obj4
= 0 ;
23432 char * kwnames
[] = {
23433 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23438 if (!SWIG_IsOK(res1
)) {
23439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23441 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23448 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23449 wxPyEndAllowThreads(__tstate
);
23450 if (PyErr_Occurred()) SWIG_fail
;
23452 resultobj
= result
;
23459 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23461 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23462 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23463 return SWIG_Py_Void();
23466 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23467 PyObject
*resultobj
= 0;
23469 wxColour
*arg2
= 0 ;
23470 wxDCTextColourChanger
*result
= 0 ;
23474 PyObject
* obj0
= 0 ;
23475 PyObject
* obj1
= 0 ;
23476 char * kwnames
[] = {
23477 (char *) "dc",(char *) "col", NULL
23480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23481 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23482 if (!SWIG_IsOK(res1
)) {
23483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23488 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23491 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23495 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23496 wxPyEndAllowThreads(__tstate
);
23497 if (PyErr_Occurred()) SWIG_fail
;
23499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23506 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23507 PyObject
*resultobj
= 0;
23508 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23511 PyObject
*swig_obj
[1] ;
23513 if (!args
) SWIG_fail
;
23514 swig_obj
[0] = args
;
23515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23516 if (!SWIG_IsOK(res1
)) {
23517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23519 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23524 wxPyEndAllowThreads(__tstate
);
23525 if (PyErr_Occurred()) SWIG_fail
;
23527 resultobj
= SWIG_Py_Void();
23534 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23536 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23537 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23538 return SWIG_Py_Void();
23541 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23542 return SWIG_Python_InitShadowInstance(args
);
23545 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23546 PyObject
*resultobj
= 0;
23549 wxDCPenChanger
*result
= 0 ;
23554 PyObject
* obj0
= 0 ;
23555 PyObject
* obj1
= 0 ;
23556 char * kwnames
[] = {
23557 (char *) "dc",(char *) "pen", NULL
23560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23561 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23562 if (!SWIG_IsOK(res1
)) {
23563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23566 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23568 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23569 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23570 if (!SWIG_IsOK(res2
)) {
23571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23574 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23576 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23579 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23580 wxPyEndAllowThreads(__tstate
);
23581 if (PyErr_Occurred()) SWIG_fail
;
23583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23590 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23591 PyObject
*resultobj
= 0;
23592 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23595 PyObject
*swig_obj
[1] ;
23597 if (!args
) SWIG_fail
;
23598 swig_obj
[0] = args
;
23599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23600 if (!SWIG_IsOK(res1
)) {
23601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23603 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23608 wxPyEndAllowThreads(__tstate
);
23609 if (PyErr_Occurred()) SWIG_fail
;
23611 resultobj
= SWIG_Py_Void();
23618 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23620 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23621 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23622 return SWIG_Py_Void();
23625 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23626 return SWIG_Python_InitShadowInstance(args
);
23629 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23630 PyObject
*resultobj
= 0;
23632 wxBrush
*arg2
= 0 ;
23633 wxDCBrushChanger
*result
= 0 ;
23638 PyObject
* obj0
= 0 ;
23639 PyObject
* obj1
= 0 ;
23640 char * kwnames
[] = {
23641 (char *) "dc",(char *) "brush", NULL
23644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23645 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23646 if (!SWIG_IsOK(res1
)) {
23647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23652 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23653 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23654 if (!SWIG_IsOK(res2
)) {
23655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23660 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23663 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23664 wxPyEndAllowThreads(__tstate
);
23665 if (PyErr_Occurred()) SWIG_fail
;
23667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23674 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23675 PyObject
*resultobj
= 0;
23676 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23679 PyObject
*swig_obj
[1] ;
23681 if (!args
) SWIG_fail
;
23682 swig_obj
[0] = args
;
23683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23684 if (!SWIG_IsOK(res1
)) {
23685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23687 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23692 wxPyEndAllowThreads(__tstate
);
23693 if (PyErr_Occurred()) SWIG_fail
;
23695 resultobj
= SWIG_Py_Void();
23702 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23704 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23705 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23706 return SWIG_Py_Void();
23709 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23710 return SWIG_Python_InitShadowInstance(args
);
23713 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23714 PyObject
*resultobj
= 0;
23716 wxRegion
*arg2
= 0 ;
23717 wxDCClipper
*result
= 0 ;
23723 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23725 if (!SWIG_IsOK(res1
)) {
23726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23731 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23732 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23733 if (!SWIG_IsOK(res2
)) {
23734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23739 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23742 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23743 wxPyEndAllowThreads(__tstate
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23753 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23754 PyObject
*resultobj
= 0;
23757 wxDCClipper
*result
= 0 ;
23762 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23764 if (!SWIG_IsOK(res1
)) {
23765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23770 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23773 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23777 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23778 wxPyEndAllowThreads(__tstate
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23788 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23789 PyObject
*resultobj
= 0;
23795 wxDCClipper
*result
= 0 ;
23807 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23809 if (!SWIG_IsOK(res1
)) {
23810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23813 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23815 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23816 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23817 if (!SWIG_IsOK(ecode2
)) {
23818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23820 arg2
= static_cast< int >(val2
);
23821 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23822 if (!SWIG_IsOK(ecode3
)) {
23823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23825 arg3
= static_cast< int >(val3
);
23826 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23827 if (!SWIG_IsOK(ecode4
)) {
23828 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23830 arg4
= static_cast< int >(val4
);
23831 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23832 if (!SWIG_IsOK(ecode5
)) {
23833 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23835 arg5
= static_cast< int >(val5
);
23837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23838 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23839 wxPyEndAllowThreads(__tstate
);
23840 if (PyErr_Occurred()) SWIG_fail
;
23842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23849 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23853 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23858 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23859 _v
= SWIG_CheckState(res
);
23861 if (!_v
) goto check_1
;
23862 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23867 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23870 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23874 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23879 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23880 PyObject
*resultobj
= 0;
23881 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23884 PyObject
*swig_obj
[1] ;
23886 if (!args
) SWIG_fail
;
23887 swig_obj
[0] = args
;
23888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23889 if (!SWIG_IsOK(res1
)) {
23890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23892 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23897 wxPyEndAllowThreads(__tstate
);
23898 if (PyErr_Occurred()) SWIG_fail
;
23900 resultobj
= SWIG_Py_Void();
23907 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23909 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23910 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23911 return SWIG_Py_Void();
23914 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23915 return SWIG_Python_InitShadowInstance(args
);
23918 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23919 PyObject
*resultobj
= 0;
23920 wxScreenDC
*result
= 0 ;
23922 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23924 if (!wxPyCheckForApp()) SWIG_fail
;
23925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23926 result
= (wxScreenDC
*)new wxScreenDC();
23927 wxPyEndAllowThreads(__tstate
);
23928 if (PyErr_Occurred()) SWIG_fail
;
23930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23937 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23938 PyObject
*resultobj
= 0;
23939 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23940 wxWindow
*arg2
= (wxWindow
*) 0 ;
23946 PyObject
* obj0
= 0 ;
23947 PyObject
* obj1
= 0 ;
23948 char * kwnames
[] = {
23949 (char *) "self",(char *) "window", NULL
23952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23954 if (!SWIG_IsOK(res1
)) {
23955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23957 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23958 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23959 if (!SWIG_IsOK(res2
)) {
23960 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23962 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23965 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23966 wxPyEndAllowThreads(__tstate
);
23967 if (PyErr_Occurred()) SWIG_fail
;
23970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23978 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23979 PyObject
*resultobj
= 0;
23980 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23981 wxRect
*arg2
= (wxRect
*) NULL
;
23987 PyObject
* obj0
= 0 ;
23988 PyObject
* obj1
= 0 ;
23989 char * kwnames
[] = {
23990 (char *) "self",(char *) "rect", NULL
23993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23995 if (!SWIG_IsOK(res1
)) {
23996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23998 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24000 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24001 if (!SWIG_IsOK(res2
)) {
24002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24004 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24008 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24009 wxPyEndAllowThreads(__tstate
);
24010 if (PyErr_Occurred()) SWIG_fail
;
24013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24021 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24022 PyObject
*resultobj
= 0;
24023 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24027 PyObject
*swig_obj
[1] ;
24029 if (!args
) SWIG_fail
;
24030 swig_obj
[0] = args
;
24031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24032 if (!SWIG_IsOK(res1
)) {
24033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24035 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24038 result
= (bool)(arg1
)->EndDrawingOnTop();
24039 wxPyEndAllowThreads(__tstate
);
24040 if (PyErr_Occurred()) SWIG_fail
;
24043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24051 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24054 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24055 return SWIG_Py_Void();
24058 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24059 return SWIG_Python_InitShadowInstance(args
);
24062 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24063 PyObject
*resultobj
= 0;
24064 wxWindow
*arg1
= (wxWindow
*) 0 ;
24065 wxWindowDC
*result
= 0 ;
24068 PyObject
* obj0
= 0 ;
24069 char * kwnames
[] = {
24070 (char *) "win", NULL
24073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24075 if (!SWIG_IsOK(res1
)) {
24076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24078 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24080 if (!wxPyCheckForApp()) SWIG_fail
;
24081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24093 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24095 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24096 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24097 return SWIG_Py_Void();
24100 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24101 return SWIG_Python_InitShadowInstance(args
);
24104 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24105 PyObject
*resultobj
= 0;
24106 wxWindow
*arg1
= (wxWindow
*) 0 ;
24107 wxClientDC
*result
= 0 ;
24110 PyObject
* obj0
= 0 ;
24111 char * kwnames
[] = {
24112 (char *) "win", NULL
24115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24117 if (!SWIG_IsOK(res1
)) {
24118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24120 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24122 if (!wxPyCheckForApp()) SWIG_fail
;
24123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24124 result
= (wxClientDC
*)new wxClientDC(arg1
);
24125 wxPyEndAllowThreads(__tstate
);
24126 if (PyErr_Occurred()) SWIG_fail
;
24128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24135 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24137 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24138 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24139 return SWIG_Py_Void();
24142 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24143 return SWIG_Python_InitShadowInstance(args
);
24146 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24147 PyObject
*resultobj
= 0;
24148 wxWindow
*arg1
= (wxWindow
*) 0 ;
24149 wxPaintDC
*result
= 0 ;
24152 PyObject
* obj0
= 0 ;
24153 char * kwnames
[] = {
24154 (char *) "win", NULL
24157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24159 if (!SWIG_IsOK(res1
)) {
24160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24162 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24164 if (!wxPyCheckForApp()) SWIG_fail
;
24165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24166 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24167 wxPyEndAllowThreads(__tstate
);
24168 if (PyErr_Occurred()) SWIG_fail
;
24170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24177 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24179 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24180 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24181 return SWIG_Py_Void();
24184 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24185 return SWIG_Python_InitShadowInstance(args
);
24188 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24189 PyObject
*resultobj
= 0;
24190 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24191 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24192 wxMemoryDC
*result
= 0 ;
24195 PyObject
* obj0
= 0 ;
24196 char * kwnames
[] = {
24197 (char *) "bitmap", NULL
24200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24202 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24203 if (!SWIG_IsOK(res1
)) {
24204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24207 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24209 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24212 if (!wxPyCheckForApp()) SWIG_fail
;
24213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24214 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24215 wxPyEndAllowThreads(__tstate
);
24216 if (PyErr_Occurred()) SWIG_fail
;
24218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24225 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24226 PyObject
*resultobj
= 0;
24227 wxDC
*arg1
= (wxDC
*) 0 ;
24228 wxMemoryDC
*result
= 0 ;
24231 PyObject
* obj0
= 0 ;
24232 char * kwnames
[] = {
24233 (char *) "oldDC", NULL
24236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24238 if (!SWIG_IsOK(res1
)) {
24239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24241 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24243 if (!wxPyCheckForApp()) SWIG_fail
;
24244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24245 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24246 wxPyEndAllowThreads(__tstate
);
24247 if (PyErr_Occurred()) SWIG_fail
;
24249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24256 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24257 PyObject
*resultobj
= 0;
24258 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24259 wxBitmap
*arg2
= 0 ;
24264 PyObject
* obj0
= 0 ;
24265 PyObject
* obj1
= 0 ;
24266 char * kwnames
[] = {
24267 (char *) "self",(char *) "bitmap", NULL
24270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24272 if (!SWIG_IsOK(res1
)) {
24273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24275 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24276 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24277 if (!SWIG_IsOK(res2
)) {
24278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24283 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24286 (arg1
)->SelectObject(*arg2
);
24287 wxPyEndAllowThreads(__tstate
);
24288 if (PyErr_Occurred()) SWIG_fail
;
24290 resultobj
= SWIG_Py_Void();
24297 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24298 PyObject
*resultobj
= 0;
24299 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24300 wxBitmap
*arg2
= 0 ;
24305 PyObject
* obj0
= 0 ;
24306 PyObject
* obj1
= 0 ;
24307 char * kwnames
[] = {
24308 (char *) "self",(char *) "bmp", NULL
24311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24313 if (!SWIG_IsOK(res1
)) {
24314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24316 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24317 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24318 if (!SWIG_IsOK(res2
)) {
24319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24322 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24324 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24327 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24328 wxPyEndAllowThreads(__tstate
);
24329 if (PyErr_Occurred()) SWIG_fail
;
24331 resultobj
= SWIG_Py_Void();
24338 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24340 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24341 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24342 return SWIG_Py_Void();
24345 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24346 return SWIG_Python_InitShadowInstance(args
);
24349 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24350 PyObject
*resultobj
= 0;
24351 wxDC
*arg1
= (wxDC
*) 0 ;
24352 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24353 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24354 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24355 wxBufferedDC
*result
= 0 ;
24363 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24365 if (!SWIG_IsOK(res1
)) {
24366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24368 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24370 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24371 if (!SWIG_IsOK(res2
)) {
24372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24377 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24380 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24381 if (!SWIG_IsOK(ecode3
)) {
24382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24384 arg3
= static_cast< int >(val3
);
24387 if (!wxPyCheckForApp()) SWIG_fail
;
24388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24389 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24390 wxPyEndAllowThreads(__tstate
);
24391 if (PyErr_Occurred()) SWIG_fail
;
24393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24400 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24401 PyObject
*resultobj
= 0;
24402 wxDC
*arg1
= (wxDC
*) 0 ;
24404 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24405 wxBufferedDC
*result
= 0 ;
24412 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24414 if (!SWIG_IsOK(res1
)) {
24415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24417 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24420 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24423 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24424 if (!SWIG_IsOK(ecode3
)) {
24425 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24427 arg3
= static_cast< int >(val3
);
24430 if (!wxPyCheckForApp()) SWIG_fail
;
24431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24432 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24433 wxPyEndAllowThreads(__tstate
);
24434 if (PyErr_Occurred()) SWIG_fail
;
24436 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24443 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24447 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24449 if ((argc
>= 1) && (argc
<= 3)) {
24454 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24455 _v
= SWIG_CheckState(res
);
24457 if (!_v
) goto check_1
;
24459 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24463 if ((argc
>= 2) && (argc
<= 3)) {
24464 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24468 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24473 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24474 PyObject
*resultobj
= 0;
24475 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24478 PyObject
*swig_obj
[1] ;
24480 if (!args
) SWIG_fail
;
24481 swig_obj
[0] = args
;
24482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24483 if (!SWIG_IsOK(res1
)) {
24484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24486 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24491 wxPyEndAllowThreads(__tstate
);
24492 if (PyErr_Occurred()) SWIG_fail
;
24494 resultobj
= SWIG_Py_Void();
24501 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24502 PyObject
*resultobj
= 0;
24503 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24506 PyObject
*swig_obj
[1] ;
24508 if (!args
) SWIG_fail
;
24509 swig_obj
[0] = args
;
24510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24511 if (!SWIG_IsOK(res1
)) {
24512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24514 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24518 wxPyEndAllowThreads(__tstate
);
24519 if (PyErr_Occurred()) SWIG_fail
;
24521 resultobj
= SWIG_Py_Void();
24528 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24529 PyObject
*resultobj
= 0;
24530 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24536 PyObject
* obj0
= 0 ;
24537 PyObject
* obj1
= 0 ;
24538 char * kwnames
[] = {
24539 (char *) "self",(char *) "style", NULL
24542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24544 if (!SWIG_IsOK(res1
)) {
24545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24547 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24549 if (!SWIG_IsOK(ecode2
)) {
24550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
24552 arg2
= static_cast< int >(val2
);
24554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24555 (arg1
)->SetStyle(arg2
);
24556 wxPyEndAllowThreads(__tstate
);
24557 if (PyErr_Occurred()) SWIG_fail
;
24559 resultobj
= SWIG_Py_Void();
24566 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24567 PyObject
*resultobj
= 0;
24568 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24572 PyObject
*swig_obj
[1] ;
24574 if (!args
) SWIG_fail
;
24575 swig_obj
[0] = args
;
24576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24577 if (!SWIG_IsOK(res1
)) {
24578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
24580 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24583 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
24584 wxPyEndAllowThreads(__tstate
);
24585 if (PyErr_Occurred()) SWIG_fail
;
24587 resultobj
= SWIG_From_int(static_cast< int >(result
));
24594 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24596 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24597 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24598 return SWIG_Py_Void();
24601 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24602 return SWIG_Python_InitShadowInstance(args
);
24605 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24606 PyObject
*resultobj
= 0;
24607 wxWindow
*arg1
= (wxWindow
*) 0 ;
24608 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24609 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24610 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24611 wxBufferedPaintDC
*result
= 0 ;
24618 PyObject
* obj0
= 0 ;
24619 PyObject
* obj1
= 0 ;
24620 PyObject
* obj2
= 0 ;
24621 char * kwnames
[] = {
24622 (char *) "window",(char *) "buffer",(char *) "style", NULL
24625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24627 if (!SWIG_IsOK(res1
)) {
24628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24630 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24632 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24633 if (!SWIG_IsOK(res2
)) {
24634 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24637 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24639 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24642 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24643 if (!SWIG_IsOK(ecode3
)) {
24644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24646 arg3
= static_cast< int >(val3
);
24649 if (!wxPyCheckForApp()) SWIG_fail
;
24650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24651 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
24652 wxPyEndAllowThreads(__tstate
);
24653 if (PyErr_Occurred()) SWIG_fail
;
24655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24662 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24664 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24665 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24666 return SWIG_Py_Void();
24669 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24670 return SWIG_Python_InitShadowInstance(args
);
24673 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24674 PyObject
*resultobj
= 0;
24675 wxWindow
*arg1
= (wxWindow
*) 0 ;
24676 wxAutoBufferedPaintDC
*result
= 0 ;
24679 PyObject
* obj0
= 0 ;
24680 char * kwnames
[] = {
24681 (char *) "win", NULL
24684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24686 if (!SWIG_IsOK(res1
)) {
24687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24689 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24692 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24693 wxPyEndAllowThreads(__tstate
);
24694 if (PyErr_Occurred()) SWIG_fail
;
24696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24703 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24705 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24706 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24707 return SWIG_Py_Void();
24710 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24711 return SWIG_Python_InitShadowInstance(args
);
24714 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24715 PyObject
*resultobj
= 0;
24716 wxWindow
*arg1
= (wxWindow
*) 0 ;
24720 PyObject
* obj0
= 0 ;
24721 char * kwnames
[] = {
24722 (char *) "window", NULL
24725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24727 if (!SWIG_IsOK(res1
)) {
24728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24730 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24733 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24734 wxPyEndAllowThreads(__tstate
);
24735 if (PyErr_Occurred()) SWIG_fail
;
24738 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24746 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24747 PyObject
*resultobj
= 0;
24750 wxMirrorDC
*result
= 0 ;
24755 PyObject
* obj0
= 0 ;
24756 PyObject
* obj1
= 0 ;
24757 char * kwnames
[] = {
24758 (char *) "dc",(char *) "mirror", NULL
24761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24762 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24763 if (!SWIG_IsOK(res1
)) {
24764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24769 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24770 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24771 if (!SWIG_IsOK(ecode2
)) {
24772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24774 arg2
= static_cast< bool >(val2
);
24776 if (!wxPyCheckForApp()) SWIG_fail
;
24777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24778 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24779 wxPyEndAllowThreads(__tstate
);
24780 if (PyErr_Occurred()) SWIG_fail
;
24782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24789 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24791 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24792 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24793 return SWIG_Py_Void();
24796 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24797 return SWIG_Python_InitShadowInstance(args
);
24800 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24801 PyObject
*resultobj
= 0;
24802 wxPrintData
*arg1
= 0 ;
24803 wxPostScriptDC
*result
= 0 ;
24806 PyObject
* obj0
= 0 ;
24807 char * kwnames
[] = {
24808 (char *) "printData", NULL
24811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24812 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24813 if (!SWIG_IsOK(res1
)) {
24814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24819 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24821 if (!wxPyCheckForApp()) SWIG_fail
;
24822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24823 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24824 wxPyEndAllowThreads(__tstate
);
24825 if (PyErr_Occurred()) SWIG_fail
;
24827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24834 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24835 PyObject
*resultobj
= 0;
24836 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24837 wxPrintData
*result
= 0 ;
24840 PyObject
*swig_obj
[1] ;
24842 if (!args
) SWIG_fail
;
24843 swig_obj
[0] = args
;
24844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24845 if (!SWIG_IsOK(res1
)) {
24846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24848 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24852 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24853 result
= (wxPrintData
*) &_result_ref
;
24855 wxPyEndAllowThreads(__tstate
);
24856 if (PyErr_Occurred()) SWIG_fail
;
24858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24865 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24866 PyObject
*resultobj
= 0;
24867 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24868 wxPrintData
*arg2
= 0 ;
24873 PyObject
* obj0
= 0 ;
24874 PyObject
* obj1
= 0 ;
24875 char * kwnames
[] = {
24876 (char *) "self",(char *) "data", NULL
24879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24881 if (!SWIG_IsOK(res1
)) {
24882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24884 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24885 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24886 if (!SWIG_IsOK(res2
)) {
24887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24892 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24895 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24896 wxPyEndAllowThreads(__tstate
);
24897 if (PyErr_Occurred()) SWIG_fail
;
24899 resultobj
= SWIG_Py_Void();
24906 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24907 PyObject
*resultobj
= 0;
24911 PyObject
* obj0
= 0 ;
24912 char * kwnames
[] = {
24913 (char *) "ppi", NULL
24916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24917 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24918 if (!SWIG_IsOK(ecode1
)) {
24919 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24921 arg1
= static_cast< int >(val1
);
24923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24924 wxPostScriptDC::SetResolution(arg1
);
24925 wxPyEndAllowThreads(__tstate
);
24926 if (PyErr_Occurred()) SWIG_fail
;
24928 resultobj
= SWIG_Py_Void();
24935 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24936 PyObject
*resultobj
= 0;
24939 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24942 result
= (int)wxPostScriptDC::GetResolution();
24943 wxPyEndAllowThreads(__tstate
);
24944 if (PyErr_Occurred()) SWIG_fail
;
24946 resultobj
= SWIG_From_int(static_cast< int >(result
));
24953 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24955 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24956 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24957 return SWIG_Py_Void();
24960 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24961 return SWIG_Python_InitShadowInstance(args
);
24964 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24965 PyObject
*resultobj
= 0;
24966 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24967 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24968 wxMetaFile
*result
= 0 ;
24969 bool temp1
= false ;
24970 PyObject
* obj0
= 0 ;
24971 char * kwnames
[] = {
24972 (char *) "filename", NULL
24975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24978 arg1
= wxString_in_helper(obj0
);
24979 if (arg1
== NULL
) SWIG_fail
;
24984 if (!wxPyCheckForApp()) SWIG_fail
;
24985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24986 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24987 wxPyEndAllowThreads(__tstate
);
24988 if (PyErr_Occurred()) SWIG_fail
;
24990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25005 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25006 PyObject
*resultobj
= 0;
25007 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25010 PyObject
*swig_obj
[1] ;
25012 if (!args
) SWIG_fail
;
25013 swig_obj
[0] = args
;
25014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
25015 if (!SWIG_IsOK(res1
)) {
25016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25018 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25023 wxPyEndAllowThreads(__tstate
);
25024 if (PyErr_Occurred()) SWIG_fail
;
25026 resultobj
= SWIG_Py_Void();
25033 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25034 PyObject
*resultobj
= 0;
25035 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25039 PyObject
*swig_obj
[1] ;
25041 if (!args
) SWIG_fail
;
25042 swig_obj
[0] = args
;
25043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25044 if (!SWIG_IsOK(res1
)) {
25045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25047 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25050 result
= (bool)(arg1
)->IsOk();
25051 wxPyEndAllowThreads(__tstate
);
25052 if (PyErr_Occurred()) SWIG_fail
;
25055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25063 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25064 PyObject
*resultobj
= 0;
25065 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25066 int arg2
= (int) 0 ;
25067 int arg3
= (int) 0 ;
25075 PyObject
* obj0
= 0 ;
25076 PyObject
* obj1
= 0 ;
25077 PyObject
* obj2
= 0 ;
25078 char * kwnames
[] = {
25079 (char *) "self",(char *) "width",(char *) "height", NULL
25082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25084 if (!SWIG_IsOK(res1
)) {
25085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25087 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25090 if (!SWIG_IsOK(ecode2
)) {
25091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25093 arg2
= static_cast< int >(val2
);
25096 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25097 if (!SWIG_IsOK(ecode3
)) {
25098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25100 arg3
= static_cast< int >(val3
);
25103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25104 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25105 wxPyEndAllowThreads(__tstate
);
25106 if (PyErr_Occurred()) SWIG_fail
;
25109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25117 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25118 PyObject
*resultobj
= 0;
25119 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25123 PyObject
*swig_obj
[1] ;
25125 if (!args
) SWIG_fail
;
25126 swig_obj
[0] = args
;
25127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25128 if (!SWIG_IsOK(res1
)) {
25129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25131 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25134 result
= (arg1
)->GetSize();
25135 wxPyEndAllowThreads(__tstate
);
25136 if (PyErr_Occurred()) SWIG_fail
;
25138 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25145 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25146 PyObject
*resultobj
= 0;
25147 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25151 PyObject
*swig_obj
[1] ;
25153 if (!args
) SWIG_fail
;
25154 swig_obj
[0] = args
;
25155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25156 if (!SWIG_IsOK(res1
)) {
25157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25159 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25162 result
= (int)(arg1
)->GetWidth();
25163 wxPyEndAllowThreads(__tstate
);
25164 if (PyErr_Occurred()) SWIG_fail
;
25166 resultobj
= SWIG_From_int(static_cast< int >(result
));
25173 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25174 PyObject
*resultobj
= 0;
25175 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25179 PyObject
*swig_obj
[1] ;
25181 if (!args
) SWIG_fail
;
25182 swig_obj
[0] = args
;
25183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25184 if (!SWIG_IsOK(res1
)) {
25185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25187 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25190 result
= (int)(arg1
)->GetHeight();
25191 wxPyEndAllowThreads(__tstate
);
25192 if (PyErr_Occurred()) SWIG_fail
;
25194 resultobj
= SWIG_From_int(static_cast< int >(result
));
25201 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25203 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25204 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25205 return SWIG_Py_Void();
25208 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25209 return SWIG_Python_InitShadowInstance(args
);
25212 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25213 PyObject
*resultobj
= 0;
25214 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25215 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25216 int arg2
= (int) 0 ;
25217 int arg3
= (int) 0 ;
25218 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25219 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25220 wxMetaFileDC
*result
= 0 ;
25221 bool temp1
= false ;
25226 bool temp4
= false ;
25227 PyObject
* obj0
= 0 ;
25228 PyObject
* obj1
= 0 ;
25229 PyObject
* obj2
= 0 ;
25230 PyObject
* obj3
= 0 ;
25231 char * kwnames
[] = {
25232 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25238 arg1
= wxString_in_helper(obj0
);
25239 if (arg1
== NULL
) SWIG_fail
;
25244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25245 if (!SWIG_IsOK(ecode2
)) {
25246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25248 arg2
= static_cast< int >(val2
);
25251 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25252 if (!SWIG_IsOK(ecode3
)) {
25253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25255 arg3
= static_cast< int >(val3
);
25259 arg4
= wxString_in_helper(obj3
);
25260 if (arg4
== NULL
) SWIG_fail
;
25265 if (!wxPyCheckForApp()) SWIG_fail
;
25266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25267 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25268 wxPyEndAllowThreads(__tstate
);
25269 if (PyErr_Occurred()) SWIG_fail
;
25271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25294 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25295 PyObject
*resultobj
= 0;
25296 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25297 wxMetaFile
*result
= 0 ;
25300 PyObject
*swig_obj
[1] ;
25302 if (!args
) SWIG_fail
;
25303 swig_obj
[0] = args
;
25304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25305 if (!SWIG_IsOK(res1
)) {
25306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25308 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25311 result
= (wxMetaFile
*)(arg1
)->Close();
25312 wxPyEndAllowThreads(__tstate
);
25313 if (PyErr_Occurred()) SWIG_fail
;
25315 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25322 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25324 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25325 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25326 return SWIG_Py_Void();
25329 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25330 return SWIG_Python_InitShadowInstance(args
);
25333 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25334 PyObject
*resultobj
= 0;
25335 wxPrintData
*arg1
= 0 ;
25336 wxPrinterDC
*result
= 0 ;
25339 PyObject
* obj0
= 0 ;
25340 char * kwnames
[] = {
25341 (char *) "printData", NULL
25344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25345 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25346 if (!SWIG_IsOK(res1
)) {
25347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25350 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25352 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25354 if (!wxPyCheckForApp()) SWIG_fail
;
25355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25356 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25357 wxPyEndAllowThreads(__tstate
);
25358 if (PyErr_Occurred()) SWIG_fail
;
25360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25367 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25369 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25370 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25371 return SWIG_Py_Void();
25374 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25375 return SWIG_Python_InitShadowInstance(args
);
25378 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25379 PyObject
*resultobj
= 0;
25380 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25381 wxGraphicsObject
*result
= 0 ;
25384 PyObject
* obj0
= 0 ;
25385 char * kwnames
[] = {
25386 (char *) "renderer", NULL
25389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25392 if (!SWIG_IsOK(res1
)) {
25393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25395 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25398 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25399 if (PyErr_Occurred()) SWIG_fail
;
25401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25408 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25409 PyObject
*resultobj
= 0;
25410 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25413 PyObject
*swig_obj
[1] ;
25415 if (!args
) SWIG_fail
;
25416 swig_obj
[0] = args
;
25417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25418 if (!SWIG_IsOK(res1
)) {
25419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25421 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25425 if (PyErr_Occurred()) SWIG_fail
;
25427 resultobj
= SWIG_Py_Void();
25434 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25435 PyObject
*resultobj
= 0;
25436 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25440 PyObject
*swig_obj
[1] ;
25442 if (!args
) SWIG_fail
;
25443 swig_obj
[0] = args
;
25444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25445 if (!SWIG_IsOK(res1
)) {
25446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25448 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25450 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25451 if (PyErr_Occurred()) SWIG_fail
;
25454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25462 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25463 PyObject
*resultobj
= 0;
25464 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25465 wxGraphicsRenderer
*result
= 0 ;
25468 PyObject
*swig_obj
[1] ;
25470 if (!args
) SWIG_fail
;
25471 swig_obj
[0] = args
;
25472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25473 if (!SWIG_IsOK(res1
)) {
25474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25476 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25478 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25479 if (PyErr_Occurred()) SWIG_fail
;
25481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25488 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25490 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25491 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25492 return SWIG_Py_Void();
25495 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25496 return SWIG_Python_InitShadowInstance(args
);
25499 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25500 PyObject
*resultobj
= 0;
25501 wxGraphicsPen
*result
= 0 ;
25503 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25505 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25506 if (PyErr_Occurred()) SWIG_fail
;
25508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25515 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25516 PyObject
*resultobj
= 0;
25517 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25520 PyObject
*swig_obj
[1] ;
25522 if (!args
) SWIG_fail
;
25523 swig_obj
[0] = args
;
25524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25525 if (!SWIG_IsOK(res1
)) {
25526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25528 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25532 if (PyErr_Occurred()) SWIG_fail
;
25534 resultobj
= SWIG_Py_Void();
25541 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25543 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25544 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25545 return SWIG_Py_Void();
25548 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25549 return SWIG_Python_InitShadowInstance(args
);
25552 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25553 PyObject
*resultobj
= 0;
25554 wxGraphicsBrush
*result
= 0 ;
25556 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25558 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25559 if (PyErr_Occurred()) SWIG_fail
;
25561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25568 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25569 PyObject
*resultobj
= 0;
25570 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25573 PyObject
*swig_obj
[1] ;
25575 if (!args
) SWIG_fail
;
25576 swig_obj
[0] = args
;
25577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25578 if (!SWIG_IsOK(res1
)) {
25579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25581 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25585 if (PyErr_Occurred()) SWIG_fail
;
25587 resultobj
= SWIG_Py_Void();
25594 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25596 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25597 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25598 return SWIG_Py_Void();
25601 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25602 return SWIG_Python_InitShadowInstance(args
);
25605 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25606 PyObject
*resultobj
= 0;
25607 wxGraphicsFont
*result
= 0 ;
25609 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25611 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25612 if (PyErr_Occurred()) SWIG_fail
;
25614 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25621 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25622 PyObject
*resultobj
= 0;
25623 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25626 PyObject
*swig_obj
[1] ;
25628 if (!args
) SWIG_fail
;
25629 swig_obj
[0] = args
;
25630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25631 if (!SWIG_IsOK(res1
)) {
25632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25634 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25638 if (PyErr_Occurred()) SWIG_fail
;
25640 resultobj
= SWIG_Py_Void();
25647 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25649 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25650 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25651 return SWIG_Py_Void();
25654 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25655 return SWIG_Python_InitShadowInstance(args
);
25658 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25659 PyObject
*resultobj
= 0;
25660 wxGraphicsMatrix
*result
= 0 ;
25662 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
25664 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
25665 if (PyErr_Occurred()) SWIG_fail
;
25667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
25674 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25675 PyObject
*resultobj
= 0;
25676 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25679 PyObject
*swig_obj
[1] ;
25681 if (!args
) SWIG_fail
;
25682 swig_obj
[0] = args
;
25683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25684 if (!SWIG_IsOK(res1
)) {
25685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25687 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25691 if (PyErr_Occurred()) SWIG_fail
;
25693 resultobj
= SWIG_Py_Void();
25700 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25701 PyObject
*resultobj
= 0;
25702 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25703 wxGraphicsMatrix
*arg2
= 0 ;
25708 PyObject
* obj0
= 0 ;
25709 PyObject
* obj1
= 0 ;
25710 char * kwnames
[] = {
25711 (char *) "self",(char *) "t", NULL
25714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25716 if (!SWIG_IsOK(res1
)) {
25717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25719 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25720 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25721 if (!SWIG_IsOK(res2
)) {
25722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25727 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25729 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25730 if (PyErr_Occurred()) SWIG_fail
;
25732 resultobj
= SWIG_Py_Void();
25739 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25740 PyObject
*resultobj
= 0;
25741 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25742 wxDouble arg2
= (wxDouble
) 1.0 ;
25743 wxDouble arg3
= (wxDouble
) 0.0 ;
25744 wxDouble arg4
= (wxDouble
) 0.0 ;
25745 wxDouble arg5
= (wxDouble
) 1.0 ;
25746 wxDouble arg6
= (wxDouble
) 0.0 ;
25747 wxDouble arg7
= (wxDouble
) 0.0 ;
25762 PyObject
* obj0
= 0 ;
25763 PyObject
* obj1
= 0 ;
25764 PyObject
* obj2
= 0 ;
25765 PyObject
* obj3
= 0 ;
25766 PyObject
* obj4
= 0 ;
25767 PyObject
* obj5
= 0 ;
25768 PyObject
* obj6
= 0 ;
25769 char * kwnames
[] = {
25770 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25775 if (!SWIG_IsOK(res1
)) {
25776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25778 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25780 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25781 if (!SWIG_IsOK(ecode2
)) {
25782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25784 arg2
= static_cast< wxDouble
>(val2
);
25787 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25788 if (!SWIG_IsOK(ecode3
)) {
25789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25791 arg3
= static_cast< wxDouble
>(val3
);
25794 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25795 if (!SWIG_IsOK(ecode4
)) {
25796 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25798 arg4
= static_cast< wxDouble
>(val4
);
25801 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25802 if (!SWIG_IsOK(ecode5
)) {
25803 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25805 arg5
= static_cast< wxDouble
>(val5
);
25808 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25809 if (!SWIG_IsOK(ecode6
)) {
25810 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25812 arg6
= static_cast< wxDouble
>(val6
);
25815 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25816 if (!SWIG_IsOK(ecode7
)) {
25817 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25819 arg7
= static_cast< wxDouble
>(val7
);
25822 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25823 if (PyErr_Occurred()) SWIG_fail
;
25825 resultobj
= SWIG_Py_Void();
25832 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25833 PyObject
*resultobj
= 0;
25834 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25837 PyObject
*swig_obj
[1] ;
25839 if (!args
) SWIG_fail
;
25840 swig_obj
[0] = args
;
25841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25842 if (!SWIG_IsOK(res1
)) {
25843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25845 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25848 if (PyErr_Occurred()) SWIG_fail
;
25850 resultobj
= SWIG_Py_Void();
25857 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25858 PyObject
*resultobj
= 0;
25859 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25860 wxGraphicsMatrix
*arg2
= 0 ;
25866 PyObject
* obj0
= 0 ;
25867 PyObject
* obj1
= 0 ;
25868 char * kwnames
[] = {
25869 (char *) "self",(char *) "t", NULL
25872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25874 if (!SWIG_IsOK(res1
)) {
25875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25877 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25878 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25879 if (!SWIG_IsOK(res2
)) {
25880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25885 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25887 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
25888 if (PyErr_Occurred()) SWIG_fail
;
25891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25899 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25900 PyObject
*resultobj
= 0;
25901 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25905 PyObject
*swig_obj
[1] ;
25907 if (!args
) SWIG_fail
;
25908 swig_obj
[0] = args
;
25909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25910 if (!SWIG_IsOK(res1
)) {
25911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25913 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25915 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
25916 if (PyErr_Occurred()) SWIG_fail
;
25919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25927 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25928 PyObject
*resultobj
= 0;
25929 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25938 PyObject
* obj0
= 0 ;
25939 PyObject
* obj1
= 0 ;
25940 PyObject
* obj2
= 0 ;
25941 char * kwnames
[] = {
25942 (char *) "self",(char *) "dx",(char *) "dy", NULL
25945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25947 if (!SWIG_IsOK(res1
)) {
25948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25950 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25951 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25952 if (!SWIG_IsOK(ecode2
)) {
25953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25955 arg2
= static_cast< wxDouble
>(val2
);
25956 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25957 if (!SWIG_IsOK(ecode3
)) {
25958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25960 arg3
= static_cast< wxDouble
>(val3
);
25962 (arg1
)->Translate(arg2
,arg3
);
25963 if (PyErr_Occurred()) SWIG_fail
;
25965 resultobj
= SWIG_Py_Void();
25972 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25973 PyObject
*resultobj
= 0;
25974 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25983 PyObject
* obj0
= 0 ;
25984 PyObject
* obj1
= 0 ;
25985 PyObject
* obj2
= 0 ;
25986 char * kwnames
[] = {
25987 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25992 if (!SWIG_IsOK(res1
)) {
25993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25995 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25996 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25997 if (!SWIG_IsOK(ecode2
)) {
25998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26000 arg2
= static_cast< wxDouble
>(val2
);
26001 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26002 if (!SWIG_IsOK(ecode3
)) {
26003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26005 arg3
= static_cast< wxDouble
>(val3
);
26007 (arg1
)->Scale(arg2
,arg3
);
26008 if (PyErr_Occurred()) SWIG_fail
;
26010 resultobj
= SWIG_Py_Void();
26017 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26018 PyObject
*resultobj
= 0;
26019 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26025 PyObject
* obj0
= 0 ;
26026 PyObject
* obj1
= 0 ;
26027 char * kwnames
[] = {
26028 (char *) "self",(char *) "angle", NULL
26031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26033 if (!SWIG_IsOK(res1
)) {
26034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26036 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26037 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26038 if (!SWIG_IsOK(ecode2
)) {
26039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26041 arg2
= static_cast< wxDouble
>(val2
);
26043 (arg1
)->Rotate(arg2
);
26044 if (PyErr_Occurred()) SWIG_fail
;
26046 resultobj
= SWIG_Py_Void();
26053 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26054 PyObject
*resultobj
= 0;
26055 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26056 wxDouble
*arg2
= (wxDouble
*) 0 ;
26057 wxDouble
*arg3
= (wxDouble
*) 0 ;
26064 PyObject
* obj0
= 0 ;
26065 PyObject
* obj1
= 0 ;
26066 PyObject
* obj2
= 0 ;
26067 char * kwnames
[] = {
26068 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26073 if (!SWIG_IsOK(res1
)) {
26074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26076 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26077 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26079 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26080 if (!SWIG_IsOK(ecode
)) {
26081 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26083 temp2
= static_cast< wxDouble
>(val
);
26085 res2
= SWIG_AddTmpMask(ecode
);
26087 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26089 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26090 if (!SWIG_IsOK(ecode
)) {
26091 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26093 temp3
= static_cast< wxDouble
>(val
);
26095 res3
= SWIG_AddTmpMask(ecode
);
26098 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26099 if (PyErr_Occurred()) SWIG_fail
;
26101 resultobj
= SWIG_Py_Void();
26102 if (SWIG_IsTmpObj(res2
)) {
26103 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26105 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26106 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26108 if (SWIG_IsTmpObj(res3
)) {
26109 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26111 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26112 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26120 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26121 PyObject
*resultobj
= 0;
26122 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26123 wxDouble
*arg2
= (wxDouble
*) 0 ;
26124 wxDouble
*arg3
= (wxDouble
*) 0 ;
26131 PyObject
* obj0
= 0 ;
26132 PyObject
* obj1
= 0 ;
26133 PyObject
* obj2
= 0 ;
26134 char * kwnames
[] = {
26135 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26140 if (!SWIG_IsOK(res1
)) {
26141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26143 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26144 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26146 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26147 if (!SWIG_IsOK(ecode
)) {
26148 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26150 temp2
= static_cast< wxDouble
>(val
);
26152 res2
= SWIG_AddTmpMask(ecode
);
26154 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26156 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26157 if (!SWIG_IsOK(ecode
)) {
26158 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26160 temp3
= static_cast< wxDouble
>(val
);
26162 res3
= SWIG_AddTmpMask(ecode
);
26165 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26166 if (PyErr_Occurred()) SWIG_fail
;
26168 resultobj
= SWIG_Py_Void();
26169 if (SWIG_IsTmpObj(res2
)) {
26170 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26172 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26173 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26175 if (SWIG_IsTmpObj(res3
)) {
26176 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26178 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26179 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26187 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26188 PyObject
*resultobj
= 0;
26189 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26193 PyObject
*swig_obj
[1] ;
26195 if (!args
) SWIG_fail
;
26196 swig_obj
[0] = args
;
26197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26198 if (!SWIG_IsOK(res1
)) {
26199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26201 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26203 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26204 if (PyErr_Occurred()) SWIG_fail
;
26206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26213 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26215 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26216 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26217 return SWIG_Py_Void();
26220 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26221 return SWIG_Python_InitShadowInstance(args
);
26224 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26225 PyObject
*resultobj
= 0;
26226 wxGraphicsPath
*result
= 0 ;
26228 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26230 if (!wxPyCheckForApp()) SWIG_fail
;
26231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26232 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26233 wxPyEndAllowThreads(__tstate
);
26234 if (PyErr_Occurred()) SWIG_fail
;
26236 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
26243 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26244 PyObject
*resultobj
= 0;
26245 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26248 PyObject
*swig_obj
[1] ;
26250 if (!args
) SWIG_fail
;
26251 swig_obj
[0] = args
;
26252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26253 if (!SWIG_IsOK(res1
)) {
26254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26256 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26260 if (PyErr_Occurred()) SWIG_fail
;
26262 resultobj
= SWIG_Py_Void();
26269 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26270 PyObject
*resultobj
= 0;
26271 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26281 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26283 if (!SWIG_IsOK(res1
)) {
26284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26286 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26287 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26288 if (!SWIG_IsOK(ecode2
)) {
26289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26291 arg2
= static_cast< wxDouble
>(val2
);
26292 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26293 if (!SWIG_IsOK(ecode3
)) {
26294 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26296 arg3
= static_cast< wxDouble
>(val3
);
26298 (arg1
)->MoveToPoint(arg2
,arg3
);
26299 if (PyErr_Occurred()) SWIG_fail
;
26301 resultobj
= SWIG_Py_Void();
26308 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26309 PyObject
*resultobj
= 0;
26310 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26311 wxPoint2D
*arg2
= 0 ;
26316 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26318 if (!SWIG_IsOK(res1
)) {
26319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26321 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26324 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26327 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26328 if (PyErr_Occurred()) SWIG_fail
;
26330 resultobj
= SWIG_Py_Void();
26337 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26341 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26344 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26347 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26351 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26356 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26357 PyObject
*resultobj
= 0;
26358 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26368 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26370 if (!SWIG_IsOK(res1
)) {
26371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26373 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26374 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26375 if (!SWIG_IsOK(ecode2
)) {
26376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26378 arg2
= static_cast< wxDouble
>(val2
);
26379 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26380 if (!SWIG_IsOK(ecode3
)) {
26381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26383 arg3
= static_cast< wxDouble
>(val3
);
26385 (arg1
)->AddLineToPoint(arg2
,arg3
);
26386 if (PyErr_Occurred()) SWIG_fail
;
26388 resultobj
= SWIG_Py_Void();
26395 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26396 PyObject
*resultobj
= 0;
26397 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26398 wxPoint2D
*arg2
= 0 ;
26403 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26405 if (!SWIG_IsOK(res1
)) {
26406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26408 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26411 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26414 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26415 if (PyErr_Occurred()) SWIG_fail
;
26417 resultobj
= SWIG_Py_Void();
26424 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26428 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26431 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26434 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26438 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26443 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26444 PyObject
*resultobj
= 0;
26445 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26467 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26469 if (!SWIG_IsOK(res1
)) {
26470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26472 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26473 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26474 if (!SWIG_IsOK(ecode2
)) {
26475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26477 arg2
= static_cast< wxDouble
>(val2
);
26478 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26479 if (!SWIG_IsOK(ecode3
)) {
26480 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26482 arg3
= static_cast< wxDouble
>(val3
);
26483 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26484 if (!SWIG_IsOK(ecode4
)) {
26485 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26487 arg4
= static_cast< wxDouble
>(val4
);
26488 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26489 if (!SWIG_IsOK(ecode5
)) {
26490 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26492 arg5
= static_cast< wxDouble
>(val5
);
26493 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26494 if (!SWIG_IsOK(ecode6
)) {
26495 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26497 arg6
= static_cast< wxDouble
>(val6
);
26498 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26499 if (!SWIG_IsOK(ecode7
)) {
26500 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26502 arg7
= static_cast< wxDouble
>(val7
);
26504 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26505 if (PyErr_Occurred()) SWIG_fail
;
26507 resultobj
= SWIG_Py_Void();
26514 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26515 PyObject
*resultobj
= 0;
26516 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26517 wxPoint2D
*arg2
= 0 ;
26518 wxPoint2D
*arg3
= 0 ;
26519 wxPoint2D
*arg4
= 0 ;
26526 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26528 if (!SWIG_IsOK(res1
)) {
26529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26531 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26534 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26538 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26542 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26545 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26546 if (PyErr_Occurred()) SWIG_fail
;
26548 resultobj
= SWIG_Py_Void();
26555 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26559 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26562 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26565 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26569 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26574 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26575 PyObject
*resultobj
= 0;
26576 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26577 wxGraphicsPath
*arg2
= 0 ;
26582 PyObject
* obj0
= 0 ;
26583 PyObject
* obj1
= 0 ;
26584 char * kwnames
[] = {
26585 (char *) "self",(char *) "path", NULL
26588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26590 if (!SWIG_IsOK(res1
)) {
26591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26593 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26594 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26595 if (!SWIG_IsOK(res2
)) {
26596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26599 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26601 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26603 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26604 if (PyErr_Occurred()) SWIG_fail
;
26606 resultobj
= SWIG_Py_Void();
26613 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26614 PyObject
*resultobj
= 0;
26615 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26618 PyObject
*swig_obj
[1] ;
26620 if (!args
) SWIG_fail
;
26621 swig_obj
[0] = args
;
26622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26623 if (!SWIG_IsOK(res1
)) {
26624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26626 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26628 (arg1
)->CloseSubpath();
26629 if (PyErr_Occurred()) SWIG_fail
;
26631 resultobj
= SWIG_Py_Void();
26638 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26639 PyObject
*resultobj
= 0;
26640 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26644 PyObject
*swig_obj
[1] ;
26646 if (!args
) SWIG_fail
;
26647 swig_obj
[0] = args
;
26648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26649 if (!SWIG_IsOK(res1
)) {
26650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26652 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26654 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26655 if (PyErr_Occurred()) SWIG_fail
;
26657 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26664 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26665 PyObject
*resultobj
= 0;
26666 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26688 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26690 if (!SWIG_IsOK(res1
)) {
26691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26693 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26694 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26695 if (!SWIG_IsOK(ecode2
)) {
26696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26698 arg2
= static_cast< wxDouble
>(val2
);
26699 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26700 if (!SWIG_IsOK(ecode3
)) {
26701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26703 arg3
= static_cast< wxDouble
>(val3
);
26704 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26705 if (!SWIG_IsOK(ecode4
)) {
26706 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26708 arg4
= static_cast< wxDouble
>(val4
);
26709 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26710 if (!SWIG_IsOK(ecode5
)) {
26711 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26713 arg5
= static_cast< wxDouble
>(val5
);
26714 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26715 if (!SWIG_IsOK(ecode6
)) {
26716 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26718 arg6
= static_cast< wxDouble
>(val6
);
26719 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26720 if (!SWIG_IsOK(ecode7
)) {
26721 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26723 arg7
= static_cast< bool >(val7
);
26725 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26726 if (PyErr_Occurred()) SWIG_fail
;
26728 resultobj
= SWIG_Py_Void();
26735 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26736 PyObject
*resultobj
= 0;
26737 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26738 wxPoint2D
*arg2
= 0 ;
26755 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26757 if (!SWIG_IsOK(res1
)) {
26758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26760 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26763 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26765 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26766 if (!SWIG_IsOK(ecode3
)) {
26767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26769 arg3
= static_cast< wxDouble
>(val3
);
26770 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26771 if (!SWIG_IsOK(ecode4
)) {
26772 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26774 arg4
= static_cast< wxDouble
>(val4
);
26775 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26776 if (!SWIG_IsOK(ecode5
)) {
26777 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26779 arg5
= static_cast< wxDouble
>(val5
);
26780 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26781 if (!SWIG_IsOK(ecode6
)) {
26782 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26784 arg6
= static_cast< bool >(val6
);
26786 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26787 if (PyErr_Occurred()) SWIG_fail
;
26789 resultobj
= SWIG_Py_Void();
26796 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26800 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26803 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26806 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26810 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26815 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26816 PyObject
*resultobj
= 0;
26817 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26832 PyObject
* obj0
= 0 ;
26833 PyObject
* obj1
= 0 ;
26834 PyObject
* obj2
= 0 ;
26835 PyObject
* obj3
= 0 ;
26836 PyObject
* obj4
= 0 ;
26837 char * kwnames
[] = {
26838 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26843 if (!SWIG_IsOK(res1
)) {
26844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26846 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26847 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26848 if (!SWIG_IsOK(ecode2
)) {
26849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26851 arg2
= static_cast< wxDouble
>(val2
);
26852 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26853 if (!SWIG_IsOK(ecode3
)) {
26854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26856 arg3
= static_cast< wxDouble
>(val3
);
26857 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26858 if (!SWIG_IsOK(ecode4
)) {
26859 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26861 arg4
= static_cast< wxDouble
>(val4
);
26862 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26863 if (!SWIG_IsOK(ecode5
)) {
26864 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26866 arg5
= static_cast< wxDouble
>(val5
);
26868 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
26869 if (PyErr_Occurred()) SWIG_fail
;
26871 resultobj
= SWIG_Py_Void();
26878 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26879 PyObject
*resultobj
= 0;
26880 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26895 PyObject
* obj0
= 0 ;
26896 PyObject
* obj1
= 0 ;
26897 PyObject
* obj2
= 0 ;
26898 PyObject
* obj3
= 0 ;
26899 PyObject
* obj4
= 0 ;
26900 char * kwnames
[] = {
26901 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26906 if (!SWIG_IsOK(res1
)) {
26907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26909 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26910 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26911 if (!SWIG_IsOK(ecode2
)) {
26912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26914 arg2
= static_cast< wxDouble
>(val2
);
26915 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26916 if (!SWIG_IsOK(ecode3
)) {
26917 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26919 arg3
= static_cast< wxDouble
>(val3
);
26920 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26921 if (!SWIG_IsOK(ecode4
)) {
26922 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26924 arg4
= static_cast< wxDouble
>(val4
);
26925 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26926 if (!SWIG_IsOK(ecode5
)) {
26927 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26929 arg5
= static_cast< wxDouble
>(val5
);
26931 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
26932 if (PyErr_Occurred()) SWIG_fail
;
26934 resultobj
= SWIG_Py_Void();
26941 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26942 PyObject
*resultobj
= 0;
26943 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26955 PyObject
* obj0
= 0 ;
26956 PyObject
* obj1
= 0 ;
26957 PyObject
* obj2
= 0 ;
26958 PyObject
* obj3
= 0 ;
26959 char * kwnames
[] = {
26960 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
26963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26965 if (!SWIG_IsOK(res1
)) {
26966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26968 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26969 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26970 if (!SWIG_IsOK(ecode2
)) {
26971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
26973 arg2
= static_cast< wxDouble
>(val2
);
26974 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26975 if (!SWIG_IsOK(ecode3
)) {
26976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
26978 arg3
= static_cast< wxDouble
>(val3
);
26979 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26980 if (!SWIG_IsOK(ecode4
)) {
26981 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
26983 arg4
= static_cast< wxDouble
>(val4
);
26985 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
26986 if (PyErr_Occurred()) SWIG_fail
;
26988 resultobj
= SWIG_Py_Void();
26995 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26996 PyObject
*resultobj
= 0;
26997 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27015 PyObject
* obj0
= 0 ;
27016 PyObject
* obj1
= 0 ;
27017 PyObject
* obj2
= 0 ;
27018 PyObject
* obj3
= 0 ;
27019 PyObject
* obj4
= 0 ;
27020 PyObject
* obj5
= 0 ;
27021 char * kwnames
[] = {
27022 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27027 if (!SWIG_IsOK(res1
)) {
27028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27030 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27031 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27032 if (!SWIG_IsOK(ecode2
)) {
27033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27035 arg2
= static_cast< wxDouble
>(val2
);
27036 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27037 if (!SWIG_IsOK(ecode3
)) {
27038 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27040 arg3
= static_cast< wxDouble
>(val3
);
27041 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27042 if (!SWIG_IsOK(ecode4
)) {
27043 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27045 arg4
= static_cast< wxDouble
>(val4
);
27046 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27047 if (!SWIG_IsOK(ecode5
)) {
27048 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27050 arg5
= static_cast< wxDouble
>(val5
);
27051 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27052 if (!SWIG_IsOK(ecode6
)) {
27053 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27055 arg6
= static_cast< wxDouble
>(val6
);
27057 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27058 if (PyErr_Occurred()) SWIG_fail
;
27060 resultobj
= SWIG_Py_Void();
27067 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27068 PyObject
*resultobj
= 0;
27069 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27084 PyObject
* obj0
= 0 ;
27085 PyObject
* obj1
= 0 ;
27086 PyObject
* obj2
= 0 ;
27087 PyObject
* obj3
= 0 ;
27088 PyObject
* obj4
= 0 ;
27089 char * kwnames
[] = {
27090 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27095 if (!SWIG_IsOK(res1
)) {
27096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27098 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27099 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27100 if (!SWIG_IsOK(ecode2
)) {
27101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27103 arg2
= static_cast< wxDouble
>(val2
);
27104 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27105 if (!SWIG_IsOK(ecode3
)) {
27106 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27108 arg3
= static_cast< wxDouble
>(val3
);
27109 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27110 if (!SWIG_IsOK(ecode4
)) {
27111 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27113 arg4
= static_cast< wxDouble
>(val4
);
27114 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27115 if (!SWIG_IsOK(ecode5
)) {
27116 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27118 arg5
= static_cast< wxDouble
>(val5
);
27120 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27121 if (PyErr_Occurred()) SWIG_fail
;
27123 resultobj
= SWIG_Py_Void();
27130 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27131 PyObject
*resultobj
= 0;
27132 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27150 PyObject
* obj0
= 0 ;
27151 PyObject
* obj1
= 0 ;
27152 PyObject
* obj2
= 0 ;
27153 PyObject
* obj3
= 0 ;
27154 PyObject
* obj4
= 0 ;
27155 PyObject
* obj5
= 0 ;
27156 char * kwnames
[] = {
27157 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27162 if (!SWIG_IsOK(res1
)) {
27163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27165 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27166 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27167 if (!SWIG_IsOK(ecode2
)) {
27168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27170 arg2
= static_cast< wxDouble
>(val2
);
27171 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27172 if (!SWIG_IsOK(ecode3
)) {
27173 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27175 arg3
= static_cast< wxDouble
>(val3
);
27176 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27177 if (!SWIG_IsOK(ecode4
)) {
27178 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27180 arg4
= static_cast< wxDouble
>(val4
);
27181 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27182 if (!SWIG_IsOK(ecode5
)) {
27183 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27185 arg5
= static_cast< wxDouble
>(val5
);
27186 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27187 if (!SWIG_IsOK(ecode6
)) {
27188 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27190 arg6
= static_cast< wxDouble
>(val6
);
27192 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27193 if (PyErr_Occurred()) SWIG_fail
;
27195 resultobj
= SWIG_Py_Void();
27202 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27203 PyObject
*resultobj
= 0;
27204 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27208 PyObject
*swig_obj
[1] ;
27210 if (!args
) SWIG_fail
;
27211 swig_obj
[0] = args
;
27212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27213 if (!SWIG_IsOK(res1
)) {
27214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27216 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27218 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27219 if (PyErr_Occurred()) SWIG_fail
;
27221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27228 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27229 PyObject
*resultobj
= 0;
27230 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27231 void *arg2
= (void *) 0 ;
27235 PyObject
* obj0
= 0 ;
27236 PyObject
* obj1
= 0 ;
27237 char * kwnames
[] = {
27238 (char *) "self",(char *) "p", NULL
27241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27243 if (!SWIG_IsOK(res1
)) {
27244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27246 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27247 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27248 if (!SWIG_IsOK(res2
)) {
27249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27252 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27253 if (PyErr_Occurred()) SWIG_fail
;
27255 resultobj
= SWIG_Py_Void();
27262 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27263 PyObject
*resultobj
= 0;
27264 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27265 wxGraphicsMatrix
*arg2
= 0 ;
27270 PyObject
* obj0
= 0 ;
27271 PyObject
* obj1
= 0 ;
27272 char * kwnames
[] = {
27273 (char *) "self",(char *) "matrix", NULL
27276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27278 if (!SWIG_IsOK(res1
)) {
27279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27281 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27282 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27283 if (!SWIG_IsOK(res2
)) {
27284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27289 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27291 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27292 if (PyErr_Occurred()) SWIG_fail
;
27294 resultobj
= SWIG_Py_Void();
27301 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27302 PyObject
*resultobj
= 0;
27303 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27304 wxRect2DDouble result
;
27307 PyObject
*swig_obj
[1] ;
27309 if (!args
) SWIG_fail
;
27310 swig_obj
[0] = args
;
27311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27312 if (!SWIG_IsOK(res1
)) {
27313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27315 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27317 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27318 if (PyErr_Occurred()) SWIG_fail
;
27320 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
27327 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27328 PyObject
*resultobj
= 0;
27329 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27332 int arg4
= (int) wxODDEVEN_RULE
;
27343 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27345 if (!SWIG_IsOK(res1
)) {
27346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27348 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27349 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27350 if (!SWIG_IsOK(ecode2
)) {
27351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27353 arg2
= static_cast< wxDouble
>(val2
);
27354 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27355 if (!SWIG_IsOK(ecode3
)) {
27356 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27358 arg3
= static_cast< wxDouble
>(val3
);
27360 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27361 if (!SWIG_IsOK(ecode4
)) {
27362 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27364 arg4
= static_cast< int >(val4
);
27367 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27368 if (PyErr_Occurred()) SWIG_fail
;
27371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27379 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27380 PyObject
*resultobj
= 0;
27381 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27382 wxPoint2DDouble
*arg2
= 0 ;
27383 int arg3
= (int) wxODDEVEN_RULE
;
27392 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27394 if (!SWIG_IsOK(res1
)) {
27395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27397 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27398 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
27399 if (!SWIG_IsOK(res2
)) {
27400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27405 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
27407 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27408 if (!SWIG_IsOK(ecode3
)) {
27409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27411 arg3
= static_cast< int >(val3
);
27414 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27426 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27430 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27432 if ((argc
>= 2) && (argc
<= 3)) {
27435 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
27436 _v
= SWIG_CheckState(res
);
27438 if (!_v
) goto check_1
;
27442 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27443 _v
= SWIG_CheckState(res
);
27446 if (!_v
) goto check_1
;
27448 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27452 if ((argc
>= 3) && (argc
<= 4)) {
27453 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27457 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27462 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27464 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27465 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27466 return SWIG_Py_Void();
27469 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27470 return SWIG_Python_InitShadowInstance(args
);
27473 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27474 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27479 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27480 PyObject
*pyobj
= 0;
27482 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27487 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27488 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27493 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27494 PyObject
*pyobj
= 0;
27496 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27501 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27502 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27507 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27508 PyObject
*pyobj
= 0;
27510 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27515 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27516 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27521 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27522 PyObject
*pyobj
= 0;
27524 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27529 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27530 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27535 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27536 PyObject
*pyobj
= 0;
27538 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27543 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27544 PyObject
*resultobj
= 0;
27545 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27548 PyObject
*swig_obj
[1] ;
27550 if (!args
) SWIG_fail
;
27551 swig_obj
[0] = args
;
27552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27553 if (!SWIG_IsOK(res1
)) {
27554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27556 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27560 if (PyErr_Occurred()) SWIG_fail
;
27562 resultobj
= SWIG_Py_Void();
27569 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27570 PyObject
*resultobj
= 0;
27571 wxWindowDC
*arg1
= 0 ;
27572 wxGraphicsContext
*result
= 0 ;
27576 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27578 if (!SWIG_IsOK(res1
)) {
27579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27584 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27586 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27587 if (PyErr_Occurred()) SWIG_fail
;
27589 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27596 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27597 PyObject
*resultobj
= 0;
27598 wxWindow
*arg1
= (wxWindow
*) 0 ;
27599 wxGraphicsContext
*result
= 0 ;
27603 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27605 if (!SWIG_IsOK(res1
)) {
27606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27608 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27610 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27611 if (PyErr_Occurred()) SWIG_fail
;
27613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27620 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27624 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27629 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27630 _v
= SWIG_CheckState(res
);
27632 if (!_v
) goto check_1
;
27633 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27638 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27642 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27647 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27648 PyObject
*resultobj
= 0;
27649 wxGraphicsContext
*result
= 0 ;
27651 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
27653 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
27654 if (PyErr_Occurred()) SWIG_fail
;
27656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27663 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27664 PyObject
*resultobj
= 0;
27665 void *arg1
= (void *) 0 ;
27666 wxGraphicsContext
*result
= 0 ;
27668 PyObject
* obj0
= 0 ;
27669 char * kwnames
[] = {
27670 (char *) "context", NULL
27673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27674 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27675 if (!SWIG_IsOK(res1
)) {
27676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27679 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27680 if (PyErr_Occurred()) SWIG_fail
;
27682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27689 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27690 PyObject
*resultobj
= 0;
27691 void *arg1
= (void *) 0 ;
27692 wxGraphicsContext
*result
= 0 ;
27694 PyObject
* obj0
= 0 ;
27695 char * kwnames
[] = {
27696 (char *) "window", NULL
27699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27700 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27701 if (!SWIG_IsOK(res1
)) {
27702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27705 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27706 if (PyErr_Occurred()) SWIG_fail
;
27708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27715 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27716 PyObject
*resultobj
= 0;
27717 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27718 wxGraphicsPath result
;
27721 PyObject
*swig_obj
[1] ;
27723 if (!args
) SWIG_fail
;
27724 swig_obj
[0] = args
;
27725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27726 if (!SWIG_IsOK(res1
)) {
27727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27729 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27731 result
= (arg1
)->CreatePath();
27732 if (PyErr_Occurred()) SWIG_fail
;
27734 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27741 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27742 PyObject
*resultobj
= 0;
27743 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27745 wxGraphicsPen result
;
27750 PyObject
* obj0
= 0 ;
27751 PyObject
* obj1
= 0 ;
27752 char * kwnames
[] = {
27753 (char *) "self",(char *) "pen", NULL
27756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27758 if (!SWIG_IsOK(res1
)) {
27759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27761 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27762 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27763 if (!SWIG_IsOK(res2
)) {
27764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27769 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27771 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27772 if (PyErr_Occurred()) SWIG_fail
;
27774 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27781 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27782 PyObject
*resultobj
= 0;
27783 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27784 wxBrush
*arg2
= 0 ;
27785 wxGraphicsBrush result
;
27790 PyObject
* obj0
= 0 ;
27791 PyObject
* obj1
= 0 ;
27792 char * kwnames
[] = {
27793 (char *) "self",(char *) "brush", NULL
27796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27798 if (!SWIG_IsOK(res1
)) {
27799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27801 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27802 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27803 if (!SWIG_IsOK(res2
)) {
27804 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27807 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27809 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27811 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27812 if (PyErr_Occurred()) SWIG_fail
;
27814 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27821 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27822 PyObject
*resultobj
= 0;
27823 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27828 wxColour
*arg6
= 0 ;
27829 wxColour
*arg7
= 0 ;
27830 wxGraphicsBrush result
;
27843 PyObject
* obj0
= 0 ;
27844 PyObject
* obj1
= 0 ;
27845 PyObject
* obj2
= 0 ;
27846 PyObject
* obj3
= 0 ;
27847 PyObject
* obj4
= 0 ;
27848 PyObject
* obj5
= 0 ;
27849 PyObject
* obj6
= 0 ;
27850 char * kwnames
[] = {
27851 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27856 if (!SWIG_IsOK(res1
)) {
27857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27859 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27860 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27861 if (!SWIG_IsOK(ecode2
)) {
27862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27864 arg2
= static_cast< wxDouble
>(val2
);
27865 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27866 if (!SWIG_IsOK(ecode3
)) {
27867 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27869 arg3
= static_cast< wxDouble
>(val3
);
27870 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27871 if (!SWIG_IsOK(ecode4
)) {
27872 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27874 arg4
= static_cast< wxDouble
>(val4
);
27875 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27876 if (!SWIG_IsOK(ecode5
)) {
27877 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27879 arg5
= static_cast< wxDouble
>(val5
);
27882 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27886 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27889 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
27890 if (PyErr_Occurred()) SWIG_fail
;
27892 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27899 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27900 PyObject
*resultobj
= 0;
27901 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27907 wxColour
*arg7
= 0 ;
27908 wxColour
*arg8
= 0 ;
27909 wxGraphicsBrush result
;
27924 PyObject
* obj0
= 0 ;
27925 PyObject
* obj1
= 0 ;
27926 PyObject
* obj2
= 0 ;
27927 PyObject
* obj3
= 0 ;
27928 PyObject
* obj4
= 0 ;
27929 PyObject
* obj5
= 0 ;
27930 PyObject
* obj6
= 0 ;
27931 PyObject
* obj7
= 0 ;
27932 char * kwnames
[] = {
27933 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
27936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
27937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27938 if (!SWIG_IsOK(res1
)) {
27939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27941 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27942 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27943 if (!SWIG_IsOK(ecode2
)) {
27944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27946 arg2
= static_cast< wxDouble
>(val2
);
27947 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27948 if (!SWIG_IsOK(ecode3
)) {
27949 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27951 arg3
= static_cast< wxDouble
>(val3
);
27952 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27953 if (!SWIG_IsOK(ecode4
)) {
27954 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27956 arg4
= static_cast< wxDouble
>(val4
);
27957 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27958 if (!SWIG_IsOK(ecode5
)) {
27959 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27961 arg5
= static_cast< wxDouble
>(val5
);
27962 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27963 if (!SWIG_IsOK(ecode6
)) {
27964 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
27966 arg6
= static_cast< wxDouble
>(val6
);
27969 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27973 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
27976 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
27977 if (PyErr_Occurred()) SWIG_fail
;
27979 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27986 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27987 PyObject
*resultobj
= 0;
27988 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27990 wxColour
const &arg3_defvalue
= *wxBLACK
;
27991 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
27992 wxGraphicsFont result
;
27998 PyObject
* obj0
= 0 ;
27999 PyObject
* obj1
= 0 ;
28000 PyObject
* obj2
= 0 ;
28001 char * kwnames
[] = {
28002 (char *) "self",(char *) "font",(char *) "col", NULL
28005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28007 if (!SWIG_IsOK(res1
)) {
28008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28010 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28011 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28012 if (!SWIG_IsOK(res2
)) {
28013 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28016 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28018 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28022 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28026 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28027 if (PyErr_Occurred()) SWIG_fail
;
28029 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28036 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28037 PyObject
*resultobj
= 0;
28038 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28039 wxDouble arg2
= (wxDouble
) 1.0 ;
28040 wxDouble arg3
= (wxDouble
) 0.0 ;
28041 wxDouble arg4
= (wxDouble
) 0.0 ;
28042 wxDouble arg5
= (wxDouble
) 1.0 ;
28043 wxDouble arg6
= (wxDouble
) 0.0 ;
28044 wxDouble arg7
= (wxDouble
) 0.0 ;
28045 wxGraphicsMatrix result
;
28060 PyObject
* obj0
= 0 ;
28061 PyObject
* obj1
= 0 ;
28062 PyObject
* obj2
= 0 ;
28063 PyObject
* obj3
= 0 ;
28064 PyObject
* obj4
= 0 ;
28065 PyObject
* obj5
= 0 ;
28066 PyObject
* obj6
= 0 ;
28067 char * kwnames
[] = {
28068 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28073 if (!SWIG_IsOK(res1
)) {
28074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28076 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28078 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28079 if (!SWIG_IsOK(ecode2
)) {
28080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28082 arg2
= static_cast< wxDouble
>(val2
);
28085 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28086 if (!SWIG_IsOK(ecode3
)) {
28087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28089 arg3
= static_cast< wxDouble
>(val3
);
28092 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28093 if (!SWIG_IsOK(ecode4
)) {
28094 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28096 arg4
= static_cast< wxDouble
>(val4
);
28099 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28100 if (!SWIG_IsOK(ecode5
)) {
28101 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28103 arg5
= static_cast< wxDouble
>(val5
);
28106 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28107 if (!SWIG_IsOK(ecode6
)) {
28108 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28110 arg6
= static_cast< wxDouble
>(val6
);
28113 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28114 if (!SWIG_IsOK(ecode7
)) {
28115 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28117 arg7
= static_cast< wxDouble
>(val7
);
28120 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28121 if (PyErr_Occurred()) SWIG_fail
;
28123 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28130 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28131 PyObject
*resultobj
= 0;
28132 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28135 PyObject
*swig_obj
[1] ;
28137 if (!args
) SWIG_fail
;
28138 swig_obj
[0] = args
;
28139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28140 if (!SWIG_IsOK(res1
)) {
28141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28143 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28145 (arg1
)->PushState();
28146 if (PyErr_Occurred()) SWIG_fail
;
28148 resultobj
= SWIG_Py_Void();
28155 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28156 PyObject
*resultobj
= 0;
28157 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28160 PyObject
*swig_obj
[1] ;
28162 if (!args
) SWIG_fail
;
28163 swig_obj
[0] = args
;
28164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28165 if (!SWIG_IsOK(res1
)) {
28166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28168 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28170 (arg1
)->PopState();
28171 if (PyErr_Occurred()) SWIG_fail
;
28173 resultobj
= SWIG_Py_Void();
28180 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28181 PyObject
*resultobj
= 0;
28182 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28183 wxRegion
*arg2
= 0 ;
28188 PyObject
* obj0
= 0 ;
28189 PyObject
* obj1
= 0 ;
28190 char * kwnames
[] = {
28191 (char *) "self",(char *) "region", NULL
28194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28196 if (!SWIG_IsOK(res1
)) {
28197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28199 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28200 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28201 if (!SWIG_IsOK(res2
)) {
28202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28207 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28209 (arg1
)->Clip((wxRegion
const &)*arg2
);
28210 if (PyErr_Occurred()) SWIG_fail
;
28212 resultobj
= SWIG_Py_Void();
28219 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28220 PyObject
*resultobj
= 0;
28221 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28236 PyObject
* obj0
= 0 ;
28237 PyObject
* obj1
= 0 ;
28238 PyObject
* obj2
= 0 ;
28239 PyObject
* obj3
= 0 ;
28240 PyObject
* obj4
= 0 ;
28241 char * kwnames
[] = {
28242 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28247 if (!SWIG_IsOK(res1
)) {
28248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28250 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28251 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28252 if (!SWIG_IsOK(ecode2
)) {
28253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28255 arg2
= static_cast< wxDouble
>(val2
);
28256 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28257 if (!SWIG_IsOK(ecode3
)) {
28258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28260 arg3
= static_cast< wxDouble
>(val3
);
28261 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28262 if (!SWIG_IsOK(ecode4
)) {
28263 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28265 arg4
= static_cast< wxDouble
>(val4
);
28266 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28267 if (!SWIG_IsOK(ecode5
)) {
28268 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28270 arg5
= static_cast< wxDouble
>(val5
);
28272 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28273 if (PyErr_Occurred()) SWIG_fail
;
28275 resultobj
= SWIG_Py_Void();
28282 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28283 PyObject
*resultobj
= 0;
28284 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28287 PyObject
*swig_obj
[1] ;
28289 if (!args
) SWIG_fail
;
28290 swig_obj
[0] = args
;
28291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28292 if (!SWIG_IsOK(res1
)) {
28293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28295 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28297 (arg1
)->ResetClip();
28298 if (PyErr_Occurred()) SWIG_fail
;
28300 resultobj
= SWIG_Py_Void();
28307 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28308 PyObject
*resultobj
= 0;
28309 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28313 PyObject
*swig_obj
[1] ;
28315 if (!args
) SWIG_fail
;
28316 swig_obj
[0] = args
;
28317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28318 if (!SWIG_IsOK(res1
)) {
28319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28321 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28323 result
= (void *)(arg1
)->GetNativeContext();
28324 if (PyErr_Occurred()) SWIG_fail
;
28326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28333 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28334 PyObject
*resultobj
= 0;
28335 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28344 PyObject
* obj0
= 0 ;
28345 PyObject
* obj1
= 0 ;
28346 PyObject
* obj2
= 0 ;
28347 char * kwnames
[] = {
28348 (char *) "self",(char *) "dx",(char *) "dy", NULL
28351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28353 if (!SWIG_IsOK(res1
)) {
28354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28356 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28357 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28358 if (!SWIG_IsOK(ecode2
)) {
28359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28361 arg2
= static_cast< wxDouble
>(val2
);
28362 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28363 if (!SWIG_IsOK(ecode3
)) {
28364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28366 arg3
= static_cast< wxDouble
>(val3
);
28368 (arg1
)->Translate(arg2
,arg3
);
28369 if (PyErr_Occurred()) SWIG_fail
;
28371 resultobj
= SWIG_Py_Void();
28378 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28379 PyObject
*resultobj
= 0;
28380 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28389 PyObject
* obj0
= 0 ;
28390 PyObject
* obj1
= 0 ;
28391 PyObject
* obj2
= 0 ;
28392 char * kwnames
[] = {
28393 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28398 if (!SWIG_IsOK(res1
)) {
28399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28401 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28402 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28403 if (!SWIG_IsOK(ecode2
)) {
28404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28406 arg2
= static_cast< wxDouble
>(val2
);
28407 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28408 if (!SWIG_IsOK(ecode3
)) {
28409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28411 arg3
= static_cast< wxDouble
>(val3
);
28413 (arg1
)->Scale(arg2
,arg3
);
28414 if (PyErr_Occurred()) SWIG_fail
;
28416 resultobj
= SWIG_Py_Void();
28423 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28424 PyObject
*resultobj
= 0;
28425 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28431 PyObject
* obj0
= 0 ;
28432 PyObject
* obj1
= 0 ;
28433 char * kwnames
[] = {
28434 (char *) "self",(char *) "angle", NULL
28437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28439 if (!SWIG_IsOK(res1
)) {
28440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28442 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28443 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28444 if (!SWIG_IsOK(ecode2
)) {
28445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28447 arg2
= static_cast< wxDouble
>(val2
);
28449 (arg1
)->Rotate(arg2
);
28450 if (PyErr_Occurred()) SWIG_fail
;
28452 resultobj
= SWIG_Py_Void();
28459 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28460 PyObject
*resultobj
= 0;
28461 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28462 wxGraphicsMatrix
*arg2
= 0 ;
28467 PyObject
* obj0
= 0 ;
28468 PyObject
* obj1
= 0 ;
28469 char * kwnames
[] = {
28470 (char *) "self",(char *) "matrix", NULL
28473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28475 if (!SWIG_IsOK(res1
)) {
28476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28478 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28479 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28480 if (!SWIG_IsOK(res2
)) {
28481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28484 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28486 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28488 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28489 if (PyErr_Occurred()) SWIG_fail
;
28491 resultobj
= SWIG_Py_Void();
28498 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28499 PyObject
*resultobj
= 0;
28500 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28501 wxGraphicsMatrix
*arg2
= 0 ;
28506 PyObject
* obj0
= 0 ;
28507 PyObject
* obj1
= 0 ;
28508 char * kwnames
[] = {
28509 (char *) "self",(char *) "matrix", NULL
28512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28514 if (!SWIG_IsOK(res1
)) {
28515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28517 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28518 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28519 if (!SWIG_IsOK(res2
)) {
28520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28525 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28527 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28528 if (PyErr_Occurred()) SWIG_fail
;
28530 resultobj
= SWIG_Py_Void();
28537 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28538 PyObject
*resultobj
= 0;
28539 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28540 wxGraphicsMatrix result
;
28543 PyObject
*swig_obj
[1] ;
28545 if (!args
) SWIG_fail
;
28546 swig_obj
[0] = args
;
28547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28548 if (!SWIG_IsOK(res1
)) {
28549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28551 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28553 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28554 if (PyErr_Occurred()) SWIG_fail
;
28556 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28563 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28564 PyObject
*resultobj
= 0;
28565 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28566 wxGraphicsPen
*arg2
= 0 ;
28572 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28574 if (!SWIG_IsOK(res1
)) {
28575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28577 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28578 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28579 if (!SWIG_IsOK(res2
)) {
28580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28585 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28587 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28588 if (PyErr_Occurred()) SWIG_fail
;
28590 resultobj
= SWIG_Py_Void();
28597 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28598 PyObject
*resultobj
= 0;
28599 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28606 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28608 if (!SWIG_IsOK(res1
)) {
28609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28611 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28612 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28613 if (!SWIG_IsOK(res2
)) {
28614 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28619 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28621 (arg1
)->SetPen((wxPen
const &)*arg2
);
28622 if (PyErr_Occurred()) SWIG_fail
;
28624 resultobj
= SWIG_Py_Void();
28631 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28635 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28640 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28641 _v
= SWIG_CheckState(res
);
28643 if (!_v
) goto check_1
;
28644 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28649 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28653 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28658 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28659 PyObject
*resultobj
= 0;
28660 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28661 wxGraphicsBrush
*arg2
= 0 ;
28667 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28669 if (!SWIG_IsOK(res1
)) {
28670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28672 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28673 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28674 if (!SWIG_IsOK(res2
)) {
28675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28680 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28682 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28683 if (PyErr_Occurred()) SWIG_fail
;
28685 resultobj
= SWIG_Py_Void();
28692 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28693 PyObject
*resultobj
= 0;
28694 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28695 wxBrush
*arg2
= 0 ;
28701 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28703 if (!SWIG_IsOK(res1
)) {
28704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28706 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28707 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28708 if (!SWIG_IsOK(res2
)) {
28709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28714 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28716 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28717 if (PyErr_Occurred()) SWIG_fail
;
28719 resultobj
= SWIG_Py_Void();
28726 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28730 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28735 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28736 _v
= SWIG_CheckState(res
);
28738 if (!_v
) goto check_1
;
28739 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28744 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28748 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28753 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28754 PyObject
*resultobj
= 0;
28755 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28756 wxGraphicsFont
*arg2
= 0 ;
28762 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28764 if (!SWIG_IsOK(res1
)) {
28765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28767 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28768 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28769 if (!SWIG_IsOK(res2
)) {
28770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28775 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28777 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28778 if (PyErr_Occurred()) SWIG_fail
;
28780 resultobj
= SWIG_Py_Void();
28787 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28788 PyObject
*resultobj
= 0;
28789 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28791 wxColour
const &arg3_defvalue
= *wxBLACK
;
28792 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28799 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28801 if (!SWIG_IsOK(res1
)) {
28802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28804 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28805 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28806 if (!SWIG_IsOK(res2
)) {
28807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28810 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28812 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28816 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
28820 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28821 if (PyErr_Occurred()) SWIG_fail
;
28823 resultobj
= SWIG_Py_Void();
28830 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
28834 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
28839 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
28840 _v
= SWIG_CheckState(res
);
28842 if (!_v
) goto check_1
;
28843 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
28847 if ((argc
>= 2) && (argc
<= 3)) {
28848 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
28852 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
28857 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28858 PyObject
*resultobj
= 0;
28859 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28860 wxGraphicsPath
*arg2
= 0 ;
28865 PyObject
* obj0
= 0 ;
28866 PyObject
* obj1
= 0 ;
28867 char * kwnames
[] = {
28868 (char *) "self",(char *) "path", NULL
28871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28873 if (!SWIG_IsOK(res1
)) {
28874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28876 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28877 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28878 if (!SWIG_IsOK(res2
)) {
28879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28884 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28886 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
28887 if (PyErr_Occurred()) SWIG_fail
;
28889 resultobj
= SWIG_Py_Void();
28896 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28897 PyObject
*resultobj
= 0;
28898 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28899 wxGraphicsPath
*arg2
= 0 ;
28900 int arg3
= (int) wxODDEVEN_RULE
;
28907 PyObject
* obj0
= 0 ;
28908 PyObject
* obj1
= 0 ;
28909 PyObject
* obj2
= 0 ;
28910 char * kwnames
[] = {
28911 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28916 if (!SWIG_IsOK(res1
)) {
28917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28919 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28920 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28921 if (!SWIG_IsOK(res2
)) {
28922 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28925 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28927 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28929 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28930 if (!SWIG_IsOK(ecode3
)) {
28931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
28933 arg3
= static_cast< int >(val3
);
28936 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
28937 if (PyErr_Occurred()) SWIG_fail
;
28939 resultobj
= SWIG_Py_Void();
28946 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28947 PyObject
*resultobj
= 0;
28948 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28949 wxGraphicsPath
*arg2
= 0 ;
28950 int arg3
= (int) wxODDEVEN_RULE
;
28957 PyObject
* obj0
= 0 ;
28958 PyObject
* obj1
= 0 ;
28959 PyObject
* obj2
= 0 ;
28960 char * kwnames
[] = {
28961 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28966 if (!SWIG_IsOK(res1
)) {
28967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28969 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28970 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28971 if (!SWIG_IsOK(res2
)) {
28972 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28977 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28979 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28980 if (!SWIG_IsOK(ecode3
)) {
28981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
28983 arg3
= static_cast< int >(val3
);
28986 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
28987 if (PyErr_Occurred()) SWIG_fail
;
28989 resultobj
= SWIG_Py_Void();
28996 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28997 PyObject
*resultobj
= 0;
28998 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28999 wxString
*arg2
= 0 ;
29002 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
29003 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
29006 bool temp2
= false ;
29013 PyObject
* obj0
= 0 ;
29014 PyObject
* obj1
= 0 ;
29015 PyObject
* obj2
= 0 ;
29016 PyObject
* obj3
= 0 ;
29017 PyObject
* obj4
= 0 ;
29018 char * kwnames
[] = {
29019 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
29022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29024 if (!SWIG_IsOK(res1
)) {
29025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29027 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29029 arg2
= wxString_in_helper(obj1
);
29030 if (arg2
== NULL
) SWIG_fail
;
29033 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29034 if (!SWIG_IsOK(ecode3
)) {
29035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29037 arg3
= static_cast< wxDouble
>(val3
);
29038 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29039 if (!SWIG_IsOK(ecode4
)) {
29040 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29042 arg4
= static_cast< wxDouble
>(val4
);
29044 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29045 if (!SWIG_IsOK(res5
)) {
29046 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29049 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29051 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29054 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29055 if (PyErr_Occurred()) SWIG_fail
;
29057 resultobj
= SWIG_Py_Void();
29072 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29073 PyObject
*resultobj
= 0;
29074 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29075 wxString
*arg2
= 0 ;
29079 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
29080 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
29083 bool temp2
= false ;
29092 PyObject
* obj0
= 0 ;
29093 PyObject
* obj1
= 0 ;
29094 PyObject
* obj2
= 0 ;
29095 PyObject
* obj3
= 0 ;
29096 PyObject
* obj4
= 0 ;
29097 PyObject
* obj5
= 0 ;
29098 char * kwnames
[] = {
29099 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
29102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29104 if (!SWIG_IsOK(res1
)) {
29105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29107 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29109 arg2
= wxString_in_helper(obj1
);
29110 if (arg2
== NULL
) SWIG_fail
;
29113 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29114 if (!SWIG_IsOK(ecode3
)) {
29115 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29117 arg3
= static_cast< wxDouble
>(val3
);
29118 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29119 if (!SWIG_IsOK(ecode4
)) {
29120 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29122 arg4
= static_cast< wxDouble
>(val4
);
29123 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29124 if (!SWIG_IsOK(ecode5
)) {
29125 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29127 arg5
= static_cast< wxDouble
>(val5
);
29129 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29130 if (!SWIG_IsOK(res6
)) {
29131 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29136 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
29139 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
29140 if (PyErr_Occurred()) SWIG_fail
;
29142 resultobj
= SWIG_Py_Void();
29157 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29158 PyObject
*resultobj
= 0;
29159 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29160 wxString
*arg2
= 0 ;
29161 wxDouble
*arg3
= (wxDouble
*) 0 ;
29162 wxDouble
*arg4
= (wxDouble
*) 0 ;
29163 wxDouble
*arg5
= (wxDouble
*) 0 ;
29164 wxDouble
*arg6
= (wxDouble
*) 0 ;
29167 bool temp2
= false ;
29169 int res3
= SWIG_TMPOBJ
;
29171 int res4
= SWIG_TMPOBJ
;
29173 int res5
= SWIG_TMPOBJ
;
29175 int res6
= SWIG_TMPOBJ
;
29176 PyObject
* obj0
= 0 ;
29177 PyObject
* obj1
= 0 ;
29178 char * kwnames
[] = {
29179 (char *) "self",(char *) "text", NULL
29186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29188 if (!SWIG_IsOK(res1
)) {
29189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29191 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29193 arg2
= wxString_in_helper(obj1
);
29194 if (arg2
== NULL
) SWIG_fail
;
29198 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29199 if (PyErr_Occurred()) SWIG_fail
;
29201 resultobj
= SWIG_Py_Void();
29202 if (SWIG_IsTmpObj(res3
)) {
29203 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29205 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29206 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29208 if (SWIG_IsTmpObj(res4
)) {
29209 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29211 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29212 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29214 if (SWIG_IsTmpObj(res5
)) {
29215 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29217 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29220 if (SWIG_IsTmpObj(res6
)) {
29221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29223 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29240 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29241 PyObject
*resultobj
= 0;
29242 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29243 wxString
*arg2
= 0 ;
29244 PyObject
*result
= 0 ;
29247 bool temp2
= false ;
29248 PyObject
* obj0
= 0 ;
29249 PyObject
* obj1
= 0 ;
29250 char * kwnames
[] = {
29251 (char *) "self",(char *) "text", NULL
29254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29256 if (!SWIG_IsOK(res1
)) {
29257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29259 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29261 arg2
= wxString_in_helper(obj1
);
29262 if (arg2
== NULL
) SWIG_fail
;
29266 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29267 if (PyErr_Occurred()) SWIG_fail
;
29269 resultobj
= result
;
29284 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29285 PyObject
*resultobj
= 0;
29286 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29287 wxString
*arg2
= 0 ;
29288 wxArrayDouble result
;
29291 bool temp2
= false ;
29292 PyObject
* obj0
= 0 ;
29293 PyObject
* obj1
= 0 ;
29294 char * kwnames
[] = {
29295 (char *) "self",(char *) "text", NULL
29298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29300 if (!SWIG_IsOK(res1
)) {
29301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29303 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29305 arg2
= wxString_in_helper(obj1
);
29306 if (arg2
== NULL
) SWIG_fail
;
29310 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29311 if (PyErr_Occurred()) SWIG_fail
;
29314 resultobj
= wxArrayDouble2PyList_helper(result
);
29330 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29331 PyObject
*resultobj
= 0;
29332 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29333 wxBitmap
*arg2
= 0 ;
29350 PyObject
* obj0
= 0 ;
29351 PyObject
* obj1
= 0 ;
29352 PyObject
* obj2
= 0 ;
29353 PyObject
* obj3
= 0 ;
29354 PyObject
* obj4
= 0 ;
29355 PyObject
* obj5
= 0 ;
29356 char * kwnames
[] = {
29357 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29362 if (!SWIG_IsOK(res1
)) {
29363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29365 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29366 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29367 if (!SWIG_IsOK(res2
)) {
29368 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29373 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29374 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29375 if (!SWIG_IsOK(ecode3
)) {
29376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29378 arg3
= static_cast< wxDouble
>(val3
);
29379 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29380 if (!SWIG_IsOK(ecode4
)) {
29381 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29383 arg4
= static_cast< wxDouble
>(val4
);
29384 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29385 if (!SWIG_IsOK(ecode5
)) {
29386 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29388 arg5
= static_cast< wxDouble
>(val5
);
29389 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29390 if (!SWIG_IsOK(ecode6
)) {
29391 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29393 arg6
= static_cast< wxDouble
>(val6
);
29395 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29396 if (PyErr_Occurred()) SWIG_fail
;
29398 resultobj
= SWIG_Py_Void();
29405 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29406 PyObject
*resultobj
= 0;
29407 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29425 PyObject
* obj0
= 0 ;
29426 PyObject
* obj1
= 0 ;
29427 PyObject
* obj2
= 0 ;
29428 PyObject
* obj3
= 0 ;
29429 PyObject
* obj4
= 0 ;
29430 PyObject
* obj5
= 0 ;
29431 char * kwnames
[] = {
29432 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29437 if (!SWIG_IsOK(res1
)) {
29438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29440 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29441 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29442 if (!SWIG_IsOK(res2
)) {
29443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29448 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29449 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29450 if (!SWIG_IsOK(ecode3
)) {
29451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29453 arg3
= static_cast< wxDouble
>(val3
);
29454 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29455 if (!SWIG_IsOK(ecode4
)) {
29456 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29458 arg4
= static_cast< wxDouble
>(val4
);
29459 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29460 if (!SWIG_IsOK(ecode5
)) {
29461 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29463 arg5
= static_cast< wxDouble
>(val5
);
29464 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29465 if (!SWIG_IsOK(ecode6
)) {
29466 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29468 arg6
= static_cast< wxDouble
>(val6
);
29470 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29471 if (PyErr_Occurred()) SWIG_fail
;
29473 resultobj
= SWIG_Py_Void();
29480 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29481 PyObject
*resultobj
= 0;
29482 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29497 PyObject
* obj0
= 0 ;
29498 PyObject
* obj1
= 0 ;
29499 PyObject
* obj2
= 0 ;
29500 PyObject
* obj3
= 0 ;
29501 PyObject
* obj4
= 0 ;
29502 char * kwnames
[] = {
29503 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29508 if (!SWIG_IsOK(res1
)) {
29509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29511 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29512 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29513 if (!SWIG_IsOK(ecode2
)) {
29514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29516 arg2
= static_cast< wxDouble
>(val2
);
29517 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29518 if (!SWIG_IsOK(ecode3
)) {
29519 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29521 arg3
= static_cast< wxDouble
>(val3
);
29522 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29523 if (!SWIG_IsOK(ecode4
)) {
29524 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29526 arg4
= static_cast< wxDouble
>(val4
);
29527 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29528 if (!SWIG_IsOK(ecode5
)) {
29529 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29531 arg5
= static_cast< wxDouble
>(val5
);
29533 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29534 if (PyErr_Occurred()) SWIG_fail
;
29536 resultobj
= SWIG_Py_Void();
29543 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29544 PyObject
*resultobj
= 0;
29545 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29547 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29550 PyObject
* obj0
= 0 ;
29551 PyObject
* obj1
= 0 ;
29552 char * kwnames
[] = {
29553 (char *) "self",(char *) "points", NULL
29556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29558 if (!SWIG_IsOK(res1
)) {
29559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29561 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29563 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29564 if (arg3
== NULL
) SWIG_fail
;
29567 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29568 if (PyErr_Occurred()) SWIG_fail
;
29570 resultobj
= SWIG_Py_Void();
29572 if (arg3
) delete [] arg3
;
29577 if (arg3
) delete [] arg3
;
29583 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29584 PyObject
*resultobj
= 0;
29585 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29586 PyObject
*arg2
= (PyObject
*) 0 ;
29587 PyObject
*arg3
= (PyObject
*) 0 ;
29590 PyObject
* obj0
= 0 ;
29591 PyObject
* obj1
= 0 ;
29592 PyObject
* obj2
= 0 ;
29593 char * kwnames
[] = {
29594 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29599 if (!SWIG_IsOK(res1
)) {
29600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29602 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29606 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29607 if (PyErr_Occurred()) SWIG_fail
;
29609 resultobj
= SWIG_Py_Void();
29616 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29617 PyObject
*resultobj
= 0;
29618 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29620 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29621 int arg4
= (int) wxODDEVEN_RULE
;
29626 PyObject
* obj0
= 0 ;
29627 PyObject
* obj1
= 0 ;
29628 PyObject
* obj2
= 0 ;
29629 char * kwnames
[] = {
29630 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29635 if (!SWIG_IsOK(res1
)) {
29636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29638 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29640 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29641 if (arg3
== NULL
) SWIG_fail
;
29644 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29645 if (!SWIG_IsOK(ecode4
)) {
29646 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29648 arg4
= static_cast< int >(val4
);
29651 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29652 if (PyErr_Occurred()) SWIG_fail
;
29654 resultobj
= SWIG_Py_Void();
29656 if (arg3
) delete [] arg3
;
29661 if (arg3
) delete [] arg3
;
29667 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29668 PyObject
*resultobj
= 0;
29669 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29684 PyObject
* obj0
= 0 ;
29685 PyObject
* obj1
= 0 ;
29686 PyObject
* obj2
= 0 ;
29687 PyObject
* obj3
= 0 ;
29688 PyObject
* obj4
= 0 ;
29689 char * kwnames
[] = {
29690 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29695 if (!SWIG_IsOK(res1
)) {
29696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29698 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29699 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29700 if (!SWIG_IsOK(ecode2
)) {
29701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29703 arg2
= static_cast< wxDouble
>(val2
);
29704 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29705 if (!SWIG_IsOK(ecode3
)) {
29706 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29708 arg3
= static_cast< wxDouble
>(val3
);
29709 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29710 if (!SWIG_IsOK(ecode4
)) {
29711 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29713 arg4
= static_cast< wxDouble
>(val4
);
29714 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29715 if (!SWIG_IsOK(ecode5
)) {
29716 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29718 arg5
= static_cast< wxDouble
>(val5
);
29720 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29721 if (PyErr_Occurred()) SWIG_fail
;
29723 resultobj
= SWIG_Py_Void();
29730 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29731 PyObject
*resultobj
= 0;
29732 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29747 PyObject
* obj0
= 0 ;
29748 PyObject
* obj1
= 0 ;
29749 PyObject
* obj2
= 0 ;
29750 PyObject
* obj3
= 0 ;
29751 PyObject
* obj4
= 0 ;
29752 char * kwnames
[] = {
29753 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29758 if (!SWIG_IsOK(res1
)) {
29759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29761 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29762 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29763 if (!SWIG_IsOK(ecode2
)) {
29764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29766 arg2
= static_cast< wxDouble
>(val2
);
29767 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29768 if (!SWIG_IsOK(ecode3
)) {
29769 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29771 arg3
= static_cast< wxDouble
>(val3
);
29772 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29773 if (!SWIG_IsOK(ecode4
)) {
29774 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29776 arg4
= static_cast< wxDouble
>(val4
);
29777 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29778 if (!SWIG_IsOK(ecode5
)) {
29779 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29781 arg5
= static_cast< wxDouble
>(val5
);
29783 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29784 if (PyErr_Occurred()) SWIG_fail
;
29786 resultobj
= SWIG_Py_Void();
29793 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29794 PyObject
*resultobj
= 0;
29795 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29813 PyObject
* obj0
= 0 ;
29814 PyObject
* obj1
= 0 ;
29815 PyObject
* obj2
= 0 ;
29816 PyObject
* obj3
= 0 ;
29817 PyObject
* obj4
= 0 ;
29818 PyObject
* obj5
= 0 ;
29819 char * kwnames
[] = {
29820 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
29823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29825 if (!SWIG_IsOK(res1
)) {
29826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29828 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29829 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29830 if (!SWIG_IsOK(ecode2
)) {
29831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29833 arg2
= static_cast< wxDouble
>(val2
);
29834 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29835 if (!SWIG_IsOK(ecode3
)) {
29836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29838 arg3
= static_cast< wxDouble
>(val3
);
29839 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29840 if (!SWIG_IsOK(ecode4
)) {
29841 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29843 arg4
= static_cast< wxDouble
>(val4
);
29844 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29845 if (!SWIG_IsOK(ecode5
)) {
29846 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29848 arg5
= static_cast< wxDouble
>(val5
);
29849 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29850 if (!SWIG_IsOK(ecode6
)) {
29851 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
29853 arg6
= static_cast< wxDouble
>(val6
);
29855 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29856 if (PyErr_Occurred()) SWIG_fail
;
29858 resultobj
= SWIG_Py_Void();
29865 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29866 PyObject
*resultobj
= 0;
29867 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29871 PyObject
*swig_obj
[1] ;
29873 if (!args
) SWIG_fail
;
29874 swig_obj
[0] = args
;
29875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29876 if (!SWIG_IsOK(res1
)) {
29877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29879 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29881 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
29882 if (PyErr_Occurred()) SWIG_fail
;
29885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29893 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29895 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29896 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
29897 return SWIG_Py_Void();
29900 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29901 PyObject
*resultobj
= 0;
29902 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29905 PyObject
*swig_obj
[1] ;
29907 if (!args
) SWIG_fail
;
29908 swig_obj
[0] = args
;
29909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
29910 if (!SWIG_IsOK(res1
)) {
29911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29913 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29917 if (PyErr_Occurred()) SWIG_fail
;
29919 resultobj
= SWIG_Py_Void();
29926 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29927 PyObject
*resultobj
= 0;
29928 wxGraphicsRenderer
*result
= 0 ;
29930 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
29932 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
29933 if (PyErr_Occurred()) SWIG_fail
;
29935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29942 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29943 PyObject
*resultobj
= 0;
29944 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29945 wxWindowDC
*arg2
= 0 ;
29946 wxGraphicsContext
*result
= 0 ;
29952 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29954 if (!SWIG_IsOK(res1
)) {
29955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29957 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29958 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
29959 if (!SWIG_IsOK(res2
)) {
29960 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29963 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29965 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
29967 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
29968 if (PyErr_Occurred()) SWIG_fail
;
29970 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29977 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29978 PyObject
*resultobj
= 0;
29979 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29980 wxWindow
*arg2
= (wxWindow
*) 0 ;
29981 wxGraphicsContext
*result
= 0 ;
29987 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29989 if (!SWIG_IsOK(res1
)) {
29990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29992 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29993 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29994 if (!SWIG_IsOK(res2
)) {
29995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
29997 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29999 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30000 if (PyErr_Occurred()) SWIG_fail
;
30002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30009 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30013 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30018 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30019 _v
= SWIG_CheckState(res
);
30021 if (!_v
) goto check_1
;
30022 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30027 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30031 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30036 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30037 PyObject
*resultobj
= 0;
30038 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30039 wxGraphicsContext
*result
= 0 ;
30042 PyObject
*swig_obj
[1] ;
30044 if (!args
) SWIG_fail
;
30045 swig_obj
[0] = args
;
30046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30047 if (!SWIG_IsOK(res1
)) {
30048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30050 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30052 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30053 if (PyErr_Occurred()) SWIG_fail
;
30055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30062 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30063 PyObject
*resultobj
= 0;
30064 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30065 void *arg2
= (void *) 0 ;
30066 wxGraphicsContext
*result
= 0 ;
30070 PyObject
* obj0
= 0 ;
30071 PyObject
* obj1
= 0 ;
30072 char * kwnames
[] = {
30073 (char *) "self",(char *) "context", NULL
30076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30078 if (!SWIG_IsOK(res1
)) {
30079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30081 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30082 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30083 if (!SWIG_IsOK(res2
)) {
30084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30087 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30088 if (PyErr_Occurred()) SWIG_fail
;
30090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30097 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30098 PyObject
*resultobj
= 0;
30099 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30100 void *arg2
= (void *) 0 ;
30101 wxGraphicsContext
*result
= 0 ;
30105 PyObject
* obj0
= 0 ;
30106 PyObject
* obj1
= 0 ;
30107 char * kwnames
[] = {
30108 (char *) "self",(char *) "window", NULL
30111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30113 if (!SWIG_IsOK(res1
)) {
30114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30116 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30117 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30118 if (!SWIG_IsOK(res2
)) {
30119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30122 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30123 if (PyErr_Occurred()) SWIG_fail
;
30125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30132 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30133 PyObject
*resultobj
= 0;
30134 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30135 wxGraphicsPath result
;
30138 PyObject
*swig_obj
[1] ;
30140 if (!args
) SWIG_fail
;
30141 swig_obj
[0] = args
;
30142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30143 if (!SWIG_IsOK(res1
)) {
30144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30146 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30148 result
= (arg1
)->CreatePath();
30149 if (PyErr_Occurred()) SWIG_fail
;
30151 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30158 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30159 PyObject
*resultobj
= 0;
30160 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30161 wxDouble arg2
= (wxDouble
) 1.0 ;
30162 wxDouble arg3
= (wxDouble
) 0.0 ;
30163 wxDouble arg4
= (wxDouble
) 0.0 ;
30164 wxDouble arg5
= (wxDouble
) 1.0 ;
30165 wxDouble arg6
= (wxDouble
) 0.0 ;
30166 wxDouble arg7
= (wxDouble
) 0.0 ;
30167 wxGraphicsMatrix result
;
30182 PyObject
* obj0
= 0 ;
30183 PyObject
* obj1
= 0 ;
30184 PyObject
* obj2
= 0 ;
30185 PyObject
* obj3
= 0 ;
30186 PyObject
* obj4
= 0 ;
30187 PyObject
* obj5
= 0 ;
30188 PyObject
* obj6
= 0 ;
30189 char * kwnames
[] = {
30190 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30195 if (!SWIG_IsOK(res1
)) {
30196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30198 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30200 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30201 if (!SWIG_IsOK(ecode2
)) {
30202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30204 arg2
= static_cast< wxDouble
>(val2
);
30207 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30208 if (!SWIG_IsOK(ecode3
)) {
30209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30211 arg3
= static_cast< wxDouble
>(val3
);
30214 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30215 if (!SWIG_IsOK(ecode4
)) {
30216 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30218 arg4
= static_cast< wxDouble
>(val4
);
30221 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30222 if (!SWIG_IsOK(ecode5
)) {
30223 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30225 arg5
= static_cast< wxDouble
>(val5
);
30228 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30229 if (!SWIG_IsOK(ecode6
)) {
30230 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30232 arg6
= static_cast< wxDouble
>(val6
);
30235 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30236 if (!SWIG_IsOK(ecode7
)) {
30237 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30239 arg7
= static_cast< wxDouble
>(val7
);
30242 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30243 if (PyErr_Occurred()) SWIG_fail
;
30245 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30252 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30253 PyObject
*resultobj
= 0;
30254 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30256 wxGraphicsPen result
;
30261 PyObject
* obj0
= 0 ;
30262 PyObject
* obj1
= 0 ;
30263 char * kwnames
[] = {
30264 (char *) "self",(char *) "pen", NULL
30267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30269 if (!SWIG_IsOK(res1
)) {
30270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30272 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30273 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30274 if (!SWIG_IsOK(res2
)) {
30275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30280 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30282 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30283 if (PyErr_Occurred()) SWIG_fail
;
30285 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30292 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30293 PyObject
*resultobj
= 0;
30294 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30295 wxBrush
*arg2
= 0 ;
30296 wxGraphicsBrush result
;
30301 PyObject
* obj0
= 0 ;
30302 PyObject
* obj1
= 0 ;
30303 char * kwnames
[] = {
30304 (char *) "self",(char *) "brush", NULL
30307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30309 if (!SWIG_IsOK(res1
)) {
30310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30312 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30313 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30314 if (!SWIG_IsOK(res2
)) {
30315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30318 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30320 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30322 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30323 if (PyErr_Occurred()) SWIG_fail
;
30325 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30332 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30333 PyObject
*resultobj
= 0;
30334 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30339 wxColour
*arg6
= 0 ;
30340 wxColour
*arg7
= 0 ;
30341 wxGraphicsBrush result
;
30354 PyObject
* obj0
= 0 ;
30355 PyObject
* obj1
= 0 ;
30356 PyObject
* obj2
= 0 ;
30357 PyObject
* obj3
= 0 ;
30358 PyObject
* obj4
= 0 ;
30359 PyObject
* obj5
= 0 ;
30360 PyObject
* obj6
= 0 ;
30361 char * kwnames
[] = {
30362 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30367 if (!SWIG_IsOK(res1
)) {
30368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30370 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30371 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30372 if (!SWIG_IsOK(ecode2
)) {
30373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30375 arg2
= static_cast< wxDouble
>(val2
);
30376 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30377 if (!SWIG_IsOK(ecode3
)) {
30378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30380 arg3
= static_cast< wxDouble
>(val3
);
30381 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30382 if (!SWIG_IsOK(ecode4
)) {
30383 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30385 arg4
= static_cast< wxDouble
>(val4
);
30386 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30387 if (!SWIG_IsOK(ecode5
)) {
30388 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30390 arg5
= static_cast< wxDouble
>(val5
);
30393 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30397 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30400 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30401 if (PyErr_Occurred()) SWIG_fail
;
30403 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30410 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30411 PyObject
*resultobj
= 0;
30412 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30418 wxColour
*arg7
= 0 ;
30419 wxColour
*arg8
= 0 ;
30420 wxGraphicsBrush result
;
30435 PyObject
* obj0
= 0 ;
30436 PyObject
* obj1
= 0 ;
30437 PyObject
* obj2
= 0 ;
30438 PyObject
* obj3
= 0 ;
30439 PyObject
* obj4
= 0 ;
30440 PyObject
* obj5
= 0 ;
30441 PyObject
* obj6
= 0 ;
30442 PyObject
* obj7
= 0 ;
30443 char * kwnames
[] = {
30444 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30449 if (!SWIG_IsOK(res1
)) {
30450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30452 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30453 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30454 if (!SWIG_IsOK(ecode2
)) {
30455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30457 arg2
= static_cast< wxDouble
>(val2
);
30458 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30459 if (!SWIG_IsOK(ecode3
)) {
30460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30462 arg3
= static_cast< wxDouble
>(val3
);
30463 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30464 if (!SWIG_IsOK(ecode4
)) {
30465 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30467 arg4
= static_cast< wxDouble
>(val4
);
30468 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30469 if (!SWIG_IsOK(ecode5
)) {
30470 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30472 arg5
= static_cast< wxDouble
>(val5
);
30473 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30474 if (!SWIG_IsOK(ecode6
)) {
30475 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30477 arg6
= static_cast< wxDouble
>(val6
);
30480 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30484 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30487 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30488 if (PyErr_Occurred()) SWIG_fail
;
30490 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30497 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30498 PyObject
*resultobj
= 0;
30499 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30501 wxColour
const &arg3_defvalue
= *wxBLACK
;
30502 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30503 wxGraphicsFont result
;
30509 PyObject
* obj0
= 0 ;
30510 PyObject
* obj1
= 0 ;
30511 PyObject
* obj2
= 0 ;
30512 char * kwnames
[] = {
30513 (char *) "self",(char *) "font",(char *) "col", NULL
30516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30518 if (!SWIG_IsOK(res1
)) {
30519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30521 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30522 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30523 if (!SWIG_IsOK(res2
)) {
30524 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30527 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30529 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30533 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30537 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30538 if (PyErr_Occurred()) SWIG_fail
;
30540 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30547 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30549 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30550 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30551 return SWIG_Py_Void();
30554 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30555 PyObject
*resultobj
= 0;
30556 wxWindowDC
*arg1
= 0 ;
30557 wxGCDC
*result
= 0 ;
30561 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30563 if (!SWIG_IsOK(res1
)) {
30564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30569 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30571 if (!wxPyCheckForApp()) SWIG_fail
;
30572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30573 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30574 wxPyEndAllowThreads(__tstate
);
30575 if (PyErr_Occurred()) SWIG_fail
;
30577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30584 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30585 PyObject
*resultobj
= 0;
30586 wxWindow
*arg1
= (wxWindow
*) 0 ;
30587 wxGCDC
*result
= 0 ;
30591 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30593 if (!SWIG_IsOK(res1
)) {
30594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
30596 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30598 if (!wxPyCheckForApp()) SWIG_fail
;
30599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30600 result
= (wxGCDC
*)new wxGCDC(arg1
);
30601 wxPyEndAllowThreads(__tstate
);
30602 if (PyErr_Occurred()) SWIG_fail
;
30604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30611 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
30615 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
30620 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
30621 _v
= SWIG_CheckState(res
);
30623 if (!_v
) goto check_1
;
30624 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
30629 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
30633 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
30638 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30639 PyObject
*resultobj
= 0;
30640 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30643 PyObject
*swig_obj
[1] ;
30645 if (!args
) SWIG_fail
;
30646 swig_obj
[0] = args
;
30647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30648 if (!SWIG_IsOK(res1
)) {
30649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30651 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30655 if (PyErr_Occurred()) SWIG_fail
;
30657 resultobj
= SWIG_Py_Void();
30664 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30665 PyObject
*resultobj
= 0;
30666 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30667 wxGraphicsContext
*result
= 0 ;
30670 PyObject
*swig_obj
[1] ;
30672 if (!args
) SWIG_fail
;
30673 swig_obj
[0] = args
;
30674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30675 if (!SWIG_IsOK(res1
)) {
30676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30678 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30680 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30681 if (PyErr_Occurred()) SWIG_fail
;
30683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30690 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30691 PyObject
*resultobj
= 0;
30692 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30693 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30698 PyObject
* obj0
= 0 ;
30699 PyObject
* obj1
= 0 ;
30700 char * kwnames
[] = {
30701 (char *) "self",(char *) "ctx", NULL
30704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30706 if (!SWIG_IsOK(res1
)) {
30707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30709 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30710 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30711 if (!SWIG_IsOK(res2
)) {
30712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30714 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30716 (arg1
)->SetGraphicsContext(arg2
);
30717 if (PyErr_Occurred()) SWIG_fail
;
30719 resultobj
= SWIG_Py_Void();
30726 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30728 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30729 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30730 return SWIG_Py_Void();
30733 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30734 return SWIG_Python_InitShadowInstance(args
);
30737 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30738 PyObject
*resultobj
= 0;
30739 wxOverlay
*result
= 0 ;
30741 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30744 result
= (wxOverlay
*)new wxOverlay();
30745 wxPyEndAllowThreads(__tstate
);
30746 if (PyErr_Occurred()) SWIG_fail
;
30748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30755 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30756 PyObject
*resultobj
= 0;
30757 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30760 PyObject
*swig_obj
[1] ;
30762 if (!args
) SWIG_fail
;
30763 swig_obj
[0] = args
;
30764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30765 if (!SWIG_IsOK(res1
)) {
30766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30768 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30773 wxPyEndAllowThreads(__tstate
);
30774 if (PyErr_Occurred()) SWIG_fail
;
30776 resultobj
= SWIG_Py_Void();
30783 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30784 PyObject
*resultobj
= 0;
30785 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30788 PyObject
*swig_obj
[1] ;
30790 if (!args
) SWIG_fail
;
30791 swig_obj
[0] = args
;
30792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30793 if (!SWIG_IsOK(res1
)) {
30794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30796 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30800 wxPyEndAllowThreads(__tstate
);
30801 if (PyErr_Occurred()) SWIG_fail
;
30803 resultobj
= SWIG_Py_Void();
30810 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30812 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30813 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
30814 return SWIG_Py_Void();
30817 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30818 return SWIG_Python_InitShadowInstance(args
);
30821 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30822 PyObject
*resultobj
= 0;
30823 wxOverlay
*arg1
= 0 ;
30824 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30829 wxDCOverlay
*result
= 0 ;
30843 if ((nobjs
< 6) || (nobjs
> 6)) 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
);
30857 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
30858 if (!SWIG_IsOK(ecode3
)) {
30859 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
30861 arg3
= static_cast< int >(val3
);
30862 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
30863 if (!SWIG_IsOK(ecode4
)) {
30864 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
30866 arg4
= static_cast< int >(val4
);
30867 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
30868 if (!SWIG_IsOK(ecode5
)) {
30869 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
30871 arg5
= static_cast< int >(val5
);
30872 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
30873 if (!SWIG_IsOK(ecode6
)) {
30874 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
30876 arg6
= static_cast< int >(val6
);
30878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30879 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30880 wxPyEndAllowThreads(__tstate
);
30881 if (PyErr_Occurred()) SWIG_fail
;
30883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30890 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30891 PyObject
*resultobj
= 0;
30892 wxOverlay
*arg1
= 0 ;
30893 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30894 wxDCOverlay
*result
= 0 ;
30900 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30902 if (!SWIG_IsOK(res1
)) {
30903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30906 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30908 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30909 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30910 if (!SWIG_IsOK(res2
)) {
30911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30913 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30916 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
30917 wxPyEndAllowThreads(__tstate
);
30918 if (PyErr_Occurred()) SWIG_fail
;
30920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30927 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
30931 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
30934 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
30937 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
30941 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
30946 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30947 PyObject
*resultobj
= 0;
30948 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30951 PyObject
*swig_obj
[1] ;
30953 if (!args
) SWIG_fail
;
30954 swig_obj
[0] = args
;
30955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
30956 if (!SWIG_IsOK(res1
)) {
30957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30959 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30964 wxPyEndAllowThreads(__tstate
);
30965 if (PyErr_Occurred()) SWIG_fail
;
30967 resultobj
= SWIG_Py_Void();
30974 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30975 PyObject
*resultobj
= 0;
30976 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30979 PyObject
*swig_obj
[1] ;
30981 if (!args
) SWIG_fail
;
30982 swig_obj
[0] = args
;
30983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
30984 if (!SWIG_IsOK(res1
)) {
30985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30987 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30991 wxPyEndAllowThreads(__tstate
);
30992 if (PyErr_Occurred()) SWIG_fail
;
30994 resultobj
= SWIG_Py_Void();
31001 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31003 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31004 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31005 return SWIG_Py_Void();
31008 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31009 return SWIG_Python_InitShadowInstance(args
);
31012 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31013 PyObject
*resultobj
= 0;
31016 int arg3
= (int) true ;
31017 int arg4
= (int) 1 ;
31018 wxImageList
*result
= 0 ;
31027 PyObject
* obj0
= 0 ;
31028 PyObject
* obj1
= 0 ;
31029 PyObject
* obj2
= 0 ;
31030 PyObject
* obj3
= 0 ;
31031 char * kwnames
[] = {
31032 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31036 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31037 if (!SWIG_IsOK(ecode1
)) {
31038 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31040 arg1
= static_cast< int >(val1
);
31041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31042 if (!SWIG_IsOK(ecode2
)) {
31043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31045 arg2
= static_cast< int >(val2
);
31047 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31048 if (!SWIG_IsOK(ecode3
)) {
31049 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31051 arg3
= static_cast< int >(val3
);
31054 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31055 if (!SWIG_IsOK(ecode4
)) {
31056 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31058 arg4
= static_cast< int >(val4
);
31061 if (!wxPyCheckForApp()) SWIG_fail
;
31062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31063 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31064 wxPyEndAllowThreads(__tstate
);
31065 if (PyErr_Occurred()) SWIG_fail
;
31067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31074 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31075 PyObject
*resultobj
= 0;
31076 wxImageList
*arg1
= (wxImageList
*) 0 ;
31079 PyObject
*swig_obj
[1] ;
31081 if (!args
) SWIG_fail
;
31082 swig_obj
[0] = args
;
31083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31084 if (!SWIG_IsOK(res1
)) {
31085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31087 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31092 wxPyEndAllowThreads(__tstate
);
31093 if (PyErr_Occurred()) SWIG_fail
;
31095 resultobj
= SWIG_Py_Void();
31102 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31103 PyObject
*resultobj
= 0;
31104 wxImageList
*arg1
= (wxImageList
*) 0 ;
31105 wxBitmap
*arg2
= 0 ;
31106 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31107 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31115 PyObject
* obj0
= 0 ;
31116 PyObject
* obj1
= 0 ;
31117 PyObject
* obj2
= 0 ;
31118 char * kwnames
[] = {
31119 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31124 if (!SWIG_IsOK(res1
)) {
31125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31127 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31128 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31129 if (!SWIG_IsOK(res2
)) {
31130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31133 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31135 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31137 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31138 if (!SWIG_IsOK(res3
)) {
31139 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31142 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31144 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31148 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31149 wxPyEndAllowThreads(__tstate
);
31150 if (PyErr_Occurred()) SWIG_fail
;
31152 resultobj
= SWIG_From_int(static_cast< int >(result
));
31159 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31160 PyObject
*resultobj
= 0;
31161 wxImageList
*arg1
= (wxImageList
*) 0 ;
31162 wxBitmap
*arg2
= 0 ;
31163 wxColour
*arg3
= 0 ;
31170 PyObject
* obj0
= 0 ;
31171 PyObject
* obj1
= 0 ;
31172 PyObject
* obj2
= 0 ;
31173 char * kwnames
[] = {
31174 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31179 if (!SWIG_IsOK(res1
)) {
31180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31182 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31183 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31184 if (!SWIG_IsOK(res2
)) {
31185 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31188 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31190 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31193 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31197 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31198 wxPyEndAllowThreads(__tstate
);
31199 if (PyErr_Occurred()) SWIG_fail
;
31201 resultobj
= SWIG_From_int(static_cast< int >(result
));
31208 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31209 PyObject
*resultobj
= 0;
31210 wxImageList
*arg1
= (wxImageList
*) 0 ;
31217 PyObject
* obj0
= 0 ;
31218 PyObject
* obj1
= 0 ;
31219 char * kwnames
[] = {
31220 (char *) "self",(char *) "icon", NULL
31223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31225 if (!SWIG_IsOK(res1
)) {
31226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31228 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31229 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31230 if (!SWIG_IsOK(res2
)) {
31231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31234 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31236 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31239 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31240 wxPyEndAllowThreads(__tstate
);
31241 if (PyErr_Occurred()) SWIG_fail
;
31243 resultobj
= SWIG_From_int(static_cast< int >(result
));
31250 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31251 PyObject
*resultobj
= 0;
31252 wxImageList
*arg1
= (wxImageList
*) 0 ;
31254 SwigValueWrapper
<wxBitmap
> result
;
31259 PyObject
* obj0
= 0 ;
31260 PyObject
* obj1
= 0 ;
31261 char * kwnames
[] = {
31262 (char *) "self",(char *) "index", NULL
31265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31267 if (!SWIG_IsOK(res1
)) {
31268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31270 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31272 if (!SWIG_IsOK(ecode2
)) {
31273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31275 arg2
= static_cast< int >(val2
);
31277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31278 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31279 wxPyEndAllowThreads(__tstate
);
31280 if (PyErr_Occurred()) SWIG_fail
;
31282 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31289 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31290 PyObject
*resultobj
= 0;
31291 wxImageList
*arg1
= (wxImageList
*) 0 ;
31298 PyObject
* obj0
= 0 ;
31299 PyObject
* obj1
= 0 ;
31300 char * kwnames
[] = {
31301 (char *) "self",(char *) "index", NULL
31304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31306 if (!SWIG_IsOK(res1
)) {
31307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31309 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31311 if (!SWIG_IsOK(ecode2
)) {
31312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31314 arg2
= static_cast< int >(val2
);
31316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31317 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31318 wxPyEndAllowThreads(__tstate
);
31319 if (PyErr_Occurred()) SWIG_fail
;
31321 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31328 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31329 PyObject
*resultobj
= 0;
31330 wxImageList
*arg1
= (wxImageList
*) 0 ;
31332 wxBitmap
*arg3
= 0 ;
31333 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31334 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31344 PyObject
* obj0
= 0 ;
31345 PyObject
* obj1
= 0 ;
31346 PyObject
* obj2
= 0 ;
31347 PyObject
* obj3
= 0 ;
31348 char * kwnames
[] = {
31349 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31354 if (!SWIG_IsOK(res1
)) {
31355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31357 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31359 if (!SWIG_IsOK(ecode2
)) {
31360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31362 arg2
= static_cast< int >(val2
);
31363 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31364 if (!SWIG_IsOK(res3
)) {
31365 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31368 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31370 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31372 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31373 if (!SWIG_IsOK(res4
)) {
31374 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31379 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31383 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31384 wxPyEndAllowThreads(__tstate
);
31385 if (PyErr_Occurred()) SWIG_fail
;
31388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31396 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31397 PyObject
*resultobj
= 0;
31398 wxImageList
*arg1
= (wxImageList
*) 0 ;
31403 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31404 bool arg7
= (bool) (bool)false ;
31420 PyObject
* obj0
= 0 ;
31421 PyObject
* obj1
= 0 ;
31422 PyObject
* obj2
= 0 ;
31423 PyObject
* obj3
= 0 ;
31424 PyObject
* obj4
= 0 ;
31425 PyObject
* obj5
= 0 ;
31426 PyObject
* obj6
= 0 ;
31427 char * kwnames
[] = {
31428 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31433 if (!SWIG_IsOK(res1
)) {
31434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31436 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31438 if (!SWIG_IsOK(ecode2
)) {
31439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31441 arg2
= static_cast< int >(val2
);
31442 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31443 if (!SWIG_IsOK(res3
)) {
31444 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31449 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31450 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31451 if (!SWIG_IsOK(ecode4
)) {
31452 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31454 arg4
= static_cast< int >(val4
);
31455 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31456 if (!SWIG_IsOK(ecode5
)) {
31457 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31459 arg5
= static_cast< int >(val5
);
31461 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31462 if (!SWIG_IsOK(ecode6
)) {
31463 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31465 arg6
= static_cast< int >(val6
);
31468 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31469 if (!SWIG_IsOK(ecode7
)) {
31470 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31472 arg7
= static_cast< bool >(val7
);
31475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31476 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31477 wxPyEndAllowThreads(__tstate
);
31478 if (PyErr_Occurred()) SWIG_fail
;
31481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31489 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31490 PyObject
*resultobj
= 0;
31491 wxImageList
*arg1
= (wxImageList
*) 0 ;
31495 PyObject
*swig_obj
[1] ;
31497 if (!args
) SWIG_fail
;
31498 swig_obj
[0] = args
;
31499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31500 if (!SWIG_IsOK(res1
)) {
31501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31503 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31506 result
= (int)(arg1
)->GetImageCount();
31507 wxPyEndAllowThreads(__tstate
);
31508 if (PyErr_Occurred()) SWIG_fail
;
31510 resultobj
= SWIG_From_int(static_cast< int >(result
));
31517 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31518 PyObject
*resultobj
= 0;
31519 wxImageList
*arg1
= (wxImageList
*) 0 ;
31526 PyObject
* obj0
= 0 ;
31527 PyObject
* obj1
= 0 ;
31528 char * kwnames
[] = {
31529 (char *) "self",(char *) "index", NULL
31532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31534 if (!SWIG_IsOK(res1
)) {
31535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31537 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31539 if (!SWIG_IsOK(ecode2
)) {
31540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31542 arg2
= static_cast< int >(val2
);
31544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31545 result
= (bool)(arg1
)->Remove(arg2
);
31546 wxPyEndAllowThreads(__tstate
);
31547 if (PyErr_Occurred()) SWIG_fail
;
31550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31558 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31559 PyObject
*resultobj
= 0;
31560 wxImageList
*arg1
= (wxImageList
*) 0 ;
31564 PyObject
*swig_obj
[1] ;
31566 if (!args
) SWIG_fail
;
31567 swig_obj
[0] = args
;
31568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31569 if (!SWIG_IsOK(res1
)) {
31570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31572 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31575 result
= (bool)(arg1
)->RemoveAll();
31576 wxPyEndAllowThreads(__tstate
);
31577 if (PyErr_Occurred()) SWIG_fail
;
31580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31588 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31589 PyObject
*resultobj
= 0;
31590 wxImageList
*arg1
= (wxImageList
*) 0 ;
31599 int res3
= SWIG_TMPOBJ
;
31601 int res4
= SWIG_TMPOBJ
;
31602 PyObject
* obj0
= 0 ;
31603 PyObject
* obj1
= 0 ;
31604 char * kwnames
[] = {
31605 (char *) "self",(char *) "index", NULL
31610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31612 if (!SWIG_IsOK(res1
)) {
31613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31615 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31616 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31617 if (!SWIG_IsOK(ecode2
)) {
31618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31620 arg2
= static_cast< int >(val2
);
31622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31623 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31624 wxPyEndAllowThreads(__tstate
);
31625 if (PyErr_Occurred()) SWIG_fail
;
31627 resultobj
= SWIG_Py_Void();
31628 if (SWIG_IsTmpObj(res3
)) {
31629 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31631 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31632 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31634 if (SWIG_IsTmpObj(res4
)) {
31635 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31637 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31638 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31646 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31648 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31649 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31650 return SWIG_Py_Void();
31653 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31654 return SWIG_Python_InitShadowInstance(args
);
31657 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31658 PyObject
*resultobj
= 0;
31659 wxStockGDI
*result
= 0 ;
31661 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31664 result
= (wxStockGDI
*)new wxStockGDI();
31665 wxPyEndAllowThreads(__tstate
);
31666 if (PyErr_Occurred()) SWIG_fail
;
31668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31675 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31676 PyObject
*resultobj
= 0;
31677 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31680 PyObject
*swig_obj
[1] ;
31682 if (!args
) SWIG_fail
;
31683 swig_obj
[0] = args
;
31684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31685 if (!SWIG_IsOK(res1
)) {
31686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31688 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31693 wxPyEndAllowThreads(__tstate
);
31694 if (PyErr_Occurred()) SWIG_fail
;
31696 resultobj
= SWIG_Py_Void();
31703 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31704 PyObject
*resultobj
= 0;
31706 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31709 wxStockGDI::DeleteAll();
31710 wxPyEndAllowThreads(__tstate
);
31711 if (PyErr_Occurred()) SWIG_fail
;
31713 resultobj
= SWIG_Py_Void();
31720 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31721 PyObject
*resultobj
= 0;
31722 wxStockGDI
*result
= 0 ;
31724 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31728 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31729 result
= (wxStockGDI
*) &_result_ref
;
31731 wxPyEndAllowThreads(__tstate
);
31732 if (PyErr_Occurred()) SWIG_fail
;
31734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31741 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31742 PyObject
*resultobj
= 0;
31743 wxStockGDI::Item arg1
;
31744 wxBrush
*result
= 0 ;
31747 PyObject
* obj0
= 0 ;
31748 char * kwnames
[] = {
31749 (char *) "item", NULL
31752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31753 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31754 if (!SWIG_IsOK(ecode1
)) {
31755 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31757 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31760 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31761 wxPyEndAllowThreads(__tstate
);
31762 if (PyErr_Occurred()) SWIG_fail
;
31764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31771 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31772 PyObject
*resultobj
= 0;
31773 wxStockGDI::Item arg1
;
31774 wxColour
*result
= 0 ;
31777 PyObject
* obj0
= 0 ;
31778 char * kwnames
[] = {
31779 (char *) "item", NULL
31782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31783 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31784 if (!SWIG_IsOK(ecode1
)) {
31785 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31787 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31790 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31791 wxPyEndAllowThreads(__tstate
);
31792 if (PyErr_Occurred()) SWIG_fail
;
31794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31801 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31802 PyObject
*resultobj
= 0;
31803 wxStockGDI::Item arg1
;
31804 wxCursor
*result
= 0 ;
31807 PyObject
* obj0
= 0 ;
31808 char * kwnames
[] = {
31809 (char *) "item", NULL
31812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
31813 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31814 if (!SWIG_IsOK(ecode1
)) {
31815 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31817 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31820 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
31821 wxPyEndAllowThreads(__tstate
);
31822 if (PyErr_Occurred()) SWIG_fail
;
31824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
31831 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31832 PyObject
*resultobj
= 0;
31833 wxStockGDI::Item arg1
;
31834 wxPen
*result
= 0 ;
31837 PyObject
* obj0
= 0 ;
31838 char * kwnames
[] = {
31839 (char *) "item", NULL
31842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
31843 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31844 if (!SWIG_IsOK(ecode1
)) {
31845 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31847 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31850 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
31851 wxPyEndAllowThreads(__tstate
);
31852 if (PyErr_Occurred()) SWIG_fail
;
31854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31861 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31862 PyObject
*resultobj
= 0;
31863 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31864 wxStockGDI::Item arg2
;
31865 wxFont
*result
= 0 ;
31870 PyObject
* obj0
= 0 ;
31871 PyObject
* obj1
= 0 ;
31872 char * kwnames
[] = {
31873 (char *) "self",(char *) "item", NULL
31876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31878 if (!SWIG_IsOK(res1
)) {
31879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31881 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31883 if (!SWIG_IsOK(ecode2
)) {
31884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
31886 arg2
= static_cast< wxStockGDI::Item
>(val2
);
31888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31889 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
31890 wxPyEndAllowThreads(__tstate
);
31891 if (PyErr_Occurred()) SWIG_fail
;
31893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
31900 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31902 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31903 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
31904 return SWIG_Py_Void();
31907 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31908 return SWIG_Python_InitShadowInstance(args
);
31911 SWIGINTERN
int NullBitmap_set(PyObject
*) {
31912 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
31917 SWIGINTERN PyObject
*NullBitmap_get(void) {
31918 PyObject
*pyobj
= 0;
31920 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
31925 SWIGINTERN
int NullIcon_set(PyObject
*) {
31926 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
31931 SWIGINTERN PyObject
*NullIcon_get(void) {
31932 PyObject
*pyobj
= 0;
31934 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
31939 SWIGINTERN
int NullCursor_set(PyObject
*) {
31940 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
31945 SWIGINTERN PyObject
*NullCursor_get(void) {
31946 PyObject
*pyobj
= 0;
31948 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
31953 SWIGINTERN
int NullPen_set(PyObject
*) {
31954 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
31959 SWIGINTERN PyObject
*NullPen_get(void) {
31960 PyObject
*pyobj
= 0;
31962 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
31967 SWIGINTERN
int NullBrush_set(PyObject
*) {
31968 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
31973 SWIGINTERN PyObject
*NullBrush_get(void) {
31974 PyObject
*pyobj
= 0;
31976 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
31981 SWIGINTERN
int NullPalette_set(PyObject
*) {
31982 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
31987 SWIGINTERN PyObject
*NullPalette_get(void) {
31988 PyObject
*pyobj
= 0;
31990 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
31995 SWIGINTERN
int NullFont_set(PyObject
*) {
31996 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32001 SWIGINTERN PyObject
*NullFont_get(void) {
32002 PyObject
*pyobj
= 0;
32004 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32009 SWIGINTERN
int NullColour_set(PyObject
*) {
32010 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32015 SWIGINTERN PyObject
*NullColour_get(void) {
32016 PyObject
*pyobj
= 0;
32018 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32023 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32024 PyObject
*resultobj
= 0;
32025 wxGDIObjListBase
*result
= 0 ;
32027 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32030 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32031 wxPyEndAllowThreads(__tstate
);
32032 if (PyErr_Occurred()) SWIG_fail
;
32034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32041 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32042 PyObject
*resultobj
= 0;
32043 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32046 PyObject
*swig_obj
[1] ;
32048 if (!args
) SWIG_fail
;
32049 swig_obj
[0] = args
;
32050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32051 if (!SWIG_IsOK(res1
)) {
32052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32054 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32059 wxPyEndAllowThreads(__tstate
);
32060 if (PyErr_Occurred()) SWIG_fail
;
32062 resultobj
= SWIG_Py_Void();
32069 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32071 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32072 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32073 return SWIG_Py_Void();
32076 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32077 return SWIG_Python_InitShadowInstance(args
);
32080 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32081 PyObject
*resultobj
= 0;
32082 wxPenList
*arg1
= (wxPenList
*) 0 ;
32083 wxColour
*arg2
= 0 ;
32086 wxPen
*result
= 0 ;
32094 PyObject
* obj0
= 0 ;
32095 PyObject
* obj1
= 0 ;
32096 PyObject
* obj2
= 0 ;
32097 PyObject
* obj3
= 0 ;
32098 char * kwnames
[] = {
32099 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32104 if (!SWIG_IsOK(res1
)) {
32105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32107 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32110 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32112 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32113 if (!SWIG_IsOK(ecode3
)) {
32114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32116 arg3
= static_cast< int >(val3
);
32117 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32118 if (!SWIG_IsOK(ecode4
)) {
32119 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32121 arg4
= static_cast< int >(val4
);
32123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32124 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32125 wxPyEndAllowThreads(__tstate
);
32126 if (PyErr_Occurred()) SWIG_fail
;
32128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32135 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32136 PyObject
*resultobj
= 0;
32137 wxPenList
*arg1
= (wxPenList
*) 0 ;
32138 wxPen
*arg2
= (wxPen
*) 0 ;
32143 PyObject
* obj0
= 0 ;
32144 PyObject
* obj1
= 0 ;
32145 char * kwnames
[] = {
32146 (char *) "self",(char *) "pen", NULL
32149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32151 if (!SWIG_IsOK(res1
)) {
32152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
32154 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32155 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32156 if (!SWIG_IsOK(res2
)) {
32157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
32159 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32162 (arg1
)->AddPen(arg2
);
32163 wxPyEndAllowThreads(__tstate
);
32164 if (PyErr_Occurred()) SWIG_fail
;
32166 resultobj
= SWIG_Py_Void();
32173 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32174 PyObject
*resultobj
= 0;
32175 wxPenList
*arg1
= (wxPenList
*) 0 ;
32176 wxPen
*arg2
= (wxPen
*) 0 ;
32181 PyObject
* obj0
= 0 ;
32182 PyObject
* obj1
= 0 ;
32183 char * kwnames
[] = {
32184 (char *) "self",(char *) "pen", NULL
32187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32189 if (!SWIG_IsOK(res1
)) {
32190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32192 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32193 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32194 if (!SWIG_IsOK(res2
)) {
32195 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32197 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32200 (arg1
)->RemovePen(arg2
);
32201 wxPyEndAllowThreads(__tstate
);
32202 if (PyErr_Occurred()) SWIG_fail
;
32204 resultobj
= SWIG_Py_Void();
32211 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32213 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32214 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32215 return SWIG_Py_Void();
32218 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32219 PyObject
*resultobj
= 0;
32220 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32221 wxColour
*arg2
= 0 ;
32222 int arg3
= (int) wxSOLID
;
32223 wxBrush
*result
= 0 ;
32229 PyObject
* obj0
= 0 ;
32230 PyObject
* obj1
= 0 ;
32231 PyObject
* obj2
= 0 ;
32232 char * kwnames
[] = {
32233 (char *) "self",(char *) "colour",(char *) "style", NULL
32236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32238 if (!SWIG_IsOK(res1
)) {
32239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32241 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32244 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32247 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32248 if (!SWIG_IsOK(ecode3
)) {
32249 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32251 arg3
= static_cast< int >(val3
);
32254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32255 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32256 wxPyEndAllowThreads(__tstate
);
32257 if (PyErr_Occurred()) SWIG_fail
;
32259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32266 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32267 PyObject
*resultobj
= 0;
32268 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32269 wxBrush
*arg2
= (wxBrush
*) 0 ;
32274 PyObject
* obj0
= 0 ;
32275 PyObject
* obj1
= 0 ;
32276 char * kwnames
[] = {
32277 (char *) "self",(char *) "brush", NULL
32280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32282 if (!SWIG_IsOK(res1
)) {
32283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32285 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32286 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32287 if (!SWIG_IsOK(res2
)) {
32288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32290 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32293 (arg1
)->AddBrush(arg2
);
32294 wxPyEndAllowThreads(__tstate
);
32295 if (PyErr_Occurred()) SWIG_fail
;
32297 resultobj
= SWIG_Py_Void();
32304 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32305 PyObject
*resultobj
= 0;
32306 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32307 wxBrush
*arg2
= (wxBrush
*) 0 ;
32312 PyObject
* obj0
= 0 ;
32313 PyObject
* obj1
= 0 ;
32314 char * kwnames
[] = {
32315 (char *) "self",(char *) "brush", NULL
32318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32320 if (!SWIG_IsOK(res1
)) {
32321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32323 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32324 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32325 if (!SWIG_IsOK(res2
)) {
32326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32328 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32331 (arg1
)->RemoveBrush(arg2
);
32332 wxPyEndAllowThreads(__tstate
);
32333 if (PyErr_Occurred()) SWIG_fail
;
32335 resultobj
= SWIG_Py_Void();
32342 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32344 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32345 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32346 return SWIG_Py_Void();
32349 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32350 PyObject
*resultobj
= 0;
32351 wxFontList
*arg1
= (wxFontList
*) 0 ;
32356 bool arg6
= (bool) false ;
32357 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32358 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32359 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32360 wxFont
*result
= 0 ;
32373 bool temp7
= false ;
32376 PyObject
* obj0
= 0 ;
32377 PyObject
* obj1
= 0 ;
32378 PyObject
* obj2
= 0 ;
32379 PyObject
* obj3
= 0 ;
32380 PyObject
* obj4
= 0 ;
32381 PyObject
* obj5
= 0 ;
32382 PyObject
* obj6
= 0 ;
32383 PyObject
* obj7
= 0 ;
32384 char * kwnames
[] = {
32385 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32390 if (!SWIG_IsOK(res1
)) {
32391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32393 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32395 if (!SWIG_IsOK(ecode2
)) {
32396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32398 arg2
= static_cast< int >(val2
);
32399 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32400 if (!SWIG_IsOK(ecode3
)) {
32401 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32403 arg3
= static_cast< int >(val3
);
32404 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32405 if (!SWIG_IsOK(ecode4
)) {
32406 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32408 arg4
= static_cast< int >(val4
);
32409 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32410 if (!SWIG_IsOK(ecode5
)) {
32411 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32413 arg5
= static_cast< int >(val5
);
32415 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32416 if (!SWIG_IsOK(ecode6
)) {
32417 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32419 arg6
= static_cast< bool >(val6
);
32423 arg7
= wxString_in_helper(obj6
);
32424 if (arg7
== NULL
) SWIG_fail
;
32429 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32430 if (!SWIG_IsOK(ecode8
)) {
32431 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32433 arg8
= static_cast< wxFontEncoding
>(val8
);
32436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32437 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32438 wxPyEndAllowThreads(__tstate
);
32439 if (PyErr_Occurred()) SWIG_fail
;
32441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32456 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32457 PyObject
*resultobj
= 0;
32458 wxFontList
*arg1
= (wxFontList
*) 0 ;
32459 wxFont
*arg2
= (wxFont
*) 0 ;
32464 PyObject
* obj0
= 0 ;
32465 PyObject
* obj1
= 0 ;
32466 char * kwnames
[] = {
32467 (char *) "self",(char *) "font", NULL
32470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32472 if (!SWIG_IsOK(res1
)) {
32473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32475 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32476 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32477 if (!SWIG_IsOK(res2
)) {
32478 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32480 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32483 (arg1
)->AddFont(arg2
);
32484 wxPyEndAllowThreads(__tstate
);
32485 if (PyErr_Occurred()) SWIG_fail
;
32487 resultobj
= SWIG_Py_Void();
32494 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32495 PyObject
*resultobj
= 0;
32496 wxFontList
*arg1
= (wxFontList
*) 0 ;
32497 wxFont
*arg2
= (wxFont
*) 0 ;
32502 PyObject
* obj0
= 0 ;
32503 PyObject
* obj1
= 0 ;
32504 char * kwnames
[] = {
32505 (char *) "self",(char *) "font", NULL
32508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32510 if (!SWIG_IsOK(res1
)) {
32511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32513 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32514 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32515 if (!SWIG_IsOK(res2
)) {
32516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32518 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32521 (arg1
)->RemoveFont(arg2
);
32522 wxPyEndAllowThreads(__tstate
);
32523 if (PyErr_Occurred()) SWIG_fail
;
32525 resultobj
= SWIG_Py_Void();
32532 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32534 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32535 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32536 return SWIG_Py_Void();
32539 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32540 PyObject
*resultobj
= 0;
32541 wxColourDatabase
*result
= 0 ;
32543 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32545 if (!wxPyCheckForApp()) SWIG_fail
;
32546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32547 result
= (wxColourDatabase
*)new wxColourDatabase();
32548 wxPyEndAllowThreads(__tstate
);
32549 if (PyErr_Occurred()) SWIG_fail
;
32551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32558 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32559 PyObject
*resultobj
= 0;
32560 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32563 PyObject
*swig_obj
[1] ;
32565 if (!args
) SWIG_fail
;
32566 swig_obj
[0] = args
;
32567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32568 if (!SWIG_IsOK(res1
)) {
32569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32571 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32576 wxPyEndAllowThreads(__tstate
);
32577 if (PyErr_Occurred()) SWIG_fail
;
32579 resultobj
= SWIG_Py_Void();
32586 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32587 PyObject
*resultobj
= 0;
32588 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32589 wxString
*arg2
= 0 ;
32593 bool temp2
= false ;
32594 PyObject
* obj0
= 0 ;
32595 PyObject
* obj1
= 0 ;
32596 char * kwnames
[] = {
32597 (char *) "self",(char *) "name", NULL
32600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32602 if (!SWIG_IsOK(res1
)) {
32603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32605 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32607 arg2
= wxString_in_helper(obj1
);
32608 if (arg2
== NULL
) SWIG_fail
;
32612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32613 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32614 wxPyEndAllowThreads(__tstate
);
32615 if (PyErr_Occurred()) SWIG_fail
;
32617 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32632 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32633 PyObject
*resultobj
= 0;
32634 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32635 wxColour
*arg2
= 0 ;
32640 PyObject
* obj0
= 0 ;
32641 PyObject
* obj1
= 0 ;
32642 char * kwnames
[] = {
32643 (char *) "self",(char *) "colour", NULL
32646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32648 if (!SWIG_IsOK(res1
)) {
32649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32651 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32654 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32658 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32659 wxPyEndAllowThreads(__tstate
);
32660 if (PyErr_Occurred()) SWIG_fail
;
32664 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32666 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32675 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32676 PyObject
*resultobj
= 0;
32677 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32678 wxString
*arg2
= 0 ;
32679 wxColour
*arg3
= 0 ;
32682 bool temp2
= false ;
32684 PyObject
* obj0
= 0 ;
32685 PyObject
* obj1
= 0 ;
32686 PyObject
* obj2
= 0 ;
32687 char * kwnames
[] = {
32688 (char *) "self",(char *) "name",(char *) "colour", NULL
32691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32693 if (!SWIG_IsOK(res1
)) {
32694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32696 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32698 arg2
= wxString_in_helper(obj1
);
32699 if (arg2
== NULL
) SWIG_fail
;
32704 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32708 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32709 wxPyEndAllowThreads(__tstate
);
32710 if (PyErr_Occurred()) SWIG_fail
;
32712 resultobj
= SWIG_Py_Void();
32727 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32728 PyObject
*resultobj
= 0;
32729 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32730 wxString
*arg2
= 0 ;
32736 bool temp2
= false ;
32743 PyObject
* obj0
= 0 ;
32744 PyObject
* obj1
= 0 ;
32745 PyObject
* obj2
= 0 ;
32746 PyObject
* obj3
= 0 ;
32747 PyObject
* obj4
= 0 ;
32748 char * kwnames
[] = {
32749 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32754 if (!SWIG_IsOK(res1
)) {
32755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32757 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32759 arg2
= wxString_in_helper(obj1
);
32760 if (arg2
== NULL
) SWIG_fail
;
32763 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32764 if (!SWIG_IsOK(ecode3
)) {
32765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32767 arg3
= static_cast< int >(val3
);
32768 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32769 if (!SWIG_IsOK(ecode4
)) {
32770 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32772 arg4
= static_cast< int >(val4
);
32773 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32774 if (!SWIG_IsOK(ecode5
)) {
32775 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32777 arg5
= static_cast< int >(val5
);
32779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32780 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32781 wxPyEndAllowThreads(__tstate
);
32782 if (PyErr_Occurred()) SWIG_fail
;
32784 resultobj
= SWIG_Py_Void();
32799 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32801 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32802 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32803 return SWIG_Py_Void();
32806 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32807 return SWIG_Python_InitShadowInstance(args
);
32810 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32811 PyObject
*resultobj
= 0;
32812 wxFontList
*result
= 0 ;
32814 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32817 result
= (wxFontList
*)_wxPyInitTheFontList();
32818 wxPyEndAllowThreads(__tstate
);
32819 if (PyErr_Occurred()) SWIG_fail
;
32821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
32828 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32829 PyObject
*resultobj
= 0;
32830 wxPenList
*result
= 0 ;
32832 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
32834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32835 result
= (wxPenList
*)_wxPyInitThePenList();
32836 wxPyEndAllowThreads(__tstate
);
32837 if (PyErr_Occurred()) SWIG_fail
;
32839 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
32846 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32847 PyObject
*resultobj
= 0;
32848 wxBrushList
*result
= 0 ;
32850 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
32852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32853 result
= (wxBrushList
*)_wxPyInitTheBrushList();
32854 wxPyEndAllowThreads(__tstate
);
32855 if (PyErr_Occurred()) SWIG_fail
;
32857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
32864 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32865 PyObject
*resultobj
= 0;
32866 wxColourDatabase
*result
= 0 ;
32868 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
32870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32871 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
32872 wxPyEndAllowThreads(__tstate
);
32873 if (PyErr_Occurred()) SWIG_fail
;
32875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32882 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32883 PyObject
*resultobj
= 0;
32884 wxEffects
*result
= 0 ;
32886 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
32888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32889 result
= (wxEffects
*)new wxEffects();
32890 wxPyEndAllowThreads(__tstate
);
32891 if (PyErr_Occurred()) SWIG_fail
;
32893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
32900 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32901 PyObject
*resultobj
= 0;
32902 wxEffects
*arg1
= (wxEffects
*) 0 ;
32906 PyObject
*swig_obj
[1] ;
32908 if (!args
) SWIG_fail
;
32909 swig_obj
[0] = args
;
32910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32911 if (!SWIG_IsOK(res1
)) {
32912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32914 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32917 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
32918 wxPyEndAllowThreads(__tstate
);
32919 if (PyErr_Occurred()) SWIG_fail
;
32921 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32928 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32929 PyObject
*resultobj
= 0;
32930 wxEffects
*arg1
= (wxEffects
*) 0 ;
32934 PyObject
*swig_obj
[1] ;
32936 if (!args
) SWIG_fail
;
32937 swig_obj
[0] = args
;
32938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32939 if (!SWIG_IsOK(res1
)) {
32940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32942 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32945 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
32946 wxPyEndAllowThreads(__tstate
);
32947 if (PyErr_Occurred()) SWIG_fail
;
32949 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32956 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32957 PyObject
*resultobj
= 0;
32958 wxEffects
*arg1
= (wxEffects
*) 0 ;
32962 PyObject
*swig_obj
[1] ;
32964 if (!args
) SWIG_fail
;
32965 swig_obj
[0] = args
;
32966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32967 if (!SWIG_IsOK(res1
)) {
32968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32970 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32973 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
32974 wxPyEndAllowThreads(__tstate
);
32975 if (PyErr_Occurred()) SWIG_fail
;
32977 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32984 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32985 PyObject
*resultobj
= 0;
32986 wxEffects
*arg1
= (wxEffects
*) 0 ;
32990 PyObject
*swig_obj
[1] ;
32992 if (!args
) SWIG_fail
;
32993 swig_obj
[0] = args
;
32994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32995 if (!SWIG_IsOK(res1
)) {
32996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32998 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33001 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33002 wxPyEndAllowThreads(__tstate
);
33003 if (PyErr_Occurred()) SWIG_fail
;
33005 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33012 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33013 PyObject
*resultobj
= 0;
33014 wxEffects
*arg1
= (wxEffects
*) 0 ;
33018 PyObject
*swig_obj
[1] ;
33020 if (!args
) SWIG_fail
;
33021 swig_obj
[0] = args
;
33022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33023 if (!SWIG_IsOK(res1
)) {
33024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33026 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33029 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33030 wxPyEndAllowThreads(__tstate
);
33031 if (PyErr_Occurred()) SWIG_fail
;
33033 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33040 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33041 PyObject
*resultobj
= 0;
33042 wxEffects
*arg1
= (wxEffects
*) 0 ;
33043 wxColour
*arg2
= 0 ;
33047 PyObject
* obj0
= 0 ;
33048 PyObject
* obj1
= 0 ;
33049 char * kwnames
[] = {
33050 (char *) "self",(char *) "c", NULL
33053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33055 if (!SWIG_IsOK(res1
)) {
33056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33058 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33061 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33065 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33066 wxPyEndAllowThreads(__tstate
);
33067 if (PyErr_Occurred()) SWIG_fail
;
33069 resultobj
= SWIG_Py_Void();
33076 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33077 PyObject
*resultobj
= 0;
33078 wxEffects
*arg1
= (wxEffects
*) 0 ;
33079 wxColour
*arg2
= 0 ;
33083 PyObject
* obj0
= 0 ;
33084 PyObject
* obj1
= 0 ;
33085 char * kwnames
[] = {
33086 (char *) "self",(char *) "c", NULL
33089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33091 if (!SWIG_IsOK(res1
)) {
33092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33094 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33097 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33101 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33102 wxPyEndAllowThreads(__tstate
);
33103 if (PyErr_Occurred()) SWIG_fail
;
33105 resultobj
= SWIG_Py_Void();
33112 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33113 PyObject
*resultobj
= 0;
33114 wxEffects
*arg1
= (wxEffects
*) 0 ;
33115 wxColour
*arg2
= 0 ;
33119 PyObject
* obj0
= 0 ;
33120 PyObject
* obj1
= 0 ;
33121 char * kwnames
[] = {
33122 (char *) "self",(char *) "c", NULL
33125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33127 if (!SWIG_IsOK(res1
)) {
33128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33130 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33133 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33137 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33138 wxPyEndAllowThreads(__tstate
);
33139 if (PyErr_Occurred()) SWIG_fail
;
33141 resultobj
= SWIG_Py_Void();
33148 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33149 PyObject
*resultobj
= 0;
33150 wxEffects
*arg1
= (wxEffects
*) 0 ;
33151 wxColour
*arg2
= 0 ;
33155 PyObject
* obj0
= 0 ;
33156 PyObject
* obj1
= 0 ;
33157 char * kwnames
[] = {
33158 (char *) "self",(char *) "c", NULL
33161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33163 if (!SWIG_IsOK(res1
)) {
33164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33166 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33169 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33173 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33174 wxPyEndAllowThreads(__tstate
);
33175 if (PyErr_Occurred()) SWIG_fail
;
33177 resultobj
= SWIG_Py_Void();
33184 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33185 PyObject
*resultobj
= 0;
33186 wxEffects
*arg1
= (wxEffects
*) 0 ;
33187 wxColour
*arg2
= 0 ;
33191 PyObject
* obj0
= 0 ;
33192 PyObject
* obj1
= 0 ;
33193 char * kwnames
[] = {
33194 (char *) "self",(char *) "c", NULL
33197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33199 if (!SWIG_IsOK(res1
)) {
33200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33202 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33205 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33209 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33210 wxPyEndAllowThreads(__tstate
);
33211 if (PyErr_Occurred()) SWIG_fail
;
33213 resultobj
= SWIG_Py_Void();
33220 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33221 PyObject
*resultobj
= 0;
33222 wxEffects
*arg1
= (wxEffects
*) 0 ;
33223 wxColour
*arg2
= 0 ;
33224 wxColour
*arg3
= 0 ;
33225 wxColour
*arg4
= 0 ;
33226 wxColour
*arg5
= 0 ;
33227 wxColour
*arg6
= 0 ;
33235 PyObject
* obj0
= 0 ;
33236 PyObject
* obj1
= 0 ;
33237 PyObject
* obj2
= 0 ;
33238 PyObject
* obj3
= 0 ;
33239 PyObject
* obj4
= 0 ;
33240 PyObject
* obj5
= 0 ;
33241 char * kwnames
[] = {
33242 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33247 if (!SWIG_IsOK(res1
)) {
33248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33250 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33253 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33257 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33261 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33265 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33269 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33273 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33274 wxPyEndAllowThreads(__tstate
);
33275 if (PyErr_Occurred()) SWIG_fail
;
33277 resultobj
= SWIG_Py_Void();
33284 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33285 PyObject
*resultobj
= 0;
33286 wxEffects
*arg1
= (wxEffects
*) 0 ;
33289 int arg4
= (int) 1 ;
33297 PyObject
* obj0
= 0 ;
33298 PyObject
* obj1
= 0 ;
33299 PyObject
* obj2
= 0 ;
33300 PyObject
* obj3
= 0 ;
33301 char * kwnames
[] = {
33302 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33307 if (!SWIG_IsOK(res1
)) {
33308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33310 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33311 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33312 if (!SWIG_IsOK(res2
)) {
33313 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33318 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33321 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33324 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33325 if (!SWIG_IsOK(ecode4
)) {
33326 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33328 arg4
= static_cast< int >(val4
);
33331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33332 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33333 wxPyEndAllowThreads(__tstate
);
33334 if (PyErr_Occurred()) SWIG_fail
;
33336 resultobj
= SWIG_Py_Void();
33343 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33344 PyObject
*resultobj
= 0;
33345 wxEffects
*arg1
= (wxEffects
*) 0 ;
33348 wxBitmap
*arg4
= 0 ;
33357 PyObject
* obj0
= 0 ;
33358 PyObject
* obj1
= 0 ;
33359 PyObject
* obj2
= 0 ;
33360 PyObject
* obj3
= 0 ;
33361 char * kwnames
[] = {
33362 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33367 if (!SWIG_IsOK(res1
)) {
33368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33370 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33373 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33375 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33376 if (!SWIG_IsOK(res3
)) {
33377 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33382 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33383 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33384 if (!SWIG_IsOK(res4
)) {
33385 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33388 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33390 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33393 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33394 wxPyEndAllowThreads(__tstate
);
33395 if (PyErr_Occurred()) SWIG_fail
;
33398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33406 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33408 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33409 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33410 return SWIG_Py_Void();
33413 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33414 return SWIG_Python_InitShadowInstance(args
);
33417 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33418 PyObject
*resultobj
= 0;
33422 wxSplitterRenderParams
*result
= 0 ;
33429 PyObject
* obj0
= 0 ;
33430 PyObject
* obj1
= 0 ;
33431 PyObject
* obj2
= 0 ;
33432 char * kwnames
[] = {
33433 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33437 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33438 if (!SWIG_IsOK(ecode1
)) {
33439 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33441 arg1
= static_cast< int >(val1
);
33442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33443 if (!SWIG_IsOK(ecode2
)) {
33444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33446 arg2
= static_cast< int >(val2
);
33447 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33448 if (!SWIG_IsOK(ecode3
)) {
33449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33451 arg3
= static_cast< bool >(val3
);
33453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33454 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33455 wxPyEndAllowThreads(__tstate
);
33456 if (PyErr_Occurred()) SWIG_fail
;
33458 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33465 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33466 PyObject
*resultobj
= 0;
33467 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33470 PyObject
*swig_obj
[1] ;
33472 if (!args
) SWIG_fail
;
33473 swig_obj
[0] = args
;
33474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33475 if (!SWIG_IsOK(res1
)) {
33476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33478 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33483 wxPyEndAllowThreads(__tstate
);
33484 if (PyErr_Occurred()) SWIG_fail
;
33486 resultobj
= SWIG_Py_Void();
33493 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33494 PyObject
*resultobj
= 0;
33495 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33499 PyObject
*swig_obj
[1] ;
33501 if (!args
) SWIG_fail
;
33502 swig_obj
[0] = args
;
33503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33504 if (!SWIG_IsOK(res1
)) {
33505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33507 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33508 result
= (int)(int) ((arg1
)->widthSash
);
33509 resultobj
= SWIG_From_int(static_cast< int >(result
));
33516 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33517 PyObject
*resultobj
= 0;
33518 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33522 PyObject
*swig_obj
[1] ;
33524 if (!args
) SWIG_fail
;
33525 swig_obj
[0] = args
;
33526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33527 if (!SWIG_IsOK(res1
)) {
33528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33530 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33531 result
= (int)(int) ((arg1
)->border
);
33532 resultobj
= SWIG_From_int(static_cast< int >(result
));
33539 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33540 PyObject
*resultobj
= 0;
33541 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33545 PyObject
*swig_obj
[1] ;
33547 if (!args
) SWIG_fail
;
33548 swig_obj
[0] = args
;
33549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33550 if (!SWIG_IsOK(res1
)) {
33551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33553 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33554 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33555 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33562 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33564 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33565 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33566 return SWIG_Py_Void();
33569 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33570 return SWIG_Python_InitShadowInstance(args
);
33573 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33574 PyObject
*resultobj
= 0;
33575 wxHeaderButtonParams
*result
= 0 ;
33577 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33580 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33581 wxPyEndAllowThreads(__tstate
);
33582 if (PyErr_Occurred()) SWIG_fail
;
33584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33591 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33592 PyObject
*resultobj
= 0;
33593 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 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
, SWIG_POINTER_DISOWN
| 0 );
33601 if (!SWIG_IsOK(res1
)) {
33602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33604 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33609 wxPyEndAllowThreads(__tstate
);
33610 if (PyErr_Occurred()) SWIG_fail
;
33612 resultobj
= SWIG_Py_Void();
33619 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33620 PyObject
*resultobj
= 0;
33621 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33622 wxColour
*arg2
= (wxColour
*) 0 ;
33626 PyObject
*swig_obj
[2] ;
33628 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33630 if (!SWIG_IsOK(res1
)) {
33631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33633 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33636 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33638 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33640 resultobj
= SWIG_Py_Void();
33647 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33648 PyObject
*resultobj
= 0;
33649 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33650 wxColour
*result
= 0 ;
33653 PyObject
*swig_obj
[1] ;
33655 if (!args
) SWIG_fail
;
33656 swig_obj
[0] = args
;
33657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33658 if (!SWIG_IsOK(res1
)) {
33659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33661 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33662 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33663 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33670 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33671 PyObject
*resultobj
= 0;
33672 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33673 wxColour
*arg2
= (wxColour
*) 0 ;
33677 PyObject
*swig_obj
[2] ;
33679 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33681 if (!SWIG_IsOK(res1
)) {
33682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33684 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33687 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33689 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33691 resultobj
= SWIG_Py_Void();
33698 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33699 PyObject
*resultobj
= 0;
33700 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33701 wxColour
*result
= 0 ;
33704 PyObject
*swig_obj
[1] ;
33706 if (!args
) SWIG_fail
;
33707 swig_obj
[0] = args
;
33708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33709 if (!SWIG_IsOK(res1
)) {
33710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33712 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33713 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33721 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33722 PyObject
*resultobj
= 0;
33723 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33724 wxString
*arg2
= (wxString
*) 0 ;
33727 bool temp2
= false ;
33728 PyObject
*swig_obj
[2] ;
33730 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33732 if (!SWIG_IsOK(res1
)) {
33733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33735 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33737 arg2
= wxString_in_helper(swig_obj
[1]);
33738 if (arg2
== NULL
) SWIG_fail
;
33741 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33743 resultobj
= SWIG_Py_Void();
33758 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33759 PyObject
*resultobj
= 0;
33760 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33761 wxString
*result
= 0 ;
33764 PyObject
*swig_obj
[1] ;
33766 if (!args
) SWIG_fail
;
33767 swig_obj
[0] = args
;
33768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33769 if (!SWIG_IsOK(res1
)) {
33770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33772 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33773 result
= (wxString
*)& ((arg1
)->m_labelText
);
33776 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33778 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33787 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33788 PyObject
*resultobj
= 0;
33789 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33790 wxFont
*arg2
= (wxFont
*) 0 ;
33795 PyObject
*swig_obj
[2] ;
33797 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33799 if (!SWIG_IsOK(res1
)) {
33800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33802 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33803 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33804 if (!SWIG_IsOK(res2
)) {
33805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33807 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33808 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33810 resultobj
= SWIG_Py_Void();
33817 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33818 PyObject
*resultobj
= 0;
33819 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33820 wxFont
*result
= 0 ;
33823 PyObject
*swig_obj
[1] ;
33825 if (!args
) SWIG_fail
;
33826 swig_obj
[0] = args
;
33827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33828 if (!SWIG_IsOK(res1
)) {
33829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33831 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33832 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
33833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33840 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33841 PyObject
*resultobj
= 0;
33842 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33843 wxColour
*arg2
= (wxColour
*) 0 ;
33847 PyObject
*swig_obj
[2] ;
33849 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
33850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33851 if (!SWIG_IsOK(res1
)) {
33852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33854 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33857 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33859 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
33861 resultobj
= SWIG_Py_Void();
33868 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33869 PyObject
*resultobj
= 0;
33870 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33871 wxColour
*result
= 0 ;
33874 PyObject
*swig_obj
[1] ;
33876 if (!args
) SWIG_fail
;
33877 swig_obj
[0] = args
;
33878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33879 if (!SWIG_IsOK(res1
)) {
33880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33882 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33883 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
33884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33891 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33892 PyObject
*resultobj
= 0;
33893 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33894 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33899 PyObject
*swig_obj
[2] ;
33901 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
33902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33903 if (!SWIG_IsOK(res1
)) {
33904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33906 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33907 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
33908 if (!SWIG_IsOK(res2
)) {
33909 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
33911 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33912 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
33914 resultobj
= SWIG_Py_Void();
33921 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33922 PyObject
*resultobj
= 0;
33923 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33924 wxBitmap
*result
= 0 ;
33927 PyObject
*swig_obj
[1] ;
33929 if (!args
) SWIG_fail
;
33930 swig_obj
[0] = args
;
33931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33932 if (!SWIG_IsOK(res1
)) {
33933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33935 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33936 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
33937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
33944 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33945 PyObject
*resultobj
= 0;
33946 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33952 PyObject
*swig_obj
[2] ;
33954 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
33955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33956 if (!SWIG_IsOK(res1
)) {
33957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33959 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33960 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33961 if (!SWIG_IsOK(ecode2
)) {
33962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
33964 arg2
= static_cast< int >(val2
);
33965 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
33967 resultobj
= SWIG_Py_Void();
33974 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33975 PyObject
*resultobj
= 0;
33976 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33980 PyObject
*swig_obj
[1] ;
33982 if (!args
) SWIG_fail
;
33983 swig_obj
[0] = args
;
33984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33985 if (!SWIG_IsOK(res1
)) {
33986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33988 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33989 result
= (int) ((arg1
)->m_labelAlignment
);
33990 resultobj
= SWIG_From_int(static_cast< int >(result
));
33997 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33999 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34000 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34001 return SWIG_Py_Void();
34004 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34005 return SWIG_Python_InitShadowInstance(args
);
34008 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34009 PyObject
*resultobj
= 0;
34012 wxRendererVersion
*result
= 0 ;
34017 PyObject
* obj0
= 0 ;
34018 PyObject
* obj1
= 0 ;
34019 char * kwnames
[] = {
34020 (char *) "version_",(char *) "age_", NULL
34023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34024 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34025 if (!SWIG_IsOK(ecode1
)) {
34026 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34028 arg1
= static_cast< int >(val1
);
34029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34030 if (!SWIG_IsOK(ecode2
)) {
34031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34033 arg2
= static_cast< int >(val2
);
34035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34036 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34037 wxPyEndAllowThreads(__tstate
);
34038 if (PyErr_Occurred()) SWIG_fail
;
34040 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34047 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34048 PyObject
*resultobj
= 0;
34049 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34052 PyObject
*swig_obj
[1] ;
34054 if (!args
) SWIG_fail
;
34055 swig_obj
[0] = args
;
34056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34057 if (!SWIG_IsOK(res1
)) {
34058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34060 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34065 wxPyEndAllowThreads(__tstate
);
34066 if (PyErr_Occurred()) SWIG_fail
;
34068 resultobj
= SWIG_Py_Void();
34075 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34076 PyObject
*resultobj
= 0;
34077 wxRendererVersion
*arg1
= 0 ;
34081 PyObject
* obj0
= 0 ;
34082 char * kwnames
[] = {
34083 (char *) "ver", NULL
34086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34087 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34088 if (!SWIG_IsOK(res1
)) {
34089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34094 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34097 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34098 wxPyEndAllowThreads(__tstate
);
34099 if (PyErr_Occurred()) SWIG_fail
;
34102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34110 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34111 PyObject
*resultobj
= 0;
34112 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34116 PyObject
*swig_obj
[1] ;
34118 if (!args
) SWIG_fail
;
34119 swig_obj
[0] = args
;
34120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34121 if (!SWIG_IsOK(res1
)) {
34122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34124 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34125 result
= (int)(int) ((arg1
)->version
);
34126 resultobj
= SWIG_From_int(static_cast< int >(result
));
34133 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34134 PyObject
*resultobj
= 0;
34135 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34139 PyObject
*swig_obj
[1] ;
34141 if (!args
) SWIG_fail
;
34142 swig_obj
[0] = args
;
34143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34144 if (!SWIG_IsOK(res1
)) {
34145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34147 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34148 result
= (int)(int) ((arg1
)->age
);
34149 resultobj
= SWIG_From_int(static_cast< int >(result
));
34156 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34158 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34159 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34160 return SWIG_Py_Void();
34163 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34164 return SWIG_Python_InitShadowInstance(args
);
34167 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34168 PyObject
*resultobj
= 0;
34169 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34170 wxWindow
*arg2
= (wxWindow
*) 0 ;
34173 int arg5
= (int) 0 ;
34174 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34175 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34189 PyObject
* obj0
= 0 ;
34190 PyObject
* obj1
= 0 ;
34191 PyObject
* obj2
= 0 ;
34192 PyObject
* obj3
= 0 ;
34193 PyObject
* obj4
= 0 ;
34194 PyObject
* obj5
= 0 ;
34195 PyObject
* obj6
= 0 ;
34196 char * kwnames
[] = {
34197 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34202 if (!SWIG_IsOK(res1
)) {
34203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34205 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34206 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34207 if (!SWIG_IsOK(res2
)) {
34208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34210 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34211 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34212 if (!SWIG_IsOK(res3
)) {
34213 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34216 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34218 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34221 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34224 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34225 if (!SWIG_IsOK(ecode5
)) {
34226 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34228 arg5
= static_cast< int >(val5
);
34231 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34232 if (!SWIG_IsOK(ecode6
)) {
34233 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34235 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34238 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34239 if (!SWIG_IsOK(res7
)) {
34240 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34242 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34246 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34247 wxPyEndAllowThreads(__tstate
);
34248 if (PyErr_Occurred()) SWIG_fail
;
34250 resultobj
= SWIG_Py_Void();
34257 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34258 PyObject
*resultobj
= 0;
34259 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34260 wxWindow
*arg2
= (wxWindow
*) 0 ;
34263 int arg5
= (int) 0 ;
34264 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34265 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34279 PyObject
* obj0
= 0 ;
34280 PyObject
* obj1
= 0 ;
34281 PyObject
* obj2
= 0 ;
34282 PyObject
* obj3
= 0 ;
34283 PyObject
* obj4
= 0 ;
34284 PyObject
* obj5
= 0 ;
34285 PyObject
* obj6
= 0 ;
34286 char * kwnames
[] = {
34287 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34292 if (!SWIG_IsOK(res1
)) {
34293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34295 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34296 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34297 if (!SWIG_IsOK(res2
)) {
34298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34300 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34301 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34302 if (!SWIG_IsOK(res3
)) {
34303 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34306 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34308 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34311 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34314 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34315 if (!SWIG_IsOK(ecode5
)) {
34316 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34318 arg5
= static_cast< int >(val5
);
34321 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34322 if (!SWIG_IsOK(ecode6
)) {
34323 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34325 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34328 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34329 if (!SWIG_IsOK(res7
)) {
34330 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34332 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34336 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34337 wxPyEndAllowThreads(__tstate
);
34338 if (PyErr_Occurred()) SWIG_fail
;
34340 resultobj
= SWIG_Py_Void();
34347 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34348 PyObject
*resultobj
= 0;
34349 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34350 wxWindow
*arg2
= (wxWindow
*) 0 ;
34356 PyObject
* obj0
= 0 ;
34357 PyObject
* obj1
= 0 ;
34358 char * kwnames
[] = {
34359 (char *) "self",(char *) "win", NULL
34362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34364 if (!SWIG_IsOK(res1
)) {
34365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34367 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34368 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34369 if (!SWIG_IsOK(res2
)) {
34370 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34372 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34375 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34376 wxPyEndAllowThreads(__tstate
);
34377 if (PyErr_Occurred()) SWIG_fail
;
34379 resultobj
= SWIG_From_int(static_cast< int >(result
));
34386 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34387 PyObject
*resultobj
= 0;
34388 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34389 wxWindow
*arg2
= (wxWindow
*) 0 ;
34392 int arg5
= (int) 0 ;
34402 PyObject
* obj0
= 0 ;
34403 PyObject
* obj1
= 0 ;
34404 PyObject
* obj2
= 0 ;
34405 PyObject
* obj3
= 0 ;
34406 PyObject
* obj4
= 0 ;
34407 char * kwnames
[] = {
34408 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34413 if (!SWIG_IsOK(res1
)) {
34414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34416 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34417 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34418 if (!SWIG_IsOK(res2
)) {
34419 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34421 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34422 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34423 if (!SWIG_IsOK(res3
)) {
34424 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34427 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34429 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34432 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34435 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34436 if (!SWIG_IsOK(ecode5
)) {
34437 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34439 arg5
= static_cast< int >(val5
);
34442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34443 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34444 wxPyEndAllowThreads(__tstate
);
34445 if (PyErr_Occurred()) SWIG_fail
;
34447 resultobj
= SWIG_Py_Void();
34454 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34455 PyObject
*resultobj
= 0;
34456 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34457 wxWindow
*arg2
= (wxWindow
*) 0 ;
34460 int arg5
= (int) 0 ;
34470 PyObject
* obj0
= 0 ;
34471 PyObject
* obj1
= 0 ;
34472 PyObject
* obj2
= 0 ;
34473 PyObject
* obj3
= 0 ;
34474 PyObject
* obj4
= 0 ;
34475 char * kwnames
[] = {
34476 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34481 if (!SWIG_IsOK(res1
)) {
34482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34484 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34485 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34486 if (!SWIG_IsOK(res2
)) {
34487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34489 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34490 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34491 if (!SWIG_IsOK(res3
)) {
34492 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34497 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34500 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34503 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34504 if (!SWIG_IsOK(ecode5
)) {
34505 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34507 arg5
= static_cast< int >(val5
);
34510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34511 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34512 wxPyEndAllowThreads(__tstate
);
34513 if (PyErr_Occurred()) SWIG_fail
;
34515 resultobj
= SWIG_Py_Void();
34522 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34523 PyObject
*resultobj
= 0;
34524 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34525 wxWindow
*arg2
= (wxWindow
*) 0 ;
34529 wxOrientation arg6
;
34530 int arg7
= (int) 0 ;
34544 PyObject
* obj0
= 0 ;
34545 PyObject
* obj1
= 0 ;
34546 PyObject
* obj2
= 0 ;
34547 PyObject
* obj3
= 0 ;
34548 PyObject
* obj4
= 0 ;
34549 PyObject
* obj5
= 0 ;
34550 PyObject
* obj6
= 0 ;
34551 char * kwnames
[] = {
34552 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34557 if (!SWIG_IsOK(res1
)) {
34558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34560 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34561 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34562 if (!SWIG_IsOK(res2
)) {
34563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34565 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34566 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34567 if (!SWIG_IsOK(res3
)) {
34568 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34573 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34576 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34578 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34579 if (!SWIG_IsOK(ecode5
)) {
34580 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34582 arg5
= static_cast< int >(val5
);
34583 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34584 if (!SWIG_IsOK(ecode6
)) {
34585 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34587 arg6
= static_cast< wxOrientation
>(val6
);
34589 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34590 if (!SWIG_IsOK(ecode7
)) {
34591 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34593 arg7
= static_cast< int >(val7
);
34596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34597 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34598 wxPyEndAllowThreads(__tstate
);
34599 if (PyErr_Occurred()) SWIG_fail
;
34601 resultobj
= SWIG_Py_Void();
34608 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34609 PyObject
*resultobj
= 0;
34610 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34611 wxWindow
*arg2
= (wxWindow
*) 0 ;
34614 int arg5
= (int) 0 ;
34624 PyObject
* obj0
= 0 ;
34625 PyObject
* obj1
= 0 ;
34626 PyObject
* obj2
= 0 ;
34627 PyObject
* obj3
= 0 ;
34628 PyObject
* obj4
= 0 ;
34629 char * kwnames
[] = {
34630 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34635 if (!SWIG_IsOK(res1
)) {
34636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34638 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34639 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34640 if (!SWIG_IsOK(res2
)) {
34641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34643 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34644 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34645 if (!SWIG_IsOK(res3
)) {
34646 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34651 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34654 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34657 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34658 if (!SWIG_IsOK(ecode5
)) {
34659 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34661 arg5
= static_cast< int >(val5
);
34664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34665 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34666 wxPyEndAllowThreads(__tstate
);
34667 if (PyErr_Occurred()) SWIG_fail
;
34669 resultobj
= SWIG_Py_Void();
34676 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34677 PyObject
*resultobj
= 0;
34678 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34679 wxWindow
*arg2
= (wxWindow
*) 0 ;
34682 int arg5
= (int) 0 ;
34692 PyObject
* obj0
= 0 ;
34693 PyObject
* obj1
= 0 ;
34694 PyObject
* obj2
= 0 ;
34695 PyObject
* obj3
= 0 ;
34696 PyObject
* obj4
= 0 ;
34697 char * kwnames
[] = {
34698 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34703 if (!SWIG_IsOK(res1
)) {
34704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34706 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34707 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34708 if (!SWIG_IsOK(res2
)) {
34709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34711 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34712 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34713 if (!SWIG_IsOK(res3
)) {
34714 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34717 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34719 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34722 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34725 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34726 if (!SWIG_IsOK(ecode5
)) {
34727 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34729 arg5
= static_cast< int >(val5
);
34732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34733 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34734 wxPyEndAllowThreads(__tstate
);
34735 if (PyErr_Occurred()) SWIG_fail
;
34737 resultobj
= SWIG_Py_Void();
34744 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34745 PyObject
*resultobj
= 0;
34746 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34747 wxWindow
*arg2
= (wxWindow
*) 0 ;
34750 int arg5
= (int) 0 ;
34760 PyObject
* obj0
= 0 ;
34761 PyObject
* obj1
= 0 ;
34762 PyObject
* obj2
= 0 ;
34763 PyObject
* obj3
= 0 ;
34764 PyObject
* obj4
= 0 ;
34765 char * kwnames
[] = {
34766 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34771 if (!SWIG_IsOK(res1
)) {
34772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34774 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34775 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34776 if (!SWIG_IsOK(res2
)) {
34777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34779 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34780 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34781 if (!SWIG_IsOK(res3
)) {
34782 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34787 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34790 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34793 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34794 if (!SWIG_IsOK(ecode5
)) {
34795 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34797 arg5
= static_cast< int >(val5
);
34800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34801 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34802 wxPyEndAllowThreads(__tstate
);
34803 if (PyErr_Occurred()) SWIG_fail
;
34805 resultobj
= SWIG_Py_Void();
34812 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34813 PyObject
*resultobj
= 0;
34814 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34815 wxWindow
*arg2
= (wxWindow
*) 0 ;
34818 int arg5
= (int) 0 ;
34828 PyObject
* obj0
= 0 ;
34829 PyObject
* obj1
= 0 ;
34830 PyObject
* obj2
= 0 ;
34831 PyObject
* obj3
= 0 ;
34832 PyObject
* obj4
= 0 ;
34833 char * kwnames
[] = {
34834 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34839 if (!SWIG_IsOK(res1
)) {
34840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34842 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34843 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34844 if (!SWIG_IsOK(res2
)) {
34845 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34847 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34848 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34849 if (!SWIG_IsOK(res3
)) {
34850 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34855 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34858 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34861 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34862 if (!SWIG_IsOK(ecode5
)) {
34863 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
34865 arg5
= static_cast< int >(val5
);
34868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34869 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34870 wxPyEndAllowThreads(__tstate
);
34871 if (PyErr_Occurred()) SWIG_fail
;
34873 resultobj
= SWIG_Py_Void();
34880 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34881 PyObject
*resultobj
= 0;
34882 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34883 wxWindow
*arg2
= (wxWindow
*) 0 ;
34886 int arg5
= (int) 0 ;
34896 PyObject
* obj0
= 0 ;
34897 PyObject
* obj1
= 0 ;
34898 PyObject
* obj2
= 0 ;
34899 PyObject
* obj3
= 0 ;
34900 PyObject
* obj4
= 0 ;
34901 char * kwnames
[] = {
34902 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34907 if (!SWIG_IsOK(res1
)) {
34908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34910 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34911 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34912 if (!SWIG_IsOK(res2
)) {
34913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
34915 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34916 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34917 if (!SWIG_IsOK(res3
)) {
34918 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34923 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34926 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34929 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34930 if (!SWIG_IsOK(ecode5
)) {
34931 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
34933 arg5
= static_cast< int >(val5
);
34936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34937 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34938 wxPyEndAllowThreads(__tstate
);
34939 if (PyErr_Occurred()) SWIG_fail
;
34941 resultobj
= SWIG_Py_Void();
34948 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34949 PyObject
*resultobj
= 0;
34950 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34951 wxWindow
*arg2
= (wxWindow
*) 0 ;
34952 SwigValueWrapper
<wxSplitterRenderParams
> result
;
34957 PyObject
* obj0
= 0 ;
34958 PyObject
* obj1
= 0 ;
34959 char * kwnames
[] = {
34960 (char *) "self",(char *) "win", NULL
34963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34965 if (!SWIG_IsOK(res1
)) {
34966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34968 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34969 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34970 if (!SWIG_IsOK(res2
)) {
34971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
34973 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34976 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
34977 wxPyEndAllowThreads(__tstate
);
34978 if (PyErr_Occurred()) SWIG_fail
;
34980 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
34987 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34988 PyObject
*resultobj
= 0;
34989 wxRendererNative
*result
= 0 ;
34991 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
34993 if (!wxPyCheckForApp()) SWIG_fail
;
34994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34996 wxRendererNative
&_result_ref
= wxRendererNative::Get();
34997 result
= (wxRendererNative
*) &_result_ref
;
34999 wxPyEndAllowThreads(__tstate
);
35000 if (PyErr_Occurred()) SWIG_fail
;
35002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35009 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35010 PyObject
*resultobj
= 0;
35011 wxRendererNative
*result
= 0 ;
35013 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35015 if (!wxPyCheckForApp()) SWIG_fail
;
35016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35018 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35019 result
= (wxRendererNative
*) &_result_ref
;
35021 wxPyEndAllowThreads(__tstate
);
35022 if (PyErr_Occurred()) SWIG_fail
;
35024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35031 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35032 PyObject
*resultobj
= 0;
35033 wxRendererNative
*result
= 0 ;
35035 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35037 if (!wxPyCheckForApp()) SWIG_fail
;
35038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35040 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35041 result
= (wxRendererNative
*) &_result_ref
;
35043 wxPyEndAllowThreads(__tstate
);
35044 if (PyErr_Occurred()) SWIG_fail
;
35046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35053 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35054 PyObject
*resultobj
= 0;
35055 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35056 wxRendererNative
*result
= 0 ;
35059 PyObject
* obj0
= 0 ;
35060 char * kwnames
[] = {
35061 (char *) "renderer", NULL
35064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35066 if (!SWIG_IsOK(res1
)) {
35067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35069 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35071 if (!wxPyCheckForApp()) SWIG_fail
;
35072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35073 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35074 wxPyEndAllowThreads(__tstate
);
35075 if (PyErr_Occurred()) SWIG_fail
;
35077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35084 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35085 PyObject
*resultobj
= 0;
35086 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35087 SwigValueWrapper
<wxRendererVersion
> result
;
35090 PyObject
*swig_obj
[1] ;
35092 if (!args
) SWIG_fail
;
35093 swig_obj
[0] = args
;
35094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35095 if (!SWIG_IsOK(res1
)) {
35096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35098 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35101 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35102 wxPyEndAllowThreads(__tstate
);
35103 if (PyErr_Occurred()) SWIG_fail
;
35105 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35112 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35114 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35115 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35116 return SWIG_Py_Void();
35119 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35120 PyObject
*resultobj
= 0;
35121 wxPseudoDC
*result
= 0 ;
35123 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35126 result
= (wxPseudoDC
*)new wxPseudoDC();
35127 wxPyEndAllowThreads(__tstate
);
35128 if (PyErr_Occurred()) SWIG_fail
;
35130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35137 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35138 PyObject
*resultobj
= 0;
35139 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35142 PyObject
*swig_obj
[1] ;
35144 if (!args
) SWIG_fail
;
35145 swig_obj
[0] = args
;
35146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35147 if (!SWIG_IsOK(res1
)) {
35148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35150 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35153 (arg1
)->BeginDrawing();
35154 wxPyEndAllowThreads(__tstate
);
35155 if (PyErr_Occurred()) SWIG_fail
;
35157 resultobj
= SWIG_Py_Void();
35164 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35165 PyObject
*resultobj
= 0;
35166 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35169 PyObject
*swig_obj
[1] ;
35171 if (!args
) SWIG_fail
;
35172 swig_obj
[0] = args
;
35173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35174 if (!SWIG_IsOK(res1
)) {
35175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35177 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35180 (arg1
)->EndDrawing();
35181 wxPyEndAllowThreads(__tstate
);
35182 if (PyErr_Occurred()) SWIG_fail
;
35184 resultobj
= SWIG_Py_Void();
35191 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35192 PyObject
*resultobj
= 0;
35193 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35196 PyObject
*swig_obj
[1] ;
35198 if (!args
) SWIG_fail
;
35199 swig_obj
[0] = args
;
35200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35201 if (!SWIG_IsOK(res1
)) {
35202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35204 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35209 wxPyEndAllowThreads(__tstate
);
35210 if (PyErr_Occurred()) SWIG_fail
;
35212 resultobj
= SWIG_Py_Void();
35219 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35220 PyObject
*resultobj
= 0;
35221 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35224 PyObject
*swig_obj
[1] ;
35226 if (!args
) SWIG_fail
;
35227 swig_obj
[0] = args
;
35228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35229 if (!SWIG_IsOK(res1
)) {
35230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35232 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35235 (arg1
)->RemoveAll();
35236 wxPyEndAllowThreads(__tstate
);
35237 if (PyErr_Occurred()) SWIG_fail
;
35239 resultobj
= SWIG_Py_Void();
35246 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35247 PyObject
*resultobj
= 0;
35248 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35252 PyObject
*swig_obj
[1] ;
35254 if (!args
) SWIG_fail
;
35255 swig_obj
[0] = args
;
35256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35257 if (!SWIG_IsOK(res1
)) {
35258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35260 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35263 result
= (int)(arg1
)->GetLen();
35264 wxPyEndAllowThreads(__tstate
);
35265 if (PyErr_Occurred()) SWIG_fail
;
35267 resultobj
= SWIG_From_int(static_cast< int >(result
));
35274 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35275 PyObject
*resultobj
= 0;
35276 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35282 PyObject
* obj0
= 0 ;
35283 PyObject
* obj1
= 0 ;
35284 char * kwnames
[] = {
35285 (char *) "self",(char *) "id", NULL
35288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35290 if (!SWIG_IsOK(res1
)) {
35291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35293 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35295 if (!SWIG_IsOK(ecode2
)) {
35296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35298 arg2
= static_cast< int >(val2
);
35300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35301 (arg1
)->SetId(arg2
);
35302 wxPyEndAllowThreads(__tstate
);
35303 if (PyErr_Occurred()) SWIG_fail
;
35305 resultobj
= SWIG_Py_Void();
35312 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35313 PyObject
*resultobj
= 0;
35314 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35320 PyObject
* obj0
= 0 ;
35321 PyObject
* obj1
= 0 ;
35322 char * kwnames
[] = {
35323 (char *) "self",(char *) "id", NULL
35326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35328 if (!SWIG_IsOK(res1
)) {
35329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35331 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35333 if (!SWIG_IsOK(ecode2
)) {
35334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35336 arg2
= static_cast< int >(val2
);
35338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35339 (arg1
)->ClearId(arg2
);
35340 wxPyEndAllowThreads(__tstate
);
35341 if (PyErr_Occurred()) SWIG_fail
;
35343 resultobj
= SWIG_Py_Void();
35350 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35351 PyObject
*resultobj
= 0;
35352 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35358 PyObject
* obj0
= 0 ;
35359 PyObject
* obj1
= 0 ;
35360 char * kwnames
[] = {
35361 (char *) "self",(char *) "id", NULL
35364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35366 if (!SWIG_IsOK(res1
)) {
35367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35369 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35371 if (!SWIG_IsOK(ecode2
)) {
35372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35374 arg2
= static_cast< int >(val2
);
35376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35377 (arg1
)->RemoveId(arg2
);
35378 wxPyEndAllowThreads(__tstate
);
35379 if (PyErr_Occurred()) SWIG_fail
;
35381 resultobj
= SWIG_Py_Void();
35388 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35389 PyObject
*resultobj
= 0;
35390 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35402 PyObject
* obj0
= 0 ;
35403 PyObject
* obj1
= 0 ;
35404 PyObject
* obj2
= 0 ;
35405 PyObject
* obj3
= 0 ;
35406 char * kwnames
[] = {
35407 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35412 if (!SWIG_IsOK(res1
)) {
35413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35415 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35417 if (!SWIG_IsOK(ecode2
)) {
35418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35420 arg2
= static_cast< int >(val2
);
35421 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35422 if (!SWIG_IsOK(ecode3
)) {
35423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35425 arg3
= static_cast< int >(val3
);
35426 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35427 if (!SWIG_IsOK(ecode4
)) {
35428 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35430 arg4
= static_cast< int >(val4
);
35432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35433 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35434 wxPyEndAllowThreads(__tstate
);
35435 if (PyErr_Occurred()) SWIG_fail
;
35437 resultobj
= SWIG_Py_Void();
35444 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35445 PyObject
*resultobj
= 0;
35446 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35448 bool arg3
= (bool) true ;
35455 PyObject
* obj0
= 0 ;
35456 PyObject
* obj1
= 0 ;
35457 PyObject
* obj2
= 0 ;
35458 char * kwnames
[] = {
35459 (char *) "self",(char *) "id",(char *) "greyout", NULL
35462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35464 if (!SWIG_IsOK(res1
)) {
35465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35467 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35469 if (!SWIG_IsOK(ecode2
)) {
35470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35472 arg2
= static_cast< int >(val2
);
35474 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35475 if (!SWIG_IsOK(ecode3
)) {
35476 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35478 arg3
= static_cast< bool >(val3
);
35481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35482 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35483 wxPyEndAllowThreads(__tstate
);
35484 if (PyErr_Occurred()) SWIG_fail
;
35486 resultobj
= SWIG_Py_Void();
35493 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35494 PyObject
*resultobj
= 0;
35495 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35502 PyObject
* obj0
= 0 ;
35503 PyObject
* obj1
= 0 ;
35504 char * kwnames
[] = {
35505 (char *) "self",(char *) "id", NULL
35508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35510 if (!SWIG_IsOK(res1
)) {
35511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35513 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35515 if (!SWIG_IsOK(ecode2
)) {
35516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35518 arg2
= static_cast< int >(val2
);
35520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35521 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35522 wxPyEndAllowThreads(__tstate
);
35523 if (PyErr_Occurred()) SWIG_fail
;
35526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35534 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35535 PyObject
*resultobj
= 0;
35536 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35539 int arg4
= (int) 1 ;
35540 wxColor
const &arg5_defvalue
= *wxWHITE
;
35541 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
35542 PyObject
*result
= 0 ;
35553 PyObject
* obj0
= 0 ;
35554 PyObject
* obj1
= 0 ;
35555 PyObject
* obj2
= 0 ;
35556 PyObject
* obj3
= 0 ;
35557 PyObject
* obj4
= 0 ;
35558 char * kwnames
[] = {
35559 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35564 if (!SWIG_IsOK(res1
)) {
35565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35567 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35569 if (!SWIG_IsOK(ecode2
)) {
35570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35572 arg2
= static_cast< int >(val2
);
35573 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35574 if (!SWIG_IsOK(ecode3
)) {
35575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35577 arg3
= static_cast< int >(val3
);
35579 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35580 if (!SWIG_IsOK(ecode4
)) {
35581 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35583 arg4
= static_cast< int >(val4
);
35586 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
35587 if (!SWIG_IsOK(res5
)) {
35588 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35591 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35593 arg5
= reinterpret_cast< wxColor
* >(argp5
);
35596 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
35597 if (PyErr_Occurred()) SWIG_fail
;
35599 resultobj
= result
;
35606 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35607 PyObject
*resultobj
= 0;
35608 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35611 PyObject
*result
= 0 ;
35618 PyObject
* obj0
= 0 ;
35619 PyObject
* obj1
= 0 ;
35620 PyObject
* obj2
= 0 ;
35621 char * kwnames
[] = {
35622 (char *) "self",(char *) "x",(char *) "y", NULL
35625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35627 if (!SWIG_IsOK(res1
)) {
35628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35630 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35631 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35632 if (!SWIG_IsOK(ecode2
)) {
35633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35635 arg2
= static_cast< int >(val2
);
35636 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35637 if (!SWIG_IsOK(ecode3
)) {
35638 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35640 arg3
= static_cast< int >(val3
);
35642 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35643 if (PyErr_Occurred()) SWIG_fail
;
35645 resultobj
= result
;
35652 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35653 PyObject
*resultobj
= 0;
35654 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35656 wxDC
*arg3
= (wxDC
*) 0 ;
35663 PyObject
* obj0
= 0 ;
35664 PyObject
* obj1
= 0 ;
35665 PyObject
* obj2
= 0 ;
35666 char * kwnames
[] = {
35667 (char *) "self",(char *) "id",(char *) "dc", NULL
35670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35672 if (!SWIG_IsOK(res1
)) {
35673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35675 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35677 if (!SWIG_IsOK(ecode2
)) {
35678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35680 arg2
= static_cast< int >(val2
);
35681 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35682 if (!SWIG_IsOK(res3
)) {
35683 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35685 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35688 (arg1
)->DrawIdToDC(arg2
,arg3
);
35689 wxPyEndAllowThreads(__tstate
);
35690 if (PyErr_Occurred()) SWIG_fail
;
35692 resultobj
= SWIG_Py_Void();
35699 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35700 PyObject
*resultobj
= 0;
35701 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35709 PyObject
* obj0
= 0 ;
35710 PyObject
* obj1
= 0 ;
35711 PyObject
* obj2
= 0 ;
35712 char * kwnames
[] = {
35713 (char *) "self",(char *) "id",(char *) "rect", NULL
35716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35718 if (!SWIG_IsOK(res1
)) {
35719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35721 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35723 if (!SWIG_IsOK(ecode2
)) {
35724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35726 arg2
= static_cast< int >(val2
);
35729 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35733 (arg1
)->SetIdBounds(arg2
,*arg3
);
35734 wxPyEndAllowThreads(__tstate
);
35735 if (PyErr_Occurred()) SWIG_fail
;
35737 resultobj
= SWIG_Py_Void();
35744 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35745 PyObject
*resultobj
= 0;
35746 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35753 PyObject
* obj0
= 0 ;
35754 PyObject
* obj1
= 0 ;
35755 char * kwnames
[] = {
35756 (char *) "self",(char *) "id", NULL
35759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35761 if (!SWIG_IsOK(res1
)) {
35762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35764 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35765 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35766 if (!SWIG_IsOK(ecode2
)) {
35767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35769 arg2
= static_cast< int >(val2
);
35771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35772 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35773 wxPyEndAllowThreads(__tstate
);
35774 if (PyErr_Occurred()) SWIG_fail
;
35776 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35783 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35784 PyObject
*resultobj
= 0;
35785 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35786 wxDC
*arg2
= (wxDC
*) 0 ;
35793 PyObject
* obj0
= 0 ;
35794 PyObject
* obj1
= 0 ;
35795 PyObject
* obj2
= 0 ;
35796 char * kwnames
[] = {
35797 (char *) "self",(char *) "dc",(char *) "rect", NULL
35800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35802 if (!SWIG_IsOK(res1
)) {
35803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35805 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35806 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35807 if (!SWIG_IsOK(res2
)) {
35808 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35810 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35813 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35817 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35818 wxPyEndAllowThreads(__tstate
);
35819 if (PyErr_Occurred()) SWIG_fail
;
35821 resultobj
= SWIG_Py_Void();
35828 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35829 PyObject
*resultobj
= 0;
35830 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35831 wxDC
*arg2
= (wxDC
*) 0 ;
35832 wxRegion
*arg3
= 0 ;
35839 PyObject
* obj0
= 0 ;
35840 PyObject
* obj1
= 0 ;
35841 PyObject
* obj2
= 0 ;
35842 char * kwnames
[] = {
35843 (char *) "self",(char *) "dc",(char *) "region", NULL
35846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35848 if (!SWIG_IsOK(res1
)) {
35849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35851 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35852 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35853 if (!SWIG_IsOK(res2
)) {
35854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
35856 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35857 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
35858 if (!SWIG_IsOK(res3
)) {
35859 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35864 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
35866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35867 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
35868 wxPyEndAllowThreads(__tstate
);
35869 if (PyErr_Occurred()) SWIG_fail
;
35871 resultobj
= SWIG_Py_Void();
35878 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35879 PyObject
*resultobj
= 0;
35880 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35881 wxDC
*arg2
= (wxDC
*) 0 ;
35886 PyObject
* obj0
= 0 ;
35887 PyObject
* obj1
= 0 ;
35888 char * kwnames
[] = {
35889 (char *) "self",(char *) "dc", NULL
35892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35894 if (!SWIG_IsOK(res1
)) {
35895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35897 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35898 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35899 if (!SWIG_IsOK(res2
)) {
35900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
35902 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35905 (arg1
)->DrawToDC(arg2
);
35906 wxPyEndAllowThreads(__tstate
);
35907 if (PyErr_Occurred()) SWIG_fail
;
35909 resultobj
= SWIG_Py_Void();
35916 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35917 PyObject
*resultobj
= 0;
35918 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35921 wxColour
*arg4
= 0 ;
35922 int arg5
= (int) wxFLOOD_SURFACE
;
35932 PyObject
* obj0
= 0 ;
35933 PyObject
* obj1
= 0 ;
35934 PyObject
* obj2
= 0 ;
35935 PyObject
* obj3
= 0 ;
35936 PyObject
* obj4
= 0 ;
35937 char * kwnames
[] = {
35938 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
35941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35943 if (!SWIG_IsOK(res1
)) {
35944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35946 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35948 if (!SWIG_IsOK(ecode2
)) {
35949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
35951 arg2
= static_cast< int >(val2
);
35952 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35953 if (!SWIG_IsOK(ecode3
)) {
35954 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
35956 arg3
= static_cast< int >(val3
);
35959 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
35962 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35963 if (!SWIG_IsOK(ecode5
)) {
35964 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
35966 arg5
= static_cast< int >(val5
);
35969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35970 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
35971 wxPyEndAllowThreads(__tstate
);
35972 if (PyErr_Occurred()) SWIG_fail
;
35974 resultobj
= SWIG_Py_Void();
35981 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35982 PyObject
*resultobj
= 0;
35983 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35984 wxPoint
*arg2
= 0 ;
35985 wxColour
*arg3
= 0 ;
35986 int arg4
= (int) wxFLOOD_SURFACE
;
35993 PyObject
* obj0
= 0 ;
35994 PyObject
* obj1
= 0 ;
35995 PyObject
* obj2
= 0 ;
35996 PyObject
* obj3
= 0 ;
35997 char * kwnames
[] = {
35998 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36003 if (!SWIG_IsOK(res1
)) {
36004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36006 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36009 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36013 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36016 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36017 if (!SWIG_IsOK(ecode4
)) {
36018 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36020 arg4
= static_cast< int >(val4
);
36023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36024 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36025 wxPyEndAllowThreads(__tstate
);
36026 if (PyErr_Occurred()) SWIG_fail
;
36028 resultobj
= SWIG_Py_Void();
36035 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36036 PyObject
*resultobj
= 0;
36037 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36052 PyObject
* obj0
= 0 ;
36053 PyObject
* obj1
= 0 ;
36054 PyObject
* obj2
= 0 ;
36055 PyObject
* obj3
= 0 ;
36056 PyObject
* obj4
= 0 ;
36057 char * kwnames
[] = {
36058 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36063 if (!SWIG_IsOK(res1
)) {
36064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36066 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36068 if (!SWIG_IsOK(ecode2
)) {
36069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36071 arg2
= static_cast< int >(val2
);
36072 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36073 if (!SWIG_IsOK(ecode3
)) {
36074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36076 arg3
= static_cast< int >(val3
);
36077 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36078 if (!SWIG_IsOK(ecode4
)) {
36079 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36081 arg4
= static_cast< int >(val4
);
36082 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36083 if (!SWIG_IsOK(ecode5
)) {
36084 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36086 arg5
= static_cast< int >(val5
);
36088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36089 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36090 wxPyEndAllowThreads(__tstate
);
36091 if (PyErr_Occurred()) SWIG_fail
;
36093 resultobj
= SWIG_Py_Void();
36100 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36101 PyObject
*resultobj
= 0;
36102 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36103 wxPoint
*arg2
= 0 ;
36104 wxPoint
*arg3
= 0 ;
36109 PyObject
* obj0
= 0 ;
36110 PyObject
* obj1
= 0 ;
36111 PyObject
* obj2
= 0 ;
36112 char * kwnames
[] = {
36113 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36118 if (!SWIG_IsOK(res1
)) {
36119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36121 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36124 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36128 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36132 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36133 wxPyEndAllowThreads(__tstate
);
36134 if (PyErr_Occurred()) SWIG_fail
;
36136 resultobj
= SWIG_Py_Void();
36143 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36144 PyObject
*resultobj
= 0;
36145 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36154 PyObject
* obj0
= 0 ;
36155 PyObject
* obj1
= 0 ;
36156 PyObject
* obj2
= 0 ;
36157 char * kwnames
[] = {
36158 (char *) "self",(char *) "x",(char *) "y", NULL
36161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36163 if (!SWIG_IsOK(res1
)) {
36164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36166 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36168 if (!SWIG_IsOK(ecode2
)) {
36169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36171 arg2
= static_cast< int >(val2
);
36172 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36173 if (!SWIG_IsOK(ecode3
)) {
36174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36176 arg3
= static_cast< int >(val3
);
36178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36179 (arg1
)->CrossHair(arg2
,arg3
);
36180 wxPyEndAllowThreads(__tstate
);
36181 if (PyErr_Occurred()) SWIG_fail
;
36183 resultobj
= SWIG_Py_Void();
36190 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36191 PyObject
*resultobj
= 0;
36192 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36193 wxPoint
*arg2
= 0 ;
36197 PyObject
* obj0
= 0 ;
36198 PyObject
* obj1
= 0 ;
36199 char * kwnames
[] = {
36200 (char *) "self",(char *) "pt", NULL
36203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) 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_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36208 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36211 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36215 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36216 wxPyEndAllowThreads(__tstate
);
36217 if (PyErr_Occurred()) SWIG_fail
;
36219 resultobj
= SWIG_Py_Void();
36226 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36227 PyObject
*resultobj
= 0;
36228 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36249 PyObject
* obj0
= 0 ;
36250 PyObject
* obj1
= 0 ;
36251 PyObject
* obj2
= 0 ;
36252 PyObject
* obj3
= 0 ;
36253 PyObject
* obj4
= 0 ;
36254 PyObject
* obj5
= 0 ;
36255 PyObject
* obj6
= 0 ;
36256 char * kwnames
[] = {
36257 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36262 if (!SWIG_IsOK(res1
)) {
36263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36265 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36267 if (!SWIG_IsOK(ecode2
)) {
36268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36270 arg2
= static_cast< int >(val2
);
36271 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36272 if (!SWIG_IsOK(ecode3
)) {
36273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36275 arg3
= static_cast< int >(val3
);
36276 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36277 if (!SWIG_IsOK(ecode4
)) {
36278 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36280 arg4
= static_cast< int >(val4
);
36281 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36282 if (!SWIG_IsOK(ecode5
)) {
36283 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36285 arg5
= static_cast< int >(val5
);
36286 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36287 if (!SWIG_IsOK(ecode6
)) {
36288 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36290 arg6
= static_cast< int >(val6
);
36291 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36292 if (!SWIG_IsOK(ecode7
)) {
36293 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36295 arg7
= static_cast< int >(val7
);
36297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36298 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36299 wxPyEndAllowThreads(__tstate
);
36300 if (PyErr_Occurred()) SWIG_fail
;
36302 resultobj
= SWIG_Py_Void();
36309 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36310 PyObject
*resultobj
= 0;
36311 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36312 wxPoint
*arg2
= 0 ;
36313 wxPoint
*arg3
= 0 ;
36314 wxPoint
*arg4
= 0 ;
36320 PyObject
* obj0
= 0 ;
36321 PyObject
* obj1
= 0 ;
36322 PyObject
* obj2
= 0 ;
36323 PyObject
* obj3
= 0 ;
36324 char * kwnames
[] = {
36325 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36333 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36336 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36340 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36344 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36348 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36349 wxPyEndAllowThreads(__tstate
);
36350 if (PyErr_Occurred()) SWIG_fail
;
36352 resultobj
= SWIG_Py_Void();
36359 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36360 PyObject
*resultobj
= 0;
36361 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36376 PyObject
* obj0
= 0 ;
36377 PyObject
* obj1
= 0 ;
36378 PyObject
* obj2
= 0 ;
36379 PyObject
* obj3
= 0 ;
36380 PyObject
* obj4
= 0 ;
36381 char * kwnames
[] = {
36382 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36387 if (!SWIG_IsOK(res1
)) {
36388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36390 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36392 if (!SWIG_IsOK(ecode2
)) {
36393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36395 arg2
= static_cast< int >(val2
);
36396 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36397 if (!SWIG_IsOK(ecode3
)) {
36398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36400 arg3
= static_cast< int >(val3
);
36401 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36402 if (!SWIG_IsOK(ecode4
)) {
36403 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36405 arg4
= static_cast< int >(val4
);
36406 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36407 if (!SWIG_IsOK(ecode5
)) {
36408 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36410 arg5
= static_cast< int >(val5
);
36412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36413 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36414 wxPyEndAllowThreads(__tstate
);
36415 if (PyErr_Occurred()) SWIG_fail
;
36417 resultobj
= SWIG_Py_Void();
36424 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36425 PyObject
*resultobj
= 0;
36426 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36431 PyObject
* obj0
= 0 ;
36432 PyObject
* obj1
= 0 ;
36433 char * kwnames
[] = {
36434 (char *) "self",(char *) "rect", NULL
36437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) 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_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36442 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36445 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36449 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36450 wxPyEndAllowThreads(__tstate
);
36451 if (PyErr_Occurred()) SWIG_fail
;
36453 resultobj
= SWIG_Py_Void();
36460 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36461 PyObject
*resultobj
= 0;
36462 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36483 PyObject
* obj0
= 0 ;
36484 PyObject
* obj1
= 0 ;
36485 PyObject
* obj2
= 0 ;
36486 PyObject
* obj3
= 0 ;
36487 PyObject
* obj4
= 0 ;
36488 PyObject
* obj5
= 0 ;
36489 PyObject
* obj6
= 0 ;
36490 char * kwnames
[] = {
36491 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36496 if (!SWIG_IsOK(res1
)) {
36497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36499 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36501 if (!SWIG_IsOK(ecode2
)) {
36502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36504 arg2
= static_cast< int >(val2
);
36505 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36506 if (!SWIG_IsOK(ecode3
)) {
36507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36509 arg3
= static_cast< int >(val3
);
36510 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36511 if (!SWIG_IsOK(ecode4
)) {
36512 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36514 arg4
= static_cast< int >(val4
);
36515 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36516 if (!SWIG_IsOK(ecode5
)) {
36517 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36519 arg5
= static_cast< int >(val5
);
36520 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36521 if (!SWIG_IsOK(ecode6
)) {
36522 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36524 arg6
= static_cast< double >(val6
);
36525 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36526 if (!SWIG_IsOK(ecode7
)) {
36527 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36529 arg7
= static_cast< double >(val7
);
36531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36532 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36533 wxPyEndAllowThreads(__tstate
);
36534 if (PyErr_Occurred()) SWIG_fail
;
36536 resultobj
= SWIG_Py_Void();
36543 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36544 PyObject
*resultobj
= 0;
36545 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36546 wxPoint
*arg2
= 0 ;
36558 PyObject
* obj0
= 0 ;
36559 PyObject
* obj1
= 0 ;
36560 PyObject
* obj2
= 0 ;
36561 PyObject
* obj3
= 0 ;
36562 PyObject
* obj4
= 0 ;
36563 char * kwnames
[] = {
36564 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36569 if (!SWIG_IsOK(res1
)) {
36570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36572 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36575 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36579 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36581 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36582 if (!SWIG_IsOK(ecode4
)) {
36583 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36585 arg4
= static_cast< double >(val4
);
36586 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36587 if (!SWIG_IsOK(ecode5
)) {
36588 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36590 arg5
= static_cast< double >(val5
);
36592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36593 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36594 wxPyEndAllowThreads(__tstate
);
36595 if (PyErr_Occurred()) SWIG_fail
;
36597 resultobj
= SWIG_Py_Void();
36604 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36605 PyObject
*resultobj
= 0;
36606 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36615 PyObject
* obj0
= 0 ;
36616 PyObject
* obj1
= 0 ;
36617 PyObject
* obj2
= 0 ;
36618 char * kwnames
[] = {
36619 (char *) "self",(char *) "x",(char *) "y", NULL
36622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36624 if (!SWIG_IsOK(res1
)) {
36625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36627 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36629 if (!SWIG_IsOK(ecode2
)) {
36630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36632 arg2
= static_cast< int >(val2
);
36633 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36634 if (!SWIG_IsOK(ecode3
)) {
36635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36637 arg3
= static_cast< int >(val3
);
36639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36640 (arg1
)->DrawPoint(arg2
,arg3
);
36641 wxPyEndAllowThreads(__tstate
);
36642 if (PyErr_Occurred()) SWIG_fail
;
36644 resultobj
= SWIG_Py_Void();
36651 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36652 PyObject
*resultobj
= 0;
36653 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36654 wxPoint
*arg2
= 0 ;
36658 PyObject
* obj0
= 0 ;
36659 PyObject
* obj1
= 0 ;
36660 char * kwnames
[] = {
36661 (char *) "self",(char *) "pt", NULL
36664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36666 if (!SWIG_IsOK(res1
)) {
36667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36669 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36672 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36676 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36677 wxPyEndAllowThreads(__tstate
);
36678 if (PyErr_Occurred()) SWIG_fail
;
36680 resultobj
= SWIG_Py_Void();
36687 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36688 PyObject
*resultobj
= 0;
36689 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36704 PyObject
* obj0
= 0 ;
36705 PyObject
* obj1
= 0 ;
36706 PyObject
* obj2
= 0 ;
36707 PyObject
* obj3
= 0 ;
36708 PyObject
* obj4
= 0 ;
36709 char * kwnames
[] = {
36710 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36715 if (!SWIG_IsOK(res1
)) {
36716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36718 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36720 if (!SWIG_IsOK(ecode2
)) {
36721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36723 arg2
= static_cast< int >(val2
);
36724 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36725 if (!SWIG_IsOK(ecode3
)) {
36726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36728 arg3
= static_cast< int >(val3
);
36729 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36730 if (!SWIG_IsOK(ecode4
)) {
36731 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36733 arg4
= static_cast< int >(val4
);
36734 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36735 if (!SWIG_IsOK(ecode5
)) {
36736 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36738 arg5
= static_cast< int >(val5
);
36740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36741 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36742 wxPyEndAllowThreads(__tstate
);
36743 if (PyErr_Occurred()) SWIG_fail
;
36745 resultobj
= SWIG_Py_Void();
36752 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36753 PyObject
*resultobj
= 0;
36754 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36759 PyObject
* obj0
= 0 ;
36760 PyObject
* obj1
= 0 ;
36761 char * kwnames
[] = {
36762 (char *) "self",(char *) "rect", NULL
36765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36767 if (!SWIG_IsOK(res1
)) {
36768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36770 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36773 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36777 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36778 wxPyEndAllowThreads(__tstate
);
36779 if (PyErr_Occurred()) SWIG_fail
;
36781 resultobj
= SWIG_Py_Void();
36788 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36789 PyObject
*resultobj
= 0;
36790 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36791 wxPoint
*arg2
= 0 ;
36797 PyObject
* obj0
= 0 ;
36798 PyObject
* obj1
= 0 ;
36799 PyObject
* obj2
= 0 ;
36800 char * kwnames
[] = {
36801 (char *) "self",(char *) "pt",(char *) "sz", NULL
36804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) 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_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36809 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36812 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36816 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36820 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36821 wxPyEndAllowThreads(__tstate
);
36822 if (PyErr_Occurred()) SWIG_fail
;
36824 resultobj
= SWIG_Py_Void();
36831 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36832 PyObject
*resultobj
= 0;
36833 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36851 PyObject
* obj0
= 0 ;
36852 PyObject
* obj1
= 0 ;
36853 PyObject
* obj2
= 0 ;
36854 PyObject
* obj3
= 0 ;
36855 PyObject
* obj4
= 0 ;
36856 PyObject
* obj5
= 0 ;
36857 char * kwnames
[] = {
36858 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
36861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36863 if (!SWIG_IsOK(res1
)) {
36864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36866 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36868 if (!SWIG_IsOK(ecode2
)) {
36869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
36871 arg2
= static_cast< int >(val2
);
36872 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36873 if (!SWIG_IsOK(ecode3
)) {
36874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
36876 arg3
= static_cast< int >(val3
);
36877 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36878 if (!SWIG_IsOK(ecode4
)) {
36879 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
36881 arg4
= static_cast< int >(val4
);
36882 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36883 if (!SWIG_IsOK(ecode5
)) {
36884 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
36886 arg5
= static_cast< int >(val5
);
36887 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36888 if (!SWIG_IsOK(ecode6
)) {
36889 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
36891 arg6
= static_cast< double >(val6
);
36893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36894 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
36895 wxPyEndAllowThreads(__tstate
);
36896 if (PyErr_Occurred()) SWIG_fail
;
36898 resultobj
= SWIG_Py_Void();
36905 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36906 PyObject
*resultobj
= 0;
36907 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36915 PyObject
* obj0
= 0 ;
36916 PyObject
* obj1
= 0 ;
36917 PyObject
* obj2
= 0 ;
36918 char * kwnames
[] = {
36919 (char *) "self",(char *) "r",(char *) "radius", NULL
36922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36924 if (!SWIG_IsOK(res1
)) {
36925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36927 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36930 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36932 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
36933 if (!SWIG_IsOK(ecode3
)) {
36934 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
36936 arg3
= static_cast< double >(val3
);
36938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36939 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
36940 wxPyEndAllowThreads(__tstate
);
36941 if (PyErr_Occurred()) SWIG_fail
;
36943 resultobj
= SWIG_Py_Void();
36950 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36951 PyObject
*resultobj
= 0;
36952 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36953 wxPoint
*arg2
= 0 ;
36962 PyObject
* obj0
= 0 ;
36963 PyObject
* obj1
= 0 ;
36964 PyObject
* obj2
= 0 ;
36965 PyObject
* obj3
= 0 ;
36966 char * kwnames
[] = {
36967 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
36970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36972 if (!SWIG_IsOK(res1
)) {
36973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36975 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36978 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36982 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36984 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36985 if (!SWIG_IsOK(ecode4
)) {
36986 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
36988 arg4
= static_cast< double >(val4
);
36990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36991 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
36992 wxPyEndAllowThreads(__tstate
);
36993 if (PyErr_Occurred()) SWIG_fail
;
36995 resultobj
= SWIG_Py_Void();
37002 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37003 PyObject
*resultobj
= 0;
37004 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37016 PyObject
* obj0
= 0 ;
37017 PyObject
* obj1
= 0 ;
37018 PyObject
* obj2
= 0 ;
37019 PyObject
* obj3
= 0 ;
37020 char * kwnames
[] = {
37021 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37026 if (!SWIG_IsOK(res1
)) {
37027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37029 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37031 if (!SWIG_IsOK(ecode2
)) {
37032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37034 arg2
= static_cast< int >(val2
);
37035 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37036 if (!SWIG_IsOK(ecode3
)) {
37037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37039 arg3
= static_cast< int >(val3
);
37040 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37041 if (!SWIG_IsOK(ecode4
)) {
37042 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37044 arg4
= static_cast< int >(val4
);
37046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37047 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37048 wxPyEndAllowThreads(__tstate
);
37049 if (PyErr_Occurred()) SWIG_fail
;
37051 resultobj
= SWIG_Py_Void();
37058 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37059 PyObject
*resultobj
= 0;
37060 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37061 wxPoint
*arg2
= 0 ;
37068 PyObject
* obj0
= 0 ;
37069 PyObject
* obj1
= 0 ;
37070 PyObject
* obj2
= 0 ;
37071 char * kwnames
[] = {
37072 (char *) "self",(char *) "pt",(char *) "radius", NULL
37075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37077 if (!SWIG_IsOK(res1
)) {
37078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37080 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37083 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37085 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37086 if (!SWIG_IsOK(ecode3
)) {
37087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37089 arg3
= static_cast< int >(val3
);
37091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37092 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37093 wxPyEndAllowThreads(__tstate
);
37094 if (PyErr_Occurred()) SWIG_fail
;
37096 resultobj
= SWIG_Py_Void();
37103 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37104 PyObject
*resultobj
= 0;
37105 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37120 PyObject
* obj0
= 0 ;
37121 PyObject
* obj1
= 0 ;
37122 PyObject
* obj2
= 0 ;
37123 PyObject
* obj3
= 0 ;
37124 PyObject
* obj4
= 0 ;
37125 char * kwnames
[] = {
37126 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37131 if (!SWIG_IsOK(res1
)) {
37132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37134 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37136 if (!SWIG_IsOK(ecode2
)) {
37137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37139 arg2
= static_cast< int >(val2
);
37140 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37141 if (!SWIG_IsOK(ecode3
)) {
37142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37144 arg3
= static_cast< int >(val3
);
37145 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37146 if (!SWIG_IsOK(ecode4
)) {
37147 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37149 arg4
= static_cast< int >(val4
);
37150 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37151 if (!SWIG_IsOK(ecode5
)) {
37152 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37154 arg5
= static_cast< int >(val5
);
37156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37157 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37158 wxPyEndAllowThreads(__tstate
);
37159 if (PyErr_Occurred()) SWIG_fail
;
37161 resultobj
= SWIG_Py_Void();
37168 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37169 PyObject
*resultobj
= 0;
37170 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37175 PyObject
* obj0
= 0 ;
37176 PyObject
* obj1
= 0 ;
37177 char * kwnames
[] = {
37178 (char *) "self",(char *) "rect", NULL
37181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37183 if (!SWIG_IsOK(res1
)) {
37184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37186 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37189 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37193 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37194 wxPyEndAllowThreads(__tstate
);
37195 if (PyErr_Occurred()) SWIG_fail
;
37197 resultobj
= SWIG_Py_Void();
37204 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37205 PyObject
*resultobj
= 0;
37206 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37207 wxPoint
*arg2
= 0 ;
37213 PyObject
* obj0
= 0 ;
37214 PyObject
* obj1
= 0 ;
37215 PyObject
* obj2
= 0 ;
37216 char * kwnames
[] = {
37217 (char *) "self",(char *) "pt",(char *) "sz", NULL
37220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37222 if (!SWIG_IsOK(res1
)) {
37223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37225 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37228 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37232 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37236 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37237 wxPyEndAllowThreads(__tstate
);
37238 if (PyErr_Occurred()) SWIG_fail
;
37240 resultobj
= SWIG_Py_Void();
37247 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37248 PyObject
*resultobj
= 0;
37249 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37261 PyObject
* obj0
= 0 ;
37262 PyObject
* obj1
= 0 ;
37263 PyObject
* obj2
= 0 ;
37264 PyObject
* obj3
= 0 ;
37265 char * kwnames
[] = {
37266 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37271 if (!SWIG_IsOK(res1
)) {
37272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37274 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37275 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37276 if (!SWIG_IsOK(res2
)) {
37277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37280 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37282 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37283 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37284 if (!SWIG_IsOK(ecode3
)) {
37285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37287 arg3
= static_cast< int >(val3
);
37288 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37289 if (!SWIG_IsOK(ecode4
)) {
37290 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37292 arg4
= static_cast< int >(val4
);
37294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37295 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37296 wxPyEndAllowThreads(__tstate
);
37297 if (PyErr_Occurred()) SWIG_fail
;
37299 resultobj
= SWIG_Py_Void();
37306 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37307 PyObject
*resultobj
= 0;
37308 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37310 wxPoint
*arg3
= 0 ;
37316 PyObject
* obj0
= 0 ;
37317 PyObject
* obj1
= 0 ;
37318 PyObject
* obj2
= 0 ;
37319 char * kwnames
[] = {
37320 (char *) "self",(char *) "icon",(char *) "pt", NULL
37323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) 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_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37328 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37329 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37330 if (!SWIG_IsOK(res2
)) {
37331 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37334 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37336 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37339 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37343 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37344 wxPyEndAllowThreads(__tstate
);
37345 if (PyErr_Occurred()) SWIG_fail
;
37347 resultobj
= SWIG_Py_Void();
37354 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37355 PyObject
*resultobj
= 0;
37356 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37357 wxBitmap
*arg2
= 0 ;
37360 bool arg5
= (bool) false ;
37371 PyObject
* obj0
= 0 ;
37372 PyObject
* obj1
= 0 ;
37373 PyObject
* obj2
= 0 ;
37374 PyObject
* obj3
= 0 ;
37375 PyObject
* obj4
= 0 ;
37376 char * kwnames
[] = {
37377 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37382 if (!SWIG_IsOK(res1
)) {
37383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37385 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37386 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37387 if (!SWIG_IsOK(res2
)) {
37388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37391 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37393 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37394 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37395 if (!SWIG_IsOK(ecode3
)) {
37396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37398 arg3
= static_cast< int >(val3
);
37399 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37400 if (!SWIG_IsOK(ecode4
)) {
37401 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37403 arg4
= static_cast< int >(val4
);
37405 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37406 if (!SWIG_IsOK(ecode5
)) {
37407 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37409 arg5
= static_cast< bool >(val5
);
37412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37413 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37414 wxPyEndAllowThreads(__tstate
);
37415 if (PyErr_Occurred()) SWIG_fail
;
37417 resultobj
= SWIG_Py_Void();
37424 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37425 PyObject
*resultobj
= 0;
37426 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37427 wxBitmap
*arg2
= 0 ;
37428 wxPoint
*arg3
= 0 ;
37429 bool arg4
= (bool) false ;
37437 PyObject
* obj0
= 0 ;
37438 PyObject
* obj1
= 0 ;
37439 PyObject
* obj2
= 0 ;
37440 PyObject
* obj3
= 0 ;
37441 char * kwnames
[] = {
37442 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37447 if (!SWIG_IsOK(res1
)) {
37448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37450 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37451 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37452 if (!SWIG_IsOK(res2
)) {
37453 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37456 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37458 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37461 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37464 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37465 if (!SWIG_IsOK(ecode4
)) {
37466 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37468 arg4
= static_cast< bool >(val4
);
37471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37472 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37473 wxPyEndAllowThreads(__tstate
);
37474 if (PyErr_Occurred()) SWIG_fail
;
37476 resultobj
= SWIG_Py_Void();
37483 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37484 PyObject
*resultobj
= 0;
37485 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37486 wxString
*arg2
= 0 ;
37491 bool temp2
= false ;
37496 PyObject
* obj0
= 0 ;
37497 PyObject
* obj1
= 0 ;
37498 PyObject
* obj2
= 0 ;
37499 PyObject
* obj3
= 0 ;
37500 char * kwnames
[] = {
37501 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37506 if (!SWIG_IsOK(res1
)) {
37507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37509 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37511 arg2
= wxString_in_helper(obj1
);
37512 if (arg2
== NULL
) SWIG_fail
;
37515 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37516 if (!SWIG_IsOK(ecode3
)) {
37517 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37519 arg3
= static_cast< int >(val3
);
37520 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37521 if (!SWIG_IsOK(ecode4
)) {
37522 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37524 arg4
= static_cast< int >(val4
);
37526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37527 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37528 wxPyEndAllowThreads(__tstate
);
37529 if (PyErr_Occurred()) SWIG_fail
;
37531 resultobj
= SWIG_Py_Void();
37546 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37547 PyObject
*resultobj
= 0;
37548 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37549 wxString
*arg2
= 0 ;
37550 wxPoint
*arg3
= 0 ;
37553 bool temp2
= false ;
37555 PyObject
* obj0
= 0 ;
37556 PyObject
* obj1
= 0 ;
37557 PyObject
* obj2
= 0 ;
37558 char * kwnames
[] = {
37559 (char *) "self",(char *) "text",(char *) "pt", NULL
37562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37564 if (!SWIG_IsOK(res1
)) {
37565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37567 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37569 arg2
= wxString_in_helper(obj1
);
37570 if (arg2
== NULL
) SWIG_fail
;
37575 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37579 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37580 wxPyEndAllowThreads(__tstate
);
37581 if (PyErr_Occurred()) SWIG_fail
;
37583 resultobj
= SWIG_Py_Void();
37598 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37599 PyObject
*resultobj
= 0;
37600 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37601 wxString
*arg2
= 0 ;
37607 bool temp2
= false ;
37614 PyObject
* obj0
= 0 ;
37615 PyObject
* obj1
= 0 ;
37616 PyObject
* obj2
= 0 ;
37617 PyObject
* obj3
= 0 ;
37618 PyObject
* obj4
= 0 ;
37619 char * kwnames
[] = {
37620 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37625 if (!SWIG_IsOK(res1
)) {
37626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37628 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37630 arg2
= wxString_in_helper(obj1
);
37631 if (arg2
== NULL
) SWIG_fail
;
37634 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37635 if (!SWIG_IsOK(ecode3
)) {
37636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37638 arg3
= static_cast< int >(val3
);
37639 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37640 if (!SWIG_IsOK(ecode4
)) {
37641 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37643 arg4
= static_cast< int >(val4
);
37644 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37645 if (!SWIG_IsOK(ecode5
)) {
37646 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37648 arg5
= static_cast< double >(val5
);
37650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37651 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37652 wxPyEndAllowThreads(__tstate
);
37653 if (PyErr_Occurred()) SWIG_fail
;
37655 resultobj
= SWIG_Py_Void();
37670 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37671 PyObject
*resultobj
= 0;
37672 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37673 wxString
*arg2
= 0 ;
37674 wxPoint
*arg3
= 0 ;
37678 bool temp2
= false ;
37682 PyObject
* obj0
= 0 ;
37683 PyObject
* obj1
= 0 ;
37684 PyObject
* obj2
= 0 ;
37685 PyObject
* obj3
= 0 ;
37686 char * kwnames
[] = {
37687 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37692 if (!SWIG_IsOK(res1
)) {
37693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37695 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37697 arg2
= wxString_in_helper(obj1
);
37698 if (arg2
== NULL
) SWIG_fail
;
37703 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37705 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37706 if (!SWIG_IsOK(ecode4
)) {
37707 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37709 arg4
= static_cast< double >(val4
);
37711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37712 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37713 wxPyEndAllowThreads(__tstate
);
37714 if (PyErr_Occurred()) SWIG_fail
;
37716 resultobj
= SWIG_Py_Void();
37731 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37732 PyObject
*resultobj
= 0;
37733 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37735 wxPoint
*arg3
= (wxPoint
*) 0 ;
37736 int arg4
= (int) 0 ;
37737 int arg5
= (int) 0 ;
37744 PyObject
* obj0
= 0 ;
37745 PyObject
* obj1
= 0 ;
37746 PyObject
* obj2
= 0 ;
37747 PyObject
* obj3
= 0 ;
37748 char * kwnames
[] = {
37749 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37754 if (!SWIG_IsOK(res1
)) {
37755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37757 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37759 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37760 if (arg3
== NULL
) SWIG_fail
;
37763 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37764 if (!SWIG_IsOK(ecode4
)) {
37765 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37767 arg4
= static_cast< int >(val4
);
37770 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37771 if (!SWIG_IsOK(ecode5
)) {
37772 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37774 arg5
= static_cast< int >(val5
);
37777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37778 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37779 wxPyEndAllowThreads(__tstate
);
37780 if (PyErr_Occurred()) SWIG_fail
;
37782 resultobj
= SWIG_Py_Void();
37784 if (arg3
) delete [] arg3
;
37789 if (arg3
) delete [] arg3
;
37795 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37796 PyObject
*resultobj
= 0;
37797 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37799 wxPoint
*arg3
= (wxPoint
*) 0 ;
37800 int arg4
= (int) 0 ;
37801 int arg5
= (int) 0 ;
37802 int arg6
= (int) wxODDEVEN_RULE
;
37811 PyObject
* obj0
= 0 ;
37812 PyObject
* obj1
= 0 ;
37813 PyObject
* obj2
= 0 ;
37814 PyObject
* obj3
= 0 ;
37815 PyObject
* obj4
= 0 ;
37816 char * kwnames
[] = {
37817 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37822 if (!SWIG_IsOK(res1
)) {
37823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37825 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37827 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37828 if (arg3
== NULL
) SWIG_fail
;
37831 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37832 if (!SWIG_IsOK(ecode4
)) {
37833 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
37835 arg4
= static_cast< int >(val4
);
37838 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37839 if (!SWIG_IsOK(ecode5
)) {
37840 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
37842 arg5
= static_cast< int >(val5
);
37845 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
37846 if (!SWIG_IsOK(ecode6
)) {
37847 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
37849 arg6
= static_cast< int >(val6
);
37852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37853 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
37854 wxPyEndAllowThreads(__tstate
);
37855 if (PyErr_Occurred()) SWIG_fail
;
37857 resultobj
= SWIG_Py_Void();
37859 if (arg3
) delete [] arg3
;
37864 if (arg3
) delete [] arg3
;
37870 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37871 PyObject
*resultobj
= 0;
37872 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37873 wxString
*arg2
= 0 ;
37875 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37876 int arg5
= (int) -1 ;
37879 bool temp2
= false ;
37885 PyObject
* obj0
= 0 ;
37886 PyObject
* obj1
= 0 ;
37887 PyObject
* obj2
= 0 ;
37888 PyObject
* obj3
= 0 ;
37889 PyObject
* obj4
= 0 ;
37890 char * kwnames
[] = {
37891 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37896 if (!SWIG_IsOK(res1
)) {
37897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37899 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37901 arg2
= wxString_in_helper(obj1
);
37902 if (arg2
== NULL
) SWIG_fail
;
37907 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
37910 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37911 if (!SWIG_IsOK(ecode4
)) {
37912 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
37914 arg4
= static_cast< int >(val4
);
37917 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37918 if (!SWIG_IsOK(ecode5
)) {
37919 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
37921 arg5
= static_cast< int >(val5
);
37924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37925 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
37926 wxPyEndAllowThreads(__tstate
);
37927 if (PyErr_Occurred()) SWIG_fail
;
37929 resultobj
= SWIG_Py_Void();
37944 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37945 PyObject
*resultobj
= 0;
37946 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37947 wxString
*arg2
= 0 ;
37948 wxBitmap
*arg3
= 0 ;
37950 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37951 int arg6
= (int) -1 ;
37954 bool temp2
= false ;
37962 PyObject
* obj0
= 0 ;
37963 PyObject
* obj1
= 0 ;
37964 PyObject
* obj2
= 0 ;
37965 PyObject
* obj3
= 0 ;
37966 PyObject
* obj4
= 0 ;
37967 PyObject
* obj5
= 0 ;
37968 char * kwnames
[] = {
37969 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37974 if (!SWIG_IsOK(res1
)) {
37975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37977 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37979 arg2
= wxString_in_helper(obj1
);
37980 if (arg2
== NULL
) SWIG_fail
;
37983 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37984 if (!SWIG_IsOK(res3
)) {
37985 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37990 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
37993 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
37996 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37997 if (!SWIG_IsOK(ecode5
)) {
37998 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38000 arg5
= static_cast< int >(val5
);
38003 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38004 if (!SWIG_IsOK(ecode6
)) {
38005 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38007 arg6
= static_cast< int >(val6
);
38010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38011 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38012 wxPyEndAllowThreads(__tstate
);
38013 if (PyErr_Occurred()) SWIG_fail
;
38015 resultobj
= SWIG_Py_Void();
38030 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38031 PyObject
*resultobj
= 0;
38032 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38034 wxPoint
*arg3
= (wxPoint
*) 0 ;
38037 PyObject
* obj0
= 0 ;
38038 PyObject
* obj1
= 0 ;
38039 char * kwnames
[] = {
38040 (char *) "self",(char *) "points", NULL
38043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38045 if (!SWIG_IsOK(res1
)) {
38046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38048 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38050 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38051 if (arg3
== NULL
) SWIG_fail
;
38054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38055 (arg1
)->DrawSpline(arg2
,arg3
);
38056 wxPyEndAllowThreads(__tstate
);
38057 if (PyErr_Occurred()) SWIG_fail
;
38059 resultobj
= SWIG_Py_Void();
38061 if (arg3
) delete [] arg3
;
38066 if (arg3
) delete [] arg3
;
38072 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38073 PyObject
*resultobj
= 0;
38074 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38077 PyObject
*swig_obj
[1] ;
38079 if (!args
) SWIG_fail
;
38080 swig_obj
[0] = args
;
38081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38082 if (!SWIG_IsOK(res1
)) {
38083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38085 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38089 wxPyEndAllowThreads(__tstate
);
38090 if (PyErr_Occurred()) SWIG_fail
;
38092 resultobj
= SWIG_Py_Void();
38099 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38100 PyObject
*resultobj
= 0;
38101 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38107 PyObject
* obj0
= 0 ;
38108 PyObject
* obj1
= 0 ;
38109 char * kwnames
[] = {
38110 (char *) "self",(char *) "font", NULL
38113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38115 if (!SWIG_IsOK(res1
)) {
38116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38118 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38119 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38120 if (!SWIG_IsOK(res2
)) {
38121 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38124 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38126 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38129 (arg1
)->SetFont((wxFont
const &)*arg2
);
38130 wxPyEndAllowThreads(__tstate
);
38131 if (PyErr_Occurred()) SWIG_fail
;
38133 resultobj
= SWIG_Py_Void();
38140 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38141 PyObject
*resultobj
= 0;
38142 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38148 PyObject
* obj0
= 0 ;
38149 PyObject
* obj1
= 0 ;
38150 char * kwnames
[] = {
38151 (char *) "self",(char *) "pen", NULL
38154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38156 if (!SWIG_IsOK(res1
)) {
38157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38159 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38160 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38161 if (!SWIG_IsOK(res2
)) {
38162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38167 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38170 (arg1
)->SetPen((wxPen
const &)*arg2
);
38171 wxPyEndAllowThreads(__tstate
);
38172 if (PyErr_Occurred()) SWIG_fail
;
38174 resultobj
= SWIG_Py_Void();
38181 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38182 PyObject
*resultobj
= 0;
38183 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38184 wxBrush
*arg2
= 0 ;
38189 PyObject
* obj0
= 0 ;
38190 PyObject
* obj1
= 0 ;
38191 char * kwnames
[] = {
38192 (char *) "self",(char *) "brush", NULL
38195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38197 if (!SWIG_IsOK(res1
)) {
38198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38200 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38202 if (!SWIG_IsOK(res2
)) {
38203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38208 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38211 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38212 wxPyEndAllowThreads(__tstate
);
38213 if (PyErr_Occurred()) SWIG_fail
;
38215 resultobj
= SWIG_Py_Void();
38222 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38223 PyObject
*resultobj
= 0;
38224 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38225 wxBrush
*arg2
= 0 ;
38230 PyObject
* obj0
= 0 ;
38231 PyObject
* obj1
= 0 ;
38232 char * kwnames
[] = {
38233 (char *) "self",(char *) "brush", NULL
38236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38238 if (!SWIG_IsOK(res1
)) {
38239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38241 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38242 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38243 if (!SWIG_IsOK(res2
)) {
38244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38249 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38252 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38253 wxPyEndAllowThreads(__tstate
);
38254 if (PyErr_Occurred()) SWIG_fail
;
38256 resultobj
= SWIG_Py_Void();
38263 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38264 PyObject
*resultobj
= 0;
38265 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38271 PyObject
* obj0
= 0 ;
38272 PyObject
* obj1
= 0 ;
38273 char * kwnames
[] = {
38274 (char *) "self",(char *) "mode", NULL
38277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38279 if (!SWIG_IsOK(res1
)) {
38280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38282 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38283 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38284 if (!SWIG_IsOK(ecode2
)) {
38285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38287 arg2
= static_cast< int >(val2
);
38289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38290 (arg1
)->SetBackgroundMode(arg2
);
38291 wxPyEndAllowThreads(__tstate
);
38292 if (PyErr_Occurred()) SWIG_fail
;
38294 resultobj
= SWIG_Py_Void();
38301 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38302 PyObject
*resultobj
= 0;
38303 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38304 wxPalette
*arg2
= 0 ;
38309 PyObject
* obj0
= 0 ;
38310 PyObject
* obj1
= 0 ;
38311 char * kwnames
[] = {
38312 (char *) "self",(char *) "palette", NULL
38315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38317 if (!SWIG_IsOK(res1
)) {
38318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38320 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38321 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38322 if (!SWIG_IsOK(res2
)) {
38323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38326 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38328 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38331 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38332 wxPyEndAllowThreads(__tstate
);
38333 if (PyErr_Occurred()) SWIG_fail
;
38335 resultobj
= SWIG_Py_Void();
38342 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38343 PyObject
*resultobj
= 0;
38344 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38345 wxColour
*arg2
= 0 ;
38349 PyObject
* obj0
= 0 ;
38350 PyObject
* obj1
= 0 ;
38351 char * kwnames
[] = {
38352 (char *) "self",(char *) "colour", NULL
38355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38357 if (!SWIG_IsOK(res1
)) {
38358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38360 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38363 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38367 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38368 wxPyEndAllowThreads(__tstate
);
38369 if (PyErr_Occurred()) SWIG_fail
;
38371 resultobj
= SWIG_Py_Void();
38378 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38379 PyObject
*resultobj
= 0;
38380 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38381 wxColour
*arg2
= 0 ;
38385 PyObject
* obj0
= 0 ;
38386 PyObject
* obj1
= 0 ;
38387 char * kwnames
[] = {
38388 (char *) "self",(char *) "colour", NULL
38391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38393 if (!SWIG_IsOK(res1
)) {
38394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38396 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38399 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38403 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38404 wxPyEndAllowThreads(__tstate
);
38405 if (PyErr_Occurred()) SWIG_fail
;
38407 resultobj
= SWIG_Py_Void();
38414 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38415 PyObject
*resultobj
= 0;
38416 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38422 PyObject
* obj0
= 0 ;
38423 PyObject
* obj1
= 0 ;
38424 char * kwnames
[] = {
38425 (char *) "self",(char *) "function", NULL
38428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38430 if (!SWIG_IsOK(res1
)) {
38431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38433 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38435 if (!SWIG_IsOK(ecode2
)) {
38436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38438 arg2
= static_cast< int >(val2
);
38440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38441 (arg1
)->SetLogicalFunction(arg2
);
38442 wxPyEndAllowThreads(__tstate
);
38443 if (PyErr_Occurred()) SWIG_fail
;
38445 resultobj
= SWIG_Py_Void();
38452 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38454 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38455 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38456 return SWIG_Py_Void();
38459 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38460 return SWIG_Python_InitShadowInstance(args
);
38463 static PyMethodDef SwigMethods
[] = {
38464 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38465 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38466 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38467 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38468 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38469 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38470 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38471 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38472 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38473 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38474 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38475 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38476 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38477 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38478 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38479 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38480 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38481 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38482 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38483 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38484 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38485 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38486 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38487 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38488 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38489 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38490 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38491 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38492 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38493 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38494 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38495 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38496 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38497 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38498 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38499 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38500 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38501 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38502 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38503 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38504 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38505 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38506 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38507 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38508 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38509 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38510 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38511 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38512 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38513 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38514 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38515 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38516 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38517 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38518 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38519 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38520 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38521 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38522 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38523 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38524 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38525 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38526 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38527 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38528 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
38529 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38530 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38531 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38532 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38533 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38534 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38535 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38536 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38537 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38538 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38539 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38540 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38541 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38542 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38543 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38544 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38545 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38546 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38547 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38548 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38549 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38550 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38551 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38552 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38553 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38554 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38555 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38556 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38557 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38558 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38559 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38560 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38561 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38562 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38563 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38564 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38565 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38566 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38567 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38568 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38569 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38570 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38571 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38572 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38573 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38574 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38575 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38576 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38577 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38578 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38579 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38580 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38581 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38582 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38583 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38584 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38585 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38586 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38587 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38588 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38589 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38590 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38591 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38592 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38593 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38594 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38595 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38596 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38597 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38598 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38599 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38600 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38601 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38602 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38603 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38604 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38605 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38606 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38607 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38608 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38609 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38610 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38611 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38612 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38613 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38614 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38615 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38616 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38617 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38618 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38619 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38620 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38621 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38622 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38623 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38624 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38625 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38626 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38627 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38628 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38629 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38630 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38631 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38632 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38633 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38634 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38635 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38636 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38637 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38638 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38639 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38640 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38641 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38642 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38643 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38644 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38645 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38646 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38647 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38648 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38649 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38650 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38651 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38652 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38653 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38654 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38655 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38656 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38657 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38658 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38659 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38660 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38661 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38662 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38663 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38664 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38665 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38666 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38667 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38668 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38669 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38670 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38671 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38672 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38673 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38674 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38675 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38676 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38677 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38678 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38679 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38680 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38681 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38682 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38683 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38684 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38685 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38686 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38687 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38688 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38689 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38690 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38691 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38692 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38693 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38694 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38695 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38696 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38697 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38698 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38699 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38700 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38701 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38702 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38703 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38704 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38705 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38706 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38707 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38708 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38709 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38710 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38711 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38712 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38713 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38714 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38715 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38716 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38717 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38718 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38719 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38720 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38721 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38722 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38723 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38724 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38725 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38726 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38727 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38728 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38729 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38730 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38731 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38732 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38733 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38734 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38735 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38736 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38737 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38738 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38739 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38740 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38741 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38742 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38743 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38744 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38745 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38746 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38747 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38748 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38749 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38750 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38751 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38752 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38753 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38754 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38755 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38756 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38757 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38758 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38759 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38760 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38761 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38762 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38763 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38764 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38765 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38766 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38767 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38768 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38769 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38770 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38771 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38772 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38773 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38774 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38775 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38776 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38777 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38778 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38779 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38780 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38781 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38782 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38783 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38784 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38785 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38786 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38787 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38788 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38789 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38790 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38791 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38792 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38793 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38794 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38795 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38796 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38797 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38798 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38799 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38800 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38801 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38802 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38803 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38804 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38805 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38806 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38807 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38808 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38809 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38810 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38811 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38812 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38813 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38814 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38815 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38816 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38817 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38818 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38819 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38820 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38821 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38822 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
38823 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
38824 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
38825 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
38826 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
38827 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
38828 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
38829 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
38830 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38831 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38832 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38833 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38834 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38835 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38836 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38837 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38838 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38839 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
38840 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
38841 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
38842 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38843 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
38844 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38845 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38846 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38847 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
38848 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
38849 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
38850 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
38851 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
38852 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
38853 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38854 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38855 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38856 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38857 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38858 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
38859 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
38860 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
38861 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38862 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38863 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38864 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38865 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38866 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38867 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38868 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38869 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38870 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38871 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38872 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38873 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38874 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38875 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38876 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38877 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38878 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38879 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38880 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38881 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38882 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38883 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38884 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38885 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38886 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38887 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38888 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38889 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38890 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38891 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38892 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38893 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38894 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38895 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38896 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38897 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38898 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38899 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38900 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38901 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38902 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38903 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38904 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38905 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38906 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38907 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38908 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38909 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38910 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
38911 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38912 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
38913 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
38914 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
38915 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38916 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38917 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38918 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38919 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38920 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38921 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
38922 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
38923 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
38924 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
38925 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
38926 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38927 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38928 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38929 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38930 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
38931 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
38932 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
38933 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
38934 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38935 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38936 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38937 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38938 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38939 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38940 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38941 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38942 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
38943 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
38944 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
38945 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
38946 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
38947 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
38948 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
38949 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
38950 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
38951 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
38952 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
38953 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
38954 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38955 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38956 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
38957 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38958 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
38959 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38960 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
38961 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38962 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
38963 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
38964 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38965 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38966 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
38967 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
38968 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38969 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38970 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38971 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
38972 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38973 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
38974 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38975 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38976 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
38977 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
38978 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
38979 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
38980 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
38981 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
38982 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
38983 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38984 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38985 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38986 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38987 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38988 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38989 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38990 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
38991 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38992 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
38993 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
38994 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
38995 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38996 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
38997 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
38998 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
38999 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39000 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39001 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39002 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39003 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39004 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39005 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39006 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39007 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39008 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39009 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39010 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39011 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39012 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39013 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39014 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39015 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39016 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39017 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39018 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39019 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39020 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39021 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39022 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39023 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39024 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39025 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39026 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39027 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39028 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39029 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39030 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39031 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39032 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39033 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39034 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39035 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39036 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39037 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39038 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39039 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39040 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39041 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39042 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39043 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39044 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39045 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39046 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39047 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39048 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39049 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39050 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39051 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39052 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39053 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
39054 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
39055 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39056 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
39057 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
39058 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
39059 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39060 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39061 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39062 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
39063 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39064 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39065 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39066 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39067 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39068 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39069 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39070 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39071 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39072 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39073 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39074 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39075 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39076 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39077 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39078 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39079 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39080 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39081 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39082 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39083 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39084 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39085 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39086 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
39087 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39088 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39089 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39090 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39091 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39092 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39093 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39094 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39095 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39096 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39097 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39098 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39099 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39100 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
39101 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
39102 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39103 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39104 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39105 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39106 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39107 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39108 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39109 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39110 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39111 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39112 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39113 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39114 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39115 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39116 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39117 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39118 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39119 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39120 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39121 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39122 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
39123 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39124 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39125 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
39126 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39127 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39128 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39129 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39130 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39131 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39132 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39133 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39134 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39135 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39136 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39137 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39138 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39140 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39141 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39142 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39143 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39144 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39145 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39146 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39147 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39148 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39149 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39150 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39151 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39152 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39153 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39154 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39155 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39156 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39157 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39158 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39159 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39160 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39161 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39162 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39163 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39164 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39167 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39168 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39169 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39170 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39171 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39172 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
39173 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39174 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39175 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39176 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39177 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39178 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39179 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39180 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39181 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39182 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39183 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
39184 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39185 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39186 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39187 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39188 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39189 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39190 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39191 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39192 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39193 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39194 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39195 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39196 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39197 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39198 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39199 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39200 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39201 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39202 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39203 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39204 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39205 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39206 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39207 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39208 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39209 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39210 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39211 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39212 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39213 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39214 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39215 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39216 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39217 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39218 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39219 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39220 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39221 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39222 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39223 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39224 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39225 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39226 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39227 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39228 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39229 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39230 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39231 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39232 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39233 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39234 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39235 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39236 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39237 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39238 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39239 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39240 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39241 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39242 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39243 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39244 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39245 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39246 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39247 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39248 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39249 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39250 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39251 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39252 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39253 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39254 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39255 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39256 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39257 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39258 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39259 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39260 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39261 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39262 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39263 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39264 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39265 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39266 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39267 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39268 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39269 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39270 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39271 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39272 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39273 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39274 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39275 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39276 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39277 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39278 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39279 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39280 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39281 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39282 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39283 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39284 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39285 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39286 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39287 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39288 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39289 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39290 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39291 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39292 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39293 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39294 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39295 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39296 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39297 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39298 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39299 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39300 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39301 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39302 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39303 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39304 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39305 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39306 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39307 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39308 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39309 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39310 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39312 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39313 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39314 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39315 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39316 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39317 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39318 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39319 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39320 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39321 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39322 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39323 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39324 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39325 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39326 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39327 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39329 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39330 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39331 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39332 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39333 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39334 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39335 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39336 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39337 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39338 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39339 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39340 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39341 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39342 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39343 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39344 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39345 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39346 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39347 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39348 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39349 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39350 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39351 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39352 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39353 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39354 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39355 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39356 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39357 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39358 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39359 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39360 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39361 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39362 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39363 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39364 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39365 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39366 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39367 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39368 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39369 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39370 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39371 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39372 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39373 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39374 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39375 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39376 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39377 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39378 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39379 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39380 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39381 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39382 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39383 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39384 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39385 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39386 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39387 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39388 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39389 { NULL
, NULL
, 0, NULL
}
39393 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39395 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39396 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39398 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39399 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39401 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39402 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39404 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
39405 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39407 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
39408 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
39410 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39411 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39413 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39414 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39416 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
39417 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39419 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39420 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39422 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39423 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39425 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39426 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39428 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39429 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39431 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39432 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39434 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39435 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39437 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39438 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39440 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39441 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39443 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39444 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39446 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39447 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39449 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39450 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39452 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39453 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39455 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39456 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39458 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39459 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39461 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39462 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39464 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39465 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39467 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39468 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39470 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39471 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39473 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39474 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39476 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39477 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39479 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39480 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
39482 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39483 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39485 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39486 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39488 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39489 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39491 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39492 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39494 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39495 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39497 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39498 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39500 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39501 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39503 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39504 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39506 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39507 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39509 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39510 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39512 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39513 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39515 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39516 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39518 static void *_p_wxPenTo_p_wxObject(void *x
) {
39519 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39521 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39522 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39524 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39525 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39527 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39528 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39530 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39531 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39533 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39534 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39536 static void *_p_wxIconTo_p_wxObject(void *x
) {
39537 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39539 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39540 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39542 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39543 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39545 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39546 return (void *)((wxObject
*) ((wxSizer
*) x
));
39548 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39549 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39551 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39552 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39554 static void *_p_wxEventTo_p_wxObject(void *x
) {
39555 return (void *)((wxObject
*) ((wxEvent
*) x
));
39557 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39558 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39560 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39561 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39563 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39564 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39566 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39567 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39569 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39570 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39572 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39573 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39575 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39576 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39578 static void *_p_wxDCTo_p_wxObject(void *x
) {
39579 return (void *)((wxObject
*) ((wxDC
*) x
));
39581 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39582 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39584 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39585 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39587 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39588 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39590 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39591 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39593 static void *_p_wxControlTo_p_wxObject(void *x
) {
39594 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39596 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39597 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39599 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39600 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39602 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39603 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39605 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39606 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39608 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39609 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
39611 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39612 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39614 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39615 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39617 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39618 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39620 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39621 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39623 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39624 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39626 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39627 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39629 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39630 return (void *)((wxObject
*) ((wxEffects
*) x
));
39632 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39633 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39635 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39636 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39638 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39639 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39641 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39642 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39644 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39645 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39647 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39648 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39650 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39651 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39653 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39654 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39656 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39657 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39659 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39660 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39662 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39663 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39665 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39666 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39668 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39669 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39671 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39672 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39674 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39675 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39677 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39678 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39680 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39681 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39683 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39684 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39686 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39687 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39689 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39690 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39692 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39693 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39695 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39696 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39698 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39699 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39701 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39702 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39704 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39705 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39707 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39708 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39710 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39711 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39713 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39714 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39716 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
39717 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
39719 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39720 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39722 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39723 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39725 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39726 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39728 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39729 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39731 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39732 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39734 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39735 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39737 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39738 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39740 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39741 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39743 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39744 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39746 static void *_p_wxImageTo_p_wxObject(void *x
) {
39747 return (void *)((wxObject
*) ((wxImage
*) x
));
39749 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39750 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39752 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39753 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39755 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39756 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39758 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39759 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39761 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39762 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39764 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39765 return (void *)((wxObject
*) ((wxImageList
*) x
));
39767 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39768 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39770 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39771 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39773 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39774 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39776 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39777 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39779 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39780 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39782 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39783 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39785 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39786 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39788 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39789 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39791 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39792 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39794 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39795 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39797 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39798 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39800 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39801 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39803 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39804 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39806 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39807 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39809 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39810 return (void *)((wxObject
*) ((wxMask
*) x
));
39812 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39813 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39815 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39816 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39818 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39819 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39821 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39822 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39824 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39825 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39827 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39828 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39830 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39831 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39833 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
39834 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39836 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
39837 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
39839 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
39840 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
39842 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
39843 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
39845 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
39846 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39848 static void *_p_wxFontTo_p_wxObject(void *x
) {
39849 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
39851 static void *_p_wxBrushTo_p_wxObject(void *x
) {
39852 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
39854 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
39855 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
39857 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39858 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39860 static void *_p_wxColourTo_p_wxObject(void *x
) {
39861 return (void *)((wxObject
*) ((wxColour
*) x
));
39863 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39864 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39866 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39867 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39869 static void *_p_wxControlTo_p_wxWindow(void *x
) {
39870 return (void *)((wxWindow
*) ((wxControl
*) x
));
39872 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
39873 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
39875 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
39876 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
39878 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
39879 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
39881 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
39882 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
39884 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
39885 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
39886 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
39887 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};
39888 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
39889 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
39890 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
39891 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
39892 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
39893 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
39894 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
39895 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
39896 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
39897 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
39898 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
39899 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
39900 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
39901 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
39902 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
39903 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
39904 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
39905 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
39906 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
39907 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
39908 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
39909 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
39910 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
39911 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
39912 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
39913 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
39914 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
39915 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
39916 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
39917 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
39918 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
39919 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
39920 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
39921 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
39922 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
39923 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
39924 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
39925 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
39926 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
39927 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
39928 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
39929 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
39930 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
39931 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
39932 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
39933 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
39934 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
39935 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
39936 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
39937 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
39938 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
39939 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
39940 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
39941 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
39942 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
39943 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
39944 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
39945 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
39946 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
39947 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
39948 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
39949 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
39950 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
39951 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
39952 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
39953 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
39954 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
39955 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
39956 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
39957 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
39958 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
39959 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
39960 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
39961 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
39962 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
39963 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
39964 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
39965 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
39966 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
39967 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
39968 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
39969 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
39970 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
39971 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
39972 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
39973 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
39974 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
39975 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
39976 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
39977 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
39978 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
39979 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
39980 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
39981 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
39982 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
39983 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
39984 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
39985 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
39986 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
39987 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
39988 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
39989 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
39990 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
39991 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
39992 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
39993 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
39994 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
39995 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
39996 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
39997 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
39998 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
39999 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40000 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40001 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40002 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40003 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40004 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40005 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40006 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40007 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40008 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40009 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40010 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40011 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40012 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40013 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40014 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40015 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40016 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40017 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40018 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40019 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40020 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40021 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40022 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40023 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40024 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40025 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40026 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40027 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40028 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40029 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40030 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40031 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40032 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40033 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40034 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40035 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
40036 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40037 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40038 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40039 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40040 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40041 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40042 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40043 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
40044 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40045 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40046 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40047 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40048 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40049 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40050 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40051 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40052 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40053 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40054 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40056 static swig_type_info
*swig_type_initial
[] = {
40060 &_swigt__p_form_ops_t
,
40062 &_swigt__p_unsigned_char
,
40063 &_swigt__p_unsigned_int
,
40064 &_swigt__p_unsigned_long
,
40066 &_swigt__p_wxANIHandler
,
40067 &_swigt__p_wxAcceleratorTable
,
40068 &_swigt__p_wxActivateEvent
,
40069 &_swigt__p_wxAlphaPixelData
,
40070 &_swigt__p_wxAlphaPixelData_Accessor
,
40071 &_swigt__p_wxAutoBufferedPaintDC
,
40072 &_swigt__p_wxBMPHandler
,
40073 &_swigt__p_wxBitmap
,
40074 &_swigt__p_wxBoxSizer
,
40075 &_swigt__p_wxBrush
,
40076 &_swigt__p_wxBrushList
,
40077 &_swigt__p_wxBufferedDC
,
40078 &_swigt__p_wxBufferedPaintDC
,
40079 &_swigt__p_wxCURHandler
,
40081 &_swigt__p_wxChildFocusEvent
,
40082 &_swigt__p_wxClientDC
,
40083 &_swigt__p_wxClipboardTextEvent
,
40084 &_swigt__p_wxCloseEvent
,
40085 &_swigt__p_wxColor
,
40086 &_swigt__p_wxColour
,
40087 &_swigt__p_wxColourDatabase
,
40088 &_swigt__p_wxCommandEvent
,
40089 &_swigt__p_wxContextMenuEvent
,
40090 &_swigt__p_wxControl
,
40091 &_swigt__p_wxControlWithItems
,
40092 &_swigt__p_wxCursor
,
40094 &_swigt__p_wxDCBrushChanger
,
40095 &_swigt__p_wxDCClipper
,
40096 &_swigt__p_wxDCOverlay
,
40097 &_swigt__p_wxDCPenChanger
,
40098 &_swigt__p_wxDCTextColourChanger
,
40100 &_swigt__p_wxDateEvent
,
40101 &_swigt__p_wxDisplayChangedEvent
,
40102 &_swigt__p_wxDropFilesEvent
,
40103 &_swigt__p_wxDuplexMode
,
40104 &_swigt__p_wxEffects
,
40105 &_swigt__p_wxEncodingConverter
,
40106 &_swigt__p_wxEraseEvent
,
40107 &_swigt__p_wxEvent
,
40108 &_swigt__p_wxEvtHandler
,
40109 &_swigt__p_wxFSFile
,
40110 &_swigt__p_wxFileSystem
,
40111 &_swigt__p_wxFlexGridSizer
,
40112 &_swigt__p_wxFocusEvent
,
40114 &_swigt__p_wxFontList
,
40115 &_swigt__p_wxFontMapper
,
40116 &_swigt__p_wxGBSizerItem
,
40118 &_swigt__p_wxGDIObjListBase
,
40119 &_swigt__p_wxGDIObject
,
40120 &_swigt__p_wxGIFHandler
,
40121 &_swigt__p_wxGraphicsBrush
,
40122 &_swigt__p_wxGraphicsContext
,
40123 &_swigt__p_wxGraphicsFont
,
40124 &_swigt__p_wxGraphicsMatrix
,
40125 &_swigt__p_wxGraphicsObject
,
40126 &_swigt__p_wxGraphicsPath
,
40127 &_swigt__p_wxGraphicsPen
,
40128 &_swigt__p_wxGraphicsRenderer
,
40129 &_swigt__p_wxGridBagSizer
,
40130 &_swigt__p_wxGridSizer
,
40131 &_swigt__p_wxHeaderButtonParams
,
40132 &_swigt__p_wxICOHandler
,
40134 &_swigt__p_wxIconBundle
,
40135 &_swigt__p_wxIconLocation
,
40136 &_swigt__p_wxIconizeEvent
,
40137 &_swigt__p_wxIdleEvent
,
40138 &_swigt__p_wxImage
,
40139 &_swigt__p_wxImageHandler
,
40140 &_swigt__p_wxImageList
,
40141 &_swigt__p_wxIndividualLayoutConstraint
,
40142 &_swigt__p_wxInitDialogEvent
,
40143 &_swigt__p_wxJPEGHandler
,
40144 &_swigt__p_wxKeyEvent
,
40145 &_swigt__p_wxLanguageInfo
,
40146 &_swigt__p_wxLayoutConstraints
,
40147 &_swigt__p_wxLocale
,
40149 &_swigt__p_wxMaximizeEvent
,
40150 &_swigt__p_wxMemoryDC
,
40152 &_swigt__p_wxMenuBar
,
40153 &_swigt__p_wxMenuEvent
,
40154 &_swigt__p_wxMenuItem
,
40155 &_swigt__p_wxMetaFile
,
40156 &_swigt__p_wxMetaFileDC
,
40157 &_swigt__p_wxMirrorDC
,
40158 &_swigt__p_wxMouseCaptureChangedEvent
,
40159 &_swigt__p_wxMouseCaptureLostEvent
,
40160 &_swigt__p_wxMouseEvent
,
40161 &_swigt__p_wxMoveEvent
,
40162 &_swigt__p_wxNativeEncodingInfo
,
40163 &_swigt__p_wxNativeFontInfo
,
40164 &_swigt__p_wxNativePixelData
,
40165 &_swigt__p_wxNativePixelData_Accessor
,
40166 &_swigt__p_wxNavigationKeyEvent
,
40167 &_swigt__p_wxNcPaintEvent
,
40168 &_swigt__p_wxNotifyEvent
,
40169 &_swigt__p_wxObject
,
40170 &_swigt__p_wxOverlay
,
40171 &_swigt__p_wxPCXHandler
,
40172 &_swigt__p_wxPNGHandler
,
40173 &_swigt__p_wxPNMHandler
,
40174 &_swigt__p_wxPaintDC
,
40175 &_swigt__p_wxPaintEvent
,
40176 &_swigt__p_wxPalette
,
40177 &_swigt__p_wxPaletteChangedEvent
,
40178 &_swigt__p_wxPaperSize
,
40180 &_swigt__p_wxPenList
,
40181 &_swigt__p_wxPixelDataBase
,
40182 &_swigt__p_wxPoint
,
40183 &_swigt__p_wxPoint2D
,
40184 &_swigt__p_wxPoint2DDouble
,
40185 &_swigt__p_wxPostScriptDC
,
40186 &_swigt__p_wxPrintData
,
40187 &_swigt__p_wxPrinterDC
,
40188 &_swigt__p_wxPseudoDC
,
40189 &_swigt__p_wxPyApp
,
40190 &_swigt__p_wxPyCommandEvent
,
40191 &_swigt__p_wxPyEvent
,
40192 &_swigt__p_wxPyFontEnumerator
,
40193 &_swigt__p_wxPyImageHandler
,
40194 &_swigt__p_wxPyLocale
,
40195 &_swigt__p_wxPySizer
,
40196 &_swigt__p_wxPyValidator
,
40197 &_swigt__p_wxQueryNewPaletteEvent
,
40199 &_swigt__p_wxRect2DDouble
,
40200 &_swigt__p_wxRegion
,
40201 &_swigt__p_wxRegionIterator
,
40202 &_swigt__p_wxRendererNative
,
40203 &_swigt__p_wxRendererVersion
,
40204 &_swigt__p_wxScreenDC
,
40205 &_swigt__p_wxScrollEvent
,
40206 &_swigt__p_wxScrollWinEvent
,
40207 &_swigt__p_wxSetCursorEvent
,
40208 &_swigt__p_wxShowEvent
,
40210 &_swigt__p_wxSizeEvent
,
40211 &_swigt__p_wxSizer
,
40212 &_swigt__p_wxSizerItem
,
40213 &_swigt__p_wxSplitterRenderParams
,
40214 &_swigt__p_wxStaticBoxSizer
,
40215 &_swigt__p_wxStdDialogButtonSizer
,
40216 &_swigt__p_wxStockGDI
,
40217 &_swigt__p_wxString
,
40218 &_swigt__p_wxSysColourChangedEvent
,
40219 &_swigt__p_wxTGAHandler
,
40220 &_swigt__p_wxTIFFHandler
,
40221 &_swigt__p_wxUpdateUIEvent
,
40222 &_swigt__p_wxValidator
,
40223 &_swigt__p_wxWindow
,
40224 &_swigt__p_wxWindowCreateEvent
,
40225 &_swigt__p_wxWindowDC
,
40226 &_swigt__p_wxWindowDestroyEvent
,
40227 &_swigt__p_wxXPMHandler
,
40230 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40231 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40232 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40233 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40234 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40235 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40236 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40237 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40238 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40239 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40240 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40241 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40242 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40243 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40244 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40245 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}};
40246 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40247 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40248 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}};
40249 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
40250 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40251 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40252 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40253 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}};
40254 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40255 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40256 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40257 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40258 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40259 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40260 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40261 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40262 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40263 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40264 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40265 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40266 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40267 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}};
40268 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}};
40269 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40270 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40271 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40272 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40273 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}};
40274 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40275 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40276 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40277 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40278 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40279 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40280 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40281 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40282 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40283 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40284 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}};
40285 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40286 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}};
40287 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40288 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40289 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40290 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40291 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40292 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40293 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40294 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40295 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40296 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40297 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40298 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40299 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40300 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40301 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40302 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40303 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40304 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40305 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40306 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40307 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40308 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40309 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40310 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40311 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40312 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40313 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40314 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40315 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40316 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40317 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40318 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40319 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40320 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40321 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40322 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40323 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40324 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40325 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40326 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40327 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40328 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40329 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40330 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40331 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40332 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40333 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40334 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40335 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40336 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40337 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40338 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40339 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40340 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40341 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40342 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40343 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40344 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40345 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40346 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40347 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40348 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40349 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40350 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40351 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40352 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40353 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40354 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40355 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40356 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40357 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40358 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40359 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40360 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40361 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40362 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40363 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40364 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40365 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40366 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40367 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40368 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40369 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40370 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40371 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}};
40372 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40373 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40374 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40375 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40376 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40377 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40378 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}};
40379 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40380 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40381 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40382 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40383 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40384 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40385 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40386 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40387 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40388 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40389 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40390 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40391 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40392 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40393 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40394 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40395 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40396 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40397 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40398 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40399 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}};
40400 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}};
40402 static swig_cast_info
*swig_cast_initial
[] = {
40406 _swigc__p_form_ops_t
,
40408 _swigc__p_unsigned_char
,
40409 _swigc__p_unsigned_int
,
40410 _swigc__p_unsigned_long
,
40412 _swigc__p_wxANIHandler
,
40413 _swigc__p_wxAcceleratorTable
,
40414 _swigc__p_wxActivateEvent
,
40415 _swigc__p_wxAlphaPixelData
,
40416 _swigc__p_wxAlphaPixelData_Accessor
,
40417 _swigc__p_wxAutoBufferedPaintDC
,
40418 _swigc__p_wxBMPHandler
,
40419 _swigc__p_wxBitmap
,
40420 _swigc__p_wxBoxSizer
,
40422 _swigc__p_wxBrushList
,
40423 _swigc__p_wxBufferedDC
,
40424 _swigc__p_wxBufferedPaintDC
,
40425 _swigc__p_wxCURHandler
,
40427 _swigc__p_wxChildFocusEvent
,
40428 _swigc__p_wxClientDC
,
40429 _swigc__p_wxClipboardTextEvent
,
40430 _swigc__p_wxCloseEvent
,
40432 _swigc__p_wxColour
,
40433 _swigc__p_wxColourDatabase
,
40434 _swigc__p_wxCommandEvent
,
40435 _swigc__p_wxContextMenuEvent
,
40436 _swigc__p_wxControl
,
40437 _swigc__p_wxControlWithItems
,
40438 _swigc__p_wxCursor
,
40440 _swigc__p_wxDCBrushChanger
,
40441 _swigc__p_wxDCClipper
,
40442 _swigc__p_wxDCOverlay
,
40443 _swigc__p_wxDCPenChanger
,
40444 _swigc__p_wxDCTextColourChanger
,
40446 _swigc__p_wxDateEvent
,
40447 _swigc__p_wxDisplayChangedEvent
,
40448 _swigc__p_wxDropFilesEvent
,
40449 _swigc__p_wxDuplexMode
,
40450 _swigc__p_wxEffects
,
40451 _swigc__p_wxEncodingConverter
,
40452 _swigc__p_wxEraseEvent
,
40454 _swigc__p_wxEvtHandler
,
40455 _swigc__p_wxFSFile
,
40456 _swigc__p_wxFileSystem
,
40457 _swigc__p_wxFlexGridSizer
,
40458 _swigc__p_wxFocusEvent
,
40460 _swigc__p_wxFontList
,
40461 _swigc__p_wxFontMapper
,
40462 _swigc__p_wxGBSizerItem
,
40464 _swigc__p_wxGDIObjListBase
,
40465 _swigc__p_wxGDIObject
,
40466 _swigc__p_wxGIFHandler
,
40467 _swigc__p_wxGraphicsBrush
,
40468 _swigc__p_wxGraphicsContext
,
40469 _swigc__p_wxGraphicsFont
,
40470 _swigc__p_wxGraphicsMatrix
,
40471 _swigc__p_wxGraphicsObject
,
40472 _swigc__p_wxGraphicsPath
,
40473 _swigc__p_wxGraphicsPen
,
40474 _swigc__p_wxGraphicsRenderer
,
40475 _swigc__p_wxGridBagSizer
,
40476 _swigc__p_wxGridSizer
,
40477 _swigc__p_wxHeaderButtonParams
,
40478 _swigc__p_wxICOHandler
,
40480 _swigc__p_wxIconBundle
,
40481 _swigc__p_wxIconLocation
,
40482 _swigc__p_wxIconizeEvent
,
40483 _swigc__p_wxIdleEvent
,
40485 _swigc__p_wxImageHandler
,
40486 _swigc__p_wxImageList
,
40487 _swigc__p_wxIndividualLayoutConstraint
,
40488 _swigc__p_wxInitDialogEvent
,
40489 _swigc__p_wxJPEGHandler
,
40490 _swigc__p_wxKeyEvent
,
40491 _swigc__p_wxLanguageInfo
,
40492 _swigc__p_wxLayoutConstraints
,
40493 _swigc__p_wxLocale
,
40495 _swigc__p_wxMaximizeEvent
,
40496 _swigc__p_wxMemoryDC
,
40498 _swigc__p_wxMenuBar
,
40499 _swigc__p_wxMenuEvent
,
40500 _swigc__p_wxMenuItem
,
40501 _swigc__p_wxMetaFile
,
40502 _swigc__p_wxMetaFileDC
,
40503 _swigc__p_wxMirrorDC
,
40504 _swigc__p_wxMouseCaptureChangedEvent
,
40505 _swigc__p_wxMouseCaptureLostEvent
,
40506 _swigc__p_wxMouseEvent
,
40507 _swigc__p_wxMoveEvent
,
40508 _swigc__p_wxNativeEncodingInfo
,
40509 _swigc__p_wxNativeFontInfo
,
40510 _swigc__p_wxNativePixelData
,
40511 _swigc__p_wxNativePixelData_Accessor
,
40512 _swigc__p_wxNavigationKeyEvent
,
40513 _swigc__p_wxNcPaintEvent
,
40514 _swigc__p_wxNotifyEvent
,
40515 _swigc__p_wxObject
,
40516 _swigc__p_wxOverlay
,
40517 _swigc__p_wxPCXHandler
,
40518 _swigc__p_wxPNGHandler
,
40519 _swigc__p_wxPNMHandler
,
40520 _swigc__p_wxPaintDC
,
40521 _swigc__p_wxPaintEvent
,
40522 _swigc__p_wxPalette
,
40523 _swigc__p_wxPaletteChangedEvent
,
40524 _swigc__p_wxPaperSize
,
40526 _swigc__p_wxPenList
,
40527 _swigc__p_wxPixelDataBase
,
40529 _swigc__p_wxPoint2D
,
40530 _swigc__p_wxPoint2DDouble
,
40531 _swigc__p_wxPostScriptDC
,
40532 _swigc__p_wxPrintData
,
40533 _swigc__p_wxPrinterDC
,
40534 _swigc__p_wxPseudoDC
,
40536 _swigc__p_wxPyCommandEvent
,
40537 _swigc__p_wxPyEvent
,
40538 _swigc__p_wxPyFontEnumerator
,
40539 _swigc__p_wxPyImageHandler
,
40540 _swigc__p_wxPyLocale
,
40541 _swigc__p_wxPySizer
,
40542 _swigc__p_wxPyValidator
,
40543 _swigc__p_wxQueryNewPaletteEvent
,
40545 _swigc__p_wxRect2DDouble
,
40546 _swigc__p_wxRegion
,
40547 _swigc__p_wxRegionIterator
,
40548 _swigc__p_wxRendererNative
,
40549 _swigc__p_wxRendererVersion
,
40550 _swigc__p_wxScreenDC
,
40551 _swigc__p_wxScrollEvent
,
40552 _swigc__p_wxScrollWinEvent
,
40553 _swigc__p_wxSetCursorEvent
,
40554 _swigc__p_wxShowEvent
,
40556 _swigc__p_wxSizeEvent
,
40558 _swigc__p_wxSizerItem
,
40559 _swigc__p_wxSplitterRenderParams
,
40560 _swigc__p_wxStaticBoxSizer
,
40561 _swigc__p_wxStdDialogButtonSizer
,
40562 _swigc__p_wxStockGDI
,
40563 _swigc__p_wxString
,
40564 _swigc__p_wxSysColourChangedEvent
,
40565 _swigc__p_wxTGAHandler
,
40566 _swigc__p_wxTIFFHandler
,
40567 _swigc__p_wxUpdateUIEvent
,
40568 _swigc__p_wxValidator
,
40569 _swigc__p_wxWindow
,
40570 _swigc__p_wxWindowCreateEvent
,
40571 _swigc__p_wxWindowDC
,
40572 _swigc__p_wxWindowDestroyEvent
,
40573 _swigc__p_wxXPMHandler
,
40577 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40579 static swig_const_info swig_const_table
[] = {
40580 {0, 0, 0, 0.0, 0, 0}};
40585 /* -----------------------------------------------------------------------------
40586 * Type initialization:
40587 * This problem is tough by the requirement that no dynamic
40588 * memory is used. Also, since swig_type_info structures store pointers to
40589 * swig_cast_info structures and swig_cast_info structures store pointers back
40590 * to swig_type_info structures, we need some lookup code at initialization.
40591 * The idea is that swig generates all the structures that are needed.
40592 * The runtime then collects these partially filled structures.
40593 * The SWIG_InitializeModule function takes these initial arrays out of
40594 * swig_module, and does all the lookup, filling in the swig_module.types
40595 * array with the correct data and linking the correct swig_cast_info
40596 * structures together.
40598 * The generated swig_type_info structures are assigned staticly to an initial
40599 * array. We just loop though that array, and handle each type individually.
40600 * First we lookup if this type has been already loaded, and if so, use the
40601 * loaded structure instead of the generated one. Then we have to fill in the
40602 * cast linked list. The cast data is initially stored in something like a
40603 * two-dimensional array. Each row corresponds to a type (there are the same
40604 * number of rows as there are in the swig_type_initial array). Each entry in
40605 * a column is one of the swig_cast_info structures for that type.
40606 * The cast_initial array is actually an array of arrays, because each row has
40607 * a variable number of columns. So to actually build the cast linked list,
40608 * we find the array of casts associated with the type, and loop through it
40609 * adding the casts to the list. The one last trick we need to do is making
40610 * sure the type pointer in the swig_cast_info struct is correct.
40612 * First off, we lookup the cast->type name to see if it is already loaded.
40613 * There are three cases to handle:
40614 * 1) If the cast->type has already been loaded AND the type we are adding
40615 * casting info to has not been loaded (it is in this module), THEN we
40616 * replace the cast->type pointer with the type pointer that has already
40618 * 2) If BOTH types (the one we are adding casting info to, and the
40619 * cast->type) are loaded, THEN the cast info has already been loaded by
40620 * the previous module so we just ignore it.
40621 * 3) Finally, if cast->type has not already been loaded, then we add that
40622 * swig_cast_info to the linked list (because the cast->type) pointer will
40624 * ----------------------------------------------------------------------------- */
40634 #define SWIGRUNTIME_DEBUG
40638 SWIG_InitializeModule(void *clientdata
) {
40640 swig_module_info
*module_head
;
40641 static int init_run
= 0;
40643 clientdata
= clientdata
;
40645 if (init_run
) return;
40648 /* Initialize the swig_module */
40649 swig_module
.type_initial
= swig_type_initial
;
40650 swig_module
.cast_initial
= swig_cast_initial
;
40652 /* Try and load any already created modules */
40653 module_head
= SWIG_GetModule(clientdata
);
40655 swig_module
.next
= module_head
->next
;
40656 module_head
->next
= &swig_module
;
40658 /* This is the first module loaded */
40659 swig_module
.next
= &swig_module
;
40660 SWIG_SetModule(clientdata
, &swig_module
);
40663 /* Now work on filling in swig_module.types */
40664 #ifdef SWIGRUNTIME_DEBUG
40665 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40667 for (i
= 0; i
< swig_module
.size
; ++i
) {
40668 swig_type_info
*type
= 0;
40669 swig_type_info
*ret
;
40670 swig_cast_info
*cast
;
40672 #ifdef SWIGRUNTIME_DEBUG
40673 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40676 /* if there is another module already loaded */
40677 if (swig_module
.next
!= &swig_module
) {
40678 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40681 /* Overwrite clientdata field */
40682 #ifdef SWIGRUNTIME_DEBUG
40683 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40685 if (swig_module
.type_initial
[i
]->clientdata
) {
40686 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40687 #ifdef SWIGRUNTIME_DEBUG
40688 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40692 type
= swig_module
.type_initial
[i
];
40695 /* Insert casting types */
40696 cast
= swig_module
.cast_initial
[i
];
40697 while (cast
->type
) {
40698 /* Don't need to add information already in the list */
40700 #ifdef SWIGRUNTIME_DEBUG
40701 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40703 if (swig_module
.next
!= &swig_module
) {
40704 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40705 #ifdef SWIGRUNTIME_DEBUG
40706 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40710 if (type
== swig_module
.type_initial
[i
]) {
40711 #ifdef SWIGRUNTIME_DEBUG
40712 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40717 /* Check for casting already in the list */
40718 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40719 #ifdef SWIGRUNTIME_DEBUG
40720 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40722 if (!ocast
) ret
= 0;
40727 #ifdef SWIGRUNTIME_DEBUG
40728 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40731 type
->cast
->prev
= cast
;
40732 cast
->next
= type
->cast
;
40738 /* Set entry in modules->types array equal to the type */
40739 swig_module
.types
[i
] = type
;
40741 swig_module
.types
[i
] = 0;
40743 #ifdef SWIGRUNTIME_DEBUG
40744 printf("**** SWIG_InitializeModule: Cast List ******\n");
40745 for (i
= 0; i
< swig_module
.size
; ++i
) {
40747 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40748 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40749 while (cast
->type
) {
40750 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40754 printf("---- Total casts: %d\n",j
);
40756 printf("**** SWIG_InitializeModule: Cast List ******\n");
40760 /* This function will propagate the clientdata field of type to
40761 * any new swig_type_info structures that have been added into the list
40762 * of equivalent types. It is like calling
40763 * SWIG_TypeClientData(type, clientdata) a second time.
40766 SWIG_PropagateClientData(void) {
40768 swig_cast_info
*equiv
;
40769 static int init_run
= 0;
40771 if (init_run
) return;
40774 for (i
= 0; i
< swig_module
.size
; i
++) {
40775 if (swig_module
.types
[i
]->clientdata
) {
40776 equiv
= swig_module
.types
[i
]->cast
;
40778 if (!equiv
->converter
) {
40779 if (equiv
->type
&& !equiv
->type
->clientdata
)
40780 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40782 equiv
= equiv
->next
;
40802 /* Python-specific SWIG API */
40803 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40804 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40805 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40807 /* -----------------------------------------------------------------------------
40808 * global variable support code.
40809 * ----------------------------------------------------------------------------- */
40811 typedef struct swig_globalvar
{
40812 char *name
; /* Name of global variable */
40813 PyObject
*(*get_attr
)(void); /* Return the current value */
40814 int (*set_attr
)(PyObject
*); /* Set the value */
40815 struct swig_globalvar
*next
;
40818 typedef struct swig_varlinkobject
{
40820 swig_globalvar
*vars
;
40821 } swig_varlinkobject
;
40823 SWIGINTERN PyObject
*
40824 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
40825 return PyString_FromString("<Swig global variables>");
40828 SWIGINTERN PyObject
*
40829 swig_varlink_str(swig_varlinkobject
*v
) {
40830 PyObject
*str
= PyString_FromString("(");
40831 swig_globalvar
*var
;
40832 for (var
= v
->vars
; var
; var
=var
->next
) {
40833 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
40834 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
40836 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
40841 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
40842 PyObject
*str
= swig_varlink_str(v
);
40843 fprintf(fp
,"Swig global variables ");
40844 fprintf(fp
,"%s\n", PyString_AsString(str
));
40850 swig_varlink_dealloc(swig_varlinkobject
*v
) {
40851 swig_globalvar
*var
= v
->vars
;
40853 swig_globalvar
*n
= var
->next
;
40860 SWIGINTERN PyObject
*
40861 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
40862 PyObject
*res
= NULL
;
40863 swig_globalvar
*var
= v
->vars
;
40865 if (strcmp(var
->name
,n
) == 0) {
40866 res
= (*var
->get_attr
)();
40871 if (res
== NULL
&& !PyErr_Occurred()) {
40872 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40878 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
40880 swig_globalvar
*var
= v
->vars
;
40882 if (strcmp(var
->name
,n
) == 0) {
40883 res
= (*var
->set_attr
)(p
);
40888 if (res
== 1 && !PyErr_Occurred()) {
40889 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40894 SWIGINTERN PyTypeObject
*
40895 swig_varlink_type(void) {
40896 static char varlink__doc__
[] = "Swig var link object";
40897 static PyTypeObject varlink_type
;
40898 static int type_init
= 0;
40900 const PyTypeObject tmp
40902 PyObject_HEAD_INIT(NULL
)
40903 0, /* Number of items in variable part (ob_size) */
40904 (char *)"swigvarlink", /* Type name (tp_name) */
40905 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
40906 0, /* Itemsize (tp_itemsize) */
40907 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
40908 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
40909 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
40910 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
40911 0, /* tp_compare */
40912 (reprfunc
) swig_varlink_repr
, /* tp_repr */
40913 0, /* tp_as_number */
40914 0, /* tp_as_sequence */
40915 0, /* tp_as_mapping */
40918 (reprfunc
)swig_varlink_str
, /* tp_str */
40919 0, /* tp_getattro */
40920 0, /* tp_setattro */
40921 0, /* tp_as_buffer */
40923 varlink__doc__
, /* tp_doc */
40924 0, /* tp_traverse */
40926 0, /* tp_richcompare */
40927 0, /* tp_weaklistoffset */
40928 #if PY_VERSION_HEX >= 0x02020000
40929 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
40931 #if PY_VERSION_HEX >= 0x02030000
40934 #ifdef COUNT_ALLOCS
40935 0,0,0,0 /* tp_alloc -> tp_next */
40938 varlink_type
= tmp
;
40939 varlink_type
.ob_type
= &PyType_Type
;
40942 return &varlink_type
;
40945 /* Create a variable linking object for use later */
40946 SWIGINTERN PyObject
*
40947 SWIG_Python_newvarlink(void) {
40948 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
40952 return ((PyObject
*) result
);
40956 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
40957 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
40958 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
40960 size_t size
= strlen(name
)+1;
40961 gv
->name
= (char *)malloc(size
);
40963 strncpy(gv
->name
,name
,size
);
40964 gv
->get_attr
= get_attr
;
40965 gv
->set_attr
= set_attr
;
40966 gv
->next
= v
->vars
;
40972 SWIGINTERN PyObject
*
40974 static PyObject
*_SWIG_globals
= 0;
40975 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
40976 return _SWIG_globals
;
40979 /* -----------------------------------------------------------------------------
40980 * constants/methods manipulation
40981 * ----------------------------------------------------------------------------- */
40983 /* Install Constants */
40985 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
40988 for (i
= 0; constants
[i
].type
; ++i
) {
40989 switch(constants
[i
].type
) {
40990 case SWIG_PY_POINTER
:
40991 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
40993 case SWIG_PY_BINARY
:
40994 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41001 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41007 /* -----------------------------------------------------------------------------*/
41008 /* Fix SwigMethods to carry the callback ptrs when needed */
41009 /* -----------------------------------------------------------------------------*/
41012 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41013 swig_const_info
*const_table
,
41014 swig_type_info
**types
,
41015 swig_type_info
**types_initial
) {
41017 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41018 const char *c
= methods
[i
].ml_doc
;
41019 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41021 swig_const_info
*ci
= 0;
41022 const char *name
= c
+ 10;
41023 for (j
= 0; const_table
[j
].type
; ++j
) {
41024 if (strncmp(const_table
[j
].name
, name
,
41025 strlen(const_table
[j
].name
)) == 0) {
41026 ci
= &(const_table
[j
]);
41031 size_t shift
= (ci
->ptype
) - types
;
41032 swig_type_info
*ty
= types_initial
[shift
];
41033 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41034 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41035 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41038 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41040 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41042 strncpy(buff
, "swig_ptr: ", 10);
41044 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41045 methods
[i
].ml_doc
= ndoc
;
41057 /* -----------------------------------------------------------------------------*
41058 * Partial Init method
41059 * -----------------------------------------------------------------------------*/
41064 SWIGEXPORT
void SWIG_init(void) {
41067 /* Fix SwigMethods to carry the callback ptrs when needed */
41068 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41070 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41071 d
= PyModule_GetDict(m
);
41073 SWIG_InitializeModule(0);
41074 SWIG_InstallConstants(d
,swig_const_table
);
41077 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41078 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41079 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41080 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41081 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41082 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41083 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41084 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41085 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41086 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41087 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41088 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41089 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41090 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41091 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41092 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41093 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41094 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41095 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41096 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41097 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41098 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41099 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41100 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41101 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41102 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41103 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41104 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41105 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41106 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41107 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41108 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41109 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41110 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41111 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41112 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41113 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41114 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41115 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41116 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41117 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41118 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41119 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41120 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41121 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41122 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41123 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41124 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41125 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41126 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41127 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41128 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41129 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41130 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41131 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41132 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41133 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41134 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41135 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41136 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41137 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41138 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41139 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41140 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41141 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41142 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41143 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41144 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41145 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41146 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41147 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41148 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41149 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41150 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41151 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41152 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41153 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41154 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41155 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41156 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41157 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41158 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41159 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41160 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41161 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41162 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41163 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41164 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41165 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41166 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41167 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41168 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41169 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41170 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41171 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41172 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41173 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41174 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41175 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41176 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41177 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41178 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41179 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41180 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41181 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41182 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41183 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41184 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41185 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41186 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41187 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41188 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41189 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41190 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41191 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41192 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41193 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41194 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41195 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41196 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41197 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41198 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41199 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41200 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41201 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41202 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41203 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41204 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41205 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41206 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41207 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41208 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41210 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41212 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41213 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41214 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41215 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41216 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41217 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41218 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41219 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41220 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41221 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41222 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41223 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41224 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41225 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41226 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41227 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41228 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41229 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41230 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41231 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41232 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41233 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41234 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41235 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41236 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41237 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41238 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41239 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41240 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41241 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41242 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41243 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41244 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41245 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41246 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41247 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41248 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41249 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41250 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41251 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41252 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41253 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41254 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41255 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41256 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41257 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41258 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41259 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41260 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41261 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41262 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41263 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41264 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41265 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41266 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41267 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41268 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41269 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41270 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41271 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41272 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41273 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41274 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41275 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41276 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41277 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41278 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41279 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41280 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41281 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41282 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41283 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41284 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41285 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41286 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41287 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41288 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41289 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41290 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41291 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41292 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41293 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41294 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41295 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41296 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41297 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41298 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41299 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41300 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41301 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41302 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41303 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41304 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41305 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41306 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41307 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41308 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41309 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41310 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41311 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41312 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41313 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41314 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41315 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41316 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41317 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41318 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41319 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41320 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41321 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41322 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41323 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41324 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41325 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41326 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41327 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41328 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41329 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41330 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41331 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41332 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41333 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41334 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41335 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41336 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41337 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41338 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41339 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41340 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41341 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41342 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41343 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41344 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41345 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41346 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41347 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41348 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41349 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41350 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41351 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41352 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41353 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41354 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41355 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41356 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41357 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41358 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41359 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41360 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41361 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41362 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41363 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41364 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41365 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41366 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41367 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41368 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41369 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41370 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41371 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41372 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41373 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41374 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41375 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41376 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41377 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41378 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41379 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41380 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41381 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41382 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41383 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41384 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41385 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41386 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41387 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41388 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41389 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41390 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41391 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41392 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41393 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41394 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41395 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41396 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41397 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41398 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41399 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41400 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41401 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41402 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41403 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41404 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41405 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41406 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41407 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41408 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41409 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41410 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41411 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41412 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41413 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41414 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41415 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41416 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41417 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41418 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41419 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41420 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41421 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41422 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41423 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41424 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41425 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41426 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41427 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41428 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41429 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41430 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41431 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41432 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41433 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41434 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41435 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41436 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41437 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41438 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41439 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41440 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41441 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41442 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41443 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41444 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41445 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41446 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41447 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41448 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41449 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41450 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41451 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41452 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41453 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41454 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41455 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41456 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41457 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41458 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41459 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41460 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41461 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41462 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41463 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41464 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41465 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41466 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41467 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41468 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41469 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41470 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41471 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41472 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41473 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41474 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41475 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41476 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41477 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41478 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41479 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41480 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41481 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41482 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41483 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41484 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41485 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41486 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41487 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41488 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41489 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41490 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41491 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41492 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41493 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41494 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41495 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41496 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41497 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41498 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41499 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41500 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41501 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41502 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41503 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41504 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41505 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41506 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41507 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41508 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41509 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41510 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41511 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41512 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41513 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41514 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41515 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41516 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41517 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41518 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41519 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41520 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41521 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41522 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41523 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41524 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41525 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41526 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41527 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41528 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41529 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41530 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41531 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41532 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41533 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41534 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41535 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41537 // Work around a chicken/egg problem in drawlist.cpp
41538 wxPyDrawList_SetAPIPtr();